基本上这并没有返回我要求的所有字节。
// ReadBytes Method
byte[] ReadBytes(uint address, int len)
{
int bytesread = 0;
byte[] output = new byte[len];
ReadProcessMemory(HO_Handle, (IntPtr)address, output, len, out bytesread);
return ouput; // by the time we get here, bytesread == 0x0031E000
}
// Call
byte[] region = ReadBytes(0x0C000000, 0x08000000);
关于为什么这不起作用以及我将如何解决它的任何想法?