IDebugHostType2::GetTypeKind method (dbgmodel.h)
The GetTypeKind method returns what kind of type (pointer, array, intrinsic, etc...) the symbol refers to.
Syntax
HRESULT GetTypeKind(
TypeKind *kind
);
Parameters
kind
The kind of type the symbol refers to will be returned here (as a member of the TypeKind enumeration).
Return value
This method returns HRESULT that indicates success or failure.
Remarks
Sample Code
ComPtr<IDebugHostType2> spType; /* get a type (see FindTypeByName) */
TypeKind tk;
if (SUCCEEDED(spType->GetTypeKind(&tk)))
{
// tk is the kind of type
// TypePointer: it's a pointer
// TypeArray: it's an array
// etc...
}
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |