CALLCONV 枚举

注意:此枚举现在已过时。

应改用 CALLCONV

**命名空间:**System.Runtime.InteropServices
**程序集:**mscorlib(在 mscorlib.dll 中)

语法

声明
<SerializableAttribute> _
<ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.CALLCONV instead. https://go.microsoft.com/fwlink/?linkid=14202", False)> _
Public Enumeration CALLCONV
用法
Dim instance As CALLCONV
[SerializableAttribute] 
[ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.CALLCONV instead. https://go.microsoft.com/fwlink/?linkid=14202", false)] 
public enum CALLCONV
[SerializableAttribute] 
[ObsoleteAttribute(L"Use System.Runtime.InteropServices.ComTypes.CALLCONV instead. https://go.microsoft.com/fwlink/?linkid=14202", false)] 
public enum class CALLCONV
/** @attribute SerializableAttribute() */ 
/** @attribute ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.CALLCONV instead. https://go.microsoft.com/fwlink/?linkid=14202", false) */ 
public enum CALLCONV
SerializableAttribute 
ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.CALLCONV instead. https://go.microsoft.com/fwlink/?linkid=14202", false) 
public enum CALLCONV

成员

  成员名称 说明
CC_CDECL 指示对方法使用 Cdecl 调用约定。 
CC_MACPASCAL 指示对方法使用 Macpascal 调用约定。 
CC_MAX 指示 CALLCONV 枚举的结尾。 
CC_MPWCDECL 指示对方法使用 Mpwcdecl 调用约定。 
CC_MPWPASCAL 指示对方法使用 Mpwpascal 调用约定。 
CC_MSCPASCAL 指示对方法使用 Mscpascal 调用约定。 
CC_PASCAL 指示对方法使用 Pascal 调用约定。 
CC_RESERVED 保留此值供将来使用。 
CC_STDCALL 指示对方法使用 Stdcall 调用约定。 
CC_SYSCALL 指示对方法使用 Syscall 调用约定。 

备注

有关 CALLCONV 的其他信息,请参见 MSDN Library。

平台

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

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:1.0、1.1
在 2.0 中过时(编译器警告)

请参见

参考

System.Runtime.InteropServices 命名空间