3.7.4.2 ITypeInfo::GetTypeComp (Opnum 4)

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

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

ppTComp: MUST be set to a reference to the ITypeComp server instance associated with the ITypeInfo server (see section 3.5).

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 sevierty bit is set to 1, the method failed and encountered a fatal error.