Rediger

Del via


IDebugHostType3 interface (dbgmodel.h)

Version 3 of an (IDebugHostSymbol derived) interface to a particular type.

This version 3 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

The IDebugHostType3 interface inherits from the IDebugHostType2 interface.

Methods

The IDebugHostType3 interface has these methods.

 
IDebugHostType3::AddRef

The AddRef method increments the reference count for an object.
IDebugHostType3::CreateArrayOf

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

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

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

The GetArrayDimensionality method returns the number of dimensions in an array type.
IDebugHostType3::GetArrayDimensions

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

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

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

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

The GetContainingType method returns the type of the containing parent (the type that contains this symbol).
IDebugHostType3::GetContext

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

The GetFunctionCallingConvention method returns the calling convention of a function type.
IDebugHostType3::GetFunctionInstancePointerType

The GetFunctionInstancePointerType method returns the type of a function instance pointer.
IDebugHostType3::GetFunctionParameterTypeAt

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

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

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

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

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

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

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

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

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

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

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

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

The GetSymbolKind method, when called on a type, gets the symbol kind of the type.
IDebugHostType3::GetType

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

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

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

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

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

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

The QueryInterface method retrieves a pointer to the requested interface.
IDebugHostType3::Release

The Release method releases a reference to the type.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDebugHostSymbol

IDebugHostType interfaces.

Debugger Data Model C++ Interfaces Overview