MemFill (FUN)¶
FUNCTION MemFill : BOOL
Function fills all bytes of a memory block with the value “byFillValue”. In case of success, the function will return “TRUE”. Only if “MemoryBlock” is set to “0”, the initialization will not be carried out and the function will return “FALSE”.
- InOut:
Scope
Name
Type
Comment
Return
MemFill
BOOL
function returns “TRUE” if filling succeeded
Input
pMemoryBlock
POINTER TO BYTE
address of memory block
uiLength
UINT
length of memory block in byte
byFillValue
BYTE
Fill value for the memory block