NdisZeroMappedMemory

This function fills a block of memory that was mapped with a preceding call to the NdisMMapIoSpace function with 0s.

VOID NdisZeroMappedMemory(
IN PVOID Destination, 
IN ULONG Length );

Parameters

  • Destination
    Specifies the base virtual address of a block of mapped memory.
  • Length
    Specifies the number of bytes to be filled with 0s.

Remarks

An network adapter driver can call this function to 0-initialize mapped device memory. The given Destination and Length must be a proper subrange of the range specified when the driver called the NdisMMapIoSpace function.

This function is optimized, and a network adapter driver can call this function any time that it needs to clear a mapped memory range.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h   Ndislib.lib

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.

See Also

NdisMMapIoSpace, NdisZeroMemory

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.