Partager via


3.7.4.10 ITypeInfo::GetRefTypeInfo (Opnum 14)

The GetRefTypeInfo method retrieves an automation type description that describes a type that is inherited, implemented, or referenced by the ITypeInfo server.

 HRESULT GetRefTypeInfo(
   [in] HREFTYPE hRefType,
   [out] ITypeInfo** ppTInfo
 );

hRefType: MUST be an HREFTYPE (section 2.2.36) that has been provided by the ITypeInfo server instance whose GetRefTypeInfo method is being called.

ppTInfo: MUST be set to a reference to an ITypeInfo server instance that provides an automation type description of the inherited or referenced interface, or NULL if hRefType does not specify an available interface.

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.