Compartir a través de


2.2.19 VARKIND Variable Kind Constants

The VARKIND enumeration values are used in the varkind field of a VARDESC to specify the kind of element that is described by the VARDESC, as specified in section 2.2.43.

The variable kind constants are defined in the VARKIND enumeration:

 typedef [v1_enum] enum tagVARKIND
 {
   VAR_PERINSTANCE = 0,
   VAR_STATIC = (VAR_PERINSTANCE + 1),
   VAR_CONST = (VAR_STATIC + 1),
   VAR_DISPATCH = (VAR_CONST + 1)
 } VARKIND;

VAR_PERINSTANCE:  MUST be used if the VARDESC describes a member of a structure or union.

VAR_STATIC:  MUST be used if the VARDESC describes an appobject coclass (see section 2.2.49.8).

VAR_CONST:  MUST be used if the VARDESC describes a member of a module or enumeration.

VAR_DISPATCH:  MUST be used if the VARDESC describes an ODL dispinterface property (see section 2.2.49.5.3).