Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.03 KB

FillMemory.md

File metadata and controls

52 lines (36 loc) · 1.03 KB

Home

Function name : FillMemory

Group: Memory Management - Library: kernel32


The FillMemory function fills a block of memory with a specified value.


Code examples:

Using FillMemory

Declaration:

VOID FillMemory (
  PVOID Destination,  // memory block
  SIZE_T Length,      // size of memory block
  BYTE Fill           // fill value
);  

FoxPro declaration:

DECLARE RtlFillMemory IN kernel32 AS FillMemory;
	INTEGER Dest,;
	INTEGER Length,;
	SHORT   nFill
  

Parameters:

Destination [out] Pointer to the starting address of the block of memory to fill.

Length [in] Specifies the size, in bytes, of the block of memory to fill.

Fill [in] Specifies the byte value with which to fill the memory block.


Return value:

This function has no return value.