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 |
|
|
mikejo5000 |
mikejo |
mijacobs |
debug-diagnostics |
Retrieves a specified number of symbols in the enumeration sequence.
HRESULT Next (
ULONG celt,
IDiaSymbol** rgelt,
ULONG* pceltFetched
);
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.
If successful, returns S_OK
. Returns S_FALSE
if there are no more symbols. Otherwise, returns an error code.
IDiaEnumSymbols* pEnum
CComPtr< IDiaSymbol> pSym;
DWORD celt;
pEnum->Next( 1, &pSym, &celt );