CALLCONV 列舉

定義

警告

此 API 現已淘汰。

請改用 CALLCONVUse CALLCONV instead.

public enum class CALLCONV
[System.Obsolete]
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.CALLCONV instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
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.

適用於