NdisFillMemory macro (ndis.h)
The NdisFillMemory function fills a caller-supplied buffer with the given character.
Syntax
void NdisFillMemory(
[in] Destination,
[in] Length,
[in] Fill
);
Parameters
[in] Destination
A pointer to the buffer to be filled.
[in] Length
The number of bytes to be filled.
[in] Fill
The value to fill the buffer.
Return value
None
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported for existing drivers in NDIS 6.0 and later, but new drivers should use RtlFillMemory instead. |
Target Platform | Desktop |
Header | ndis.h (include Ndis.h) |
IRQL | See Remarks section |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for