共用方式為


IDiaEnumInjectedSources::Next

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

Syntax

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

IDiaEnumInjectedSources
IDiaInjectedSource