PointerType

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

Each pointer is identified by a SymTagPointerType symbol.

Properties

The following table shows additional valid properties for this symbol type.

Property Data type Description
IDiaSymbol::get_constType BOOL TRUE if the pointer is marked as a constant.
IDiaSymbol::get_length ULONGLONG Size, in bytes, of the pointer.
IDiaSymbol::get_lexicalParent IDiaSymbol* Symbol of the enclosing Compiland.
IDiaSymbol::get_lexicalParentId DWORD ID of the lexical parent symbol.
IDiaSymbol::get_reference BOOL TRUE if pointer is a reference type.
IDiaSymbol::get_symIndexId DWORD Index ID of symbol.
IDiaSymbol::get_symTag DWORD Returns SymTagPointerType (one of the SymTagEnum Enumeration values).
IDiaSymbol::get_type IDiaSymbol* Target symbol of the pointer.
IDiaSymbol::get_typeId DWORD ID of the type symbol.
IDiaSymbol::get_unalignedType BOOL TRUE if the pointer is unaligned.
IDiaSymbol::get_volatileType BOOL TRUE if the pointer is marked as volatile.

See Also

Class Hierarchy of Symbol Types