User:Grovespaz/Kernel/RtlFillMemory

From xboxdevwiki
Jump to: navigation, search

RtlFillMemory is an export in the Xbox Kernel. It has ordinal 284.

Fills a specified memory area with repetitions of a ULONG value

Syntax

XBAPI VOID NTAPI RtlFillMemoryUlong
(
    PVOID Destination,
    SIZE_T Length,
    ULONG Pattern
);

The original Windows NT function is documented in the MSDN: RtlFillMemory

Parameters

Destination (PVOID)

A pointer to the (ULONG-aligned) memory block which is to be filled

Length (SIZE_T)

The length of the memory block which is to be filled

Pattern (ULONG)

The ULONG-value with which the memory block will be filled

Return Value

RtlFillMemory returns VOID.