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 | * Oracle 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, Oracle 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 |
|
---|
28 | import "oaidl.idl";
|
---|
29 |
|
---|
30 | #ifndef __WIDL__
|
---|
31 | #define threading(model)
|
---|
32 | #define progid(str)
|
---|
33 | #define vi_progid(str)
|
---|
34 | #endif
|
---|
35 |
|
---|
36 | [
|
---|
37 | helpstring("WUAPI 2.0 Type Library"),
|
---|
38 | uuid(b596cc9f-56e5-419e-a622-e01bb457431e),
|
---|
39 | version(2.0)
|
---|
40 | ]
|
---|
41 | library WUApiLib {
|
---|
42 |
|
---|
43 | importlib("stdole2.tlb");
|
---|
44 |
|
---|
45 | interface ICategoryCollection;
|
---|
46 | interface IStringCollection;
|
---|
47 | interface IUpdateCollection;
|
---|
48 | interface IUpdateDownloader;
|
---|
49 | interface IUpdateInstaller;
|
---|
50 | interface IUpdateSearcher;
|
---|
51 |
|
---|
52 | typedef [public] enum tagDownloadPriority
|
---|
53 | {
|
---|
54 | dpLow = 1,
|
---|
55 | dpNormal = 2,
|
---|
56 | dpHigh = 3,
|
---|
57 | } DownloadPriority;
|
---|
58 |
|
---|
59 | typedef [public] enum tagServerSelection
|
---|
60 | {
|
---|
61 | ssDefault = 0,
|
---|
62 | ssManagedServer = 1,
|
---|
63 | ssWindowsUpdate = 2,
|
---|
64 | ssOthers = 3,
|
---|
65 | } ServerSelection;
|
---|
66 |
|
---|
67 | typedef [public] enum tagAutomaticUpdatesNotificationLevel
|
---|
68 | {
|
---|
69 | aunlNotConfigured,
|
---|
70 | aunlDisabled,
|
---|
71 | aunlNotifyBeforeDownload,
|
---|
72 | aunlNotifyBeforeInstallation,
|
---|
73 | aunlScheduledInstallation,
|
---|
74 | } AutomaticUpdatesNotificationLevel;
|
---|
75 |
|
---|
76 | typedef [public] enum tagAutomaticUpdatesScheduledInstallationDay
|
---|
77 | {
|
---|
78 | ausidEveryDay,
|
---|
79 | ausidEverySunday,
|
---|
80 | ausidEveryMonday,
|
---|
81 | ausidEveryTuesday,
|
---|
82 | ausidEveryWednesday,
|
---|
83 | ausidEveryThursday,
|
---|
84 | ausidEveryFriday,
|
---|
85 | ausidEverySaturday,
|
---|
86 | } AutomaticUpdatesScheduledInstallationDay;
|
---|
87 |
|
---|
88 | typedef [public] enum tagDownloadPhase
|
---|
89 | {
|
---|
90 | dphInitializing,
|
---|
91 | dphDownloading,
|
---|
92 | dphVerifying,
|
---|
93 | } DownloadPhase;
|
---|
94 |
|
---|
95 | typedef [public] enum tagOperationResultCode
|
---|
96 | {
|
---|
97 | orcNotStarted,
|
---|
98 | orcInProgress,
|
---|
99 | orcSucceeded,
|
---|
100 | orcSucceededWithErrors,
|
---|
101 | orcFailed,
|
---|
102 | orcAborted,
|
---|
103 | } OperationResultCode;
|
---|
104 |
|
---|
105 | typedef [public] enum tagUpdateExceptionContext
|
---|
106 | {
|
---|
107 | uecGeneral = 1,
|
---|
108 | uecWindowsDriver,
|
---|
109 | uecWindowsInstaller
|
---|
110 | } UpdateExceptionContext;
|
---|
111 |
|
---|
112 | typedef [public] enum tagInstallationImpact
|
---|
113 | {
|
---|
114 | iiNormal,
|
---|
115 | iiMinor,
|
---|
116 | iiRequiresExclusiveHandling
|
---|
117 | } InstallationImpact;
|
---|
118 |
|
---|
119 | typedef [public] enum tagInstallationRebootBehavior
|
---|
120 | {
|
---|
121 | irbNeverReboots,
|
---|
122 | irbAlwaysRequiresReboot,
|
---|
123 | irbCanRequestReboot
|
---|
124 | } InstallationRebootBehavior;
|
---|
125 |
|
---|
126 | typedef [public] enum tagUpdateType
|
---|
127 | {
|
---|
128 | utSoftware = 1,
|
---|
129 | utDriver
|
---|
130 | } UpdateType;
|
---|
131 |
|
---|
132 | typedef [public] enum tagUpdateOperation
|
---|
133 | {
|
---|
134 | uoInstallation = 1,
|
---|
135 | uoUninstallation
|
---|
136 | } UpdateOperation;
|
---|
137 |
|
---|
138 | typedef [public] enum tagDeploymentAction
|
---|
139 | {
|
---|
140 | daNone,
|
---|
141 | daInstallation,
|
---|
142 | daUninstallation,
|
---|
143 | daDetection
|
---|
144 | } DeploymentAction;
|
---|
145 |
|
---|
146 | [
|
---|
147 | object,
|
---|
148 | oleautomation,
|
---|
149 | dual,
|
---|
150 | nonextensible,
|
---|
151 | uuid(2ee48f22-af3c-405f-8970-f71be12ee9a2),
|
---|
152 | pointer_default(unique)
|
---|
153 | ]
|
---|
154 | interface IAutomaticUpdatesSettings : IDispatch
|
---|
155 | {
|
---|
156 | [propget, id(0x60020001)]
|
---|
157 | HRESULT NotificationLevel( [out, retval] AutomaticUpdatesNotificationLevel *retval );
|
---|
158 |
|
---|
159 | [propput, id(0x60020001)]
|
---|
160 | HRESULT NotificationLevel( [in] AutomaticUpdatesNotificationLevel value );
|
---|
161 |
|
---|
162 | [propget, id(0x60020002)]
|
---|
163 | HRESULT ReadOnly( [out, retval] VARIANT_BOOL *retval );
|
---|
164 |
|
---|
165 | [propget, id(0x60020003)]
|
---|
166 | HRESULT Required( [out, retval] VARIANT_BOOL *retval );
|
---|
167 |
|
---|
168 | [propget, id(0x60020004)]
|
---|
169 | HRESULT ScheduledInstallationDay( [out, retval] AutomaticUpdatesScheduledInstallationDay *retval );
|
---|
170 |
|
---|
171 | [propput, id(0x60020004)]
|
---|
172 | HRESULT ScheduledInstallationDay( [in] AutomaticUpdatesScheduledInstallationDay value );
|
---|
173 |
|
---|
174 | [propget, id(0x60020005)]
|
---|
175 | HRESULT ScheduledInstallationTime( [out, retval] LONG *retval );
|
---|
176 |
|
---|
177 | [propput, id(0x60020005)]
|
---|
178 | HRESULT ScheduledInstallationTime( [in] LONG value );
|
---|
179 |
|
---|
180 | [id(0x60020006)]
|
---|
181 | HRESULT Refresh();
|
---|
182 |
|
---|
183 | [id(0x60020007)]
|
---|
184 | HRESULT Save();
|
---|
185 | }
|
---|
186 |
|
---|
187 | [
|
---|
188 | object,
|
---|
189 | uuid(673425bf-c082-4c7c-bdfd-569464b8e0ce),
|
---|
190 | oleautomation,
|
---|
191 | dual,
|
---|
192 | nonextensible,
|
---|
193 | pointer_default(unique),
|
---|
194 | hidden
|
---|
195 | ]
|
---|
196 | interface IAutomaticUpdates : IDispatch
|
---|
197 | {
|
---|
198 | HRESULT DetectNow();
|
---|
199 | HRESULT Pause();
|
---|
200 | HRESULT Resume();
|
---|
201 | HRESULT ShowSettingsDialog();
|
---|
202 |
|
---|
203 | [propget]
|
---|
204 | HRESULT Settings(
|
---|
205 | [out, retval] IAutomaticUpdatesSettings **retval);
|
---|
206 |
|
---|
207 | [propget]
|
---|
208 | HRESULT ServiceEnabled(
|
---|
209 | [out, retval] VARIANT_BOOL *retval);
|
---|
210 |
|
---|
211 | HRESULT EnableService();
|
---|
212 | }
|
---|
213 |
|
---|
214 | [
|
---|
215 | object,
|
---|
216 | oleautomation,
|
---|
217 | dual,
|
---|
218 | nonextensible,
|
---|
219 | uuid(174c81fe-aecd-4dae-b8a0-2c6318dd86a8),
|
---|
220 | pointer_default(unique),
|
---|
221 | ]
|
---|
222 | interface IWebProxy : IDispatch
|
---|
223 | {
|
---|
224 | [propget, id(0x60020001)]
|
---|
225 | HRESULT Address( [out, retval] BSTR *retval );
|
---|
226 |
|
---|
227 | [propput, id(0x60020001)]
|
---|
228 | HRESULT Address( [in] BSTR value );
|
---|
229 |
|
---|
230 | [propget, id(0x60020002)]
|
---|
231 | HRESULT BypassList( [out, retval] IStringCollection **retval );
|
---|
232 |
|
---|
233 | [propput, id(0x60020002)]
|
---|
234 | HRESULT BypassList( [in] IStringCollection *value );
|
---|
235 |
|
---|
236 | [propget, id(0x60020003)]
|
---|
237 | HRESULT BypassProxyOnLocal( [out, retval] VARIANT_BOOL *retval );
|
---|
238 |
|
---|
239 | [propput, id(0x60020003)]
|
---|
240 | HRESULT BypassProxyOnLocal( [in] VARIANT_BOOL value );
|
---|
241 |
|
---|
242 | [propget, id(0x60020004)]
|
---|
243 | HRESULT ReadOnly( [out, retval] VARIANT_BOOL *retval );
|
---|
244 |
|
---|
245 | [propget, id(0x60020005)]
|
---|
246 | HRESULT UserName( [out, retval] BSTR *retval );
|
---|
247 |
|
---|
248 | [propput, id(0x60020005)]
|
---|
249 | HRESULT UserName( [in] BSTR value );
|
---|
250 |
|
---|
251 | [id(0x60020006)]
|
---|
252 | HRESULT SetPassword( [in] BSTR value );
|
---|
253 |
|
---|
254 | [id(0x60020007)]
|
---|
255 | HRESULT PromptForCredentials( [in, unique] IUnknown *parentWindow,
|
---|
256 | [in] BSTR title );
|
---|
257 |
|
---|
258 | [restricted, id(0x60020008)]
|
---|
259 | HRESULT PromptForCredentialsFromHwnd( [in, unique] HWND parentWindow,
|
---|
260 | [in] BSTR title );
|
---|
261 |
|
---|
262 | [propget, id(0x60020009)]
|
---|
263 | HRESULT AutoDetect( [out, retval] VARIANT_BOOL *retval );
|
---|
264 |
|
---|
265 | [propput, id(0x60020009)]
|
---|
266 | HRESULT AutoDetect( [in] VARIANT_BOOL value );
|
---|
267 | }
|
---|
268 |
|
---|
269 | [
|
---|
270 | object,
|
---|
271 | uuid(816858a4-260d-4260-933a-2585f1abc76b),
|
---|
272 | oleautomation,
|
---|
273 | dual,
|
---|
274 | nonextensible,
|
---|
275 | pointer_default(unique),
|
---|
276 | ]
|
---|
277 | interface IUpdateSession : IDispatch
|
---|
278 | {
|
---|
279 | [propget]
|
---|
280 | HRESULT ClientApplicationID(
|
---|
281 | [out, retval] BSTR *retval);
|
---|
282 |
|
---|
283 | [propput]
|
---|
284 | HRESULT ClientApplicationID(
|
---|
285 | [in] BSTR value);
|
---|
286 |
|
---|
287 | [propget]
|
---|
288 | HRESULT ReadOnly(
|
---|
289 | [out, retval] VARIANT_BOOL *retval);
|
---|
290 |
|
---|
291 | [propget]
|
---|
292 | HRESULT WebProxy(
|
---|
293 | [out, retval] IWebProxy **retval);
|
---|
294 |
|
---|
295 | [propput]
|
---|
296 | HRESULT WebProxy(
|
---|
297 | [in, unique] IWebProxy *value);
|
---|
298 |
|
---|
299 | HRESULT CreateUpdateSearcher(
|
---|
300 | [out, retval] IUpdateSearcher **retval);
|
---|
301 |
|
---|
302 | HRESULT CreateUpdateDownloader(
|
---|
303 | [out, retval] IUpdateDownloader **retval);
|
---|
304 |
|
---|
305 | HRESULT CreateUpdateInstaller(
|
---|
306 | [out, retval] IUpdateInstaller **retval);
|
---|
307 | }
|
---|
308 |
|
---|
309 | [
|
---|
310 | object,
|
---|
311 | oleautomation,
|
---|
312 | dual,
|
---|
313 | nonextensible,
|
---|
314 | uuid(7c907864-346c-4aeb-8f3f-57da289f969f),
|
---|
315 | pointer_default(unique),
|
---|
316 | ]
|
---|
317 | interface IImageInformation : IDispatch
|
---|
318 | {
|
---|
319 | [propget, id(0x60020001)]
|
---|
320 | HRESULT AltText( [out, retval] BSTR *retval );
|
---|
321 |
|
---|
322 | [propget, id(0x60020002)]
|
---|
323 | HRESULT Height( [out, retval] LONG *retval );
|
---|
324 |
|
---|
325 | [propget, id(0x60020003)]
|
---|
326 | HRESULT Source( [out, retval] BSTR *retval );
|
---|
327 |
|
---|
328 | [propget, id(0x60020004)]
|
---|
329 | HRESULT Width( [out, retval] LONG *retval );
|
---|
330 | }
|
---|
331 |
|
---|
332 | [
|
---|
333 | object,
|
---|
334 | oleautomation,
|
---|
335 | dual,
|
---|
336 | nonextensible,
|
---|
337 | uuid(81ddc1b8-9d35-47a6-b471-5b80f519223b),
|
---|
338 | pointer_default(unique),
|
---|
339 | ]
|
---|
340 | interface ICategory : IDispatch
|
---|
341 | {
|
---|
342 | [propget, id(DISPID_VALUE)]
|
---|
343 | HRESULT Name( [out, retval] BSTR *retval );
|
---|
344 |
|
---|
345 | [propget, id(0x60020001)]
|
---|
346 | HRESULT CategoryID( [out, retval] BSTR *retval );
|
---|
347 |
|
---|
348 | [propget, id(0x60020002)]
|
---|
349 | HRESULT Children( [out, retval] ICategoryCollection **retval );
|
---|
350 |
|
---|
351 | [propget, id(0x60020003)]
|
---|
352 | HRESULT Description( [out, retval] BSTR *retval );
|
---|
353 |
|
---|
354 | [propget, id(0x60020004)]
|
---|
355 | HRESULT Image( [out, retval] IImageInformation **retval );
|
---|
356 |
|
---|
357 | [propget, id(0x60020005)]
|
---|
358 | HRESULT Order( [out, retval] LONG *retval );
|
---|
359 |
|
---|
360 | [propget, id(0x60020006)]
|
---|
361 | HRESULT Parent( [out, retval] ICategory **retval );
|
---|
362 |
|
---|
363 | [propget, id(0x60020007)]
|
---|
364 | HRESULT Type( [out, retval] BSTR *retval );
|
---|
365 |
|
---|
366 | [propget, id(0x60020008)]
|
---|
367 | HRESULT Updates( [out, retval] IUpdateCollection **retval );
|
---|
368 | }
|
---|
369 |
|
---|
370 | [
|
---|
371 | object,
|
---|
372 | oleautomation,
|
---|
373 | dual,
|
---|
374 | nonextensible,
|
---|
375 | uuid(3a56bfb8-576c-43f7-9335-fe4838fd7e37),
|
---|
376 | pointer_default(unique),
|
---|
377 | ]
|
---|
378 | interface ICategoryCollection : IDispatch
|
---|
379 | {
|
---|
380 | [propget, id(DISPID_VALUE)]
|
---|
381 | HRESULT Item( [in] LONG index,
|
---|
382 | [out, retval] ICategory **retval );
|
---|
383 |
|
---|
384 | [propget, id(DISPID_NEWENUM)]
|
---|
385 | HRESULT _NewEnum( [out, retval] IUnknown **retval );
|
---|
386 |
|
---|
387 | [propget, id(0x60020001)]
|
---|
388 | HRESULT Count( [out, retval] LONG *retval );
|
---|
389 | }
|
---|
390 |
|
---|
391 | [
|
---|
392 | object,
|
---|
393 | oleautomation,
|
---|
394 | dual,
|
---|
395 | nonextensible,
|
---|
396 | uuid(eff90582-2ddc-480f-a06d-60f3fbc362c3),
|
---|
397 | pointer_default(unique),
|
---|
398 | hidden
|
---|
399 | ]
|
---|
400 | interface IStringCollection : IDispatch
|
---|
401 | {
|
---|
402 | [propget, id(DISPID_VALUE)]
|
---|
403 | HRESULT Item( [in] LONG index,
|
---|
404 | [out, retval] BSTR *retval );
|
---|
405 |
|
---|
406 | [propput, id(DISPID_VALUE)]
|
---|
407 | HRESULT Item( [in] LONG index,
|
---|
408 | [in] BSTR value );
|
---|
409 |
|
---|
410 | [propget, id(DISPID_NEWENUM)]
|
---|
411 | HRESULT _NewEnum( [out, retval] IUnknown **retval );
|
---|
412 |
|
---|
413 | [propget, id(0x60020001)]
|
---|
414 | HRESULT Count( [out, retval] LONG *retval );
|
---|
415 |
|
---|
416 | [propget, id(0x60020002)]
|
---|
417 | HRESULT ReadOnly( [out, retval] VARIANT_BOOL *retval );
|
---|
418 |
|
---|
419 | [id(0x60020003)]
|
---|
420 | HRESULT Add( [in] BSTR value,
|
---|
421 | [out, retval] LONG *retval );
|
---|
422 |
|
---|
423 | [id(0x60020004)]
|
---|
424 | HRESULT Clear();
|
---|
425 |
|
---|
426 | [id(0x60020005)]
|
---|
427 | HRESULT Copy( [out, retval] IStringCollection **retval );
|
---|
428 |
|
---|
429 | [id(0x60020006)]
|
---|
430 | HRESULT Insert( [in] LONG index,
|
---|
431 | [in] BSTR value );
|
---|
432 |
|
---|
433 | [id(0x60020007)]
|
---|
434 | HRESULT RemoveAt( [in] LONG index );
|
---|
435 | }
|
---|
436 |
|
---|
437 | [
|
---|
438 | object,
|
---|
439 | oleautomation,
|
---|
440 | dual,
|
---|
441 | nonextensible,
|
---|
442 | uuid(a376dd5e-09d4-427f-af7c-fed5b6e1c1d6),
|
---|
443 | pointer_default(unique),
|
---|
444 | ]
|
---|
445 | interface IUpdateException : IDispatch
|
---|
446 | {
|
---|
447 | [propget, id(DISPID_VALUE)]
|
---|
448 | HRESULT Message( [out, retval] BSTR *retval );
|
---|
449 |
|
---|
450 | [propget, id(0x60020001)]
|
---|
451 | HRESULT HResult( [out, retval] LONG *retval );
|
---|
452 |
|
---|
453 | [propget, id(0x60020002)]
|
---|
454 | HRESULT Context( [out, retval] UpdateExceptionContext *retval );
|
---|
455 | }
|
---|
456 |
|
---|
457 | [
|
---|
458 | object,
|
---|
459 | oleautomation,
|
---|
460 | dual,
|
---|
461 | nonextensible,
|
---|
462 | uuid(503626a3-8e14-4729-9355-0fe664bd2321),
|
---|
463 | pointer_default(unique),
|
---|
464 | ]
|
---|
465 | interface IUpdateExceptionCollection : IDispatch
|
---|
466 | {
|
---|
467 | [propget, id(DISPID_VALUE)]
|
---|
468 | HRESULT Item( [in] LONG index,
|
---|
469 | [out, retval] IUpdateException **retval );
|
---|
470 |
|
---|
471 | [propget, id(DISPID_NEWENUM)]
|
---|
472 | HRESULT _NewEnum( [out, retval] IUnknown **retval );
|
---|
473 |
|
---|
474 | [propget, id(0x60020001)]
|
---|
475 | HRESULT Count( [out, retval] LONG *retval );
|
---|
476 | }
|
---|
477 |
|
---|
478 | [
|
---|
479 | object,
|
---|
480 | oleautomation,
|
---|
481 | dual,
|
---|
482 | nonextensible,
|
---|
483 | uuid(46297823-9940-4c09-aed9-cd3ea6d05968),
|
---|
484 | pointer_default(unique)
|
---|
485 | ]
|
---|
486 | interface IUpdateIdentity : IDispatch
|
---|
487 | {
|
---|
488 | [propget, id(0x60020002)]
|
---|
489 | HRESULT RevisionNumber( [out, retval] LONG *retval );
|
---|
490 |
|
---|
491 | [propget, id(0x60020003)]
|
---|
492 | HRESULT UpdateID( [out, retval] BSTR *retval );
|
---|
493 | }
|
---|
494 |
|
---|
495 | [
|
---|
496 | ,
|
---|
497 | object,
|
---|
498 | oleautomation,
|
---|
499 | dual,
|
---|
500 | nonextensible,
|
---|
501 | uuid(d9a59339-e245-4dbd-9686-4d5763e39624),
|
---|
502 | pointer_default(unique),
|
---|
503 | ]
|
---|
504 | interface IInstallationBehavior : IDispatch
|
---|
505 | {
|
---|
506 | [propget, id(0x60020001)]
|
---|
507 | HRESULT CanRequestUserInput( [out, retval] VARIANT_BOOL *retval );
|
---|
508 |
|
---|
509 | [propget, id(0x60020002)]
|
---|
510 | HRESULT Impact( [out, retval] InstallationImpact *retval );
|
---|
511 |
|
---|
512 | [propget, id(0x60020003)]
|
---|
513 | HRESULT RebootBehavior( [out, retval] InstallationRebootBehavior *retval );
|
---|
514 |
|
---|
515 | [propget, id(0x60020004)]
|
---|
516 | HRESULT RequiresNetworkConnectivity( [out, retval] VARIANT_BOOL *retval );
|
---|
517 | }
|
---|
518 |
|
---|
519 | [
|
---|
520 | object,
|
---|
521 | oleautomation,
|
---|
522 | dual,
|
---|
523 | nonextensible,
|
---|
524 | uuid(54a2cb2d-9a0c-48b6-8a50-9abb69ee2d02),
|
---|
525 | pointer_default(unique),
|
---|
526 | ]
|
---|
527 | interface IUpdateDownloadContent : IDispatch
|
---|
528 | {
|
---|
529 | [propget, id(0x60020001)]
|
---|
530 | HRESULT DownloadUrl( [out, retval] BSTR *retval );
|
---|
531 | }
|
---|
532 |
|
---|
533 | [
|
---|
534 | object,
|
---|
535 | oleautomation,
|
---|
536 | dual,
|
---|
537 | nonextensible,
|
---|
538 | uuid(bc5513c8-b3b8-4bf7-a4d4-361c0d8c88ba),
|
---|
539 | pointer_default(unique),
|
---|
540 | ]
|
---|
541 | interface IUpdateDownloadContentCollection : IDispatch
|
---|
542 | {
|
---|
543 | [propget, id(DISPID_VALUE)]
|
---|
544 | HRESULT Item( [in] LONG index,
|
---|
545 | [out, retval] IUpdateDownloadContent **retval );
|
---|
546 |
|
---|
547 | [propget, id(DISPID_NEWENUM)]
|
---|
548 | HRESULT _NewEnum( [out, retval] IUnknown **retval );
|
---|
549 |
|
---|
550 | [propget, id(0x60020001)]
|
---|
551 | HRESULT Count( [out, retval] LONG *retval );
|
---|
552 | }
|
---|
553 |
|
---|
554 | [
|
---|
555 |
|
---|
556 | object,
|
---|
557 | oleautomation,
|
---|
558 | dual,
|
---|
559 | nonextensible,
|
---|
560 | uuid(6a92b07a-d821-4682-b423-5c805022cc4d),
|
---|
561 | pointer_default(unique),
|
---|
562 | ]
|
---|
563 | interface IUpdate : IDispatch
|
---|
564 | {
|
---|
565 | [propget, id(DISPID_VALUE)]
|
---|
566 | HRESULT Title( [out, retval] BSTR *retval );
|
---|
567 |
|
---|
568 | [propget, id(0x60020001)]
|
---|
569 | HRESULT AutoSelectOnWebSites( [out, retval] VARIANT_BOOL *retval );
|
---|
570 |
|
---|
571 | [propget, id(0x60020002)]
|
---|
572 | HRESULT BundledUpdates( [out, retval] IUpdateCollection **retval );
|
---|
573 |
|
---|
574 | [propget, id(0x60020003)]
|
---|
575 | HRESULT CanRequireSource( [out, retval] VARIANT_BOOL *retval );
|
---|
576 |
|
---|
577 | [propget, id(0x60020004)]
|
---|
578 | HRESULT Categories( [out, retval] ICategoryCollection **retval );
|
---|
579 |
|
---|
580 | [propget, id(0x60020005)]
|
---|
581 | HRESULT Deadline( [out, retval] VARIANT *retval );
|
---|
582 |
|
---|
583 | [propget, id(0x60020006)]
|
---|
584 | HRESULT DeltaCompressedContentAvailable( [out, retval] VARIANT_BOOL *retval );
|
---|
585 |
|
---|
586 | [propget, id(0x60020007)]
|
---|
587 | HRESULT DeltaCompressedContentPreferred( [out, retval] VARIANT_BOOL *retval );
|
---|
588 |
|
---|
589 | [propget, id(0x60020008)]
|
---|
590 | HRESULT Description( [out, retval] BSTR *retval );
|
---|
591 |
|
---|
592 | [propget, id(0x60020009)]
|
---|
593 | HRESULT EulaAccepted( [out, retval] VARIANT_BOOL *retval );
|
---|
594 |
|
---|
595 | [propget, id(0x6002000a)]
|
---|
596 | HRESULT EulaText( [out, retval] BSTR *retval );
|
---|
597 |
|
---|
598 | [propget, id(0x6002000b)]
|
---|
599 | HRESULT HandlerID( [out, retval] BSTR *retval );
|
---|
600 |
|
---|
601 | [propget, id(0x6002000c)]
|
---|
602 | HRESULT Identity( [out, retval] IUpdateIdentity **retval );
|
---|
603 |
|
---|
604 | [propget, id(0x6002000d)]
|
---|
605 | HRESULT Image( [out, retval] IImageInformation **retval );
|
---|
606 |
|
---|
607 | [propget, id(0x6002000e)]
|
---|
608 | HRESULT InstallationBehavior( [out, retval] IInstallationBehavior **retval );
|
---|
609 |
|
---|
610 | [propget, id(0x6002000f)]
|
---|
611 | HRESULT IsBeta( [out, retval] VARIANT_BOOL *retval );
|
---|
612 |
|
---|
613 | [propget, id(0x60020010)]
|
---|
614 | HRESULT IsDownloaded( [out, retval] VARIANT_BOOL *retval );
|
---|
615 |
|
---|
616 | [propget, id(0x60020011)]
|
---|
617 | HRESULT IsHidden( [out, retval] VARIANT_BOOL *retval );
|
---|
618 |
|
---|
619 | [propput, id(0x60020011)]
|
---|
620 | HRESULT IsHidden( [in] VARIANT_BOOL value );
|
---|
621 |
|
---|
622 | [propget, id(0x60020012)]
|
---|
623 | HRESULT IsInstalled( [out, retval] VARIANT_BOOL *retval );
|
---|
624 |
|
---|
625 | [propget, id(0x60020013)]
|
---|
626 | HRESULT IsMandatory( [out, retval] VARIANT_BOOL *retval );
|
---|
627 |
|
---|
628 | [propget, id(0x60020014)]
|
---|
629 | HRESULT IsUninstallable( [out, retval] VARIANT_BOOL *retval );
|
---|
630 |
|
---|
631 | [propget, id(0x60020015)]
|
---|
632 | HRESULT Languages( [out, retval] IStringCollection **retval );
|
---|
633 |
|
---|
634 | [propget, id(0x60020016)]
|
---|
635 | HRESULT LastDeploymentChangeTime( [out, retval] DATE *retval );
|
---|
636 |
|
---|
637 | [propget, id(0x60020017)]
|
---|
638 | HRESULT MaxDownloadSize( [out, retval] DECIMAL *retval );
|
---|
639 |
|
---|
640 | [propget, id(0x60020018)]
|
---|
641 | HRESULT MinDownloadSize( [out, retval] DECIMAL *retval );
|
---|
642 |
|
---|
643 | [propget, id(0x60020019)]
|
---|
644 | HRESULT MoreInfoUrls( [out, retval] IStringCollection **retval );
|
---|
645 |
|
---|
646 | [propget, id(0x6002001a)]
|
---|
647 | HRESULT MsrcSeverity( [out, retval] BSTR *retval );
|
---|
648 |
|
---|
649 | [propget, id(0x6002001b)]
|
---|
650 | HRESULT RecommendedCpuSpeed( [out, retval] LONG *retval );
|
---|
651 |
|
---|
652 | [propget, id(0x6002001c)]
|
---|
653 | HRESULT RecommendedHardDiskSpace( [out, retval] LONG *retval );
|
---|
654 |
|
---|
655 | [propget, id(0x6002001d)]
|
---|
656 | HRESULT RecommendedMemory( [out, retval] LONG *retval );
|
---|
657 |
|
---|
658 | [propget, id(0x6002001e)]
|
---|
659 | HRESULT ReleaseNotes( [out, retval] BSTR *retval );
|
---|
660 |
|
---|
661 | [propget, id(0x6002001f)]
|
---|
662 | HRESULT SecurityBulletinIDs( [out, retval] IStringCollection **retval );
|
---|
663 |
|
---|
664 | [propget, id(0x60020021)]
|
---|
665 | HRESULT SupersededUpdateIDs( [out, retval] IStringCollection **retval );
|
---|
666 |
|
---|
667 | [propget, id(0x60020022)]
|
---|
668 | HRESULT SupportUrl( [out, retval] BSTR *retval );
|
---|
669 |
|
---|
670 | [propget, id(0x60020023)]
|
---|
671 | HRESULT Type( [out, retval] UpdateType *retval );
|
---|
672 |
|
---|
673 | [propget, id(0x60020024)]
|
---|
674 | HRESULT UninstallationNotes( [out, retval] BSTR *retval );
|
---|
675 |
|
---|
676 | [propget, id(0x60020025)]
|
---|
677 | HRESULT UninstallationBehavior( [out, retval] IInstallationBehavior **retval );
|
---|
678 |
|
---|
679 | [propget, id(0x60020026)]
|
---|
680 | HRESULT UninstallationSteps( [out, retval] IStringCollection **retval );
|
---|
681 |
|
---|
682 | [propget, id(0x60020028)]
|
---|
683 | HRESULT KBArticleIDs( [out, retval] IStringCollection **retval );
|
---|
684 |
|
---|
685 | [id(0x60020027)]
|
---|
686 | HRESULT AcceptEula();
|
---|
687 |
|
---|
688 | [propget, id(0x60020029)]
|
---|
689 | HRESULT DeploymentAction( [out, retval] DeploymentAction *retval );
|
---|
690 |
|
---|
691 | [id(0x6002002a)]
|
---|
692 | HRESULT CopyFromCache( [in, ref] BSTR path,
|
---|
693 | [in] VARIANT_BOOL toExtractCabFiles );
|
---|
694 |
|
---|
695 | [propget, id(0x6002002b)]
|
---|
696 | HRESULT DownloadPriority( [out, retval] DownloadPriority *retval );
|
---|
697 |
|
---|
698 | [propget, id(0x6002002c)]
|
---|
699 | HRESULT DownloadContents( [out, retval] IUpdateDownloadContentCollection **retval );
|
---|
700 | }
|
---|
701 |
|
---|
702 | [
|
---|
703 |
|
---|
704 | object,
|
---|
705 | oleautomation,
|
---|
706 | dual,
|
---|
707 | nonextensible,
|
---|
708 | uuid(07f7438c-7709-4ca5-b518-91279288134e),
|
---|
709 | pointer_default(unique),
|
---|
710 | hidden
|
---|
711 | ]
|
---|
712 | interface IUpdateCollection : IDispatch
|
---|
713 | {
|
---|
714 | [propget, id(DISPID_VALUE)]
|
---|
715 | HRESULT Item( [in] LONG index,
|
---|
716 | [out, retval] IUpdate **retval );
|
---|
717 |
|
---|
718 | [propput, id(DISPID_VALUE)]
|
---|
719 | HRESULT Item( [in] LONG index,
|
---|
720 | [in] IUpdate *value );
|
---|
721 |
|
---|
722 | [propget, id(DISPID_NEWENUM)]
|
---|
723 | HRESULT _NewEnum( [out, retval] IUnknown **retval );
|
---|
724 |
|
---|
725 | [propget, id(0x60020001)]
|
---|
726 | HRESULT Count( [out, retval] LONG *retval );
|
---|
727 |
|
---|
728 | [propget, id(0x60020002)]
|
---|
729 | HRESULT ReadOnly( [out, retval] VARIANT_BOOL *retval );
|
---|
730 |
|
---|
731 | [id(0x60020003)]
|
---|
732 | HRESULT Add( [in] IUpdate *value,
|
---|
733 | [out, retval] LONG *retval );
|
---|
734 |
|
---|
735 | [id(0x60020004)]
|
---|
736 | HRESULT Clear();
|
---|
737 |
|
---|
738 | [id(0x60020005)]
|
---|
739 | HRESULT Copy( [out, retval] IUpdateCollection **retval );
|
---|
740 |
|
---|
741 | [id(0x60020006)]
|
---|
742 | HRESULT Insert( [in] LONG index,
|
---|
743 | [in] IUpdate *value );
|
---|
744 |
|
---|
745 | [id(0x60020007)]
|
---|
746 | HRESULT RemoveAt( [in] LONG index );
|
---|
747 | }
|
---|
748 |
|
---|
749 | [
|
---|
750 | object,
|
---|
751 | oleautomation,
|
---|
752 | dual,
|
---|
753 | nonextensible,
|
---|
754 | uuid(7366ea16-7a1a-4ea2-b042-973d3e9cd99b),
|
---|
755 | pointer_default(unique),
|
---|
756 | ]
|
---|
757 | interface ISearchJob : IDispatch
|
---|
758 | {
|
---|
759 | [propget, id(0x60020001)]
|
---|
760 | HRESULT AsyncState( [out, retval] VARIANT *retval );
|
---|
761 |
|
---|
762 | [propget, id(0x60020002)]
|
---|
763 | HRESULT IsCompleted( [out, retval] VARIANT_BOOL *retval );
|
---|
764 |
|
---|
765 | [id(0x60020003)]
|
---|
766 | HRESULT CleanUp();
|
---|
767 |
|
---|
768 | [id(0x60020004)]
|
---|
769 | HRESULT RequestAbort();
|
---|
770 | }
|
---|
771 |
|
---|
772 | [
|
---|
773 | object,
|
---|
774 | oleautomation,
|
---|
775 | dual,
|
---|
776 | nonextensible,
|
---|
777 | uuid(d40cff62-e08c-4498-941a-01e25f0fd33c),
|
---|
778 | pointer_default(unique),
|
---|
779 | ]
|
---|
780 | interface ISearchResult : IDispatch
|
---|
781 | {
|
---|
782 | [propget, id(0x60020001)]
|
---|
783 | HRESULT ResultCode( [out, retval] OperationResultCode *retval );
|
---|
784 |
|
---|
785 | [propget, id(0x60020002)]
|
---|
786 | HRESULT RootCategories( [out, retval] ICategoryCollection **retval );
|
---|
787 |
|
---|
788 | [propget, id(0x60020003)]
|
---|
789 | HRESULT Updates( [out, retval] IUpdateCollection **retval );
|
---|
790 |
|
---|
791 | [propget, id(0x60020004)]
|
---|
792 | HRESULT Warnings( [out, retval] IUpdateExceptionCollection **retval );
|
---|
793 | }
|
---|
794 |
|
---|
795 | [
|
---|
796 | object,
|
---|
797 | oleautomation,
|
---|
798 | dual,
|
---|
799 | nonextensible,
|
---|
800 | uuid(be56a644-af0e-4e0e-a311-c1d8e695cbff),
|
---|
801 | pointer_default(unique),
|
---|
802 | ]
|
---|
803 | interface IUpdateHistoryEntry : IDispatch
|
---|
804 | {
|
---|
805 | [propget, id(0x60020001)]
|
---|
806 | HRESULT Operation( [out, retval] UpdateOperation *retval );
|
---|
807 |
|
---|
808 | [propget, id(0x60020002)]
|
---|
809 | HRESULT ResultCode( [out, retval] OperationResultCode *retval );
|
---|
810 |
|
---|
811 | [propget, id(0x60020003)]
|
---|
812 | HRESULT HResult( [out, retval] LONG *retval );
|
---|
813 |
|
---|
814 | [propget, id(0x60020004)]
|
---|
815 | HRESULT Date( [out, retval] DATE *retval );
|
---|
816 |
|
---|
817 | [propget, id(0x60020005)]
|
---|
818 | HRESULT UpdateIdentity( [out, retval] IUpdateIdentity **retval );
|
---|
819 |
|
---|
820 | [propget, id(0x60020006)]
|
---|
821 | HRESULT Title( [out, retval] BSTR *retval );
|
---|
822 |
|
---|
823 | [propget, id(0x60020007)]
|
---|
824 | HRESULT Description( [out, retval] BSTR *retval );
|
---|
825 |
|
---|
826 | [propget, id(0x60020008)]
|
---|
827 | HRESULT UnmappedResultCode( [out, retval] LONG *retval );
|
---|
828 |
|
---|
829 | [propget, id(0x60020009)]
|
---|
830 | HRESULT ClientApplicationID( [out, retval] BSTR *retval );
|
---|
831 |
|
---|
832 | [propget, id(0x6002000a)]
|
---|
833 | HRESULT ServerSelection( [out, retval] ServerSelection *retval );
|
---|
834 |
|
---|
835 | [propget, id(0x6002000b)]
|
---|
836 | HRESULT ServiceID( [out, retval] BSTR *retval );
|
---|
837 |
|
---|
838 | [propget, id(0x6002000c)]
|
---|
839 | HRESULT UninstallationSteps( [out, retval] IStringCollection **retval );
|
---|
840 |
|
---|
841 | [propget, id(0x6002000d)]
|
---|
842 | HRESULT UninstallationNotes( [out, retval] BSTR *retval );
|
---|
843 |
|
---|
844 | [propget, id(0x6002000e)]
|
---|
845 | HRESULT SupportUrl( [out, retval] BSTR *retval );
|
---|
846 | }
|
---|
847 |
|
---|
848 | [
|
---|
849 | object,
|
---|
850 | oleautomation,
|
---|
851 | dual,
|
---|
852 | nonextensible,
|
---|
853 | uuid(a7f04f3c-a290-435b-aadf-a116c3357a5c),
|
---|
854 | pointer_default(unique),
|
---|
855 | ]
|
---|
856 | interface IUpdateHistoryEntryCollection : IDispatch
|
---|
857 | {
|
---|
858 | [propget, id(DISPID_VALUE)]
|
---|
859 | HRESULT Item( [in] LONG index,
|
---|
860 | [out, retval] IUpdateHistoryEntry **retval );
|
---|
861 |
|
---|
862 | [propget, id(DISPID_NEWENUM)]
|
---|
863 | HRESULT _NewEnum( [out, retval] IUnknown **retval );
|
---|
864 |
|
---|
865 | [propget, id(0x60020001)]
|
---|
866 | HRESULT Count( [out, retval] LONG *retval );
|
---|
867 | }
|
---|
868 |
|
---|
869 | [
|
---|
870 | object,
|
---|
871 | uuid(8f45abf1-f9ae-4b95-a933-f0f66e5056ea),
|
---|
872 | oleautomation,
|
---|
873 | dual,
|
---|
874 | nonextensible,
|
---|
875 | pointer_default(unique),
|
---|
876 | ]
|
---|
877 | interface IUpdateSearcher : IDispatch
|
---|
878 | {
|
---|
879 | [propget]
|
---|
880 | HRESULT CanAutomaticallyUpgradeService(
|
---|
881 | [out, retval] VARIANT_BOOL *retval);
|
---|
882 |
|
---|
883 | [propput]
|
---|
884 | HRESULT CanAutomaticallyUpgradeService(
|
---|
885 | [in] VARIANT_BOOL value);
|
---|
886 |
|
---|
887 | [propget]
|
---|
888 | HRESULT ClientApplicationID(
|
---|
889 | [out, retval] BSTR *retval);
|
---|
890 |
|
---|
891 | [propput]
|
---|
892 | HRESULT ClientApplicationID(
|
---|
893 | [in] BSTR value);
|
---|
894 |
|
---|
895 | [propget]
|
---|
896 | HRESULT IncludePotentiallySupersededUpdates(
|
---|
897 | [out, retval] VARIANT_BOOL *retval);
|
---|
898 |
|
---|
899 | [propput]
|
---|
900 | HRESULT IncludePotentiallySupersededUpdates(
|
---|
901 | [in] VARIANT_BOOL value);
|
---|
902 |
|
---|
903 | [propget]
|
---|
904 | HRESULT ServerSelection(
|
---|
905 | [out, retval] ServerSelection *retval);
|
---|
906 |
|
---|
907 | [propput]
|
---|
908 | HRESULT ServerSelection(
|
---|
909 | [in] ServerSelection value);
|
---|
910 |
|
---|
911 | HRESULT BeginSearch(
|
---|
912 | [in] BSTR criteria,
|
---|
913 | [in] IUnknown *onCompleted,
|
---|
914 | [in] VARIANT state,
|
---|
915 | [out, retval] ISearchJob **retval);
|
---|
916 |
|
---|
917 | HRESULT EndSearch(
|
---|
918 | [in] ISearchJob *searchJob,
|
---|
919 | [out, retval] ISearchResult **retval);
|
---|
920 |
|
---|
921 | HRESULT EscapeString(
|
---|
922 | [in] BSTR unescaped,
|
---|
923 | [out, retval] BSTR *retval);
|
---|
924 |
|
---|
925 | HRESULT QueryHistory(
|
---|
926 | [in] LONG startIndex,
|
---|
927 | [in] LONG count,
|
---|
928 | [out, retval] IUpdateHistoryEntryCollection **retval);
|
---|
929 |
|
---|
930 | HRESULT Search(
|
---|
931 | [in] BSTR criteria,
|
---|
932 | [out, retval] ISearchResult **retval);
|
---|
933 |
|
---|
934 | [propget]
|
---|
935 | HRESULT Online(
|
---|
936 | [out, retval] VARIANT_BOOL *retval);
|
---|
937 |
|
---|
938 | [propput]
|
---|
939 | HRESULT Online(
|
---|
940 | [in] VARIANT_BOOL value);
|
---|
941 |
|
---|
942 | HRESULT GetTotalHistoryCount(
|
---|
943 | [out, retval] LONG *retval);
|
---|
944 |
|
---|
945 | [propget]
|
---|
946 | HRESULT ServiceID(
|
---|
947 | [out, retval] BSTR *retval);
|
---|
948 |
|
---|
949 | [propput]
|
---|
950 | HRESULT ServiceID(
|
---|
951 | [in] BSTR value);
|
---|
952 | }
|
---|
953 |
|
---|
954 | [
|
---|
955 | object,
|
---|
956 | oleautomation,
|
---|
957 | dual,
|
---|
958 | nonextensible,
|
---|
959 | uuid(bf99af76-b575-42ad-8aa4-33cbb5477af1),
|
---|
960 | pointer_default(unique),
|
---|
961 | ]
|
---|
962 | interface IUpdateDownloadResult : IDispatch
|
---|
963 | {
|
---|
964 | [propget, id(0x60020001)]
|
---|
965 | HRESULT HResult( [out, retval] LONG *retval );
|
---|
966 |
|
---|
967 | [propget, id(0x60020002)]
|
---|
968 | HRESULT ResultCode( [out, retval] OperationResultCode *retval );
|
---|
969 | }
|
---|
970 |
|
---|
971 | [
|
---|
972 | object,
|
---|
973 | oleautomation,
|
---|
974 | dual,
|
---|
975 | nonextensible,
|
---|
976 | uuid(d31a5bac-f719-4178-9dbb-5e2cb47fd18a),
|
---|
977 | pointer_default(unique),
|
---|
978 | ]
|
---|
979 | interface IDownloadProgress : IDispatch
|
---|
980 | {
|
---|
981 | [propget, id(0x60020001)]
|
---|
982 | HRESULT CurrentUpdateBytesDownloaded( [out, retval] DECIMAL *retval );
|
---|
983 |
|
---|
984 | [propget, id(0x60020002)]
|
---|
985 | HRESULT CurrentUpdateBytesToDownload( [out, retval] DECIMAL *retval );
|
---|
986 |
|
---|
987 | [propget, id(0x60020003)]
|
---|
988 | HRESULT CurrentUpdateIndex( [out, retval] LONG *retval );
|
---|
989 |
|
---|
990 | [propget, id(0x60020004)]
|
---|
991 | HRESULT PercentComplete( [out, retval] LONG *retval );
|
---|
992 |
|
---|
993 | [propget, id(0x60020005)]
|
---|
994 | HRESULT TotalBytesDownloaded( [out, retval] DECIMAL *retval );
|
---|
995 |
|
---|
996 | [propget, id(0x60020006)]
|
---|
997 | HRESULT TotalBytesToDownload( [out, retval] DECIMAL *retval );
|
---|
998 |
|
---|
999 | [id(0x60020007)]
|
---|
1000 | HRESULT GetUpdateResult( [in] LONG updateIndex,
|
---|
1001 | [out, retval] IUpdateDownloadResult **retval );
|
---|
1002 |
|
---|
1003 |
|
---|
1004 | [propget, id(0x60020008)]
|
---|
1005 | HRESULT CurrentUpdateDownloadPhase( [out, retval] DownloadPhase *retval );
|
---|
1006 |
|
---|
1007 | [propget, id(0x60020009)]
|
---|
1008 | HRESULT CurrentUpdatePercentComplete( [out, retval] LONG *retval );
|
---|
1009 | }
|
---|
1010 |
|
---|
1011 | [
|
---|
1012 | object,
|
---|
1013 | oleautomation,
|
---|
1014 | dual,
|
---|
1015 | nonextensible,
|
---|
1016 | uuid(c574de85-7358-43f6-aae8-8697e62d8ba7),
|
---|
1017 | pointer_default(unique),
|
---|
1018 | ]
|
---|
1019 | interface IDownloadJob : IDispatch
|
---|
1020 | {
|
---|
1021 | [propget, id(0x60020001)]
|
---|
1022 | HRESULT AsyncState( [out, retval] VARIANT *retval );
|
---|
1023 |
|
---|
1024 | [propget, id(0x60020002)]
|
---|
1025 | HRESULT IsCompleted( [out, retval] VARIANT_BOOL *retval );
|
---|
1026 |
|
---|
1027 | [propget, id(0x60020003)]
|
---|
1028 | HRESULT Updates( [out, retval] IUpdateCollection **retval );
|
---|
1029 |
|
---|
1030 | [id(0x60020004)]
|
---|
1031 | HRESULT CleanUp();
|
---|
1032 |
|
---|
1033 | [id(0x60020005)]
|
---|
1034 | HRESULT GetProgress( [out, retval] IDownloadProgress **retval );
|
---|
1035 |
|
---|
1036 | [id(0x60020006)]
|
---|
1037 | HRESULT RequestAbort();
|
---|
1038 | }
|
---|
1039 |
|
---|
1040 | [
|
---|
1041 | object,
|
---|
1042 | oleautomation,
|
---|
1043 | dual,
|
---|
1044 | nonextensible,
|
---|
1045 | uuid(daa4fdd0-4727-4dbe-a1e7-745dca317144),
|
---|
1046 | pointer_default(unique),
|
---|
1047 | ]
|
---|
1048 | interface IDownloadResult : IDispatch
|
---|
1049 | {
|
---|
1050 | [propget, id(0x60020001)]
|
---|
1051 | HRESULT HResult( [out, retval] LONG *retval );
|
---|
1052 |
|
---|
1053 | [propget, id(0x60020002)]
|
---|
1054 | HRESULT ResultCode( [out, retval] OperationResultCode *retval );
|
---|
1055 |
|
---|
1056 | [id(0x60020003)]
|
---|
1057 | HRESULT GetUpdateResult( [in] LONG updateIndex,
|
---|
1058 | [out, retval] IUpdateDownloadResult **retval );
|
---|
1059 | }
|
---|
1060 |
|
---|
1061 | [
|
---|
1062 | object,
|
---|
1063 | uuid(68f1c6f9-7ecc-4666-a464-247fe12496c3),
|
---|
1064 | oleautomation,
|
---|
1065 | dual,
|
---|
1066 | nonextensible,
|
---|
1067 | pointer_default(unique),
|
---|
1068 | hidden
|
---|
1069 | ]
|
---|
1070 | interface IUpdateDownloader : IDispatch
|
---|
1071 | {
|
---|
1072 | [propget]
|
---|
1073 | HRESULT ClientApplicationID(
|
---|
1074 | [out, retval] BSTR *retval);
|
---|
1075 |
|
---|
1076 | [propput]
|
---|
1077 | HRESULT ClientApplicationID(
|
---|
1078 | [in] BSTR value);
|
---|
1079 |
|
---|
1080 | [propget]
|
---|
1081 | HRESULT IsForced(
|
---|
1082 | [out, retval] VARIANT_BOOL *retval);
|
---|
1083 |
|
---|
1084 | [propput]
|
---|
1085 | HRESULT IsForced(
|
---|
1086 | [in] VARIANT_BOOL value);
|
---|
1087 |
|
---|
1088 | [propget]
|
---|
1089 | HRESULT Priority(
|
---|
1090 | [out, retval] DownloadPriority *retval);
|
---|
1091 |
|
---|
1092 | [propput]
|
---|
1093 | HRESULT Priority(
|
---|
1094 | [in] DownloadPriority value);
|
---|
1095 |
|
---|
1096 | [propget]
|
---|
1097 | HRESULT Updates(
|
---|
1098 | [out, retval] IUpdateCollection **retval);
|
---|
1099 |
|
---|
1100 | [propput]
|
---|
1101 | HRESULT Updates(
|
---|
1102 | [in] IUpdateCollection *value);
|
---|
1103 |
|
---|
1104 | HRESULT BeginDownload(
|
---|
1105 | [in] IUnknown *onProgressChanged,
|
---|
1106 | [in] IUnknown *onCompleted,
|
---|
1107 | [in] VARIANT state,
|
---|
1108 | [out, retval] IDownloadJob **retval);
|
---|
1109 |
|
---|
1110 | HRESULT Download(
|
---|
1111 | [out, retval] IDownloadResult **retval);
|
---|
1112 |
|
---|
1113 | HRESULT EndDownload(
|
---|
1114 | [in] IDownloadJob *value,
|
---|
1115 | [out, retval] IDownloadResult **retval);
|
---|
1116 | }
|
---|
1117 |
|
---|
1118 | [
|
---|
1119 | object,
|
---|
1120 | oleautomation,
|
---|
1121 | dual,
|
---|
1122 | nonextensible,
|
---|
1123 | uuid(d940f0f8-3cbb-4fd0-993f-471e7f2328ad),
|
---|
1124 | pointer_default(unique),
|
---|
1125 | ]
|
---|
1126 | interface IUpdateInstallationResult : IDispatch
|
---|
1127 | {
|
---|
1128 | [propget, id(0x60020001)]
|
---|
1129 | HRESULT HResult( [out, retval] LONG *retval );
|
---|
1130 |
|
---|
1131 | [propget, id(0x60020002)]
|
---|
1132 | HRESULT RebootRequired( [out, retval] VARIANT_BOOL *retval );
|
---|
1133 |
|
---|
1134 | [propget, id(0x60020003)]
|
---|
1135 | HRESULT ResultCode( [out, retval] OperationResultCode *retval );
|
---|
1136 | }
|
---|
1137 |
|
---|
1138 | [
|
---|
1139 | object,
|
---|
1140 | oleautomation,
|
---|
1141 | dual,
|
---|
1142 | nonextensible,
|
---|
1143 | uuid(345c8244-43a3-4e32-a368-65f073b76f36),
|
---|
1144 | pointer_default(unique),
|
---|
1145 | ]
|
---|
1146 | interface IInstallationProgress : IDispatch
|
---|
1147 | {
|
---|
1148 | [propget, id(0x60020001)]
|
---|
1149 | HRESULT CurrentUpdateIndex( [out, retval] LONG *retval );
|
---|
1150 |
|
---|
1151 | [propget, id(0x60020002)]
|
---|
1152 | HRESULT CurrentUpdatePercentComplete( [out, retval] LONG *retval );
|
---|
1153 |
|
---|
1154 | [propget, id(0x60020003)]
|
---|
1155 | HRESULT PercentComplete( [out, retval] LONG *retval );
|
---|
1156 |
|
---|
1157 | [id(0x60020004)]
|
---|
1158 | HRESULT GetUpdateResult( [in] LONG updateIndex,
|
---|
1159 | [out, retval] IUpdateInstallationResult **retval );
|
---|
1160 | }
|
---|
1161 |
|
---|
1162 | [
|
---|
1163 | object,
|
---|
1164 | oleautomation,
|
---|
1165 | dual,
|
---|
1166 | nonextensible,
|
---|
1167 | uuid(5c209f0b-bad5-432a-9556-4699bed2638a),
|
---|
1168 | pointer_default(unique),
|
---|
1169 | ]
|
---|
1170 | interface IInstallationJob : IDispatch
|
---|
1171 | {
|
---|
1172 | [propget, id(0x60020001)]
|
---|
1173 | HRESULT AsyncState( [out, retval] VARIANT *retval );
|
---|
1174 |
|
---|
1175 | [propget, id(0x60020002)]
|
---|
1176 | HRESULT IsCompleted( [out, retval] VARIANT_BOOL *retval );
|
---|
1177 |
|
---|
1178 | [propget, id(0x60020003)]
|
---|
1179 | HRESULT Updates( [out, retval] IUpdateCollection **retval );
|
---|
1180 |
|
---|
1181 | [id(0x60020004)]
|
---|
1182 | HRESULT CleanUp();
|
---|
1183 |
|
---|
1184 | [id(0x60020005)]
|
---|
1185 | HRESULT GetProgress( [out, retval] IInstallationProgress **retval );
|
---|
1186 |
|
---|
1187 | [id(0x60020006)]
|
---|
1188 | HRESULT RequestAbort();
|
---|
1189 | }
|
---|
1190 |
|
---|
1191 | [
|
---|
1192 | object,
|
---|
1193 | oleautomation,
|
---|
1194 | dual,
|
---|
1195 | nonextensible,
|
---|
1196 | uuid(a43c56d6-7451-48d4-af96-b6cd2d0d9b7a),
|
---|
1197 | pointer_default(unique),
|
---|
1198 | ]
|
---|
1199 | interface IInstallationResult : IDispatch
|
---|
1200 | {
|
---|
1201 | [propget, id(0x60020001)]
|
---|
1202 | HRESULT HResult( [out, retval] LONG *retval );
|
---|
1203 |
|
---|
1204 | [propget, id(0x60020002)]
|
---|
1205 | HRESULT RebootRequired( [out, retval] VARIANT_BOOL *retval );
|
---|
1206 |
|
---|
1207 | [propget, id(0x60020003)]
|
---|
1208 | HRESULT ResultCode( [out, retval] OperationResultCode *retval );
|
---|
1209 |
|
---|
1210 | [id(0x60020004)]
|
---|
1211 | HRESULT GetUpdateResult( [in] LONG updateIndex,
|
---|
1212 | [out, retval] IUpdateInstallationResult **retval );
|
---|
1213 | }
|
---|
1214 |
|
---|
1215 | [
|
---|
1216 | object,
|
---|
1217 | uuid(7b929c68-ccdc-4226-96b1-8724600b54c2),
|
---|
1218 | oleautomation,
|
---|
1219 | dual,
|
---|
1220 | nonextensible,
|
---|
1221 | pointer_default(unique),
|
---|
1222 | ]
|
---|
1223 | interface IUpdateInstaller : IDispatch
|
---|
1224 | {
|
---|
1225 | [propget]
|
---|
1226 | HRESULT ClientApplicationID(
|
---|
1227 | [out, retval] BSTR *retval);
|
---|
1228 |
|
---|
1229 | [propput]
|
---|
1230 | HRESULT ClientApplicationID(
|
---|
1231 | [in] BSTR value);
|
---|
1232 |
|
---|
1233 | [propget]
|
---|
1234 | HRESULT IsForced(
|
---|
1235 | [out, retval] VARIANT_BOOL *retval);
|
---|
1236 |
|
---|
1237 | [propput]
|
---|
1238 | HRESULT IsForced(
|
---|
1239 | [in] VARIANT_BOOL value);
|
---|
1240 |
|
---|
1241 | [propget, restricted]
|
---|
1242 | HRESULT ParentHwnd(
|
---|
1243 | [out, retval] HWND *retval);
|
---|
1244 |
|
---|
1245 | [propput, restricted]
|
---|
1246 | HRESULT ParentHwnd(
|
---|
1247 | [in, unique] HWND value);
|
---|
1248 |
|
---|
1249 | [propput]
|
---|
1250 | HRESULT ParentWindow(
|
---|
1251 | [in, unique] IUnknown *value);
|
---|
1252 |
|
---|
1253 | [propget]
|
---|
1254 | HRESULT ParentWindow(
|
---|
1255 | [out, retval] IUnknown **retval);
|
---|
1256 |
|
---|
1257 | [propget]
|
---|
1258 | HRESULT Updates(
|
---|
1259 | [out, retval] IUpdateCollection **retval);
|
---|
1260 |
|
---|
1261 | [propput]
|
---|
1262 | HRESULT Updates(
|
---|
1263 | [in] IUpdateCollection *value);
|
---|
1264 |
|
---|
1265 | HRESULT BeginInstall(
|
---|
1266 | [in] IUnknown *onProgressChanged,
|
---|
1267 | [in] IUnknown *onCompleted,
|
---|
1268 | [in] VARIANT state,
|
---|
1269 | [out, retval] IInstallationJob **retval);
|
---|
1270 |
|
---|
1271 | HRESULT BeginUninstall(
|
---|
1272 | [in] IUnknown *onProgressChanged,
|
---|
1273 | [in] IUnknown *onCompleted,
|
---|
1274 | [in] VARIANT state,
|
---|
1275 | [out, retval] IInstallationJob **retval);
|
---|
1276 |
|
---|
1277 | HRESULT EndInstall(
|
---|
1278 | [in] IInstallationJob *value,
|
---|
1279 | [out, retval] IInstallationResult **retval);
|
---|
1280 |
|
---|
1281 | HRESULT EndUninstall(
|
---|
1282 | [in] IInstallationJob *value,
|
---|
1283 | [out, retval] IInstallationResult **retval);
|
---|
1284 |
|
---|
1285 | HRESULT Install(
|
---|
1286 | [out, retval] IInstallationResult **retval);
|
---|
1287 |
|
---|
1288 | HRESULT RunWizard(
|
---|
1289 | [in, defaultvalue("")] BSTR dialogTitle,
|
---|
1290 | [out, retval] IInstallationResult **retval);
|
---|
1291 |
|
---|
1292 | [propget]
|
---|
1293 | HRESULT IsBusy(
|
---|
1294 | [out, retval] VARIANT_BOOL *retval);
|
---|
1295 |
|
---|
1296 | HRESULT Uninstall(
|
---|
1297 | [out, retval] IInstallationResult **retval);
|
---|
1298 |
|
---|
1299 | [propget]
|
---|
1300 | HRESULT AllowSourcePrompts(
|
---|
1301 | [out, retval] VARIANT_BOOL *retval);
|
---|
1302 |
|
---|
1303 | [propput]
|
---|
1304 | HRESULT AllowSourcePrompts(
|
---|
1305 | [in] VARIANT_BOOL value);
|
---|
1306 |
|
---|
1307 | [propget]
|
---|
1308 | HRESULT RebootRequiredBeforeInstallation(
|
---|
1309 | [out, retval] VARIANT_BOOL *retval);
|
---|
1310 | }
|
---|
1311 |
|
---|
1312 | [
|
---|
1313 | object,
|
---|
1314 | uuid(ADE87BF7-7B56-4275-8FAB-B9B0E591844B),
|
---|
1315 | oleautomation,
|
---|
1316 | hidden,
|
---|
1317 | dual,
|
---|
1318 | nonextensible,
|
---|
1319 | pointer_default(unique),
|
---|
1320 | ]
|
---|
1321 | interface ISystemInformation : IDispatch
|
---|
1322 | {
|
---|
1323 | [propget]
|
---|
1324 | HRESULT OemHardwareSupportLink(
|
---|
1325 | [out, retval] BSTR *retval);
|
---|
1326 |
|
---|
1327 | [propget]
|
---|
1328 | HRESULT RebootRequired(
|
---|
1329 | [out, retval] VARIANT_BOOL *retval);
|
---|
1330 | }
|
---|
1331 |
|
---|
1332 | [
|
---|
1333 | helpstring("AutomaticUpdates Class"),
|
---|
1334 | threading(both),
|
---|
1335 | progid("Microsoft.Update.AutoUpdate.1"),
|
---|
1336 | vi_progid("Microsoft.Update.AutoUpdate"),
|
---|
1337 | uuid(bfe18e9c-6d87-4450-b37c-e02f0b373803)
|
---|
1338 | ]
|
---|
1339 | coclass AutomaticUpdates { interface IAutomaticUpdates; }
|
---|
1340 |
|
---|
1341 | [
|
---|
1342 | helpstring("UpdateSession Class"),
|
---|
1343 | threading(both),
|
---|
1344 | progid("Microsoft.Update.Session.1"),
|
---|
1345 | vi_progid("Microsoft.Update.Session"),
|
---|
1346 | uuid(4cb43d7f-7eee-4906-8698-60da1c38f2fe)
|
---|
1347 | ]
|
---|
1348 | coclass UpdateSession { interface IUpdateSession; }
|
---|
1349 |
|
---|
1350 | [
|
---|
1351 | helpstring("SystemInformation Class"),
|
---|
1352 | threading(both),
|
---|
1353 | progid("Microsoft.Update.SystemInfo.1"),
|
---|
1354 | vi_progid("Microsoft.Update.SystemInfo"),
|
---|
1355 | uuid(C01B9BA0-BEA7-41BA-B604-D0A36F469133)
|
---|
1356 | ]
|
---|
1357 | coclass SystemInformation { interface ISystemInformation; }
|
---|
1358 |
|
---|
1359 | } /* WUApiLib */
|
---|