(dbgmodel.h) 的 IDebugHostType2 接口

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

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

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

继承

IDebugHostType2 继承自 IDebugHostType

方法

IDebugHostType2 接口包含以下方法。

 
IDebugHostType2::AddRef

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

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

当对类型调用 IDebugHostType2::CreatePointerTo 方法时,获取作为指向该类型的指针的新 IDebugHostType。
IDebugHostType2::EnumerateChildren

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

对数组的类型调用 IDebugHostType2::GetArrayDimensionality 方法时,获取数组的尺寸。
IDebugHostType2::GetArrayDimensions

当对数组的类型调用 IDebugHostType2::GetArrayDimensions 方法时,将获取一组描述符,其中一个描述符用于数组的每个维度。
IDebugHostType2::GetBaseType

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

当对位图的类型调用 IDebugHostType2::GetBitField 方法时,获取有关位图结构的信息。
IDebugHostType2::GetContainingModule

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

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

GetFunctionCallingConvention 方法返回函数的调用约定。
IDebugHostType2::GetFunctionInstancePointerType

指示传递给函数的指针 (“this”) 实例的类型。
IDebugHostType2::GetFunctionParameterTypeAt

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

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

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

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

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

对类型调用 IDebugHostType2::GetGenericArgumentCount 方法时,获取该类型的泛型参数数。
IDebugHostType2::GetHashCode

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

对类型调用 IDebugHostType2::GetIntrinsicType 方法时,获取有关该类型是哪种内部函数的信息。
IDebugHostType2::GetMemberType

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

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

对指针的类型调用 IDebugHostType2::GetPointerKind 方法时,获取由 PointerKind 枚举指定的指针类型。
IDebugHostType2::GetSize

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

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

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

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

GetTypedefFinalBaseType 方法将返回 typedef 为其定义的最终类型。
IDebugHostType2::GetTypeKind

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

对类型调用 IDebugHostType2::IsGeneric 方法时,获取类型是泛型还是模板。
IDebugHostType2::IsTypedef

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

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

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

要求

要求
Header dbgmodel.h

另请参阅

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