DXGKDDI_MAPCPUHOSTAPERTURE callback function (d3dkmddi.h)

DxgkDdiMapCpuHostAperture is called to map an allocation that is resident in a local memory segment into the CPU host aperture in order to make it visible to the CPU.

Syntax

DXGKDDI_MAPCPUHOSTAPERTURE DxgkddiMapcpuhostaperture;

NTSTATUS DxgkddiMapcpuhostaperture(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARG_MAPCPUHOSTAPERTURE pArgs
)
{...}

Parameters

hAdapter

A handle to the display adapter.

pArgs

Map [in]

The DXGKARG_MAPCPUHOSTAPERTURE structure that describes the operation.

Return value

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

Requirements

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