CONTEXT ctx;
NTSTATUS result = NtGetContextThread(hThread, &ctx);
result
is fiiled with 0xC000000D
, which means An invalid parameter was passed to a service or function.
Now, I checked in several sources and they all say that you need: thread handle and a pointer to context structure.
I'm not sure where the problem is...
User contributions licensed under CC BY-SA 3.0