다음을 통해 공유


NdisZeroMappedMemory (Windows Embedded CE 6.0)

1/6/2010

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

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 0s.

Return Value

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

Header ndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
NdisMMapIoSpace
NdisZeroMemory