MemMove (FUN)

FUNCTION MemMove : BOOL

The function copies the amount of “uiNumberOfBytes” of memory from memory area “Source” to “Destination”, wheras these memory areas are allowed to overlap! In case of success, the function will return “TRUE”. Only if “Source” or “Destination” are set to “0” the copying will not be carried out and the function will return “FALSE”.

InOut:

Scope

Name

Type

Comment

Return

MemMove

BOOL

function return “TRUE” if the moving of bytes succeeded

Input

pSource

POINTER TO BYTE

address of source memory

pDestination

POINTER TO BYTE

address of destination memory

uiNumberOfBytes

UINT

number of bytes to move