FUNCKIND enumeration
Specifies the function type.
Syntax
typedef enum tagFUNCKIND { FUNC_VIRTUAL = 0, FUNC_PUREVIRTUAL = ( FUNC_VIRTUAL + 1 ), FUNC_NONVIRTUAL = ( FUNC_PUREVIRTUAL + 1 ), FUNC_STATIC = ( FUNC_NONVIRTUAL + 1 ), FUNC_DISPATCH = ( FUNC_STATIC + 1 ) } FUNCKIND;
Constants
- FUNC_VIRTUAL
-
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
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: