Click or drag to resize

Functions.MemMove Method

Move one memory buffer to another.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.07
Syntax
 FUNCTION MemMove(
	pDestination AS IntPtr,
	pSource AS IntPtr,
	nSize AS DWORD
) AS IntPtr
View Source

Parameters

pDestination
Type: IntPtr
A pointer to the destination memory buffer.
pSource
Type: IntPtr
A pointer to the source memory buffer.
nSize
Type: UInt32
The number of bytes to copy.

Return Value

Type: IntPtr
A pointer to the destination memory buffer.
Remarks
MemMove() copies the specified number of bytes from the source memory buffer to the destination memory buffer. If portions of the source buffer overlap with portions of the destination buffer, the overlapping region is copied and kept for the duration of the operation before it is overwritten.
See Also