共用方式為


2.2.13 IMPLTYPEFLAGS Feature Constants

The IMPLTYPEFLAGS enumeration values are stored in the pImplTypeFlags parameter of the ITypeInfo::GetImplTypeFlags method to specify the implementation features of a COM server, as specified in section 3.7.4.7.

The following implementation type feature constants are defined in the IMPLTYPEFLAGS enumeration.

 typedef  enum tagIMPLTYPEFLAGS
 {
   IMPLTYPEFLAG_FDEFAULT = 0x1,
   IMPLTYPEFLAG_FSOURCE = 0x2,
   IMPLTYPEFLAG_FRESTRICTED = 0x4,
   IMPLTYPEFLAG_FDEFAULTVTABLE = 0x8
 } IMPLTYPEFLAGS;

IMPLTYPEFLAG_FDEFAULT:  MUST be set if the interface was declared with the [default] attribute (as specified in section 2.2.49.8).

IMPLTYPEFLAG_FSOURCE:  MUST be set if the interface was declared with the [source] or [defaultvtable] attributes (as specified in section 2.2.49.8).

IMPLTYPEFLAG_FRESTRICTED:  MUST be set if the interface was declared with the [restricted] attribute (as specified in section 2.2.49.8).

IMPLTYPEFLAG_FDEFAULTVTABLE:  MUST be set if the interface was declared with the [defaultvtable] attribute (as specified in section 2.2.49.8).