This function fills a block of memory with 0s.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
VOID NdisZeroMemory( IN PVOID Destination, IN ULONG Length );
This function fills the specified range with 0s. The specified Destination and Length must be a proper subrange of a caller-accessible memory range.
As long as the specified range was allocated from nonpaged pool, the caller can be running at any IRQL. Otherwise, a caller must be running at IRQL < DISPATCH_LEVEL as, for example, when a caller clears a structure that it allocated on the stack.
NdisAllocateMemory, NdisZeroMappedMemory