NtGetContextThread

[DllImport("ntdll.dll", SetLastError = true)]
public static extern int NtGetContextThread(
   IntPtr hThread,
   ref CONTEXT lpContext
);

Microsoft documentation: Link

Last updated