// d3dkmddi.h
DXGKCB_PINFRAMEBUFFERFORSAVE DxgkcbPinframebufferforsave;
NTSTATUS DxgkcbPinframebufferforsave(
[in] IN_CONST_HANDLE hAdapter,
[in/out] INOUT_PDXGKARGCB_PINFRAMEBUFFERFORSAVE pPinFrameBufferForSave
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A kernel-mode display miniport driver calls DXGKCB_PINFRAMEBUFFERFORSAVE to pin down the entire frame buffer at once.
hAdapter [in]A handle to a display adapter. The driver provides this handle for the master/lead device in the linked display adapter (LDA) chain.
pPinFrameBufferForSave [in/out]Pointer to a DXGKARGCB_PINFRAMEBUFFERFORSAVE structure that contains information about the frame buffer to save.
DXGKCB_PINFRAMEBUFFERFORSAVE returns STATUS_SUCCESS if the operation succeeds. Otherwise, it returns an appropriate NTSTATUS error code.
DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the appropriate members of DXGKARGCB_PINFRAMEBUFFERFORSAVE and then call DxgkCbPinFrameBufferForSave via the DXGKRNL_INTERFACE.
See IOMMU-based GPU isolation for more information.
DXGKARGCB_PINFRAMEBUFFERFORSAVE
DXGKCB_UNPINFRAMEBUFFERFORSAVE