DkmThread.SetContext(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.
Update the context (register values) of a thread.
public:
void SetContext(cli::array <System::Byte> ^ Context);
public:
void SetContext(Platform::Array <byte> ^ Context);
void SetContext(std::Array <byte> const & Context);
public void SetContext (byte[] Context);
member this.SetContext : byte[] -> unit
Public Sub SetContext (Context As Byte())
Parameters
- Context
- Byte[]
[In] A CONTEXT structure that contains the context to be set in the specified thread. The value of the ContextFlags member of this structure specifies which portions of a thread's context to set. Some values in the CONTEXT structure that cannot be specified are silently set to the correct value. This includes bits in the CPU status register that specify the privileged processor mode, global enabling bits in the debugging register, and other states that must be controlled by the operating system.