DkmThread.CreateRegistersObject Method

Definition

Creates a DkmFrameRegisters object from the supplied byte array containing a Win32 CONTEXT structure.

public:
 Microsoft::VisualStudio::Debugger::CallStack::DkmFrameRegisters ^ CreateRegistersObject(cli::array <System::Byte> ^ ThreadContext, cli::array <Microsoft::VisualStudio::Debugger::CallStack::DkmUnwoundRegister ^> ^ PseudoRegisters, cli::array <Microsoft::VisualStudio::Debugger::CallStack::DkmUnwoundRegister ^> ^ ExtendedRegisters);
public:
 Microsoft::VisualStudio::Debugger::CallStack::DkmFrameRegisters ^ CreateRegistersObject(Platform::Array <byte> ^ ThreadContext, Platform::Array <Microsoft::VisualStudio::Debugger::CallStack::DkmUnwoundRegister ^> ^ PseudoRegisters, Platform::Array <Microsoft::VisualStudio::Debugger::CallStack::DkmUnwoundRegister ^> ^ ExtendedRegisters);
Microsoft::VisualStudio::Debugger::CallStack::DkmFrameRegisters CreateRegistersObject(std::Array <byte> const & ThreadContext, std::Array <Microsoft::VisualStudio::Debugger::CallStack::DkmUnwoundRegister const &> const & PseudoRegisters, std::Array <Microsoft::VisualStudio::Debugger::CallStack::DkmUnwoundRegister const &> const & ExtendedRegisters);
public Microsoft.VisualStudio.Debugger.CallStack.DkmFrameRegisters CreateRegistersObject (byte[] ThreadContext, Microsoft.VisualStudio.Debugger.CallStack.DkmUnwoundRegister[] PseudoRegisters, Microsoft.VisualStudio.Debugger.CallStack.DkmUnwoundRegister[] ExtendedRegisters);
public Microsoft.VisualStudio.Debugger.CallStack.DkmFrameRegisters CreateRegistersObject (byte[] ThreadContext, Microsoft.VisualStudio.Debugger.CallStack.DkmUnwoundRegister[] PseudoRegisters, Microsoft.VisualStudio.Debugger.CallStack.DkmUnwoundRegister[]? ExtendedRegisters);
member this.CreateRegistersObject : byte[] * Microsoft.VisualStudio.Debugger.CallStack.DkmUnwoundRegister[] * Microsoft.VisualStudio.Debugger.CallStack.DkmUnwoundRegister[] -> Microsoft.VisualStudio.Debugger.CallStack.DkmFrameRegisters
Public Function CreateRegistersObject (ThreadContext As Byte(), PseudoRegisters As DkmUnwoundRegister(), ExtendedRegisters As DkmUnwoundRegister()) As DkmFrameRegisters

Parameters

ThreadContext
Byte[]

[In] Win32 CONTEXT to obtain the registers for.

PseudoRegisters
DkmUnwoundRegister[]

[In] An array of cvconst/value pairs to add to the collection of register values coming from the context. This is generally used to add the vframe pseudo-register on x86.

ExtendedRegisters
DkmUnwoundRegister[]

[In] An array of extended registers.

Returns

[Out] DkmFrameRegisters represents the registers of a stack frame.

Applies to