CALLCONV 枚举

定义

警告

此 API 现已过时。

请改用 CALLCONVUse CALLCONV instead.

public enum class CALLCONV
[System.Obsolete]
[System.Runtime.InteropServices.ComVisible(false)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.CALLCONV instead. https://go.microsoft.com/fwlink/?linkid=14202", false)]
[System.Serializable]
public enum CALLCONV
type CALLCONV = 
Public Enum CALLCONV
继承
CALLCONV
属性

字段

CC_CDECL 1

指示对方法使用 Cdecl 调用约定。Indicates that the Cdecl calling convention is used for a method.

CC_MACPASCAL 3

指示对方法使用 Macpascal 调用约定。Indicates that the Macpascal calling convention is used for a method.

CC_MAX 9

指示 CALLCONV 枚举的结尾。Indicates the end of the CALLCONV enumeration.

CC_MPWCDECL 7

指示对方法使用 Mpwcdecl 调用约定。Indicates that the Mpwcdecl calling convention is used for a method.

CC_MPWPASCAL 8

指示对方法使用 Mpwpascal 调用约定。Indicates that the Mpwpascal calling convention is used for a method.

CC_MSCPASCAL 2

指示对方法使用 Mscpascal 调用约定。Indicates that the Mscpascal calling convention is used for a method.

CC_PASCAL 2

指示对方法使用 Pascal 调用约定。Indicates that the Pascal calling convention is used for a method.

CC_RESERVED 5

保留此值供将来使用。This value is reserved for future use.

CC_STDCALL 4

指示对方法使用 Stdcall 调用约定。Indicates that the Stdcall calling convention is used for a method.

CC_SYSCALL 6

指示对方法使用 Syscall 调用约定。Indicates that the Syscall calling convention is used for a method.

注解

有关 CALLCONV的其他信息,请参阅 MSDN Library。For additional information about CALLCONV, see the MSDN Library.

适用于