This macro determines how many physical pages of memory are being used to back a specified buffer.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
ULONG NDIS_BUFFER_TO_SPAN_PAGES( IN PNDIS_BUFFER Buffer );
The Windows CE version of this macro always returns 1.
This macro is used by DMA drivers to determine how many physical discontiguities exist in a specified virtual buffer.
A driver that uses this macro can be running at any IRQL.