RtlFillMemory

VOID
RtlFillMemory(

IN PVOID Destination,
IN ULONG Length,
IN UCHAR Fill
);

RtlFillMemory fills a caller-supplied buffer with the given character.

Parameters

Destination

Points to the memory to be filled.

Length

Specifies the number of bytes to be filled.

Fill

Specifies the value to fill the memory.

Comments

Callers of RtlFillMemory can be running at any IRQL, provided that the Destination buffer is resident.

See Also

RtlZeroMemory