Share via


IDiaSession::findInjectedSource

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 list of sources that has been placed into the symbol store by attribute providers or other components of the compilation process.

Syntax

HRESULT findInjectedSource (   
   LPCOLESTR                 srcFile,  
   IDiaEnumInjectedSources** ppResult  
);  

Parameters

srcFile
[in] Name of the source file for which to search.

ppResult
[out] Returns an IDiaEnumInjectedSources object that contains a list of all of the injected sources.

Return Value

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

See Also

IDiaEnumInjectedSources
IDiaSession