DXGKCB_UNMAPFRAMEBUFFERPOINTER callback function (d3dkmddi.h)

DXGKCB_UNMAPFRAMEBUFFERPOINTER releases the mapping that was set by DXGKCB_MAPFRAMEBUFFERPOINTER.

Syntax

DXGKCB_UNMAPFRAMEBUFFERPOINTER DxgkcbUnmapframebufferpointer;

NTSTATUS DxgkcbUnmapframebufferpointer(
  [in] IN_CONST_HANDLE hAdapter,
  [in] IN_CONST_PDXGKARGCB_UNMAPFRAMEBUFFERPOINTER pUnmapFrameBufferPointer
)
{...}

Parameters

[in] hAdapter

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

[in] pUnmapFrameBufferPointer

A pointer to the DXGKARGCB_UNMAPFRAMEBUFFERPOINTER structure that contains a handle to the memory to be unmapped.

Return value

DXGKCB_UNMAPFRAMEBUFFERPOINTER 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_UNMAPFRAMEBUFFERPOINTER and then call DXGKCB_UNMAPFRAMEBUFFERPOINTER 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

DXGKARGCB_UNMAPFRAMEBUFFERPOINTER

DXGKCB_MAPFRAMEBUFFERPOINTER

DXGKRNL_INTERFACE