PublicSymbol

When the .exe file is created, each public symbol (at a minimum, each global function and data symbol) is given a SymTagPublicSymbol tag.

Properties

The following table shows the properties that are valid for this symbol type.

Property Data type Description
IDiaSymbol::get_addressOffset DWORD Offset part of location; for details, see the LocationType Enumeration.
IDiaSymbol::get_addressSection DWORD Section part of location; for details, see the LocationType Enumeration.
IDiaSymbol::get_code BOOL TRUE if the symbol's location is in code.
IDiaSymbol::get_function BOOL TRUE if the symbol is a function.
IDiaSymbol::get_length ULONGLONG Length of this symbol in bytes.
IDiaSymbol::get_lexicalParent IDiaSymbol* Symbol for the global scope.
IDiaSymbol::get_lexicalParentId DWORD ID of the lexical parent symbol.
IDiaSymbol::get_locationType DWORD Public symbols have static locations; for details, see Symbol Locations.
IDiaSymbol::get_managed BOOL TRUE if the symbol's location is in managed code.
IDiaSymbol::get_msil BOOL TRUE if the symbol's location is in Microsoft Intermediate Language (MSIL) code.
IDiaSymbol::get_name BSTR The fully decorated name of the symbol.
IDiaSymbol::get_symIndexId DWORD Index ID of symbol.
IDiaSymbol::get_relativeVirtualAddress DWORD Relative position of the symbol within its block.
IDiaSymbol::get_symTag DWORD Returns SymTagPublicSymbol (one of the SymTagEnum Enumeration values).
IDiaSymbol::get_undecoratedName BSTR The undecorated symbol name.
IDiaSymbol::get_undecoratedNameEx BSTR Part or all of the undecorated symbol name.

See also