NdisZeroMappedMemory (NDIS 5.1) function
Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisZeroMappedMemory fills a block of memory that was mapped with a preceding call to NdisMMapIoSpace with zeros.
Syntax
VOID NdisZeroMappedMemory(
_In_ PVOID Destination,
_In_ 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 zeros.
Return value
None
Remarks
A NIC 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 NIC driver can call this function any time that it needs to clear a mapped memory range.
Requirements
Target platform |
Desktop |
Version |
See NdisZeroMappedMemory. |
Header |
Ndis.h (include Ndis.h) |
IRQL |
Any level |
See also