IDkmNativeStackCallback.GetCurrentFrameInfo Method

Definition

GetCurrentFrameInfo is used to obtain the frame base and return address for the current context of the thread. This takes into account Frame Pointer Omission and if the current instruction pointer is in a prolog, epilog etc... NOTE: In some cases this will get it wrong if the frame has Frame Pointer Omission and there are no symbols loaded.

public:
 void GetCurrentFrameInfo(Microsoft::VisualStudio::Debugger::DkmThread ^ thread, [Runtime::InteropServices::Out] System::UInt64 % returnAddress, [Runtime::InteropServices::Out] System::UInt64 % frameBase, [Runtime::InteropServices::Out] System::UInt64 % vFrame);
public void GetCurrentFrameInfo (Microsoft.VisualStudio.Debugger.DkmThread thread, out ulong returnAddress, out ulong frameBase, out ulong vFrame);
abstract member GetCurrentFrameInfo : Microsoft.VisualStudio.Debugger.DkmThread * uint64 * uint64 * uint64 -> unit
Public Sub GetCurrentFrameInfo (thread As DkmThread, ByRef returnAddress As ULong, ByRef frameBase As ULong, ByRef vFrame As ULong)

Parameters

thread
DkmThread

[In] DkmThread represents a thread running in the target process.

returnAddress
UInt64

[Out] The return address of the frame.

frameBase
UInt64

[Out] The frame base of the frame.

vFrame
UInt64

[Out] The vframe of the current frame. Only valid on x86.

Applies to