2008-12-08 Ivan N. Zlatev <contact@i-nz.net>
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UnmanagedType.cs
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
10
11 //
12 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
13 //
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.
32 //
33
34
35 namespace System.Runtime.InteropServices {
36
37
38 #if NET_2_0
39         [ComVisible(true)]
40         [Serializable]
41 #endif
42         public enum UnmanagedType {
43
44                 Bool = 2,
45                 I1 = 3,
46                 U1 = 4,
47                 I2 = 5,
48                 U2 = 6,
49                 I4 = 7,
50                 U4 = 8,
51                 I8 = 9,
52                 U8 = 10,
53                 R4 = 11,
54                 R8 = 12,
55                 Currency = 15,
56                 BStr = 19,
57                 LPStr = 20,
58                 LPWStr = 21,
59                 LPTStr = 22,
60                 ByValTStr = 23,
61                 IUnknown = 25,
62                 IDispatch = 26,
63                 Struct = 27,
64                 Interface = 28,
65                 SafeArray = 29,
66                 ByValArray = 30,
67                 SysInt = 31,
68                 SysUInt = 32,
69                 VBByRefStr = 34,
70                 AnsiBStr = 35,
71                 TBStr = 36,
72                 VariantBool = 37,
73                 FunctionPtr = 38,
74                 // LPVoid = 39,
75                 AsAny = 40,
76                 //RPrecise = 41,
77                 LPArray = 42,
78                 LPStruct = 43,
79                 CustomMarshaler = 44,
80                 Error = 45
81         } 
82
83