CALLCONV

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

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 return a DATE type which is a floating-point type.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Oaidl.h.

See Also

Automation Enumerations | METHODDATA

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.