Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetThreadContext method returns the current thread context.
Syntax
HRESULT GetThreadContext(
[out] PVOID Context,
[in] ULONG ContextSize
);
Parameters
[out] Context
Receives the current 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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h, Ntddk.h) |