IDebugThread2::EnumFrameInfo

Retrieves a list of the stack frames for this thread.

Syntax

int EnumFrameInfo ( 
   enum_FRAMEINFO_FLAGS     dwFieldSpec,
   uint                     nRadix,
   out IEnumDebugFrameInfo2 ppEnum
);

Parameters

dwFieldSpec
[in] A combination of flags from the FRAMEINFO_FLAGS enumeration that specifies which fields of the FRAMEINFO structures are to be filled out. Specify the FIF_FUNCNAME_FORMAT flag to format the function name into a single string.

nRadix
[in] Radix used in formatting numerical information in the enumerator.

ppEnum
[out] Returns an IEnumDebugFrameInfo2 object that contains a list of FRAMEINFO structures describing the stack frame.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The thread's frames are enumerated in order, with the current frame enumerated first and the oldest frame enumerated last.

See also