Compartir a través de


CALLCONV

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This enumeration identifies the calling convention used by a method described in the METHODDATA structure.

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 CALLCONV enumeration.

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

See Also

Reference

Automation Enumerations
METHODDATA