IDebugAdvanced3::SetThreadContext method (dbgeng.h)
The SetThreadContext method sets the current thread context.
Syntax
HRESULT SetThreadContext(
[in] PVOID Context,
[in] ULONG ContextSize
);
Parameters
[in] Context
Specifies the thread context. The type of the thread context is the CONTEXT structure for the target's effective processor. The buffer Context must be large enough to hold this structure.
[in] ContextSize
Specifies the size of the buffer Context.
Return value
This method may also return error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
Remarks
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for