// d3dkmddi.h
DXGKCB_UPDATECONTEXTALLOCATION DxgkcbUpdatecontextallocation;
NTSTATUS DxgkcbUpdatecontextallocation(
[in] IN_CONST_HANDLE hAdapter,
[in] IN_CONST_PDXGKARGCB_UPDATECONTEXTALLOCATION pArgs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
DXGKCB_UPDATECONTEXTALLOCATION updates the content of a context allocation.
hAdapter [in]A handle to the display adapter.
pArgs [in]The DXGKARGCB_UPDATECONTEXTALLOCATION structure that describes the operation.
DXGKCB_UPDATECONTEXTALLOCATION returns STATUS_SUCCESS if the operation succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.
DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the members of DXGKARGCB_UPDATECONTEXTALLOCATION and then call DxgkCbUpdateContextAllocation via the DXGKRNL_INTERFACE.
The video memory manager maps the specified allocation in the paging process address space, then calls DXGKCB_UPDATECONTEXTALLOCATION to trigger a context allocation update paging operation, passing the kernel-mode display driver the specified driver private data.
The call to DXGKCB_UPDATECONTEXTALLOCATION returns when the update to the context allocation is completed.
DXGKARGCB_UPDATECONTEXTALLOCATION