FillMemoryBlock method


Prototype

FillMemoryBlock Proto lpMemAddr:LPLONG, dwMemSize:DWord, dwValue:DWord (for 32-bit projects)

FillMemoryBlock Proto lpMemAddr:LPLONG, dwMemSize:QWord, dwValue:QWord (for 64-bit projects)

Syntax

Invoke FillMemoryBlock, lpMemAddr, dwMemSize , dwValue

Function

Fills the block of memory specified by lpMemAddr with the value specified by dwValue.

Parameters

lpMemAddr

Pointer to the effective address of the memory block to be filled.

dwMemSize

The number of bytes in the block of memory to be filled.

dwValue

The value to fill the memory block.

Return value

None


REMARKS: If dwValue is greater that 255, just its low byte will be used to fill the memory block.