DXGKCB_UNPINFRAMEBUFFERFORSAVE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

DXGKCB_UNPINFRAMEBUFFERFORSAVE DxgkcbUnpinframebufferforsave;

NTSTATUS DxgkcbUnpinframebufferforsave(
  [in] IN_CONST_HANDLE hAdapter,
  [in] IN_CONST_PDXGKARGCB_UNPINFRAMEBUFFERFORSAVE pUnpinFrameBufferForSave
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

DXGKCB_UNPINFRAMEBUFFERFORSAVE callback function

Description

A kernel-mode display miniport driver calls DXGKCB_UNPINFRAMEBUFFERFORSAVE to release the mapping that was set in a prior call to DXGKCB_PINFRAMEBUFFERFORSAVE2 or DXGKCB_PINFRAMEBUFFERFORSAVE.

Parameters

hAdapter [in]

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

pUnpinFrameBufferForSave [in]

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

Return value

DXGKCB_UNPINFRAMEBUFFERFORSAVE 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_UNPINFRAMEBUFFERFORSAVE and then call DxgkCbUnpinFrameBufferForSave via the DXGKRNL_INTERFACE.

See IOMMU-based GPU isolation for more information.

See also

DXGKARGCB_UNPINFRAMEBUFFERFORSAVE

DXGKCB_PINFRAMEBUFFERFORSAVE

DXGKCB_PINFRAMEBUFFERFORSAVE2

DXGKRNL_INTERFACE