patches by Andres Nahr
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _LocalBuilder.cs
1 //
2 // System.Runtime.InteropServices._LocalBuilder interface
3 //
4 // Author:
5 //      Sebastien Pouliot  <sebastien@ximian.com>
6 //      Andreas Nahr <ClassDevelopment@A-SoftTech.com>
7 //
8 // Copyright (C) 2005 Novell, Inc (http://www.novell.com)
9 //
10 // Permission is hereby granted, free of charge, to any person obtaining
11 // a copy of this software and associated documentation files (the
12 // "Software"), to deal in the Software without restriction, including
13 // without limitation the rights to use, copy, modify, merge, publish,
14 // distribute, sublicense, and/or sell copies of the Software, and to
15 // permit persons to whom the Software is furnished to do so, subject to
16 // the following conditions:
17 // 
18 // The above copyright notice and this permission notice shall be
19 // included in all copies or substantial portions of the Software.
20 // 
21 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 //
29
30 #if NET_1_1
31
32 namespace System.Runtime.InteropServices {
33
34         [ComVisible (true)]
35         [CLSCompliant (false)]
36         [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
37         [Guid ("4E6350D1-A08B-3DEC-9A3E-C465F9AEEC0C")]
38         public interface _LocalBuilder {
39
40                 void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
41
42                 void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
43
44                 void GetTypeInfoCount (out uint pcTInfo);
45
46                 void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
47                         IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
48         }
49 }
50
51 #endif
52 //
53 // System.Runtime.InteropServices._LocalBuilder interface
54 //
55 // Author:
56 //      Sebastien Pouliot  <sebastien@ximian.com>
57 //      Andreas Nahr <ClassDevelopment@A-SoftTech.com>
58 //
59 // Copyright (C) 2005 Novell, Inc (http://www.novell.com)
60 //
61 // Permission is hereby granted, free of charge, to any person obtaining
62 // a copy of this software and associated documentation files (the
63 // "Software"), to deal in the Software without restriction, including
64 // without limitation the rights to use, copy, modify, merge, publish,
65 // distribute, sublicense, and/or sell copies of the Software, and to
66 // permit persons to whom the Software is furnished to do so, subject to
67 // the following conditions:
68 // 
69 // The above copyright notice and this permission notice shall be
70 // included in all copies or substantial portions of the Software.
71 // 
72 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
73 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
74 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
75 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
76 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
77 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
78 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
79 //
80
81 #if NET_1_1
82
83 namespace System.Runtime.InteropServices {
84
85         [ComVisible (true)]
86         [CLSCompliant (false)]
87         [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
88         [Guid ("4E6350D1-A08B-3DEC-9A3E-C465F9AEEC0C")]
89         public interface _LocalBuilder {
90
91                 void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
92
93                 void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
94
95                 void GetTypeInfoCount (out uint pcTInfo);
96
97                 void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
98                         IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
99         }
100 }
101
102 #endif
103 //
104 // System.Runtime.InteropServices._LocalBuilder interface
105 //
106 // Author:
107 //      Sebastien Pouliot  <sebastien@ximian.com>
108 //      Andreas Nahr <ClassDevelopment@A-SoftTech.com>
109 //
110 // Copyright (C) 2005 Novell, Inc (http://www.novell.com)
111 //
112 // Permission is hereby granted, free of charge, to any person obtaining
113 // a copy of this software and associated documentation files (the
114 // "Software"), to deal in the Software without restriction, including
115 // without limitation the rights to use, copy, modify, merge, publish,
116 // distribute, sublicense, and/or sell copies of the Software, and to
117 // permit persons to whom the Software is furnished to do so, subject to
118 // the following conditions:
119 // 
120 // The above copyright notice and this permission notice shall be
121 // included in all copies or substantial portions of the Software.
122 // 
123 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
124 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
125 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
126 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
127 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
128 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
129 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
130 //
131
132 #if NET_1_1
133
134 namespace System.Runtime.InteropServices {
135
136         [ComVisible (true)]
137         [CLSCompliant (false)]
138         [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
139         [Guid ("4E6350D1-A08B-3DEC-9A3E-C465F9AEEC0C")]
140         public interface _LocalBuilder {
141
142                 void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
143
144                 void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
145
146                 void GetTypeInfoCount (out uint pcTInfo);
147
148                 void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
149                         IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
150         }
151 }
152
153 #endif