// d3dkmddi.h
DXGKCB_MAPCONTEXTALLOCATION DxgkcbMapcontextallocation;
D3DGPU_VIRTUAL_ADDRESS DxgkcbMapcontextallocation(
[in] IN_CONST_HANDLE hAdapter,
[in] IN_CONST_PDXGKARGCB_MAPCONTEXTALLOCATION pArgs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A kernel-mode display miniport driver calls DXGKCB_MAPCONTEXTALLOCATION to map a graphics processing unit (GPU) virtual address to the specified context allocation.
hAdapter [in]A handle to the display adapter.
pArgs [in]Pointer to a DXGKARGCB_MAPCONTEXTALLOCATION structure that describes the operation.
DXGKCB_MAPCONTEXTALLOCATION returns a D3DGPU_VIRTUAL_ADDRESS if successful, NULL otherwise.
This device driver interface (DDI) behaves like its user-mode counterpart; see pfnMapGpuVirtualAddressCb for more details.
DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the members of DXGKARGCB_MAPCONTEXTALLOCATION and then call DxgkCbMapContextAllocation via the DXGKRNL_INTERFACE.
DXGKARGCB_MAPCONTEXTALLOCATION