Table of Contents

Method ReadProcessMemory

Namespace
Microsoft.Samples.Debugging.Native
Assembly
NativeDebugWrappers.dll

ReadProcessMemory(IntPtr, IntPtr, byte[], UIntPtr, out int)

public static extern bool ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, byte[] lpBuffer, UIntPtr nSize, out int lpNumberOfBytesRead)

Parameters

hProcess IntPtr
lpBaseAddress IntPtr
lpBuffer byte[]
nSize UIntPtr
lpNumberOfBytesRead int

Returns

bool