Share via


NDIS_MDL_TO_SPAN_PAGES (Compact 7)

3/12/2014

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

Syntax

NDIS_MDL_TO_SPAN_PAGES(_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

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

Requirements

Header

ndis.h

See Also

Reference

NDIS MDL Interface
NDIS_BUFFER_TO_SPAN_PAGES