CALLCONV Enum

Definition

Caution

Use System.Runtime.InteropServices.ComTypes.CALLCONV instead. http://go.microsoft.com/fwlink/?linkid=14202

Use CALLCONV instead.

C#
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum CALLCONV
C#
[System.Serializable]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.CALLCONV instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public enum CALLCONV
Inheritance
CALLCONV
Attributes

Fields

Name Value Description
CC_CDECL 1

Indicates that the Cdecl calling convention is used for a method.

CC_MSCPASCAL 2

Indicates that the Mscpascal calling convention is used for a method.

CC_PASCAL 2

Indicates that the Pascal calling convention is used for a method.

CC_MACPASCAL 3

Indicates that the Macpascal calling convention is used for a method.

CC_STDCALL 4

Indicates that the Stdcall calling convention is used for a method.

CC_RESERVED 5

This value is reserved for future use.

CC_SYSCALL 6

Indicates that the Syscall calling convention is used for a method.

CC_MPWCDECL 7

Indicates that the Mpwcdecl calling convention is used for a method.

CC_MPWPASCAL 8

Indicates that the Mpwpascal calling convention is used for a method.

CC_MAX 9

Indicates the end of the CALLCONV enumeration.

Remarks

For additional information about CALLCONV, see the MSDN Library.

Applies to

Product Versions (Obsolete)
.NET Framework 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)