ReadProcessMemory (user32)
Last changed: -70.26.212.25

.
Summary
TODO - a short description

C# Signature:

[DllImport("kernel32.dll", SetLastError = true, PreserveSig = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress,
     byte[] lpBuffer, UIntPtr nSize, out int lpNumberOfBytesRead);

VB Signature:

Declare Function ReadProcessMemory Lib "user32.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

The ManagedWindowsApi project (http://mwinapi.sourceforge.net) provides a ProcessMemoryChunk class to allocate and access memory of a different process.

Documentation