NdisZeroMappedMemory

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

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

VOID NdisZeroMappedMemory( IN PVOID Destination, I
N 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 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.

A driver that calls this function can run at any IRQL.

See Also

NdisMMapIoSpace, NdisZeroMemory