다음을 통해 공유


IDebugHostType::GetTypeKind 메서드(dbgmodel.h)

GetTypeKind 메서드는 기호가 참조하는 형식의 종류(포인터, 배열, 내장 등...)를 반환합니다. 자세한 내용은 TypeKind 열거형 을 참조하세요.

구문

HRESULT GetTypeKind(
  TypeKind *kind
);

매개 변수

kind

기호가 참조하는 형식의 종류가 여기에 반환됩니다(TypeKind 열거형의 멤버).

반환 값

이 메서드는 성공 또는 실패를 나타내는 HRESULT를 반환합니다.

설명

예제 코드

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

요구 사항

요구 사항
헤더 dbgmodel.h

추가 정보

IDebugHostType 인터페이스