// ndis.h
int NDIS_MDL_TO_SPAN_PAGES(
PMDL _Mdl
);
View the official Windows hardware development documentationNo description available.
The NDIS_MDL_TO_SPAN_PAGES macro retrieves the number of physical pages of memory that are being used to back a given MDL.
_Mdl A pointer to an MDL.
NDIS_MDL_TO_SPAN_PAGES returns the number of pages that are backing the virtual range for the MDL.
The NDIS_MDL_TO_SPAN_PAGES macro provides an MDL-based version of the NDIS_BUFFER_TO_SPAN_PAGES function.
| Target platform | Desktop |
| Version | Supported in NDIS 6.0 and later. |
| Header | Ndis.h (include Ndis.h) |
| IRQL | Any level |