-// CallingConvention.cs\r
-//\r
-// This code was automatically generated from\r
-// ECMA CLI XML Library Specification.\r
-// Generator: libgen.xsl\r
-// Source file: AllTypes.xml\r
-// URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml\r
-//\r
-// (C) 2001 Ximian, Inc. http://www.ximian.com\r
-\r
-\r
-namespace System.Runtime.InteropServices {\r
-\r
-\r
- /// <summary>\r
- /// <para>Indicates the calling convention used by a method located in an unmanaged shared library.</para>\r
- /// </summary>\r
- /// <remarks>\r
- /// <para>The values of this enumeration are used to specify the calling conventions required\r
- /// to call unmanaged methods implemented in shared libraries.</para>\r
- /// <para>\r
- /// <block subset="none" type="note">Implementers\r
- /// should map the semantics of specified calling conventions onto the calling conventions\r
- /// of the host OS.</block>\r
- /// </para>\r
- /// <para>\r
- /// <block subset="none" type="note">For additional information on shared\r
- /// libraries and an example of the use of the <see cref="T:System.Runtime.InteropServices.CallingConvention" /> enumeration, see the <see cref="T:System.Runtime.InteropServices.DllImportAttribute" /> class overview.</block>\r
- /// </para>\r
- /// </remarks>\r
- public enum CallingConvention {\r
-\r
- /// <summary><para>Indicates that the <see langword="cdecl " />\r
- /// calling convention is appropriate for a method call.</para><para>For example, on a Windows platform the <see cref="F:System.Runtime.InteropServices.CallingConvention.Cdecl" /> convention produces the\r
- /// following behavior:</para><list type="table"><listheader><term>Element</term><description>Behavior</description></listheader><item><term> Argument-passing order</term><description>Right to left.</description></item><item><term> Stack-maintenance responsibility</term><description>Calling function pops the arguments from the\r
- /// stack.</description></item></list><para><block subset="none" type="note">This is the default\r
- /// calling convention for functions compiled with 32-bit C and C++ compilers.</block></para></summary>\r
- Cdecl = 2,\r
-\r
- /// <summary><para>Indicates that the <see langword="stdcall " />\r
- /// calling convention is appropriate for a\r
- /// method.</para><para>For example, on a Windows platform the <see cref="F:System.Runtime.InteropServices.CallingConvention.StdCall" /> convention produces the\r
- /// following behavior:</para><list type="table"><listheader><term>Element</term><description>Behavior</description></listheader><item><term> Argument-passing order</term><description>Right to left.</description></item><item><term> Stack-maintenance responsibility</term><description>Called function pops its own arguments from the\r
- /// stack.</description></item></list></summary>\r
- StdCall = 3,\r
-\r
- /// <summary><para>Indicates that the <see langword="thiscall" /> calling convention should be used for a\r
- /// method. This convention is similar to the <see cref="F:System.Runtime.InteropServices.CallingConvention.Cdecl" /> calling convention,\r
- /// except that the last element that the caller pushes the stack is the\r
- /// <see langword="this" /> \r
- /// pointer.</para><para>For example, on a Windows platform the <see cref="F:System.Runtime.InteropServices.CallingConvention.ThisCall" /> convention\r
- /// produces the following behavior:</para><list type="table"><listheader><term>Element</term><description>Behavior</description></listheader><item><term> Argument-passing order</term><description>Right to left.</description></item><item><term> Stack-maintenance responsibility</term><description>Calling function pops the arguments from the\r
- /// stack.</description></item><item><term><see langword="this" /> pointer</term><description>Pushed last onto the stack.</description></item></list><para><block subset="none" type="note">The <see langword="thiscall" /> calling convention is the default\r
- /// calling convention used by C++ member functions that are not called with\r
- /// a variable number of arguments.</block></para></summary>\r
- ThisCall = 4,\r
-\r
- /// <summary><para>Indicates that the <see langword="fastcall " />\r
- /// calling convention is appropriate for a method\r
- /// call. </para><para><block subset="none" type="note">On a Windows platform this convention\r
- /// indicates that arguments to functions are to be passed in registers, whenever\r
- /// possible.</block></para></summary>\r
- FastCall = 5,\r
- } // CallingConvention\r
-\r
-} // System.Runtime.InteropServices\r
+// CallingConvention.cs
+//
+// This code was automatically generated from
+// ECMA CLI XML Library Specification.
+// Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
+// Created: Fri, 7 Sep 2001 16:33:29 UTC
+// Source file: AllTypes.xml
+// URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
+//
+// (C) 2001 Ximian, Inc. http://www.ximian.com
+
+
+namespace System.Runtime.InteropServices {
+
+
+ /// <summary>
+ /// </summary>
+ public enum CallingConvention {
+
+ /// <summary>
+ /// </summary>
+ Winapi = 1,
+
+ /// <summary>
+ /// </summary>
+ Cdecl = 2,
+
+ /// <summary>
+ /// </summary>
+ StdCall = 3,
+
+ /// <summary>
+ /// </summary>
+ ThisCall = 4,
+
+ /// <summary>
+ /// </summary>
+ FastCall = 5,
+ } // CallingConvention
+
+} // System.Runtime.InteropServices