// ndis.h
void NdisFillMemory(
[in] Destination,
[in] Length,
[in] Fill
);
View the official Windows Driver Kit DDI referenceNo description available.
The NdisFillMemory function fills a caller-supplied buffer with the given character.
Destination [in]A pointer to the buffer to be filled.
Length [in]The number of bytes to be filled.
Fill [in]The value to fill the buffer.
Callers of NdisFillMemory can be running at any IRQL, provided that the Destination buffer is resident. If the buffer is pageable, a caller must be running at IRQL < DISPATCH_LEVEL.