RtlFillMemoryUlonglong
TOC
Collapse the table of content
Expand the table of content

RtlFillMemoryUlonglong routine

The RtlFillMemoryUlonglong routine fills a given range of memory with one or more repetitions of a given ULONGLONG value.

Syntax


VOID RtlFillMemoryUlonglong(
  _Out_ PVOID     Destination,
  _In_  SIZE_T    Length,
  _In_  ULONGLONG Pattern
);

Parameters

Destination [out]

Pointer to the start of the range of memory to be filled. This address must be ULONGLONG-aligned.

Length [in]

Number of bytes to fill. This value must be a multiple of sizeof(ULONGLONG). (Note: SIZE_T is defined in basetsd.h.)

Pattern [in]

ULONGLONG value with which to fill the range starting at Destination and extending for Length bytes.

Return value

None

Remarks

If the range of memory starting at Destination is nonpaged, the caller can be running at any IRQL. Otherwise, callers of RtlFillMemoryUlonglong must be running at IRQL < DISPATCH_LEVEL.

For more information about managing buffered data and initializing driver-allocated buffers, see Buffered Data and Buffer Initialization.

For AMD64 systems, this routine is a macro. For non-AMD64 systems, this routine is contained in Ntoskrnl.lib.

Requirements

Target platform

Universal

Version

For AMD64 systems, this routine is available on Microsoft Windows 2000 and later. For non-AMD64 systems, this routine is available on Windows 7 and later.

Header

Ntifs.h (include Ntifs.h or FltKernel.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

See Remarks section.

See also

RtlFillMemory
RtlFillMemoryUlong
RtlZeroMemory

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft