// 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 referenceNo description available.
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.
ProcessorSpecifies 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.
If the routine succeeds, the return value is TRUE; otherwise, it is FALSE.