[DllImport("ntdll.dll", SetLastError = true)] public static extern int NtSetContextThread( IntPtr hThread, ref CONTEXT lpContext );
Microsoft documentation: Link
Last updated 1 year ago