This documentation is archived and is not being maintained.

CALLCONV Enumeration

Identifies the calling convention used by a method described in a METHODDATA structure.

[Visual Basic]
<Serializable>
<ComVisible(False)>
Public Enum CALLCONV
[C#]
[Serializable]
[ComVisible(false)]
public enum CALLCONV
[C++]
[Serializable]
[ComVisible(false)]
__value public enum CALLCONV
[JScript]
public
   Serializable
 ComVisible(false)
enum CALLCONV

Remarks

For additional information about CALLCONV, see the MSDN Library.

Members

Member name Description
CC_CDECL Indicates that the Cdecl calling convention is used for a method.
CC_MACPASCAL Indicates that the Macpascal calling convention is used for a method.
CC_MAX Indicates the end of the CALLCONV enumeration.
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_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_RESERVED This value is reserved for future use.
CC_STDCALL Indicates that the Stdcall calling convention is used for a method.
CC_SYSCALL Indicates that the Syscall calling convention is used for a method.

Requirements

Namespace: System.Runtime.InteropServices

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

System.Runtime.InteropServices Namespace

Show: