NDIS_MDL_TO_SPAN_PAGES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

int NDIS_MDL_TO_SPAN_PAGES(
   PMDL _Mdl
);
View the official Windows hardware development documentation

NtDoc

No description available.

Windows hardware development documentation (ndis-mdl-to-span-pages)

NDIS_MDL_TO_SPAN_PAGES macro

The NDIS_MDL_TO_SPAN_PAGES macro retrieves the number of physical pages of memory that are being used to back a given MDL.

Parameters

_Mdl A pointer to an MDL.

Return value

NDIS_MDL_TO_SPAN_PAGES returns the number of pages that are backing the virtual range for the MDL.

Remarks

The NDIS_MDL_TO_SPAN_PAGES macro provides an MDL-based version of the NDIS_BUFFER_TO_SPAN_PAGES function.

Requirements

Target platform Desktop
Version Supported in NDIS 6.0 and later.
Header Ndis.h (include Ndis.h)
IRQL Any level

See also

NDIS_BUFFER_TO_SPAN_PAGES