3.1.4.1 IDispatch::GetTypeInfoCount (Opnum 3)

The GetTypeInfoCount method specifies whether the automation server provides Type description information.

 HRESULT GetTypeInfoCount(
   [out] UINT* pctinfo
 );

pctinfo: MUST be set to 0 if the automation server does not provide Type description information. Otherwise, it MUST be set to 1.

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.