IDebugHostType3 接口 (dbgmodel.h)

特定类型的 (IDebugHostSymbol 派生)接口的版本 3。

此版本 3 的接口支持具有相同签名的所有以前的方法,并包括提供新增功能的其他新方法。 新方法列在该接口的节末尾的标头中。

遗产

IDebugHostType3 接口继承自 IDebugHostType2 接口。

方法

IDebugHostType3 接口具有这些方法。

 
IDebugHostType3::AddRef

AddRef 方法递增对象的引用计数。
IDebugHostType3::CreateArrayOf

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

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

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

GetArrayDimensionality 方法返回数组类型中的维度数。
IDebugHostType3::GetArrayDimensions

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

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

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

在符号上调用 GetContainingModule 方法时,如果符号具有包含模块,则获取包含符号的模块。
IDebugHostType3::GetContainingType

GetContainingType 方法返回包含父级的类型(包含此符号的类型)。
IDebugHostType3::GetContext

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

GetFunctionCallingConvention 方法返回函数类型的调用约定。
IDebugHostType3::GetFunctionInstancePointerType

GetFunctionInstancePointerType 方法返回函数实例指针的类型。
IDebugHostType3::GetFunctionParameterTypeAt

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

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

对函数的类型调用 GetFunctionReturnType 方法时,获取函数的返回类型。
IDebugHostType3::GetFunctionVarArgsKind

GetFunctionVarArgsKind 方法返回给定函数是否使用变量参数列表,如果是,则返回它利用的变量参数样式。
IDebugHostType3::GetGenericArgumentAt

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

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

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

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

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

在符号上调用 GetName 方法时,如果符号具有名称,则获取符号的名称。
IDebugHostType3::GetPointerKind

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

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

在类型上调用 GetSymbolKind 方法时,获取类型的符号类型。
IDebugHostType3::GetType

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

GetTypedefBaseType 方法将返回 typedef 的直接定义。
IDebugHostType3::GetTypedefFinalBaseType

GetTypedefFinalBaseType 方法将返回 typedef 是定义的最终类型。
IDebugHostType3::GetTypeKind

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

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

IsTypedef 方法是唯一能够查看类型是否为 typedef 的方法。
IDebugHostType3::QueryInterface

QueryInterface 方法检索指向所请求接口的指针。
IDebugHostType3::Release

Release 方法释放对类型的引用。

要求

要求 价值
标头 dbgmodel.h

另请参阅

IDebugHostSymbol

IDebugHostType 接口。

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