Partager via


2.2.22 DESCKIND Name Description Constants

The DESCKIND Name Description Constants enumeration values are used by the ITypeComp::Bind method to indicate the kind of element to which a name has been bound, as specified in section 3.5.4.1.

The name description constants are defined in the DESCKIND enumeration.

 typedef [v1_enum] enum tagDESCKIND
 {
   DESCKIND_NONE = 0,
   DESCKIND_FUNCDESC = 1,
   DESCKIND_VARDESC = 2,
   DESCKIND_TYPECOMP = 3,
   DESCKIND_IMPLICITAPPOBJ = 4
 } DESCKIND;

DESCKIND_NONE:  MUST be set if there is no element bound to the name.

DESCKIND_FUNCDESC:  MUST be set if the name is bound to a method or property accessor method. MUST NOT be set if the name is bound to an ODL dispinterface property.

DESCKIND_VARDESC:  MUST be set if the name is bound to a data element or ODL dispinterface property.

DESCKIND_TYPECOMP:  MUST be set if the name is bound to an enumeration or module.

DESCKIND_IMPLICITAPPOBJ:  MUST be set if the name is bound to an appobject coclass (see section 2.2.49.8) or a member of its default nonsource interface (also see 2.2.49.8).