// 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 referenceNo description available.
The PWINDBG_SET_THREAD_CONTEXT_ROUTINE (SetContext) function is similar to the Win32 SetThreadContext routine. It sets the context of the process being debugged.
ProcessorThe 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.
If the routine succeeds, the return value is TRUE; otherwise, it is FALSE.