DXGKCB_UPDATECONTEXTALLOCATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkcb_updatecontextallocation)

DXGKCB_UPDATECONTEXTALLOCATION callback function

Description

DXGKCB_UPDATECONTEXTALLOCATION updates the content of a context allocation.

Parameters

hAdapter [in]

A handle to the display adapter.

pArgs [in]

The DXGKARGCB_UPDATECONTEXTALLOCATION structure that describes the operation.

Return value

DXGKCB_UPDATECONTEXTALLOCATION returns STATUS_SUCCESS if the operation succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.

Remarks

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.

See also

DXGKARGCB_UPDATECONTEXTALLOCATION

DXGKRNL_INTERFACE