DkmFrameRegisters.GetRegisterValue Method

Definition

Overloads

GetRegisterValue(UInt32, Byte[])

A helper function for searching the array of unwound register values for a DkmStackWalkFrame. If the register was not unwound, a failed HRESULT is returned.

GetRegisterValue(UInt32, Void*, Int32)

A helper function for searching the array of unwound register values for a DkmStackWalkFrame. If the register was not unwound, a failed HRESULT is returned.

GetRegisterValue(UInt32, Byte[])

A helper function for searching the array of unwound register values for a DkmStackWalkFrame. If the register was not unwound, a failed HRESULT is returned.

public:
 int GetRegisterValue(System::UInt32 Id, cli::array <System::Byte> ^ Buffer);
public:
 int GetRegisterValue(unsigned int Id, Platform::Array <byte> ^ Buffer);
int GetRegisterValue(unsigned int Id, std::Array <byte> const & Buffer);
public int GetRegisterValue (uint Id, byte[] Buffer);
member this.GetRegisterValue : uint32 * byte[] -> int
Public Function GetRegisterValue (Id As UInteger, Buffer As Byte()) As Integer

Parameters

Id
UInt32

[In] The unique constant for the requested register. Normally, this is a cvconst value such as CV_REG_EIP.

Buffer
Byte[]

[In,Out] A buffer that receives the value of the register.

Returns

[Out] The caller allocated buffer that receives the contents of the requested register.

Applies to

GetRegisterValue(UInt32, Void*, Int32)

A helper function for searching the array of unwound register values for a DkmStackWalkFrame. If the register was not unwound, a failed HRESULT is returned.

public:
 int GetRegisterValue(System::UInt32 Id, void* Buffer, int Size);
int GetRegisterValue(unsigned int Id, void* Buffer, int Size);
public int GetRegisterValue (uint Id, void* Buffer, int Size);
member this.GetRegisterValue : uint32 * nativeptr<unit> * int -> int

Parameters

Id
UInt32

[In] The unique constant for the requested register. Normally, this is a cvconst value such as CV_REG_EIP.

Buffer
Void*

[In,Out] A buffer that receives the value of the register.

Size
Int32

[In] The size of the value in bytes.

Returns

[Out] The caller allocated buffer that receives the contents of the requested register.

Applies to