Debugging Tools for Windows |
The GetCurrentScopeFrameIndex method returns the index of the current stack frame in the call stack.
HRESULT
IDebugSymbols3::GetCurrentScopeFrameIndex(
OUT PULONG Index
);
This method may also return error values. See Return Values for more details.
GetCurrentScopeFrameIndex is available in IDebugSymbols3 and later versions.
If the current scope was set using SetScope, Index receives the value of the FrameNumber member of the DEBUG_STACK_TRACE structure passed to the ScopeFrame parameter of SetScope.
For more information about scopes, see Scopes and Symbol Groups.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.