Bagikan melalui


FunctionType

Each unique function signature is identified by a SymTagFunctionType symbol. Each parameter is identified as a class child symbol with a SymTagFunctionArgType tag.

Properties

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

Property

Data type

Description

IDiaSymbol::get_callingConvention

DWORD

One of the values of the CV_call_e.

IDiaSymbol::get_classParent

IDiaSymbol*

Class that this function (or method) is a member of.

IDiaSymbol::get_classParentId

DWORD

ID of the class parent symbol.

IDiaSymbol::get_constType

BOOL

TRUE if the function is marked as constant.

IDiaSymbol::get_count

DWORD

Number of function parameters.

IDiaSymbol::get_lexicalParent

IDiaSymbol*

Symbol of the enclosing compiland.

IDiaSymbol::get_lexicalParentId

DWORD

ID of the lexical parent symbol.

IDiaSymbol::get_objectPointerType

IDiaSymbol*

Type of the method's object pointer ("this").

IDiaSymbol::get_symIndexId

DWORD

Index ID of symbol.

IDiaSymbol::get_symTag

DWORD

Returns SymTagFunctionType (one of the SymTagEnum values).

IDiaSymbol::get_thisAdjust

LONG

Logical "this" adjustor for the method.

IDiaSymbol::get_type

IDiaSymbol*

Symbol for the return value type.

IDiaSymbol::get_typeId

DWORD

ID of the type symbol.

IDiaSymbol::get_unalignedType

BOOL

TRUE if the function is unaligned.

IDiaSymbol::get_volatileType

BOOL

TRUE if the function is marked as volatile.

See Also

Reference

Class Hierarchy of Symbol Types

CV_access_e

FunctionArgType