Share via


IDebugStackFrameSniffer::EnumStackFrames

Returns an enumerator of stack frames for the current thread.

Syntax

HRESULT EnumStackFrames(  
   IEnumDebugStackFrames**  ppedsf  
);  

Parameters

ppedsf
[out] Enumerator of stack frames for the current thread.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

The stack frame enumerator returns the frames starting at the top of the stack, starting with the most recently pushed frame.

See also

IDebugStackFrameSniffer Interface