3.11.4.6 ITypeLib::GetTypeComp (Opnum 8)

The GetTypeComp method retrieves a reference to the ITypeComp server instance associated with the ITypeLib server.

 HRESULT GetTypeComp(
   [out] ITypeComp** ppTComp
 );

ppTComp: MUST be set to a reference to the ITypeComp server instance associated with the automation type library, or to NULL if the automation type library does not have an associated ITypeComp server instance.

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.