2010-05-27 Jb Evain <jbevain@novell.com>
[mcs.git] / class / corlib / System.Runtime.InteropServices / UnmanagedType.cs
blobb2fbb143d3446b1667f4ea701d1e487e50c25997
1 // UnmanagedType.cs
2 //
3 // This code was automatically generated from
4 // ECMA CLI XML Library Specification.
5 // Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
6 // Source file: all.xml
7 // URL: http://devresource.hp.com/devresource/Docs/TechPapers/CSharp/all.xml
8 //
9 // (C) 2001 Ximian, Inc. http://www.ximian.com
12 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
14 // Permission is hereby granted, free of charge, to any person obtaining
15 // a copy of this software and associated documentation files (the
16 // "Software"), to deal in the Software without restriction, including
17 // without limitation the rights to use, copy, modify, merge, publish,
18 // distribute, sublicense, and/or sell copies of the Software, and to
19 // permit persons to whom the Software is furnished to do so, subject to
20 // the following conditions:
21 //
22 // The above copyright notice and this permission notice shall be
23 // included in all copies or substantial portions of the Software.
24 //
25 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
26 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
27 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
28 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
29 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
30 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
31 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
35 namespace System.Runtime.InteropServices {
38 [ComVisible(true)]
39 [Serializable]
40 public enum UnmanagedType {
42 Bool = 2,
43 I1 = 3,
44 U1 = 4,
45 I2 = 5,
46 U2 = 6,
47 I4 = 7,
48 U4 = 8,
49 I8 = 9,
50 U8 = 10,
51 R4 = 11,
52 R8 = 12,
53 Currency = 15,
54 BStr = 19,
55 LPStr = 20,
56 LPWStr = 21,
57 LPTStr = 22,
58 ByValTStr = 23,
59 IUnknown = 25,
60 IDispatch = 26,
61 Struct = 27,
62 Interface = 28,
63 SafeArray = 29,
64 ByValArray = 30,
65 SysInt = 31,
66 SysUInt = 32,
67 VBByRefStr = 34,
68 AnsiBStr = 35,
69 TBStr = 36,
70 VariantBool = 37,
71 FunctionPtr = 38,
72 // LPVoid = 39,
73 AsAny = 40,
74 //RPrecise = 41,
75 LPArray = 42,
76 LPStruct = 43,
77 CustomMarshaler = 44,
78 Error = 45