Método IDebugHostType2::GetTypeKind (dbgmodel.h)
El método GetTypeKind devuelve a qué tipo de tipo (puntero, matriz, intrínseco, etc.) se refiere el símbolo.
Sintaxis
HRESULT GetTypeKind(
TypeKind *kind
);
Parámetros
kind
El tipo de tipo al que hace referencia el símbolo se devolverá aquí (como miembro de la enumeración TypeKind de ).
Valor devuelto
Este método devuelve HRESULT que indica éxito o error.
Observaciones
de código de ejemplo
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...
}
Requisitos
Requisito | Valor |
---|---|
encabezado de | dbgmodel.h |