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: