// d3d10umddi.h
PFND3D10DDI_CALCPRIVATEOPENEDRESOURCESIZE Pfnd3d10ddiCalcprivateopenedresourcesize;
SIZE_T Pfnd3d10ddiCalcprivateopenedresourcesize(
D3D10DDI_HDEVICE unnamedParam1,
const D3D10DDIARG_OPENRESOURCE *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The CalcPrivateOpenedResourceSize function determines the size of the user-mode display driver's private shared region of memory (that is, the size of internal driver structures, not the size of the resource video memory) for an opened resource.
unnamedParam1hDevice [in]
A handle to the display device (graphics context).
unnamedParam2pOpenResource [in]
A pointer to a D3D10DDIARG_OPENRESOURCE structure that describes the parameters that the user-mode display driver uses to calculate the size of the shared memory region.
CalcPrivateOpenedResourceSize returns the size of the shared memory region that the driver requires for opening resources.