Click or drag to resize

Functions.MemCopyString Method

Copy one memory buffer to another.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.07
Syntax
 FUNCTION MemCopyString(
	pDestination AS IntPtr,
	cSource AS STRING,
	dwCount AS DWORD
) AS VOID
View Source

Parameters

pDestination
Type: IntPtr
A pointer to the destination memory buffer.
cSource
Type: String
dwCount
Type: UInt32
The number of bytes to copy.

Return Value

Type: 
NOTHING
Remarks
MemCopyString() copies the specified number of bytes from the source string to the destination memory buffer. If the number of bytes in the source memory buffer is less than dwCount, the rest of the destination memory buffer is filled with blanks (character 0).
See Also