# CALLCONV Enumeration

.NET Framework 2.0

NOTE: This enumeration is now obsolete.

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)

## Syntax

```[SerializableAttribute]
public enum CALLCONV
```
```/** @attribute SerializableAttribute() */
public enum CALLCONV
```
```SerializableAttribute
public enum CALLCONV
```

## Members

Member nameDescription
CC_CDECLIndicates that the Cdecl calling convention is used for a method.
CC_MACPASCALIndicates that the Macpascal calling convention is used for a method.
CC_MAXIndicates the end of the CALLCONV enumeration.
CC_MPWCDECLIndicates that the Mpwcdecl calling convention is used for a method.
CC_MPWPASCALIndicates that the Mpwpascal calling convention is used for a method.
CC_MSCPASCALIndicates that the Mscpascal calling convention is used for a method.
CC_PASCALIndicates that the Pascal calling convention is used for a method.
CC_RESERVEDThis value is reserved for future use.
CC_STDCALLIndicates that the Stdcall calling convention is used for a method.
CC_SYSCALLIndicates that the Syscall calling convention is used for a method.

## Platforms

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

## Version Information

#### .NET Framework

Supported in: 1.0, 1.1
Obsolete (compiler warning) in 2.0