基本的に、これは私が要求しているすべてのバイトを返すわけではありません。
// 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);
なぜこれが機能しないのか、どうすれば修正できるのかについてのアイデアはありますか?