// d3dkmddi.h
DXGKCB_FREEPAGESFROMMDL DxgkcbFreepagesfrommdl;
NTSTATUS DxgkcbFreepagesfrommdl(
[in] IN_CONST_HANDLE hAdapter,
[in] IN_CONST_PDXGKARGCB_FREEPAGESFROMMDL pFreePagesFromMdl
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
DXGKCB_FREEPAGESFROMMDL frees all the physical pages described by a memory descriptor list (MDL) and allocated by the DXGKCB_ALLOCATEPAGESFORMDL routine.
hAdapter [in]Handle to a display adapter.
pFreePagesFromMdl [in]Pointer to a DXGKARGCB_FREEPAGESFROMMDL structure that contains a handle to the pages for the MDL.
Returns STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS error code.
DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the members of DXGKARGCB_FREEPAGESFROMMDL and then calls DxgkCbFreePagesFromMdl via the DXGKRNL_INTERFACE.
See IOMMU-based GPU isolation for more information.