PWINDBG_GET_THREAD_CONTEXT_ROUTINE - NtDoc

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

PWINDBG_GET_THREAD_CONTEXT_ROUTINE PwindbgGetThreadContextRoutine;

ULONG PwindbgGetThreadContextRoutine(
        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_get_thread_context_routine)

PWINDBG_GET_THREAD_CONTEXT_ROUTINE callback function

Description

The PWINDBG_GET_THREAD_CONTEXT_ROUTINE (GetContext) function implements the functionality that is similar to the Microsoft Win32 GetThreadContext routine. It returns the context of the process being debugged.

Parameters

Processor

Specifies the index of the processor.

lpContext [out]

Points to the address of a context structure that receives the appropriate context of 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.