Partager via


2.2.20 LIBFLAGS Type Library Feature Constants

The LIBFLAGS enumeration values are used in the wLibFlags field of a TLIBATTR to specify the features of the automation scope of an ITypeLib server, as specified in section 2.2.45.

The Type library feature constants are defined in the LIBFLAGS enumeration.

 typedef [v1_enum] enum tagLIBFLAGS
 {
   LIBFLAG_FRESTRICTED = 0x01,
   LIBFLAG_FCONTROL = 0x02,
   LIBFLAG_FHIDDEN = 0x04,
   LIBFLAG_FHASDISKIMAGE = 0x08
 } LIBFLAGS;

LIBFLAG_FRESTRICTED:  MUST be set if the automation scope was declared with the [restricted] attribute (as specified in section 2.2.49.2).

LIBFLAG_FCONTROL:  MUST be set if the automation scope was declared with the [control] attribute (as specified in section 2.2.49.2).

LIBFLAG_FHIDDEN:  MUST be set if the automation scope was declared with the [hidden] attribute (as specified in section 2.2.49.2).

LIBFLAG_FHASDISKIMAGE:  MAY be set <4>and MUST be ignored on receipt.