User:Grovespaz/Kernel/RtlFillMemory

From xboxdevwiki
< User:Grovespaz
Revision as of 07:55, 1 September 2018 by Grovespaz (talk | contribs) (Created page with "{{KernelExport|name=RtlFillMemory|ordinal=284}} Fills a specified memory area with repetitions of a ULONG value == Syntax == <nowiki>XBAPI VOID NTAPI RtlFillMemoryUlong (...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.