Debugging Tools for Windows |
The GetThreadContext method returns the current thread context.
HRESULT
IDebugAdvanced::GetThreadContext(
OUT PVOID Context,
IN ULONG ContextSize
);
This method may also return error values. See Return Values for more details.
GetThreadContext is available in all versions of IDebugAdvanced.
For more information about the thread context, see Scopes and Symbol Groups.
Note The CONTEXT structure varies with operating system and platform. Care should be taken when using the CONTEXT structure.
Headers: Defined in dbgeng.h. Include dbgeng.h. CONTEXT is defined in ntddk.h.