using System; namespace System.Runtime.InteropServices { /// Specifies the calling convention required to call methods implemented in unmanaged code. // Token: 0x020002F7 RID: 759 [ComVisible(true)] [Serializable] public enum CallingConvention { /// This member is not actually a calling convention, but instead uses the default platform calling convention. For example, on Windows the default is and on Windows CE.NET it is . // Token: 0x04000CD7 RID: 3287 Winapi = 1, /// The caller cleans the stack. This enables calling functions with varargs, which makes it appropriate to use for methods that accept a variable number of parameters, such as Printf. // Token: 0x04000CD8 RID: 3288 Cdecl, /// The callee cleans the stack. This is the default convention for calling unmanaged functions with platform invoke. // Token: 0x04000CD9 RID: 3289 StdCall, /// The first parameter is the this pointer and is stored in register ECX. Other parameters are pushed on the stack. This calling convention is used to call methods on classes exported from an unmanaged DLL. // Token: 0x04000CDA RID: 3290 ThisCall, /// This calling convention is not supported. // Token: 0x04000CDB RID: 3291 FastCall } }