IDiaEnumStackFrames::Next

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IDiaEnumStackFrames::Next.

Retrieves a specified number of stack frame elements from the enumeration sequence.

HRESULT Next(   
   ULONG             celt,  
   IDiaStackFrame**  rgelt,  
   ULONG*            pceltFetched  
);  

Parameters

celt
[in] The number of stackframe elements in the enumerator to be retrieved.

rgelt
[out] An array that is to be filled in with the requested IDiaStackFrame objects.

pceltFetched
[out] Returns the number of stack frame elements in the fetched enumerator.

If successful, returns S_OK. Returns S_FALSE if there are no more stack frames. Otherwise, returns an error code.

IDiaEnumStackFrames
IDiaStackFrame

Show: