Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This enumeration identifies the calling convention used by a method described in the METHODDATAstructure.
Syntax
typedef enum tagCALLCONV { CC_CDECL = 1, CC_MSCPASCAL = 2, CC_PASCAL = CC_MSCPASCAL, CC_MACPASCAL = 3, CC_STDCALL = 4, CC_RESERVED = 5, CC_SYSCALL = 6, CC_MPWCDECL = 7, CC_MPWPASCAL = 8, CC_MAX = 9 } CALLCONV; |
Elements
- CC_CDECL
-
Indicates that the Cdecl calling convention is used for a method.
- CC_MSCPASCAL
-
Indicates that the Mscpascal calling convention is used for a method.
- CC_PASCAL
-
Indicates that the Pascal calling convention is used for a method.
- CC_MACPASCAL
-
Indicates that the Macpascal calling convention is used for a method.
- CC_STDCALL
-
Indicates that the Stdcall calling convention is used for a method.
- CC_RESERVED
-
Reserved for future use.
- CC_SYSCALL
-
Indicates that the Syscall calling convention is used for a method.
- CC_MPWCDECL
-
Indicates that the Mpwcdecl calling convention is used for a method.
- CC_MPWPASCAL
-
Indicates that the Mpwpascal calling convention is used for a method.
- CC_MAX
-
Indicates the end of the CALLCONVenumeration.
Remarks
On 16-bit Windows systems, functions implemented with the CC_CDECL calling convention cannot have a return type of float or double. This includes functions that retrieve a DATE type, which is a floating-point type.
Requirements
Header | oaidl.h |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |