Partager via


2.2.12 FUNCKIND Function Access Constants

The FUNCKIND enumeration values are used in the funckind field of a FUNCDESC to specify the way that a method is accessed, as specified in section 2.2.42.

The following function access constants are defined in the FUNCKIND enumeration.

 typedef [v1_enum] enum tagFUNCKIND
 {
   FUNC_PUREVIRTUAL = 1,
   FUNC_STATIC = 3,
   FUNC_DISPATCH = 4
 } FUNCKIND;

FUNC_PUREVIRTUAL:  MUST be set if the method described by the FUNCDESC structure is a member of an interface whose associated TYPEKIND value is TKIND_INTERFACE (as specified in section 2.2.17).

FUNC_STATIC:  MUST be set if the method described by the FUNCDESC structure is a method member of the module defined with the automation scope (as specified in section 2.2.49.9).

FUNC_DISPATCH:  MUST be set if the method described by the FUNCDESC structure is a member of an interface whose associated TYPEKIND value is TKIND_DISPATCH (as specified in section 2.2.17). MUST NOT be set if the FUNC_PUREVIRTUAL flag is set.