Click or drag to resize

MemSet Function

Fill a memory buffer with a specified character.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION MemSet(
	pMemory AS IntPtr,
	bValue AS BYTE,
	dwCount AS DWORD
) AS IntPtr

Parameters

pMemory
Type: IntPtr
A pointer to the memory buffer to fill.
bValue
Type: Byte
The code for the character, as a number from 0 to 255.
dwCount
Type: UInt32
The number of bytes to fill.

Return Value

Type: IntPtr
A pointer to the filled memory buffer.
See Also