共用方式為


3.9.4.2 ITypeInfo2::GetTypeFlags (Opnum 23)

The GetTypeFlags method returns the TYPEFLAGS value associated with the automation type description.

 HRESULT GetTypeFlags(
   [out] ULONG* pTypeFlags
 );

pTypeFlags: MUST be set either to a combination of the TYPEFLAGS type feature constants specified in section 2.2.16, or to 0.

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.