IDiaSymbol::get_liveRangeStartAddressSection

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

Returns the section part of the starting address of the range in which the local symbol is valid.

Syntax

HRESULT get_liveRangeStartAddressSection (   
   DWORD* section  
);  

Parameters

section
[out] Returns the section part of the starting address range.

Return Value

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

Note

A returned error code means that the symbol does not have live range information.

Remarks

The address formed by the section and offset is the beginning of the range in which the symbol is valid.

To get the offset part of the address, use IDiaSymbol::get_liveRangeStartAddressOffset.

Requirements

Header: Dia2.h

Library: diaguids.lib

DLL: msdia100.dll

See Also

IDiaSymbol