IDiaSession::findInjectedSource

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