Click or drag to resize

MemDWord Function

Get a pointer to a dword in a memory buffer.

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

Parameters

pMemory
Type: IntPtr
A pointer to a buffer.
dwValue
Type: UInt32
The dword value to match.
dwCount
Type: UInt32
The number of bytes in the buffer to check.

Return Value

Type: IntPtr
A pointer to the first occurrence of dwValue within the first dwCount bytes of pMemory. If dwValue is not matched, MemDWord() returns a IntPtr.Zero.
See Also