DkmRuntimeInstance.SetRegisterValue 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.
Sets the value of the register in the thread's context. Sub registers that are made up of larger registers are supported.
public:
void SetRegisterValue(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ StackWalkFrame, int RegisterIndex, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ Value);
public void SetRegisterValue (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame StackWalkFrame, int RegisterIndex, System.Collections.ObjectModel.ReadOnlyCollection<byte> Value);
member this.SetRegisterValue : Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * int * System.Collections.ObjectModel.ReadOnlyCollection<byte> -> unit
Public Sub SetRegisterValue (StackWalkFrame As DkmStackWalkFrame, RegisterIndex As Integer, Value As ReadOnlyCollection(Of Byte))
Parameters
- StackWalkFrame
- DkmStackWalkFrame
[In] The stack frame the register is being set in. For most runtime instances, this is used to verify the stack frame is the top of the stack and stop the write if it isn't.
- RegisterIndex
- Int32
[In] The CV constant of the register to set.
- Value
- ReadOnlyCollection<Byte>
[In] The value to set the register to. The size of the byte array must match the width of the register being set.