DXGKCB_UNPINFRAMEBUFFERFORSAVE callback function

Implemented by the client driver to release the mapping that was set by DXGKCB_PINFRAMEBUFFERFORSAVE.

Syntax

DXGKCB_UNPINFRAMEBUFFERFORSAVE DxgkcbUnpinframebufferforsave;

NTSTATUS DxgkcbUnpinframebufferforsave(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARGCB_UNPINFRAMEBUFFERFORSAVE pUnpinFrameBufferForSave
)
{...}

Parameters

hAdapter

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

pUnpinFrameBufferForSave

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

Return Value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS Values error code.

Remarks

Register your implementation of this callback function by setting the appropriate member of DXGKARGCB_UNPINFRAMEBUFFERFORSAVE and then calling DxgkCbUnpinFrameBufferForSave.

Requirements

   
Header d3dkmddi.h