DXGKCB_FREEPAGESFROMMDL - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

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

DXGKCB_FREEPAGESFROMMDL callback function

Description

DXGKCB_FREEPAGESFROMMDL frees all the physical pages described by a memory descriptor list (MDL) and allocated by the DXGKCB_ALLOCATEPAGESFORMDL routine.

Parameters

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.

Return value

Returns STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS error code.

Remarks

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.

See also

DXGKARGCB_FREEPAGESFROMMDL

DXGKCB_ALLOCATEPAGESFORMDL

DXGKRNL_INTERFACE