Difference between revisions of "User:Grovespaz/Kernel/RtlFillMemory"

From xboxdevwiki
Jump to: navigation, search
(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 (...")
 
(No difference)

Latest revision as of 07:55, 1 September 2018

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.