IDiaEnumInjectedSources::Item

Retrieves an injected source by means of an index.

Syntax

HRESULT Item ( 
   DWORD                index,
   IDiaInjectedSource** injectedSource
);

Parameters

index

[in] Index of the IDiaInjectedSource object to be retrieved. The index is the range 0 to count-1, where count is returned by the IDiaEnumInjectedSources::get_Count method.

injectedSource

[out] Returns an IDiaInjectedSource object representing the injected source.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See also