IDkmThreadContextOperation.GetContext(DkmThread, Int32, Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtain the current context (register values) of a thread.
public:
void GetContext(Microsoft::VisualStudio::Debugger::DkmThread ^ thread, int contextFlags, cli::array <System::Byte> ^ context);
public void GetContext (Microsoft.VisualStudio.Debugger.DkmThread thread, int contextFlags, byte[] context);
abstract member GetContext : Microsoft.VisualStudio.Debugger.DkmThread * int * byte[] -> unit
Public Sub GetContext (thread As DkmThread, contextFlags As Integer, context As Byte())
Parameters
- thread
- DkmThread
[In] DkmThread represents a thread running in the target process.
- contextFlags
- Int32
[In] Win32 flags indicating which portion of the CONTEXT object to obtain (ex: CONTEXT_FULL, CONTEXT_CONTROL, CONTEXT_INTEGER).
- context
- Byte[]
[In,Out] A Win32 CONTEXT structure that contains the context of the specified thread. The value of the ContextFlags member of this structure specifies which portions of a thread's context to obtained.