IDiaSession::findInjectedSource

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

Retrieves a list of sources that has been placed into the symbol store by attribute providers or other components of the compilation process.

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.

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

IDiaEnumInjectedSources
IDiaSession

Show: