Share via


FUNCKIND (Compact 2013)

3/26/2014

This enumeration lists various kinds of access of a function.

Syntax

typedef enum tagFUNCKIND {
  FUNC_VIRTUAL,
  FUNC_PUREVIRTUAL,
  FUNC_NONVIRTUAL,
  FUNC_STATIC,
  FUNC_DISPATCH,
} FUNCKIND;

Elements

  • FUNC_PUREVIRTUAL
    Indicates that the function is accessed through the virtual function table (VTBL), and takes an implicit this pointer.
  • FUNC_VIRTUAL
    Indicates that the function is accessed the same as FUNC_PUREVIRTUAL, except the function has an implementation.
  • FUNC_NONVIRTUAL
    Indicates that the function is accessed by static address and takes an implicit i pointer.
  • FUNC_STATIC
    Indicates that the function is accessed by static address and does not take an implicit this pointer.
  • FUNC_DISPATCH
    Indicates that the function can be accessed only through IDispatch.

Requirements

Header

oaidl.h

See Also

Reference

Automation Enumerations
IDispatch