// ndis.h
void NdisZeroMappedMemory(
[in] Destination,
[in] Length
);
View the official Windows Driver Kit DDI referenceNo description available.
NdisZeroMappedMemory fills a block of memory that was mapped with a preceding call to NdisMMapIoSpace with zeros.
Destination [in]Specifies the base virtual address of a block of mapped memory.
Length [in]Specifies the number of bytes to be filled with zeros.
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.