merge -r 60814:60815
[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 #endif
41         public enum UnmanagedType {
42
43                 Bool = 2,
44                 I1 = 3,
45                 U1 = 4,
46                 I2 = 5,
47                 U2 = 6,
48                 I4 = 7,
49                 U4 = 8,
50                 I8 = 9,
51                 U8 = 10,
52                 R4 = 11,
53                 R8 = 12,
54                 Currency = 15,
55                 BStr = 19,
56                 LPStr = 20,
57                 LPWStr = 21,
58                 LPTStr = 22,
59                 ByValTStr = 23,
60                 IUnknown = 25,
61                 IDispatch = 26,
62                 Struct = 27,
63                 Interface = 28,
64                 SafeArray = 29,
65                 ByValArray = 30,
66                 SysInt = 31,
67                 SysUInt = 32,
68                 VBByRefStr = 34,
69                 AnsiBStr = 35,
70                 TBStr = 36,
71                 VariantBool = 37,
72                 FunctionPtr = 38,
73                 // LPVoid = 39,
74                 AsAny = 40,
75                 //RPrecise = 41,
76                 LPArray = 42,
77                 LPStruct = 43,
78                 CustomMarshaler = 44,
79                 Error = 45
80         } 
81
82