IDebugHostType2 interface (dbgmodel.h)

An (IDebugHostSymbol derived) interface to a particular type.

A given language/native type is described by the IDebugHostType2 or IDebugHostType interfaces. Note that some of the methods on these interfaces only apply for specific kinds of types.

This version 2 of the interface supports all of the previous methods with identical signatures and includes additional new methods that provide added functionality. The new methods are listed in the header at the end of the section for that interface.

Inheritance

IDebugHostType2 inherits from IDebugHostType.

Methods

The IDebugHostType2 interface has these methods.

 
IDebugHostType2::AddRef

The IDebugHostType2::AddRef method increments the reference count for an interface on an object.
IDebugHostType2::CreateArrayOf

The IDebugHostType2::CreateArrayOf method, when called on a type, gets a new IDebugHostType that is an array of the type with specified array dimensions.
IDebugHostType2::CreatePointerTo

The IDebugHostType2::CreatePointerTo method, when called on a type, gets a new IDebugHostType that is a pointer to the type.
IDebugHostType2::EnumerateChildren

The IDebugHostType2::EnumerateChildren method gets an enumerator capable of enumerating all children of a given symbol.
IDebugHostType2::GetArrayDimensionality

The IDebugHostType2::GetArrayDimensionality method, when called on a type for an array, gets the dimensions of the array.
IDebugHostType2::GetArrayDimensions

The IDebugHostType2::GetArrayDimensions method, when called on a type for an array, gets a set of descriptors, one for each dimension of the array.
IDebugHostType2::GetBaseType

The IDebugHostType2::GetBaseType method, when called on a type, gets the base type. The base type is the target type for a pointer or element type for an array.
IDebugHostType2::GetBitField

The IDebugHostType2::GetBitField method, when called on a type for a bitmap, gets information about the bitmap structure.
IDebugHostType2::GetContainingModule

The IDebugHostType2::GetContainingModule method, when called on a symbol, gets the module that contains the symbol if the symbol has a containing module.
IDebugHostType2::GetContext

The IDebugHostType2::GetContext method, when called on a symbol, gets the host context in which the symbol is located.
IDebugHostType2::GetFunctionCallingConvention

The GetFunctionCallingConvention method returns the calling convention of the function.
IDebugHostType2::GetFunctionInstancePointerType

Indicates what the type of the instance ("this") pointer passed to the function is.
IDebugHostType2::GetFunctionParameterTypeAt

The IDebugHostType2::GetFunctionParameterTypeAt method, when called on a function type, gets the parameter type at a given index in the function's argument list.
IDebugHostType2::GetFunctionParameterTypeCount

The IDebugHostType2::GetFunctionParameterTypeCount method, when called on a type for a function, gets the number of arguments that the function takes.
IDebugHostType2::GetFunctionReturnType

The IDebugHostType2::GetFunctionReturnType method, when called on a type for a function, gets the return type of the function.
IDebugHostType2::GetFunctionVarArgsKind

The GetFunctionVarArgsKind method returns whether a given function utilizes a variable argument list, and if so, what style of variable arguments it utilizes.
IDebugHostType2::GetGenericArgumentAt

The IDebugHostType2::GetGenericArgumentAt method, when called on a function type, gets a generic argument at a given index in the function's argument list.
IDebugHostType2::GetGenericArgumentCount

The IDebugHostType2::GetGenericArgumentCount method, when called on a type, gets the number of generic arguments to the type.
IDebugHostType2::GetHashCode

The IDebugHostType2::GetHashCode method, when called on a type, gets a 32-bit hash code for the type.
IDebugHostType2::GetIntrinsicType

The IDebugHostType2::GetIntrinsicType method, when called on a type, gets information about what kind of intrinsic the type is.
IDebugHostType2::GetMemberType

The IDebugHostType2::GetMemberType method, when called on a type for a pointer to a module member, gets the class of the module member.
IDebugHostType2::GetName

The IDebugHostType2::GetName method, when called on a symbol, gets the name of the symbol if it has a name.
IDebugHostType2::GetPointerKind

The IDebugHostType2::GetPointerKind method, when called on a type for a pointer, gets the kind of pointer specified by the PointerKind enumeration.
IDebugHostType2::GetSize

The IDebugHostType2::GetSize method, when called on a type, gets the size of the type. This method is equivalent to sizeof(type) in C++.
IDebugHostType2::GetSymbolKind

The IDebugHostType2::GetSymbolKind method, when called on a symbol, gets the kind of symbol, such as field, base class, or type.
IDebugHostType2::GetType

The IDebugHostType2::GetType method, when called on a symbol, gets the type of symbol, such as int *.
IDebugHostType2::GetTypedefBaseType

The GetTypedefBaseType method will return what the immediate definition of the typedef.
IDebugHostType2::GetTypedefFinalBaseType

The GetTypedefFinalBaseType method will return the final type that the typedef is a definition for.
IDebugHostType2::GetTypeKind

The IDebugHostType2::GetTypeKind method, when called on a type, gets the kind of type specified by the TypeKind enumeration.
IDebugHostType2::IsGeneric

The IDebugHostType2::IsGeneric method, when called on a type, gets whether the type is a generic or template.
IDebugHostType2::IsTypedef

The IsTypedef method is the only method capable of seeing whether a type is a typedef.
IDebugHostType2::QueryInterface

The IDebugHostType2::QueryInterface method retrieves pointers to the supported interfaces on an object.
IDebugHostType2::Release

The IDebugHostType2::Release method decrements the reference count for an interface on an object.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview