DXGKCB_MAPCONTEXTALLOCATION callback function

Maps a graphics processing unit (GPU) virtual address to the specified context allocation. This device driver interface (DDI) behaves like its user mode counterpart, see pfnMapGpuVirtualAddressCb for more details.

Syntax

DXGKCB_MAPCONTEXTALLOCATION DxgkcbMapcontextallocation;

D3DGPU_VIRTUAL_ADDRESS DxgkcbMapcontextallocation(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARGCB_MAPCONTEXTALLOCATION pArgs
)
{...}

Parameters

hAdapter

A handle to the display adapter.

pArgs

The DXGKARGCB_MAPCONTEXTALLOCATION structure that describes the operation.

Return Value

Returns a D3DGPU_VIRTUAL_ADDRESS if successful, NULL otherwise.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Desktop
Header d3dkmddi.h (include D3dkmddi.h)

See Also

DXGKARGCB_MAPCONTEXTALLOCATION

pfnMapGpuVirtualAddressCb