共用方式為


3.7.4.1 ITypeInfo::GetTypeAttr (Opnum 3)

The GetTypeAttr method retrieves a TYPEATTR structure that contains information about the type described by the ITypeInfo server.

 HRESULT GetTypeAttr(
   [out] LPTYPEATTR* ppTypeAttr,
   [out] DWORD* pReserved
 );

ppTypeAttr: MUST be set to a TYPEATTR structure whose data values describe the type associated with the ITypeInfo server, as specified in section 2.2.44.

pReserved: MUST be set to 0 and ignored on receipt.

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.