共用方式為


IDiaSession::findInlineesByName

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 an enumeration that allows a client to iterate through the line number information of all inlined functions that match a specified name.

Syntax

HRESULT findInlineesByName (   
   LPCOLESTR             name,  
   DWORD                 option,  
   IDiaEnumLineNumbers** ppResult  
);  

Parameters

name
[in] Specifies the name to use for comparison.

option
[in] Specifies the comparison options applied to name searching. Values from the NameSearchOptions Enumeration enumeration can be used alone or in combination.

ppResult
[out] Returns an IDiaEnumLineNumbers object that contains a list of the line numbers that were retrieved.

Return Value

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

See Also

IDiaSession
IDiaSourceFile
IDiaSymbol
SymTagEnum Enumeration
IDiaEnumLineNumbers