Share via


IDiaStackWalker::getEnumFrames2

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves a stack frame enumerator for a specific platform type.

Syntax

  
      HRESULT getEnumFrames2(   
   enum  CV_CPU_TYPE_e    cpuid,  
   IDiaStackWalkHelper*   pHelper,  
   IDiaEnumStackFrames**  ppEnum  
);  

Parameters

cpuid
[in] A value from the CV_CPU_TYPE_e Enumeration enumeration, specifying the platform type.

pHelper
[in] The helper IDiaStackWalkHelper object.

ppEnum
[out] Returns an IDiaEnumStackFrames object containing a list of IDiaStackFrame objects.

Return Value

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

Remarks

To obtain a stack frame list for just the x86 platform, call the IDiaStackWalker::getEnumFrames method.

See Also

IDiaStackWalker
CV_CPU_TYPE_e Enumeration
IDiaStackWalkHelper
IDiaStackFrame
IDiaStackWalker::getEnumFrames