Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.36 KB

idiaenumsymbols-next.md

File metadata and controls

61 lines (44 loc) · 1.36 KB
description title ms.date ms.topic dev_langs helpviewer_keywords author ms.author manager ms.subservice
Retrieves a specified number of symbols in the enumeration sequence.
IDiaEnumSymbols::Next
11/04/2016
reference
C++
IDiaEnumSymbols::Next method
mikejo5000
mikejo
mijacobs
debug-diagnostics

IDiaEnumSymbols::Next

Retrieves a specified number of symbols in the enumeration sequence.

Syntax

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

Parameters

celt

[in] The number of symbols in the enumerator to be retrieved.

rgelt

[out] An array that is to be filled in with the IDiaSymbol objects that represent the desired symbols.

pceltFetched

[out] Returns the number of symbols in the fetched enumerator.

Return Value

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

Example

IDiaEnumSymbols* pEnum
CComPtr< IDiaSymbol> pSym;
DWORD celt;
pEnum->Next( 1, &pSym, &celt );

See also