3.9.4.1 ITypeInfo2::GetTypeKind (Opnum 22)

The GetTypeKind method returns the TYPEKIND value associated with the automation type description.

 HRESULT GetTypeKind(
   [out] TYPEKIND* pTypeKind
 );

pTypeKind: MUST be set to the TYPEKIND value associated with the automation type description, as specified in section 2.2.17.

Return Values: The method MUST return information in an HRESULT data structure, defined in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following conditions:

  • If the severity bit is set to 0, the method completed successfully.

  • If the severity bit is set to 1, the method failed and encountered a fatal error.