PFND3D10DDI_CALCPRIVATEDEVICESIZE callback function (d3d10umddi.h)

The CalcPrivateDeviceSize function determines the size of a memory region that the user-mode display driver requires from the Microsoft Direct3D runtime to store frequently-accessed data.

Syntax

PFND3D10DDI_CALCPRIVATEDEVICESIZE Pfnd3d10ddiCalcprivatedevicesize;

SIZE_T Pfnd3d10ddiCalcprivatedevicesize(
  D3D10DDI_HADAPTER unnamedParam1,
  const D3D10DDIARG_CALCPRIVATEDEVICESIZE *unnamedParam2
)
{...}

Parameters

unnamedParam1

hAdapter [in]

A handle that identifies the graphics adapter.

unnamedParam2

pData [in]

A pointer to a D3D10DDIARG_CALCPRIVATEDEVICESIZE structure that describes the parameters that the user-mode display driver uses to calculate the size of the memory region.

Return value

CalcPrivateDeviceSize returns the size of the memory region that the driver requires to store frequently-accessed data.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See also

D3D10DDIARG_CALCPRIVATEDEVICESIZE