public static void ProcessRead(IntPtr Dst, ref ListViewAccessor.RECT Src, int Len) { IntPtr ReadBytes = NULL; ReadProcessMemory(hProcess, Dst, ref Src, Len, ReadBytes); }
static extern bool ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, ref ListViewAccessor.RECT lpBuffer, int dwSize, IntPtr lpNumberOfBytesRead);
public static void ProcessWrite(IntPtr Dst, ref ListViewAccessor.RECT Src, int Len) { IntPtr WriteBytes = NULL; WriteProcessMemory(hProcess, Dst, ref Src, Len, WriteBytes); }
static extern bool WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, ref ListViewAccessor.RECT buffer, int dwSize, IntPtr lpNumberOfBytesWritten);