Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 2.01 KB

nf-dbgmodel-idebughosttype2-getbasetype.md

File metadata and controls

65 lines (51 loc) · 2.01 KB
UID title description ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.lib req.dll req.irql req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library targetos tech.root ms.custom f1_keywords topic_type api_type api_location api_name
NF:dbgmodel.IDebugHostType2.GetBaseType
IDebugHostType2::GetBaseType (dbgmodel.h)
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.
09/20/2018
IDebugHostType2::GetBaseType
IDebugHostType2::GetBaseType, GetBaseType, IDebugHostType2.GetBaseType, IDebugHostType2::GetBaseType, IDebugHostType2.GetBaseType
dbgmodel.h
Windows
debugger
RS5
IDebugHostType2::GetBaseType
dbgmodel/IDebugHostType2::GetBaseType
apiref
COM
dbgmodel.h
IDebugHostType2::GetBaseType

IDebugHostType2::GetBaseType

-description

If the type is a derivative of another single type (e.g.: as MyStruct * is derived from MyStruct'), the GetBaseType method returns the base type of the derivation. For pointers, this returns the type pointed to. For arrays, this returns what the array is an array of. If the type is not such a derivative type, an error is returned.

Note that this method has nothing to do with C++ (or other linguistic) base classes. Such are symbols (IDebugHostBaseClass) which can be enumerated from the derived class via a call to the EnumerateChildren method.

-parameters

-param baseType

The type that this type is derived from is returned here. This is the type pointed to, the type an array contains, etc...

-returns

This method returns HRESULT which indicates success or failure.

-remarks

-see-also

IDebugHostType2 interface