Share via


IDiaEnumInjectedSources::Next

Retrieves a specified number of injected sources in the enumeration sequence.

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

Parameters

  • celt
    [in] The number of injected sources in the enumerator to be retrieved.

  • rgelt
    [out] Returns an array of IDiaInjectedSource objects that represents the desired injected sources.

  • pceltFetched
    [out] Returns the number of injected sources in the fetched enumerator.

Return Value

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

See Also

Reference

IDiaEnumInjectedSources

IDiaInjectedSource