NtSetContextThread

Function NtSetContextThread 

Source
pub unsafe extern "C" fn NtSetContextThread(
    ThreadHandle: HANDLE,
    ThreadContext: PCONTEXT,
) -> NTSTATUS
Expand description

Sets the context of the specified thread.

§Arguments

  • ThreadHandle - A handle to the thread.
  • ThreadContext - A pointer to a CONTEXT structure that specifies the thread context.

§Returns

NTSTATUS Successful or errant status.