NdisZeroMappedMemory macro

NdisZeroMappedMemory fills a block of memory that was mapped with a preceding call to NdisMMapIoSpace with zeros.

Syntax

void NdisZeroMappedMemory(
   Destination,
   Length
);

Parameters

Destination

Specifies the base virtual address of a block of mapped memory.

Length

Specifies the number of bytes to be filled with zeros.

Return Value

None

Remarks

A miniport driver can call NdisZeroMappedMemory to zero-initialize mapped device memory. The given Destination and Length must be a proper subrange of the range specified when the driver called NdisMMapIoSpace.

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

Requirements

   
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisZeroMappedMemory (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisZeroMappedMemory (NDIS 5.1)) in Windows XP.
Target Platform Universal
Header ndis.h (include Ndis.h)
IRQL Any level

See Also

MiniportInitializeEx

NdisMMapIoSpace

NdisZeroMemory