IDiaEnumSectionContribs::Next

Retrieves a specified number of section contributions in the enumeration sequence.

Syntax

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

Parameters

celt

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

rgelt

[out] An array that is to be filled with the IDiaSectionContrib objects that represent the desired section contributions.

pceltFetched

[out] Returns the number of section contributions in the enumerator fetched.

Return Value

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

See also