Retrieves an enumerator of stack frames for the current thread.
Syntax
HRESULT EnumStackFrames(
    IEnumDebugStackFrames **ppedsf
);
Parameters
- ppedsf
- [out] Address of a pointer to an IEnumDebugStackFrames interface.
Return Value
Returns S_OK if successful, or an error code otherwise.