IDebugHostType 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.

Inheritance

IDebugHostType inherits from IDebugHostSymbol.

Methods

The IDebugHostType interface has these methods.

 
IDebugHostType::AddRef

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

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

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

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

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

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

The IDebugHostType::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.
IDebugHostType::GetBitField

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

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

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

The GetFunctionCallingConvention method returns the calling convention of the function. Such is returned as a member of the CallingConventionKind enumeration.
IDebugHostType::GetFunctionParameterTypeAt

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

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

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

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

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

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

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

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

Returns the name of the symbol if the symbol has a name. If the symbol does not have a name, an error is returned.
IDebugHostType::GetPointerKind

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

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

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

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

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

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

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

The IDebugHostType::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