IDebugHostType 接口 (dbgmodel.h)

IDebugHostSymbol 派生)接口到特定类型。

IDebugHostType2 或 IDebugHostType 接口描述了给定的语言/本机类型。 请注意,这些接口上的某些方法仅适用于特定类型的类型。

遗产

IDebugHostType 继承自 IDebugHostSymbol

方法

IDebugHostType 接口具有这些方法。

 
IDebugHostType::AddRef

IDebugHostType::AddRef 方法递增对象上接口的引用计数。
IDebugHostType::CreateArrayOf

在类型上调用 IDebugHostType::CreateArrayOf 方法时,获取一个新的 IDebugHostType,该 IDebugHostType 是具有指定数组维度的类型数组。
IDebugHostType::CreatePointerTo

在类型上调用 IDebugHostType::CreatePointerTo 方法时,获取指向该类型的指针的新 IDebugHostType。
IDebugHostType::EnumerateChildren

IDebugHostType::EnumerateChildren 方法获取能够枚举给定符号的所有子级的枚举器。
IDebugHostType::GetArrayDimensionality

当对数组的类型调用时,IDebugHostType::GetArrayDimensionality 方法获取数组的维度。
IDebugHostType::GetArrayDimensions

在数组的类型上调用 IDebugHostType::GetArrayDimensions 方法时,获取一组描述符,一个用于数组的每个维度。
IDebugHostType::GetBaseType

在类型上调用 IDebugHostType::GetBaseType 方法时,获取基类型。 基类型是数组的指针或元素类型的目标类型。
IDebugHostType::GetBitField

在位图的类型上调用 IDebugHostType::GetBitField 方法时,获取有关位图结构的信息。
IDebugHostType::GetContainingModule

在对符号调用时,IDebugHostType::GetContainingModule 方法获取包含符号的模块(如果该符号具有包含模块)。
IDebugHostType::GetContext

在符号上调用 IDebugHostType::GetContext 方法时,获取符号所在的主机上下文。
IDebugHostType::GetFunctionCallingConvention

GetFunctionCallingConvention 方法返回函数的调用约定。 此类作为 CallingConventionKind 枚举的成员返回。
IDebugHostType::GetFunctionParameterTypeAt

在函数类型上调用 IDebugHostType::GetFunctionParameterTypeAt 方法时,获取函数参数列表中的给定索引处的参数类型。
IDebugHostType::GetFunctionParameterTypeCount

在对函数的类型调用时,IDebugHostType::GetFunctionParameterTypeCount 方法获取函数采用的参数数。
IDebugHostType::GetFunctionReturnType

在对函数的类型调用时,IDebugHostType::GetFunctionReturnType 方法获取函数的返回类型。
IDebugHostType::GetGenericArgumentAt

在函数类型上调用时,IDebugHostType::GetGenericArgumentAt 方法在函数参数列表中的给定索引处获取泛型参数。
IDebugHostType::GetGenericArgumentCount

在类型上调用 IDebugHostType::GetGenericArgumentCount 方法时,获取该类型的泛型参数数。
IDebugHostType::GetHashCode

在类型上调用 IDebugHostType::GetHashCode 方法时,获取该类型的 32 位哈希代码。
IDebugHostType::GetIntrinsicType

在类型上调用 IDebugHostType::GetIntrinsicType 方法时,获取有关类型内部函数类型的信息。
IDebugHostType::GetMemberType

调用指向模块成员的指针的类型时,IDebugHostType::GetMemberType 方法获取模块成员的类。
IDebugHostType::GetName

如果符号具有名称,则返回符号的名称。 如果该符号没有名称,则返回错误。
IDebugHostType::GetPointerKind

在指针的类型上调用 IDebugHostType::GetPointerKind 方法时,获取 PointerKind 枚举指定的指针类型。
IDebugHostType::GetSize

在类型上调用 IDebugHostType::GetSize 方法时,获取类型的大小。 此方法等效于 C++ 中的 sizeof(type)。
IDebugHostType::GetSymbolKind

在对符号调用时,IDebugHostType::GetSymbolKind 方法获取符号类型,例如字段、基类或类型。
IDebugHostType::GetType

在符号上调用 IDebugHostType::GetType 方法时,获取符号的类型,例如 int *。
IDebugHostType::GetTypeKind

在类型上调用 IDebugHostType::GetTypeKind 方法时,获取 TypeKind 枚举指定的类型类型。
IDebugHostType::IsGeneric

在类型上调用 IDebugHostType::IsGeneric 方法时,获取类型是泛型还是模板。
IDebugHostType::QueryInterface

IDebugHostType::QueryInterface 方法检索指向对象上支持的接口的指针。
IDebugHostType::Release

IDebugHostType::Release 方法会递减对象上接口的引用计数。

要求

要求 价值
标头 dbgmodel.h

另请参阅

调试器数据模型C++概述