// 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 referenceNo description available.
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.
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.
DXGKCB_UNPINFRAMEBUFFERFORSAVE returns STATUS_SUCCESS if the operation succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.
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.
DXGKARGCB_UNPINFRAMEBUFFERFORSAVE