Debugging Tools for Windows |
The GetContext function is similar to the Microsoft Win32 GetThreadContext routine. It returns the context of the process being debugged.
ULONG
GetContext (
ULONG Target,
PCONTEXT lpContext,
ULONG cbSizeOfContext
);
Kernel Mode: Specifies the processor number of the processor being debugged.
If the routine succeeds, the return value is TRUE; otherwise, it is FALSE.
Headers: Defined in wdbgexts.h. If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).