次の方法で共有


IDiaSession::findInjectedSource

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

[このトピックはプレリリース版のため将来変更される可能性があります。また、プレースホルダとしてブランクのトピックが含まれています。]

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.

Return Value

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

See Also

IDiaEnumInjectedSources
IDiaSession