3.11.4.1 ITypeLib::GetTypeInfoCount (Opnum 3)

The GetTypeInfoCount method provides the number of automation type descriptions in the type information table.

 HRESULT GetTypeInfoCount(
   [out] UINT* pcTInfo
 );

pcTInfo: MUST be set to the number of automation type descriptions contained in the type information table of the automation type library.

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.