Microsoft Windows CE 3.0  

NDIS_BUFFER_TO_SPAN_PAGES

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This macro determines how many physical pages of memory are being used to back a specified buffer.

ULONG NDIS_BUFFER_TO_SPAN_PAGES(
IN PNDIS_BUFFER
Buffer
);

Parameters

Buffer
Specifies the buffer descriptor mapping the buffer.

Return Values

The Windows CE version of this macro always returns 1.

Remarks

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.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.


 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.