Returns an enumerator of stack frames for the current thread.
HRESULT EnumStackFramesEx( DWORD_PTR dwSpMin, IEnumDebugStackFrames** ppedsf );
- dwSpMin
[in] The lower address limit for enumerating stack frames.
- ppedsf
[out] Enumerator of stack frames for the current thread.
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. |
The stack frame enumerator returns the frames starting at the top of the stack, with the most recently pushed frame. The enumerator contains only stack frames with addresses greater than or equal to dwSpMin.