Thread. Get Current Frame Info(UInt64, UInt64, UInt64) Method
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.
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.
Location constraint: API must be called from a Monitor component (component level < 100,000).
public: void GetCurrentFrameInfo([Runtime::InteropServices::Out] System::UInt64 % ReturnAddress, [Runtime::InteropServices::Out] System::UInt64 % FrameBase, [Runtime::InteropServices::Out] System::UInt64 % VFrame);
public void GetCurrentFrameInfo (out ulong ReturnAddress, out ulong FrameBase, out ulong VFrame);
member this.GetCurrentFrameInfo : uint64 * uint64 * uint64 -> unit
Public Sub GetCurrentFrameInfo (ByRef ReturnAddress As ULong, ByRef FrameBase As ULong, ByRef VFrame As ULong)
[Out] The return address of the frame.
[Out] The frame base of the frame.
[Out] The vframe of the current frame. Only valid on x86.