IDkmStackProvider.GetTopStackFrame(DkmThread) 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.
Returns the top call stack frame for a thread. This value is normally cached after the first stack walk and cleared on continue. This is only callable above the stack provider in the client process. To obtain the top frame in the server process, call GetTopStackWalkFrame.
public:
Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ GetTopStackFrame(Microsoft::VisualStudio::Debugger::DkmThread ^ thread);
public Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame GetTopStackFrame (Microsoft.VisualStudio.Debugger.DkmThread thread);
abstract member GetTopStackFrame : Microsoft.VisualStudio.Debugger.DkmThread -> Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame
Public Function GetTopStackFrame (thread As DkmThread) As DkmStackWalkFrame
Parameters
- thread
- DkmThread
[In] DkmThread represents a thread running in the target process.
Returns
[Out] DkmStackWalkFrame represents a frame on a call stack which has been walked, but may not have been formatted or filtered. Formatted frames are represented by DkmStackFrame instead.