IDiaSession::findInlineeLinesByLinenum

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IDiaSession::findInlineeLinesByLinenum.

Retrieves an enumeration that allows a client to iterate through the line number information of all functions that are inlined, directly or indirectly, in the specified source file and line number.

HRESULT findInlineeLinesByVA (   
   IDiaSymbol*           compiland,  
   IDiaSourceFile*       file,  
   DWORD                 linenum,  
   DWORD                 column,  
   IDiaEnumLineNumbers** ppResult  
);  

Parameters

compiland
[in] An IDiaSymbol object that represents the compiland in which to search for the line numbers. This parameter cannot be NULL.

file
[in] An IDiaSourceFile object that represents the source file in which to search. This parameter cannot be NULL.

linenum
[in] Specifies a one-based line number.

System_CAPS_ICON_note.jpg Note

You cannot use zero to specify all lines (use the IDiaSession::findLines method to find all lines).

column
[in] Specifies the column number. Use zero to specify all columns. A column is a byte offset into a line.

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

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

IDiaSession
IDiaSourceFile
IDiaSymbol
SymTagEnum Enumeration
IDiaEnumLineNumbers

Show: