Partager via


NdisZeroMappedMemory (Compact 2013)

3/26/2014

This function fills a block of memory that was mapped with a previous call to NdisMMapIoSpace with zeros.

Syntax

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 zero's.

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 that is 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

Header

ndis.h

See Also

Reference

NDIS Mapped Memory Interface
MiniportInitializeEx
NdisMMapIoSpace
NdisZeroMemory