PointerType

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 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

Reference

Class Hierarchy of Symbol Types