RtlCopyBytes

VOID
RtlCopyBytes(

IN PVOID Destination,
IN CONST VOID *Source,
IN ULONG Length
);

RtlCopyBytes copies a given number of bytes from one location to another.

Parameters

Destination

Points to the destination where the bytes are to be copied.

Source

Points to the memory to be copied.

Length

Specifies the number of bytes to be copied.

Comments

The (Source + Length) can overlap the Destination range passed to RtlCopyBytes.

Callers of RtlCopyBytes can be running at any IRQL if both memory blocks are resident.  Otherwise, callers must be running at IRQL<DISPATCH_LEVEL.

See Also

RtlFillMemory, RtlMoveMemory, RtlZeroMemory