Düzenle

Aracılığıyla paylaş


FUNCKIND enumeration (oaidl.h)

Specifies the function type.

Syntax

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

Constants

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

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header oaidl.h (include OleAuto.h)