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.

Syntax

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.

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.

Return Value

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

See also