0
GetThreadContext에 문제가 있습니다. 프로세스를 일시 중단시킬 수 있지만 GetThreadContext를 시도 할 때 실패합니다. GetLastError를 호출 할 때 "998"오류 코드를 반환합니다. 그것은 X86이 아니라 X64에서만 실패합니다.GetThreadContext가 실패합니다 - GetLastError가 998을 반환합니다.
라인 :
IntPtr[] pInfo = new IntPtr[4];
uint[] ctxt = new uint[0xb3];
ctxt[0] = 0x10002;
if (GetThreadContext(pInfo[1], ctxt))
{
//Other stuff done here
}