Prev Next

MoveMemory info  Overview  Group

The MoveMemory function moves a block of memory from one location to another.

VOID MoveMemory (

    PVOID Destination,

// address of move destination

    CONST VOID *Source,

// address of block to move

    DWORD Length 

// size, in bytes, of block to move

   );

Parameters

Destination
Points to the starting address of the destination of the move.
Source
Points to the starting address of the block of memory to move.
Length
Specifies the size, in bytes, of the block of memory to move.

Return Values

This function has no return value.

Remarks

The source and destination blocks may overlap.

See Also

CopyMemory, FillMemory, ZeroMemory