DXGKCB_MAPCONTEXTALLOCATION - NtDoc

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

NtDoc

No description available.

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

DXGKCB_MAPCONTEXTALLOCATION callback function

Description

A kernel-mode display miniport driver calls DXGKCB_MAPCONTEXTALLOCATION to map a graphics processing unit (GPU) virtual address to the specified context allocation.

Parameters

hAdapter [in]

A handle to the display adapter.

pArgs [in]

Pointer to a DXGKARGCB_MAPCONTEXTALLOCATION structure that describes the operation.

Return value

DXGKCB_MAPCONTEXTALLOCATION returns a D3DGPU_VIRTUAL_ADDRESS if successful, NULL otherwise.

Remarks

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.

See also

DXGKARGCB_MAPCONTEXTALLOCATION

DXGKRNL_INTERFACE

pfnMapGpuVirtualAddressCb