ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

wuapi.idl
Go to the documentation of this file.
00001 /*
00002  * Copyright 2008 Hans Leidekker for CodeWeavers
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00017  */
00018 
00019 import "oaidl.idl";
00020 
00021 #ifndef __WIDL__
00022 #define threading(model)
00023 #define progid(str)
00024 #define vi_progid(str)
00025 #endif
00026 
00027 [
00028     helpstring("WUAPI 2.0 Type Library"),
00029     uuid(b596cc9f-56e5-419e-a622-e01bb457431e),
00030     version(2.0)
00031 ]
00032 library WUApiLib {
00033 
00034 importlib("stdole2.tlb");
00035 
00036 interface ICategoryCollection;
00037 interface IStringCollection;
00038 interface IUpdateCollection;
00039 interface IUpdateDownloader;
00040 interface IUpdateInstaller;
00041 interface IUpdateSearcher;
00042 
00043 typedef [public] enum tagDownloadPriority
00044 {
00045     dpLow    = 1,
00046     dpNormal = 2,
00047     dpHigh   = 3,
00048 } DownloadPriority;
00049 
00050 typedef [public] enum tagServerSelection
00051 {
00052     ssDefault       = 0,
00053     ssManagedServer = 1,
00054     ssWindowsUpdate = 2,
00055     ssOthers        = 3,
00056 } ServerSelection;
00057 
00058 typedef [public] enum tagAutomaticUpdatesNotificationLevel
00059 {
00060     aunlNotConfigured,
00061     aunlDisabled,
00062     aunlNotifyBeforeDownload,
00063     aunlNotifyBeforeInstallation,
00064     aunlScheduledInstallation,
00065 } AutomaticUpdatesNotificationLevel;
00066 
00067 typedef [public] enum tagAutomaticUpdatesScheduledInstallationDay
00068 {
00069     ausidEveryDay,
00070     ausidEverySunday,
00071     ausidEveryMonday,
00072     ausidEveryTuesday,
00073     ausidEveryWednesday,
00074     ausidEveryThursday,
00075     ausidEveryFriday,
00076     ausidEverySaturday,
00077 } AutomaticUpdatesScheduledInstallationDay;
00078 
00079 typedef [public] enum tagDownloadPhase
00080 {
00081     dphInitializing,
00082     dphDownloading,
00083     dphVerifying,
00084 } DownloadPhase;
00085 
00086 typedef [public] enum tagOperationResultCode
00087 {
00088     orcNotStarted,
00089     orcInProgress,
00090     orcSucceeded,
00091     orcSucceededWithErrors,
00092     orcFailed,
00093     orcAborted,
00094 } OperationResultCode;
00095 
00096 typedef [public] enum tagUpdateExceptionContext
00097 {
00098     uecGeneral = 1,
00099     uecWindowsDriver,
00100     uecWindowsInstaller
00101 } UpdateExceptionContext;
00102 
00103 typedef [public] enum tagInstallationImpact
00104 {
00105     iiNormal,
00106     iiMinor,
00107     iiRequiresExclusiveHandling
00108 } InstallationImpact;
00109 
00110 typedef [public] enum tagInstallationRebootBehavior
00111 {
00112     irbNeverReboots,
00113     irbAlwaysRequiresReboot,
00114     irbCanRequestReboot
00115 } InstallationRebootBehavior;
00116 
00117 typedef [public] enum tagUpdateType
00118 {
00119     utSoftware = 1,
00120     utDriver
00121 } UpdateType;
00122 
00123 typedef [public] enum tagUpdateOperation
00124 {
00125     uoInstallation = 1,
00126     uoUninstallation
00127 } UpdateOperation;
00128 
00129 typedef [public] enum tagDeploymentAction
00130 {
00131     daNone,
00132     daInstallation,
00133     daUninstallation,
00134     daDetection
00135 } DeploymentAction;
00136 
00137 [
00138     object,
00139     oleautomation,
00140     dual,
00141     nonextensible,
00142     uuid(2ee48f22-af3c-405f-8970-f71be12ee9a2),
00143     pointer_default(unique)
00144 ]
00145 interface IAutomaticUpdatesSettings : IDispatch
00146 {
00147     [propget, id(0x60020001)]
00148     HRESULT NotificationLevel( [out, retval] AutomaticUpdatesNotificationLevel *retval );
00149 
00150     [propput, id(0x60020001)]
00151     HRESULT NotificationLevel( [in] AutomaticUpdatesNotificationLevel value );
00152 
00153     [propget, id(0x60020002)]
00154     HRESULT ReadOnly( [out, retval] VARIANT_BOOL *retval );
00155 
00156     [propget, id(0x60020003)]
00157     HRESULT Required( [out, retval] VARIANT_BOOL *retval );
00158 
00159     [propget, id(0x60020004)]
00160     HRESULT ScheduledInstallationDay( [out, retval] AutomaticUpdatesScheduledInstallationDay *retval );
00161 
00162     [propput, id(0x60020004)]
00163     HRESULT ScheduledInstallationDay( [in] AutomaticUpdatesScheduledInstallationDay value );
00164 
00165     [propget, id(0x60020005)]
00166     HRESULT ScheduledInstallationTime( [out, retval] LONG *retval );
00167 
00168     [propput, id(0x60020005)]
00169     HRESULT ScheduledInstallationTime( [in] LONG value );
00170 
00171     [id(0x60020006)]
00172     HRESULT Refresh();
00173 
00174     [id(0x60020007)]
00175     HRESULT Save();
00176 }
00177 
00178 [
00179     object,
00180     uuid(673425bf-c082-4c7c-bdfd-569464b8e0ce),
00181     oleautomation,
00182     dual,
00183     nonextensible,
00184     pointer_default(unique),
00185     hidden
00186 ]
00187 interface IAutomaticUpdates : IDispatch
00188 {
00189     HRESULT DetectNow();
00190     HRESULT Pause();
00191     HRESULT Resume();
00192     HRESULT ShowSettingsDialog();
00193 
00194     [propget]
00195     HRESULT Settings(
00196         [out, retval] IAutomaticUpdatesSettings **retval);
00197 
00198     [propget]
00199     HRESULT ServiceEnabled(
00200         [out, retval] VARIANT_BOOL *retval);
00201 
00202     HRESULT EnableService();
00203 }
00204 
00205 [
00206     object,
00207     oleautomation,
00208     dual,
00209     nonextensible,
00210     uuid(174c81fe-aecd-4dae-b8a0-2c6318dd86a8),
00211     pointer_default(unique),
00212 ]
00213 interface IWebProxy : IDispatch
00214 {
00215     [propget, id(0x60020001)]
00216     HRESULT Address( [out, retval] BSTR *retval );
00217 
00218     [propput, id(0x60020001)]
00219     HRESULT Address( [in] BSTR value );
00220 
00221     [propget, id(0x60020002)]
00222     HRESULT BypassList( [out, retval] IStringCollection **retval );
00223 
00224     [propput, id(0x60020002)]
00225     HRESULT BypassList( [in] IStringCollection *value );
00226 
00227     [propget, id(0x60020003)]
00228     HRESULT BypassProxyOnLocal( [out, retval] VARIANT_BOOL *retval );
00229 
00230     [propput, id(0x60020003)]
00231     HRESULT BypassProxyOnLocal( [in] VARIANT_BOOL value );
00232 
00233     [propget, id(0x60020004)]
00234     HRESULT ReadOnly( [out, retval] VARIANT_BOOL *retval );
00235 
00236     [propget, id(0x60020005)]
00237     HRESULT UserName( [out, retval] BSTR *retval );
00238 
00239     [propput, id(0x60020005)]
00240     HRESULT UserName( [in] BSTR value );
00241 
00242     [id(0x60020006)]
00243     HRESULT SetPassword( [in] BSTR value );
00244 
00245     [id(0x60020007)]
00246     HRESULT PromptForCredentials( [in, unique] IUnknown *parentWindow,
00247                                   [in] BSTR title );
00248 
00249     [restricted, id(0x60020008)]
00250     HRESULT PromptForCredentialsFromHwnd( [in, unique] HWND parentWindow,
00251                                           [in] BSTR title );
00252 
00253     [propget, id(0x60020009)]
00254     HRESULT AutoDetect( [out, retval] VARIANT_BOOL *retval );
00255 
00256     [propput, id(0x60020009)]
00257     HRESULT AutoDetect( [in] VARIANT_BOOL value );
00258 }
00259 
00260 [
00261     object,
00262     uuid(816858a4-260d-4260-933a-2585f1abc76b),
00263     oleautomation,
00264     dual,
00265     nonextensible,
00266     pointer_default(unique),
00267 ]
00268 interface IUpdateSession : IDispatch
00269 {
00270     [propget]
00271     HRESULT ClientApplicationID(
00272         [out, retval] BSTR *retval);
00273 
00274     [propput]
00275     HRESULT ClientApplicationID(
00276         [in] BSTR value);
00277 
00278     [propget]
00279     HRESULT ReadOnly(
00280         [out, retval] VARIANT_BOOL *retval);
00281 
00282     [propget]
00283     HRESULT WebProxy(
00284         [out, retval] IWebProxy **retval);
00285 
00286     [propput]
00287     HRESULT WebProxy(
00288         [in, unique] IWebProxy *value);
00289 
00290     HRESULT CreateUpdateSearcher(
00291         [out, retval] IUpdateSearcher **retval);
00292 
00293     HRESULT CreateUpdateDownloader(
00294         [out, retval] IUpdateDownloader **retval);
00295 
00296     HRESULT CreateUpdateInstaller(
00297         [out, retval] IUpdateInstaller **retval);
00298 }
00299 
00300 [
00301     object,
00302     oleautomation,
00303     dual,
00304     nonextensible,
00305     uuid(7c907864-346c-4aeb-8f3f-57da289f969f),
00306     pointer_default(unique),
00307 ]
00308 interface IImageInformation : IDispatch
00309 {
00310     [propget, id(0x60020001)]
00311     HRESULT AltText( [out, retval] BSTR *retval );
00312 
00313     [propget, id(0x60020002)]
00314     HRESULT Height( [out, retval] LONG *retval );
00315 
00316     [propget, id(0x60020003)]
00317     HRESULT Source( [out, retval] BSTR *retval );
00318 
00319     [propget, id(0x60020004)]
00320     HRESULT Width( [out, retval] LONG *retval );
00321 }
00322 
00323 [
00324     object,
00325     oleautomation,
00326     dual,
00327     nonextensible,
00328     uuid(81ddc1b8-9d35-47a6-b471-5b80f519223b),
00329     pointer_default(unique),
00330 ]
00331 interface ICategory : IDispatch
00332 {
00333     [propget, id(DISPID_VALUE)]
00334     HRESULT Name( [out, retval] BSTR *retval );
00335 
00336     [propget, id(0x60020001)]
00337     HRESULT CategoryID( [out, retval] BSTR *retval );
00338 
00339     [propget, id(0x60020002)]
00340     HRESULT Children( [out, retval] ICategoryCollection **retval );
00341 
00342     [propget, id(0x60020003)]
00343     HRESULT Description( [out, retval] BSTR *retval );
00344 
00345     [propget, id(0x60020004)]
00346     HRESULT Image( [out, retval] IImageInformation **retval );
00347 
00348     [propget, id(0x60020005)]
00349     HRESULT Order( [out, retval] LONG *retval );
00350 
00351     [propget, id(0x60020006)]
00352     HRESULT Parent( [out, retval] ICategory **retval );
00353 
00354     [propget, id(0x60020007)]
00355     HRESULT Type( [out, retval] BSTR *retval );
00356 
00357     [propget, id(0x60020008)]
00358     HRESULT Updates( [out, retval] IUpdateCollection **retval );
00359 }
00360 
00361 [
00362     object,
00363     oleautomation,
00364     dual,
00365     nonextensible,
00366     uuid(3a56bfb8-576c-43f7-9335-fe4838fd7e37),
00367     pointer_default(unique),
00368 ]
00369 interface ICategoryCollection : IDispatch
00370 {
00371     [propget, id(DISPID_VALUE)]
00372     HRESULT Item( [in] LONG index,
00373                 [out, retval] ICategory **retval );
00374 
00375     [propget, id(DISPID_NEWENUM)]
00376     HRESULT _NewEnum( [out, retval] IUnknown **retval );
00377 
00378     [propget, id(0x60020001)]
00379     HRESULT Count( [out, retval] LONG *retval );
00380 }
00381 
00382 [
00383     object,
00384     oleautomation,
00385     dual,
00386     nonextensible,
00387     uuid(eff90582-2ddc-480f-a06d-60f3fbc362c3),
00388     pointer_default(unique),
00389     hidden
00390 ]
00391 interface IStringCollection : IDispatch
00392 {
00393     [propget, id(DISPID_VALUE)]
00394     HRESULT Item( [in] LONG index,
00395                   [out, retval] BSTR *retval );
00396 
00397     [propput, id(DISPID_VALUE)]
00398     HRESULT Item( [in] LONG index,
00399                 [in] BSTR value );
00400 
00401     [propget, id(DISPID_NEWENUM)]
00402     HRESULT _NewEnum( [out, retval] IUnknown **retval );
00403 
00404     [propget, id(0x60020001)]
00405     HRESULT Count( [out, retval] LONG *retval );
00406 
00407     [propget, id(0x60020002)]
00408     HRESULT ReadOnly( [out, retval] VARIANT_BOOL *retval );
00409 
00410     [id(0x60020003)]
00411     HRESULT Add( [in] BSTR value,
00412                  [out, retval] LONG *retval );
00413 
00414     [id(0x60020004)]
00415     HRESULT Clear();
00416 
00417     [id(0x60020005)]
00418     HRESULT Copy( [out, retval] IStringCollection **retval );
00419 
00420     [id(0x60020006)]
00421     HRESULT Insert( [in] LONG index,
00422                     [in] BSTR value );
00423 
00424     [id(0x60020007)]
00425     HRESULT RemoveAt( [in] LONG index );
00426 }
00427 
00428 [
00429     object,
00430     oleautomation,
00431     dual,
00432     nonextensible,
00433     uuid(a376dd5e-09d4-427f-af7c-fed5b6e1c1d6),
00434     pointer_default(unique),
00435 ]
00436 interface IUpdateException : IDispatch
00437 {
00438     [propget, id(DISPID_VALUE)]
00439     HRESULT Message( [out, retval] BSTR *retval );
00440 
00441     [propget, id(0x60020001)]
00442     HRESULT HResult( [out, retval] LONG *retval );
00443 
00444     [propget, id(0x60020002)]
00445     HRESULT Context( [out, retval] UpdateExceptionContext *retval );
00446 }
00447 
00448 [
00449     object,
00450     oleautomation,
00451     dual,
00452     nonextensible,
00453     uuid(503626a3-8e14-4729-9355-0fe664bd2321),
00454     pointer_default(unique),
00455 ]
00456 interface IUpdateExceptionCollection : IDispatch
00457 {
00458     [propget, id(DISPID_VALUE)]
00459     HRESULT Item( [in] LONG index,
00460                   [out, retval] IUpdateException **retval );
00461 
00462     [propget, id(DISPID_NEWENUM)]
00463     HRESULT _NewEnum( [out, retval] IUnknown **retval );
00464 
00465     [propget, id(0x60020001)]
00466     HRESULT Count( [out, retval] LONG *retval );
00467 }
00468 
00469 [
00470     object,
00471     oleautomation,
00472     dual,
00473     nonextensible,
00474     uuid(46297823-9940-4c09-aed9-cd3ea6d05968),
00475     pointer_default(unique)
00476 ]
00477 interface IUpdateIdentity : IDispatch
00478 {
00479     [propget, id(0x60020002)]
00480     HRESULT RevisionNumber( [out, retval] LONG *retval );
00481 
00482     [propget, id(0x60020003)]
00483     HRESULT UpdateID( [out, retval] BSTR *retval );
00484 }
00485 
00486 [
00487     ,
00488     object,
00489     oleautomation,
00490     dual,
00491     nonextensible,
00492     uuid(d9a59339-e245-4dbd-9686-4d5763e39624),
00493     pointer_default(unique),
00494 ]
00495 interface IInstallationBehavior : IDispatch
00496 {
00497     [propget, id(0x60020001)]
00498     HRESULT CanRequestUserInput( [out, retval] VARIANT_BOOL *retval );
00499 
00500     [propget, id(0x60020002)]
00501     HRESULT Impact( [out, retval] InstallationImpact *retval );
00502 
00503     [propget, id(0x60020003)]
00504     HRESULT RebootBehavior( [out, retval] InstallationRebootBehavior *retval );
00505 
00506     [propget, id(0x60020004)]
00507     HRESULT RequiresNetworkConnectivity( [out, retval] VARIANT_BOOL *retval );
00508 }
00509 
00510 [
00511     object,
00512     oleautomation,
00513     dual,
00514     nonextensible,
00515     uuid(54a2cb2d-9a0c-48b6-8a50-9abb69ee2d02),
00516     pointer_default(unique),
00517 ]
00518 interface IUpdateDownloadContent : IDispatch
00519 {
00520     [propget, id(0x60020001)]
00521     HRESULT DownloadUrl( [out, retval] BSTR *retval );
00522 }
00523 
00524 [
00525     object,
00526     oleautomation,
00527     dual,
00528     nonextensible,
00529     uuid(bc5513c8-b3b8-4bf7-a4d4-361c0d8c88ba),
00530     pointer_default(unique),
00531 ]
00532 interface IUpdateDownloadContentCollection : IDispatch
00533 {
00534     [propget, id(DISPID_VALUE)]
00535     HRESULT Item( [in] LONG index,
00536                   [out, retval] IUpdateDownloadContent **retval );
00537 
00538     [propget, id(DISPID_NEWENUM)]
00539     HRESULT _NewEnum( [out, retval] IUnknown **retval );
00540 
00541     [propget, id(0x60020001)]
00542     HRESULT Count( [out, retval] LONG *retval );
00543 }
00544 
00545 [
00546 
00547     object,
00548     oleautomation,
00549     dual,
00550     nonextensible,
00551     uuid(6a92b07a-d821-4682-b423-5c805022cc4d),
00552     pointer_default(unique),
00553 ]
00554 interface IUpdate : IDispatch
00555 {
00556     [propget, id(DISPID_VALUE)]
00557     HRESULT Title( [out, retval] BSTR *retval );
00558 
00559     [propget, id(0x60020001)]
00560     HRESULT AutoSelectOnWebSites( [out, retval] VARIANT_BOOL *retval );
00561 
00562     [propget, id(0x60020002)]
00563     HRESULT BundledUpdates( [out, retval] IUpdateCollection **retval );
00564 
00565     [propget, id(0x60020003)]
00566     HRESULT CanRequireSource( [out, retval] VARIANT_BOOL *retval );
00567 
00568     [propget, id(0x60020004)]
00569     HRESULT Categories( [out, retval] ICategoryCollection **retval );
00570 
00571     [propget, id(0x60020005)]
00572     HRESULT Deadline( [out, retval] VARIANT *retval );
00573 
00574     [propget, id(0x60020006)]
00575     HRESULT DeltaCompressedContentAvailable( [out, retval] VARIANT_BOOL *retval );
00576 
00577     [propget, id(0x60020007)]
00578     HRESULT DeltaCompressedContentPreferred( [out, retval] VARIANT_BOOL *retval );
00579 
00580     [propget, id(0x60020008)]
00581     HRESULT Description( [out, retval] BSTR *retval );
00582 
00583     [propget, id(0x60020009)]
00584     HRESULT EulaAccepted( [out, retval] VARIANT_BOOL *retval );
00585 
00586     [propget, id(0x6002000a)]
00587     HRESULT EulaText( [out, retval] BSTR *retval );
00588 
00589     [propget, id(0x6002000b)]
00590     HRESULT HandlerID( [out, retval] BSTR *retval );
00591 
00592     [propget, id(0x6002000c)]
00593     HRESULT Identity( [out, retval] IUpdateIdentity **retval );
00594 
00595     [propget, id(0x6002000d)]
00596     HRESULT Image( [out, retval] IImageInformation **retval );
00597 
00598     [propget, id(0x6002000e)]
00599     HRESULT InstallationBehavior( [out, retval] IInstallationBehavior **retval );
00600 
00601     [propget, id(0x6002000f)]
00602     HRESULT IsBeta( [out, retval] VARIANT_BOOL *retval );
00603 
00604     [propget, id(0x60020010)]
00605     HRESULT IsDownloaded( [out, retval] VARIANT_BOOL *retval );
00606 
00607     [propget, id(0x60020011)]
00608     HRESULT IsHidden( [out, retval] VARIANT_BOOL *retval );
00609 
00610     [propput, id(0x60020011)]
00611     HRESULT IsHidden( [in] VARIANT_BOOL value );
00612 
00613     [propget, id(0x60020012)]
00614     HRESULT IsInstalled( [out, retval] VARIANT_BOOL *retval );
00615 
00616     [propget, id(0x60020013)]
00617     HRESULT IsMandatory( [out, retval] VARIANT_BOOL *retval );
00618 
00619     [propget, id(0x60020014)]
00620     HRESULT IsUninstallable( [out, retval] VARIANT_BOOL *retval );
00621 
00622     [propget, id(0x60020015)]
00623     HRESULT Languages( [out, retval] IStringCollection **retval );
00624 
00625     [propget, id(0x60020016)]
00626     HRESULT LastDeploymentChangeTime( [out, retval] DATE *retval );
00627 
00628     [propget, id(0x60020017)]
00629     HRESULT MaxDownloadSize( [out, retval] DECIMAL *retval );
00630 
00631     [propget, id(0x60020018)]
00632     HRESULT MinDownloadSize( [out, retval] DECIMAL *retval );
00633 
00634     [propget, id(0x60020019)]
00635     HRESULT MoreInfoUrls( [out, retval] IStringCollection **retval );
00636 
00637     [propget, id(0x6002001a)]
00638     HRESULT MsrcSeverity( [out, retval] BSTR *retval );
00639 
00640     [propget, id(0x6002001b)]
00641     HRESULT RecommendedCpuSpeed( [out, retval] LONG *retval );
00642 
00643     [propget, id(0x6002001c)]
00644     HRESULT RecommendedHardDiskSpace( [out, retval] LONG *retval );
00645 
00646     [propget, id(0x6002001d)]
00647     HRESULT RecommendedMemory( [out, retval] LONG *retval );
00648 
00649     [propget, id(0x6002001e)]
00650     HRESULT ReleaseNotes( [out, retval] BSTR *retval );
00651 
00652     [propget, id(0x6002001f)]
00653     HRESULT SecurityBulletinIDs( [out, retval] IStringCollection **retval );
00654 
00655     [propget, id(0x60020021)]
00656     HRESULT SupersededUpdateIDs( [out, retval] IStringCollection **retval );
00657 
00658     [propget, id(0x60020022)]
00659     HRESULT SupportUrl( [out, retval] BSTR *retval );
00660 
00661     [propget, id(0x60020023)]
00662     HRESULT Type( [out, retval] UpdateType *retval );
00663 
00664     [propget, id(0x60020024)]
00665     HRESULT UninstallationNotes( [out, retval] BSTR *retval );
00666 
00667     [propget, id(0x60020025)]
00668     HRESULT UninstallationBehavior( [out, retval] IInstallationBehavior **retval );
00669 
00670     [propget, id(0x60020026)]
00671     HRESULT UninstallationSteps( [out, retval] IStringCollection **retval );
00672 
00673     [propget, id(0x60020028)]
00674     HRESULT KBArticleIDs( [out, retval] IStringCollection **retval );
00675 
00676     [id(0x60020027)]
00677     HRESULT AcceptEula();
00678 
00679     [propget, id(0x60020029)]
00680     HRESULT DeploymentAction( [out, retval] DeploymentAction *retval );
00681 
00682     [id(0x6002002a)]
00683     HRESULT CopyFromCache( [in, ref] BSTR path,
00684                            [in] VARIANT_BOOL toExtractCabFiles );
00685 
00686     [propget, id(0x6002002b)]
00687     HRESULT DownloadPriority( [out, retval] DownloadPriority *retval );
00688 
00689     [propget, id(0x6002002c)]
00690     HRESULT DownloadContents( [out, retval] IUpdateDownloadContentCollection **retval );
00691 }
00692 
00693 [
00694 
00695     object,
00696     oleautomation,
00697     dual,
00698     nonextensible,
00699     uuid(07f7438c-7709-4ca5-b518-91279288134e),
00700     pointer_default(unique),
00701     hidden
00702 ]
00703 interface IUpdateCollection : IDispatch
00704 {
00705     [propget, id(DISPID_VALUE)]
00706     HRESULT Item( [in] LONG index,
00707                   [out, retval] IUpdate **retval );
00708 
00709     [propput, id(DISPID_VALUE)]
00710     HRESULT Item( [in] LONG index,
00711                   [in] IUpdate *value );
00712 
00713     [propget, id(DISPID_NEWENUM)]
00714     HRESULT _NewEnum( [out, retval] IUnknown **retval );
00715 
00716     [propget, id(0x60020001)]
00717     HRESULT Count( [out, retval] LONG *retval );
00718 
00719     [propget, id(0x60020002)]
00720     HRESULT ReadOnly( [out, retval] VARIANT_BOOL *retval );
00721 
00722     [id(0x60020003)]
00723     HRESULT Add( [in] IUpdate *value,
00724                  [out, retval] LONG *retval );
00725 
00726     [id(0x60020004)]
00727     HRESULT Clear();
00728 
00729     [id(0x60020005)]
00730     HRESULT Copy( [out, retval] IUpdateCollection **retval );
00731 
00732     [id(0x60020006)]
00733     HRESULT Insert( [in] LONG index,
00734                 [in] IUpdate *value );
00735 
00736     [id(0x60020007)]
00737     HRESULT RemoveAt( [in] LONG index );
00738 }
00739 
00740 [
00741     object,
00742     oleautomation,
00743     dual,
00744     nonextensible,
00745     uuid(7366ea16-7a1a-4ea2-b042-973d3e9cd99b),
00746     pointer_default(unique),
00747 ]
00748 interface ISearchJob : IDispatch
00749 {
00750     [propget, id(0x60020001)]
00751     HRESULT AsyncState( [out, retval] VARIANT *retval );
00752 
00753     [propget, id(0x60020002)]
00754     HRESULT IsCompleted( [out, retval] VARIANT_BOOL *retval );
00755 
00756     [id(0x60020003)]
00757     HRESULT CleanUp();
00758 
00759     [id(0x60020004)]
00760     HRESULT RequestAbort();
00761 }
00762 
00763 [
00764     object,
00765     oleautomation,
00766     dual,
00767     nonextensible,
00768     uuid(d40cff62-e08c-4498-941a-01e25f0fd33c),
00769     pointer_default(unique),
00770 ]
00771 interface ISearchResult : IDispatch
00772 {
00773     [propget, id(0x60020001)]
00774     HRESULT ResultCode( [out, retval] OperationResultCode *retval );
00775 
00776     [propget, id(0x60020002)]
00777     HRESULT RootCategories( [out, retval] ICategoryCollection **retval );
00778 
00779     [propget, id(0x60020003)]
00780     HRESULT Updates( [out, retval] IUpdateCollection **retval );
00781 
00782     [propget, id(0x60020004)]
00783     HRESULT Warnings( [out, retval] IUpdateExceptionCollection **retval );
00784 }
00785 
00786 [
00787     object,
00788     oleautomation,
00789     dual,
00790     nonextensible,
00791     uuid(be56a644-af0e-4e0e-a311-c1d8e695cbff),
00792     pointer_default(unique),
00793 ]
00794 interface IUpdateHistoryEntry : IDispatch
00795 {
00796     [propget, id(0x60020001)]
00797     HRESULT Operation( [out, retval] UpdateOperation *retval );
00798 
00799     [propget, id(0x60020002)]
00800     HRESULT ResultCode( [out, retval] OperationResultCode *retval );
00801 
00802     [propget, id(0x60020003)]
00803     HRESULT HResult( [out, retval] LONG *retval );
00804 
00805     [propget, id(0x60020004)]
00806     HRESULT Date( [out, retval] DATE *retval );
00807 
00808     [propget, id(0x60020005)]
00809     HRESULT UpdateIdentity( [out, retval] IUpdateIdentity **retval );
00810 
00811     [propget, id(0x60020006)]
00812     HRESULT Title( [out, retval] BSTR *retval );
00813 
00814     [propget, id(0x60020007)]
00815     HRESULT Description( [out, retval] BSTR *retval );
00816 
00817     [propget, id(0x60020008)]
00818     HRESULT UnmappedResultCode( [out, retval] LONG *retval );
00819 
00820     [propget, id(0x60020009)]
00821     HRESULT ClientApplicationID( [out, retval] BSTR *retval );
00822 
00823     [propget, id(0x6002000a)]
00824     HRESULT ServerSelection( [out, retval] ServerSelection *retval );
00825 
00826     [propget, id(0x6002000b)]
00827     HRESULT ServiceID( [out, retval] BSTR *retval );
00828 
00829     [propget, id(0x6002000c)]
00830     HRESULT UninstallationSteps( [out, retval] IStringCollection **retval );
00831 
00832     [propget, id(0x6002000d)]
00833     HRESULT UninstallationNotes( [out, retval] BSTR *retval );
00834 
00835     [propget, id(0x6002000e)]
00836     HRESULT SupportUrl( [out, retval] BSTR *retval );
00837 }
00838 
00839 [
00840     object,
00841     oleautomation,
00842     dual,
00843     nonextensible,
00844     uuid(a7f04f3c-a290-435b-aadf-a116c3357a5c),
00845     pointer_default(unique),
00846 ]
00847 interface IUpdateHistoryEntryCollection : IDispatch
00848 {
00849     [propget, id(DISPID_VALUE)]
00850     HRESULT Item( [in] LONG index,
00851                   [out, retval] IUpdateHistoryEntry **retval );
00852 
00853     [propget, id(DISPID_NEWENUM)]
00854     HRESULT _NewEnum( [out, retval] IUnknown **retval );
00855 
00856     [propget, id(0x60020001)]
00857     HRESULT Count( [out, retval] LONG *retval );
00858 }
00859 
00860 [
00861     object,
00862     uuid(8f45abf1-f9ae-4b95-a933-f0f66e5056ea),
00863     oleautomation,
00864     dual,
00865     nonextensible,
00866     pointer_default(unique),
00867 ]
00868 interface IUpdateSearcher : IDispatch
00869 {
00870     [propget]
00871     HRESULT CanAutomaticallyUpgradeService(
00872         [out, retval] VARIANT_BOOL *retval);
00873 
00874     [propput]
00875     HRESULT CanAutomaticallyUpgradeService(
00876         [in] VARIANT_BOOL value);
00877 
00878     [propget]
00879     HRESULT ClientApplicationID(
00880         [out, retval] BSTR *retval);
00881 
00882     [propput]
00883     HRESULT ClientApplicationID(
00884         [in] BSTR value);
00885 
00886     [propget]
00887     HRESULT IncludePotentiallySupersededUpdates(
00888         [out, retval] VARIANT_BOOL *retval);
00889 
00890     [propput]
00891     HRESULT IncludePotentiallySupersededUpdates(
00892         [in] VARIANT_BOOL value);
00893 
00894     [propget]
00895     HRESULT ServerSelection(
00896         [out, retval] ServerSelection *retval);
00897 
00898     [propput]
00899     HRESULT ServerSelection(
00900         [in] ServerSelection value);
00901 
00902     HRESULT BeginSearch(
00903         [in] BSTR criteria,
00904         [in] IUnknown *onCompleted,
00905         [in] VARIANT state,
00906         [out, retval] ISearchJob **retval);
00907 
00908     HRESULT EndSearch(
00909         [in] ISearchJob *searchJob,
00910         [out, retval] ISearchResult **retval);
00911 
00912     HRESULT EscapeString(
00913         [in] BSTR unescaped,
00914         [out, retval] BSTR *retval);
00915 
00916     HRESULT QueryHistory(
00917         [in] LONG startIndex,
00918         [in] LONG count,
00919         [out, retval] IUpdateHistoryEntryCollection **retval);
00920 
00921     HRESULT Search(
00922         [in] BSTR criteria,
00923         [out, retval] ISearchResult **retval);
00924 
00925     [propget]
00926     HRESULT Online(
00927         [out, retval] VARIANT_BOOL *retval);
00928 
00929     [propput]
00930     HRESULT Online(
00931         [in] VARIANT_BOOL value);
00932 
00933     HRESULT GetTotalHistoryCount(
00934         [out, retval] LONG *retval);
00935 
00936     [propget]
00937     HRESULT ServiceID(
00938         [out, retval] BSTR *retval);
00939 
00940     [propput]
00941     HRESULT ServiceID(
00942         [in] BSTR value);
00943 }
00944 
00945 [
00946     object,
00947     oleautomation,
00948     dual,
00949     nonextensible,
00950     uuid(bf99af76-b575-42ad-8aa4-33cbb5477af1),
00951     pointer_default(unique),
00952 ]
00953 interface IUpdateDownloadResult : IDispatch
00954 {
00955     [propget, id(0x60020001)]
00956     HRESULT HResult( [out, retval] LONG *retval );
00957 
00958     [propget, id(0x60020002)]
00959     HRESULT ResultCode( [out, retval] OperationResultCode *retval );
00960 }
00961 
00962 [
00963     object,
00964     oleautomation,
00965     dual,
00966     nonextensible,
00967     uuid(d31a5bac-f719-4178-9dbb-5e2cb47fd18a),
00968     pointer_default(unique),
00969 ]
00970 interface IDownloadProgress : IDispatch
00971 {
00972     [propget, id(0x60020001)]
00973     HRESULT CurrentUpdateBytesDownloaded( [out, retval] DECIMAL *retval );
00974 
00975     [propget, id(0x60020002)]
00976     HRESULT CurrentUpdateBytesToDownload( [out, retval] DECIMAL *retval );
00977 
00978     [propget, id(0x60020003)]
00979     HRESULT CurrentUpdateIndex( [out, retval] LONG *retval );
00980 
00981     [propget, id(0x60020004)]
00982     HRESULT PercentComplete( [out, retval] LONG *retval );
00983 
00984     [propget, id(0x60020005)]
00985     HRESULT TotalBytesDownloaded( [out, retval] DECIMAL *retval );
00986 
00987     [propget, id(0x60020006)]
00988     HRESULT TotalBytesToDownload( [out, retval] DECIMAL *retval );
00989 
00990     [id(0x60020007)]
00991     HRESULT GetUpdateResult( [in] LONG updateIndex,
00992                              [out, retval] IUpdateDownloadResult **retval );
00993 
00994 
00995     [propget, id(0x60020008)]
00996     HRESULT CurrentUpdateDownloadPhase( [out, retval] DownloadPhase *retval );
00997 
00998     [propget, id(0x60020009)]
00999     HRESULT CurrentUpdatePercentComplete( [out, retval] LONG *retval );
01000 }
01001 
01002 [
01003     object,
01004     oleautomation,
01005     dual,
01006     nonextensible,
01007     uuid(c574de85-7358-43f6-aae8-8697e62d8ba7),
01008     pointer_default(unique),
01009 ]
01010 interface IDownloadJob : IDispatch
01011 {
01012     [propget, id(0x60020001)]
01013     HRESULT AsyncState( [out, retval] VARIANT *retval );
01014 
01015     [propget, id(0x60020002)]
01016     HRESULT IsCompleted( [out, retval] VARIANT_BOOL *retval );
01017 
01018     [propget, id(0x60020003)]
01019     HRESULT Updates( [out, retval] IUpdateCollection **retval );
01020 
01021     [id(0x60020004)]
01022     HRESULT CleanUp();
01023 
01024     [id(0x60020005)]
01025     HRESULT GetProgress( [out, retval] IDownloadProgress **retval );
01026 
01027     [id(0x60020006)]
01028     HRESULT RequestAbort();
01029 }
01030 
01031 [
01032     object,
01033     oleautomation,
01034     dual,
01035     nonextensible,
01036     uuid(daa4fdd0-4727-4dbe-a1e7-745dca317144),
01037     pointer_default(unique),
01038 ]
01039 interface IDownloadResult : IDispatch
01040 {
01041     [propget, id(0x60020001)]
01042     HRESULT HResult( [out, retval] LONG *retval );
01043 
01044     [propget, id(0x60020002)]
01045     HRESULT ResultCode( [out, retval] OperationResultCode *retval );
01046 
01047     [id(0x60020003)]
01048     HRESULT GetUpdateResult( [in] LONG updateIndex,
01049                              [out, retval] IUpdateDownloadResult **retval );
01050 }
01051 
01052 [
01053     object,
01054     uuid(68f1c6f9-7ecc-4666-a464-247fe12496c3),
01055     oleautomation,
01056     dual,
01057     nonextensible,
01058     pointer_default(unique),
01059     hidden
01060 ]
01061 interface IUpdateDownloader : IDispatch
01062 {
01063     [propget]
01064     HRESULT ClientApplicationID(
01065         [out, retval] BSTR *retval);
01066 
01067     [propput]
01068     HRESULT ClientApplicationID(
01069         [in] BSTR value);
01070 
01071     [propget]
01072     HRESULT IsForced(
01073         [out, retval] VARIANT_BOOL *retval);
01074 
01075     [propput]
01076     HRESULT IsForced(
01077         [in] VARIANT_BOOL value);
01078 
01079     [propget]
01080     HRESULT Priority(
01081         [out, retval] DownloadPriority *retval);
01082 
01083     [propput]
01084     HRESULT Priority(
01085         [in] DownloadPriority value);
01086 
01087     [propget]
01088     HRESULT Updates(
01089         [out, retval] IUpdateCollection **retval);
01090 
01091     [propput]
01092     HRESULT Updates(
01093         [in] IUpdateCollection *value);
01094 
01095     HRESULT BeginDownload(
01096         [in] IUnknown *onProgressChanged,
01097         [in] IUnknown *onCompleted,
01098         [in] VARIANT state,
01099         [out, retval] IDownloadJob **retval);
01100 
01101     HRESULT Download(
01102         [out, retval] IDownloadResult **retval);
01103 
01104     HRESULT EndDownload(
01105         [in] IDownloadJob *value,
01106         [out, retval] IDownloadResult **retval);
01107 }
01108 
01109 [
01110     object,
01111     oleautomation,
01112     dual,
01113     nonextensible,
01114     uuid(d940f0f8-3cbb-4fd0-993f-471e7f2328ad),
01115     pointer_default(unique),
01116 ]
01117 interface IUpdateInstallationResult : IDispatch
01118 {
01119     [propget, id(0x60020001)]
01120     HRESULT HResult( [out, retval] LONG *retval );
01121 
01122     [propget, id(0x60020002)]
01123     HRESULT RebootRequired( [out, retval] VARIANT_BOOL *retval );
01124 
01125     [propget, id(0x60020003)]
01126     HRESULT ResultCode( [out, retval] OperationResultCode *retval );
01127 }
01128 
01129 [
01130     object,
01131     oleautomation,
01132     dual,
01133     nonextensible,
01134     uuid(345c8244-43a3-4e32-a368-65f073b76f36),
01135     pointer_default(unique),
01136 ]
01137 interface IInstallationProgress : IDispatch
01138 {
01139     [propget, id(0x60020001)]
01140     HRESULT CurrentUpdateIndex( [out, retval] LONG *retval );
01141 
01142     [propget, id(0x60020002)]
01143     HRESULT CurrentUpdatePercentComplete( [out, retval] LONG *retval );
01144 
01145     [propget, id(0x60020003)]
01146     HRESULT PercentComplete( [out, retval] LONG *retval );
01147 
01148     [id(0x60020004)]
01149     HRESULT GetUpdateResult( [in] LONG updateIndex,
01150                              [out, retval] IUpdateInstallationResult **retval );
01151 }
01152 
01153 [
01154     object,
01155     oleautomation,
01156     dual,
01157     nonextensible,
01158     uuid(5c209f0b-bad5-432a-9556-4699bed2638a),
01159     pointer_default(unique),
01160 ]
01161 interface IInstallationJob : IDispatch
01162 {
01163     [propget, id(0x60020001)]
01164     HRESULT AsyncState( [out, retval] VARIANT *retval );
01165 
01166     [propget, id(0x60020002)]
01167     HRESULT IsCompleted( [out, retval] VARIANT_BOOL *retval );
01168 
01169     [propget, id(0x60020003)]
01170     HRESULT Updates( [out, retval] IUpdateCollection **retval );
01171 
01172     [id(0x60020004)]
01173     HRESULT CleanUp();
01174 
01175     [id(0x60020005)]
01176     HRESULT GetProgress( [out, retval] IInstallationProgress **retval );
01177 
01178     [id(0x60020006)]
01179     HRESULT RequestAbort();
01180 }
01181 
01182 [
01183     object,
01184     oleautomation,
01185     dual,
01186     nonextensible,
01187     uuid(a43c56d6-7451-48d4-af96-b6cd2d0d9b7a),
01188     pointer_default(unique),
01189 ]
01190 interface IInstallationResult : IDispatch
01191 {
01192     [propget, id(0x60020001)]
01193     HRESULT HResult( [out, retval] LONG *retval );
01194 
01195     [propget, id(0x60020002)]
01196     HRESULT RebootRequired( [out, retval] VARIANT_BOOL *retval );
01197 
01198     [propget, id(0x60020003)]
01199     HRESULT ResultCode( [out, retval] OperationResultCode *retval );
01200 
01201     [id(0x60020004)]
01202     HRESULT GetUpdateResult( [in] LONG updateIndex,
01203                              [out, retval] IUpdateInstallationResult **retval );
01204 }
01205 
01206 [
01207     object,
01208     uuid(7b929c68-ccdc-4226-96b1-8724600b54c2),
01209     oleautomation,
01210     dual,
01211     nonextensible,
01212     pointer_default(unique),
01213 ]
01214 interface IUpdateInstaller : IDispatch
01215 {
01216     [propget]
01217     HRESULT ClientApplicationID(
01218         [out, retval] BSTR *retval);
01219 
01220     [propput]
01221     HRESULT ClientApplicationID(
01222         [in] BSTR value);
01223 
01224     [propget]
01225     HRESULT IsForced(
01226         [out, retval] VARIANT_BOOL *retval);
01227 
01228     [propput]
01229     HRESULT IsForced(
01230         [in] VARIANT_BOOL value);
01231 
01232     [propget, restricted]
01233     HRESULT ParentHwnd(
01234         [out, retval] HWND *retval);
01235 
01236     [propput, restricted]
01237     HRESULT ParentHwnd(
01238         [in, unique] HWND value);
01239 
01240     [propput]
01241     HRESULT ParentWindow(
01242         [in, unique] IUnknown *value);
01243 
01244     [propget]
01245     HRESULT ParentWindow(
01246         [out, retval] IUnknown **retval);
01247 
01248     [propget]
01249     HRESULT Updates(
01250         [out, retval] IUpdateCollection **retval);
01251 
01252     [propput]
01253     HRESULT Updates(
01254         [in] IUpdateCollection *value);
01255 
01256     HRESULT BeginInstall(
01257         [in] IUnknown *onProgressChanged,
01258         [in] IUnknown *onCompleted,
01259         [in] VARIANT state,
01260         [out, retval] IInstallationJob **retval);
01261 
01262     HRESULT BeginUninstall(
01263         [in] IUnknown *onProgressChanged,
01264         [in] IUnknown *onCompleted,
01265         [in] VARIANT state,
01266         [out, retval] IInstallationJob **retval);
01267 
01268     HRESULT EndInstall(
01269         [in] IInstallationJob *value,
01270         [out, retval] IInstallationResult **retval);
01271 
01272     HRESULT EndUninstall(
01273         [in] IInstallationJob *value,
01274         [out, retval] IInstallationResult **retval);
01275 
01276     HRESULT Install(
01277         [out, retval] IInstallationResult **retval);
01278 
01279     HRESULT RunWizard(
01280         [in, defaultvalue("")] BSTR dialogTitle,
01281         [out, retval] IInstallationResult **retval);
01282 
01283     [propget]
01284     HRESULT IsBusy(
01285         [out, retval] VARIANT_BOOL *retval);
01286 
01287     HRESULT Uninstall(
01288         [out, retval] IInstallationResult **retval);
01289 
01290     [propget]
01291     HRESULT AllowSourcePrompts(
01292         [out, retval] VARIANT_BOOL *retval);
01293 
01294     [propput]
01295     HRESULT AllowSourcePrompts(
01296         [in] VARIANT_BOOL value);
01297 
01298     [propget]
01299     HRESULT RebootRequiredBeforeInstallation(
01300         [out, retval] VARIANT_BOOL *retval);
01301 }
01302 
01303 [
01304     helpstring("AutomaticUpdates Class"),
01305     threading(both),
01306     progid("Microsoft.Update.AutoUpdate.1"),
01307     vi_progid("Microsoft.Update.AutoUpdate"),
01308     uuid(bfe18e9c-6d87-4450-b37c-e02f0b373803)
01309 ]
01310 coclass AutomaticUpdates { interface IAutomaticUpdates; }
01311 
01312 [
01313     helpstring("UpdateSession Class"),
01314     threading(both),
01315     progid("Microsoft.Update.Session.1"),
01316     vi_progid("Microsoft.Update.Session"),
01317     uuid(4cb43d7f-7eee-4906-8698-60da1c38f2fe)
01318 ]
01319 coclass UpdateSession { interface IUpdateSession; }
01320 
01321 } /* WUApiLib */

Generated on Fri May 25 2012 04:31:29 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.