DXGKCB_MAPFRAMEBUFFERPOINTER callback function (d3dkmddi.h)

DXGKCB_MAPFRAMEBUFFERPOINTER obtains a pointer to a subregion of the section object that was created for each physical adapter.

Syntax

DXGKCB_MAPFRAMEBUFFERPOINTER DxgkcbMapframebufferpointer;

NTSTATUS DxgkcbMapframebufferpointer(
  [in]     IN_CONST_HANDLE hAdapter,
  [in/out] INOUT_PDXGKARGCB_MAPFRAMEBUFFERPOINTER pMapFrameBufferPointer
)
{...}

Parameters

[in] hAdapter

A handle to a display adapter. The driver provides this handle for the master/lead device in the LDA chain.

[in/out] pMapFrameBufferPointer

Pointer to DXGKARGCB_MAPFRAMEBUFFERPOINTER structure that contains a pointer to the subregion of the section object.

Return value

DXGKCB_MAPFRAMEBUFFERPOINTER returns STATUS_SUCCESS if the operation succeeds. Otherwise, it returns an appropriate NTSTATUS error code.

Remarks

DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the appropriate members of DXGKARGCB_MAPFRAMEBUFFERPOINTER and then call DxgkCbMapFrameBufferPointer via the DXGKRNL_INTERFACE.

See IOMMU-based GPU isolation for more information.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1803 (WDDM 2.4)
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DXGKCB_UNMAPFRAMEBUFFERPOINTER

DXGKRNL_INTERFACE