// d3d10umddi.h
PFND3D11DDI_CALCDEFERREDCONTEXTHANDLESIZE Pfnd3d11ddiCalcdeferredcontexthandlesize;
SIZE_T Pfnd3d11ddiCalcdeferredcontexthandlesize(
D3D10DDI_HDEVICE unnamedParam1,
D3D11DDI_HANDLETYPE unnamedParam2,
VOID *unnamedParam3
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The CalcDeferredContextHandleSize function queries for the amount of storage space that the driver requires to satisfy deferred context handles to the given immediate context object.
unnamedParam1hDevice [in]
A handle to the display device (graphics context).
unnamedParam2HandleType [in]
A D3D11DDI_HANDLETYPE-typed value that indicates the type of deferred context handle to determine the size of the memory region for.
unnamedParam3pICObject [in]
A pointer to the object for the immediate context.
CalcDeferredContextHandleSize returns the size of the storage space that the driver requires for the deferred context handles to the object that pICObject points to.
The driver is only required to implement CalcDeferredContextHandleSize if the driver supports the D3D11DDICAPS_COMMANDLISTS_BUILD_2 capability that can be returned in the D3D11DDI_THREADING_CAPS structure from a call to the GetCaps(D3D10_2) function.
The Direct3D runtime does not call the CalcDeferredContextHandleSize function from function tables for the deferred context. The runtime calls CalcDeferredContextHandleSize from the function table for the immediate context.
For more information about how CalcDeferredContextHandleSize is used, see Using Context-Local DDI Handles.