PWINDBG_SET_THREAD_CONTEXT_ROUTINE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdbgexts.h

PWINDBG_SET_THREAD_CONTEXT_ROUTINE PwindbgSetThreadContextRoutine;

ULONG PwindbgSetThreadContextRoutine(
        ULONG Processor,
  [out] PCONTEXT lpContext,
  [in]  ULONG cbSizeOfContext
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wdbgexts-pwindbg_set_thread_context_routine)

PWINDBG_SET_THREAD_CONTEXT_ROUTINE callback function

Description

The PWINDBG_SET_THREAD_CONTEXT_ROUTINE (SetContext) function is similar to the Win32 SetThreadContext routine. It sets the context of the process being debugged.

Parameters

Processor

The processor.

lpContext [out]

Points to the address of a context structure that contains the context to be set for the process being debugged. The context structure is highly machine-specific.

cbSizeOfContext [in]

Specifies the size of the context structure.

Return value

If the routine succeeds, the return value is TRUE; otherwise, it is FALSE.