共用方式為


FUNCKIND

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Automation Enumerations
IDispatch