Share via


NdisZeroMappedMemory (Windows CE 5.0)

Send Feedback

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

VOID NdisZeroMappedMemory(PVOID Destination,ULONG Length);

Parameters

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

Return Values

None.

Remarks

An NIC 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 an NIC driver can call this function any time that it needs to clear a mapped memory range.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

NdisMMapIoSpace | NdisZeroMemory

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.