VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wuapi.idl@ 33282

Last change on this file since 33282 was 19678, checked in by vboxsync, 16 years ago

opengl: update wine to 1.1.21, add d3d9.dll to build list

File size: 8.7 KB
Line 
1/*
2 * Copyright 2008 Hans Leidekker for CodeWeavers
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28cpp_quote("DEFINE_GUID(CLSID_AutomaticUpdates, 0xbfe18e9c,0x6d87,0x4450,0xb3,0x7c,0xe0,0x2f,0x0b,0x37,0x38,0x03);")
29cpp_quote("DEFINE_GUID(CLSID_UpdateSession, 0x4cb43d7f,0x7eee,0x4906,0x86,0x98,0x60,0xda,0x1c,0x38,0xf2,0xfe);")
30
31import "oaidl.idl";
32
33interface IAutomaticUpdates;
34interface IAutomaticUpdatesSettings;
35interface IDownloadJob;
36interface IDownloadResult;
37interface IInstallationJob;
38interface IInstallationResult;
39interface ISearchJob;
40interface ISearchResult;
41interface IUpdateCollection;
42interface IUpdateDownloader;
43interface IUpdateHistoryEntryCollection;
44interface IUpdateInstaller;
45interface IUpdateSearcher;
46interface IUpdateSession;
47interface IWebProxy;
48
49typedef [public] enum tagDownloadPriority
50{
51 dpLow = 1,
52 dpNormal = 2,
53 dpHigh = 3,
54} DownloadPriority;
55
56typedef [public] enum tagServerSelection
57{
58 ssDefault = 0,
59 ssManagedServer = 1,
60 ssWindowsUpdate = 2,
61 ssOthers = 3,
62} ServerSelection;
63
64[
65 object,
66 uuid(673425bf-c082-4c7c-bdfd-569464b8e0ce),
67 oleautomation,
68 dual,
69 nonextensible,
70 pointer_default(unique),
71 hidden
72]
73interface IAutomaticUpdates : IDispatch
74{
75 HRESULT DetectNow();
76 HRESULT Pause();
77 HRESULT Resume();
78 HRESULT ShowSettingsDialog();
79
80 [propget]
81 HRESULT Settings(
82 [out, retval] IAutomaticUpdatesSettings **retval);
83
84 [propget]
85 HRESULT ServiceEnabled(
86 [out, retval] VARIANT_BOOL *retval);
87
88 HRESULT EnableService();
89}
90
91[
92 object,
93 uuid(816858a4-260d-4260-933a-2585f1abc76b),
94 oleautomation,
95 dual,
96 nonextensible,
97 pointer_default(unique),
98]
99interface IUpdateSession : IDispatch
100{
101 [propget]
102 HRESULT ClientApplicationID(
103 [out, retval] BSTR *retval);
104
105 [propput]
106 HRESULT ClientApplicationID(
107 [in] BSTR value);
108
109 [propget]
110 HRESULT ReadOnly(
111 [out, retval] VARIANT_BOOL *retval);
112
113 [propget]
114 HRESULT WebProxy(
115 [out, retval] IWebProxy **retval);
116
117 [propput]
118 HRESULT WebProxy(
119 [in, unique] IWebProxy *value);
120
121 HRESULT CreateUpdateSearcher(
122 [out, retval] IUpdateSearcher **retval);
123
124 HRESULT CreateUpdateDownloader(
125 [out, retval] IUpdateDownloader **retval);
126
127 HRESULT CreateUpdateInstaller(
128 [out, retval] IUpdateInstaller **retval);
129}
130
131[
132 object,
133 uuid(8f45abf1-f9ae-4b95-a933-f0f66e5056ea),
134 oleautomation,
135 dual,
136 nonextensible,
137 pointer_default(unique),
138]
139interface IUpdateSearcher : IDispatch
140{
141 [propget]
142 HRESULT CanAutomaticallyUpgradeService(
143 [out, retval] VARIANT_BOOL *retval);
144
145 [propput]
146 HRESULT CanAutomaticallyUpgradeService(
147 [in] VARIANT_BOOL value);
148
149 [propget]
150 HRESULT ClientApplicationID(
151 [out, retval] BSTR *retval);
152
153 [propput]
154 HRESULT ClientApplicationID(
155 [in] BSTR value);
156
157 [propget]
158 HRESULT IncludePotentiallySupersededUpdates(
159 [out, retval] VARIANT_BOOL *retval);
160
161 [propput]
162 HRESULT IncludePotentiallySupersededUpdates(
163 [in] VARIANT_BOOL value);
164
165 [propget]
166 HRESULT ServerSelection(
167 [out, retval] ServerSelection *retval);
168
169 [propput]
170 HRESULT ServerSelection(
171 [in] ServerSelection value);
172
173 HRESULT BeginSearch(
174 [in] BSTR criteria,
175 [in] IUnknown *onCompleted,
176 [in] VARIANT state,
177 [out, retval] ISearchJob **retval);
178
179 HRESULT EndSearch(
180 [in] ISearchJob *searchJob,
181 [out, retval] ISearchResult **retval);
182
183 HRESULT EscapeString(
184 [in] BSTR unescaped,
185 [out, retval] BSTR *retval);
186
187 HRESULT QueryHistory(
188 [in] LONG startIndex,
189 [in] LONG count,
190 [out, retval] IUpdateHistoryEntryCollection **retval);
191
192 HRESULT Search(
193 [in] BSTR criteria,
194 [out, retval] ISearchResult **retval);
195
196 [propget]
197 HRESULT Online(
198 [out, retval] VARIANT_BOOL *retval);
199
200 [propput]
201 HRESULT Online(
202 [in] VARIANT_BOOL value);
203
204 HRESULT GetTotalHistoryCount(
205 [out, retval] LONG *retval);
206
207 [propget]
208 HRESULT ServiceID(
209 [out, retval] BSTR *retval);
210
211 [propput]
212 HRESULT ServiceID(
213 [in] BSTR value);
214}
215
216[
217 object,
218 uuid(68f1c6f9-7ecc-4666-a464-247fe12496c3),
219 oleautomation,
220 dual,
221 nonextensible,
222 pointer_default(unique),
223 hidden
224]
225interface IUpdateDownloader : IDispatch
226{
227 [propget]
228 HRESULT ClientApplicationID(
229 [out, retval] BSTR *retval);
230
231 [propput]
232 HRESULT ClientApplicationID(
233 [in] BSTR value);
234
235 [propget]
236 HRESULT IsForced(
237 [out, retval] VARIANT_BOOL *retval);
238
239 [propput]
240 HRESULT IsForced(
241 [in] VARIANT_BOOL value);
242
243 [propget]
244 HRESULT Priority(
245 [out, retval] DownloadPriority *retval);
246
247 [propput]
248 HRESULT Priority(
249 [in] DownloadPriority value);
250
251 [propget]
252 HRESULT Updates(
253 [out, retval] IUpdateCollection **retval);
254
255 [propput]
256 HRESULT Updates(
257 [in] IUpdateCollection *value);
258
259 HRESULT BeginDownload(
260 [in] IUnknown *onProgressChanged,
261 [in] IUnknown *onCompleted,
262 [in] VARIANT state,
263 [out, retval] IDownloadJob **retval);
264
265 HRESULT Download(
266 [out, retval] IDownloadResult **retval);
267
268 HRESULT EndDownload(
269 [in] IDownloadJob *value,
270 [out, retval] IDownloadResult **retval);
271}
272
273[
274 object,
275 uuid(7b929c68-ccdc-4226-96b1-8724600b54c2),
276 oleautomation,
277 dual,
278 nonextensible,
279 pointer_default(unique),
280]
281interface IUpdateInstaller : IDispatch
282{
283 [propget]
284 HRESULT ClientApplicationID(
285 [out, retval] BSTR *retval);
286
287 [propput]
288 HRESULT ClientApplicationID(
289 [in] BSTR value);
290
291 [propget]
292 HRESULT IsForced(
293 [out, retval] VARIANT_BOOL *retval);
294
295 [propput]
296 HRESULT IsForced(
297 [in] VARIANT_BOOL value);
298
299 [propget, restricted]
300 HRESULT ParentHwnd(
301 [out, retval] HWND *retval);
302
303 [propput, restricted]
304 HRESULT ParentHwnd(
305 [in, unique] HWND value);
306
307 [propput]
308 HRESULT ParentWindow(
309 [in, unique] IUnknown *value);
310
311 [propget]
312 HRESULT ParentWindow(
313 [out, retval] IUnknown **retval);
314
315 [propget]
316 HRESULT Updates(
317 [out, retval] IUpdateCollection **retval);
318
319 [propput]
320 HRESULT Updates(
321 [in] IUpdateCollection *value);
322
323 HRESULT BeginInstall(
324 [in] IUnknown *onProgressChanged,
325 [in] IUnknown *onCompleted,
326 [in] VARIANT state,
327 [out, retval] IInstallationJob **retval);
328
329 HRESULT BeginUninstall(
330 [in] IUnknown *onProgressChanged,
331 [in] IUnknown *onCompleted,
332 [in] VARIANT state,
333 [out, retval] IInstallationJob **retval);
334
335 HRESULT EndInstall(
336 [in] IInstallationJob *value,
337 [out, retval] IInstallationResult **retval);
338
339 HRESULT EndUninstall(
340 [in] IInstallationJob *value,
341 [out, retval] IInstallationResult **retval);
342
343 HRESULT Install(
344 [out, retval] IInstallationResult **retval);
345
346 HRESULT RunWizard(
347 [in, defaultvalue("")] BSTR dialogTitle,
348 [out, retval] IInstallationResult **retval);
349
350 [propget]
351 HRESULT IsBusy(
352 [out, retval] VARIANT_BOOL *retval);
353
354 HRESULT Uninstall(
355 [out, retval] IInstallationResult **retval);
356
357 [propget]
358 HRESULT AllowSourcePrompts(
359 [out, retval] VARIANT_BOOL *retval);
360
361 [propput]
362 HRESULT AllowSourcePrompts(
363 [in] VARIANT_BOOL value);
364
365 [propget]
366 HRESULT RebootRequiredBeforeInstallation(
367 [out, retval] VARIANT_BOOL *retval);
368}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette