123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648 |
- //=======================================================================
- //
- // (C) Copyright 2003-2004 Microsoft Corporation. All Rights Reserved.
- //
- // File: wuapi.idl
- //
- // Contents: Windows Update Services Client Interfaces.
- //
- //=======================================================================
- cpp_quote("//=--------------------------------------------------------------------------=")
- cpp_quote("// wuapi.h")
- cpp_quote("//=--------------------------------------------------------------------------=")
- cpp_quote("// (C) Copyright 2003-2004 Microsoft Corporation. All Rights Reserved.")
- cpp_quote("//")
- cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
- cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
- cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
- cpp_quote("// PARTICULAR PURPOSE.")
- cpp_quote("//=--------------------------------------------------------------------------=")
- cpp_quote("")
- cpp_quote("#pragma comment(lib, \"wuguid.lib\")")
- cpp_quote("")
- cpp_quote("//--------------------------------------------------------------------------")
- cpp_quote("// Windows Update Services Client Interfaces.")
- cpp_quote("// --------------------------------------------------------------------------------")
- cpp_quote("// GUIDS")
- cpp_quote("// --------------------------------------------------------------------------------")
- cpp_quote("// {B596CC9F-56E5-419E-A622-E01BB457431E}")
- cpp_quote("DEFINE_GUID(LIBID_WUApiLib,0xB596CC9F,0x56E5,0x419E,0xA6,0x22,0xE0,0x1B,0xB4,0x57,0x43,0x1E);")
- cpp_quote("")
- cpp_quote("// {A976C28D-75A1-42AA-94AE-8AF8B872089A}")
- cpp_quote("DEFINE_GUID(IID_IUpdateLockdown,0xa976c28d,0x75a1,0x42aa,0x94,0xae,0x8a,0xf8,0xb8,0x72,0x08,0x9a);")
- cpp_quote("")
- cpp_quote("// {EFF90582-2DDC-480F-A06D-60F3FBC362C3}")
- cpp_quote("DEFINE_GUID(IID_IStringCollection,0xeff90582,0x2ddc,0x480f,0xa0,0x6d,0x60,0xf3,0xfb,0xc3,0x62,0xc3);")
- cpp_quote("")
- cpp_quote("// {174C81FE-AECD-4DAE-B8A0-2C6318DD86A8}")
- cpp_quote("DEFINE_GUID(IID_IWebProxy,0x174c81fe,0xaecd,0x4dae,0xb8,0xa0,0x2c,0x63,0x18,0xdd,0x86,0xa8);")
- cpp_quote("")
- cpp_quote("// {ADE87BF7-7B56-4275-8FAB-B9B0E591844B}")
- cpp_quote("DEFINE_GUID(IID_ISystemInformation,0xade87bf7,0x7b56,0x4275,0x8f,0xab,0xb9,0xb0,0xe5,0x91,0x84,0x4b);")
- cpp_quote("")
- cpp_quote("// {2EE48F22-AF3C-405F-8970-F71BE12EE9A2}")
- cpp_quote("DEFINE_GUID(IID_IAutomaticUpdatesSettings,0x2ee48f22,0xaf3c,0x405f,0x89,0x70,0xf7,0x1b,0xe1,0x2e,0xe9,0xa2);")
- cpp_quote("")
- cpp_quote("// {673425BF-C082-4C7C-BDFD-569464B8E0CE}")
- cpp_quote("DEFINE_GUID(IID_IAutomaticUpdates,0x673425bf,0xc082,0x4c7c,0xbd,0xfd,0x56,0x94,0x64,0xb8,0xe0,0xce);")
- cpp_quote("")
- cpp_quote("// {46297823-9940-4C09-AED9-CD3EA6D05968}")
- cpp_quote("DEFINE_GUID(IID_IUpdateIdentity,0x46297823,0x9940,0x4c09,0xae,0xd9,0xcd,0x3e,0xa6,0xd0,0x59,0x68);")
- cpp_quote("")
- cpp_quote("// {7C907864-346C-4AEB-8F3F-57DA289F969F}")
- cpp_quote("DEFINE_GUID(IID_IImageInformation,0x7c907864,0x346c,0x4aeb,0x8f,0x3f,0x57,0xda,0x28,0x9f,0x96,0x9f);")
- cpp_quote("")
- cpp_quote("// {81DDC1B8-9D35-47A6-B471-5B80F519223B}")
- cpp_quote("DEFINE_GUID(IID_ICategory,0x81ddc1b8,0x9d35,0x47a6,0xb4,0x71,0x5b,0x80,0xf5,0x19,0x22,0x3b);")
- cpp_quote("")
- cpp_quote("// {3A56BFB8-576C-43F7-9335-FE4838FD7E37}")
- cpp_quote("DEFINE_GUID(IID_ICategoryCollection,0x3a56bfb8,0x576c,0x43f7,0x93,0x35,0xfe,0x48,0x38,0xfd,0x7e,0x37);")
- cpp_quote("")
- cpp_quote("// {D9A59339-E245-4DBD-9686-4D5763E39624}")
- cpp_quote("DEFINE_GUID(IID_IInstallationBehavior,0xd9a59339,0xe245,0x4dbd,0x96,0x86,0x4d,0x57,0x63,0xe3,0x96,0x24);")
- cpp_quote("")
- cpp_quote("// {6A92B07A-D821-4682-B423-5C805022CC4D}")
- cpp_quote("DEFINE_GUID(IID_IUpdate,0x6a92b07a,0xd821,0x4682,0xb4,0x23,0x5c,0x80,0x50,0x22,0xcc,0x4d);")
- cpp_quote("")
- cpp_quote("// {B383CD1A-5CE9-4504-9F63-764B1236F191}")
- cpp_quote("DEFINE_GUID(IID_IWindowsDriverUpdate,0xb383cd1a,0x5ce9,0x4504,0x9f,0x63,0x76,0x4b,0x12,0x36,0xf1,0x91);")
- cpp_quote("")
- cpp_quote("// {07F7438C-7709-4CA5-B518-91279288134E}")
- cpp_quote("DEFINE_GUID(IID_IUpdateCollection,0x07f7438c,0x7709,0x4ca5,0xb5,0x18,0x91,0x27,0x92,0x88,0x13,0x4e);")
- cpp_quote("")
- cpp_quote("// {A376DD5E-09D4-427F-AF7C-FED5B6E1C1D6}")
- cpp_quote("DEFINE_GUID(IID_IUpdateException,0xa376dd5e,0x09d4,0x427f,0xaf,0x7c,0xfe,0xd5,0xb6,0xe1,0xc1,0xd6);")
- cpp_quote("")
- cpp_quote("// {A37D00F5-7BB0-4953-B414-F9E98326F2E8}")
- cpp_quote("DEFINE_GUID(IID_IInvalidProductLicenseException,0xa37d00f5,0x7bb0,0x4953,0xb4,0x14,0xf9,0xe9,0x83,0x26,0xf2,0xe8);")
- cpp_quote("")
- cpp_quote("// {A37D00F5-7BB0-4953-B414-F9E98326F2E8}")
- cpp_quote("DEFINE_GUID(IID_IUpdateExceptionCollection,0x503626a3,0x8e14,0x4729,0x93,0x55,0x0f,0xe6,0x64,0xbd,0x23,0x21);")
- cpp_quote("")
- cpp_quote("// {D40CFF62-E08C-4498-941A-01E25F0FD33C}")
- cpp_quote("DEFINE_GUID(IID_ISearchResult,0xd40cff62,0xe08c,0x4498,0x94,0x1a,0x01,0xe2,0x5f,0x0f,0xd3,0x3c);")
- cpp_quote("")
- cpp_quote("// {7366EA16-7A1A-4EA2-B042-973D3E9CD99B}")
- cpp_quote("DEFINE_GUID(IID_ISearchJob,0x7366ea16,0x7a1a,0x4ea2,0xb0,0x42,0x97,0x3d,0x3e,0x9c,0xd9,0x9b);")
- cpp_quote("")
- cpp_quote("// {A700A634-2850-4C47-938A-9E4B6E5AF9A6}")
- cpp_quote("DEFINE_GUID(IID_ISearchCompletedCallbackArgs,0xa700a634,0x2850,0x4c47,0x93,0x8a,0x9e,0x4b,0x6e,0x5a,0xf9,0xa6);")
- cpp_quote("")
- cpp_quote("// {88AEE058-D4B0-4725-A2F1-814A67AE964C}")
- cpp_quote("DEFINE_GUID(IID_ISearchCompletedCallback,0x88aee058,0xd4b0,0x4725,0xa2,0xf1,0x81,0x4a,0x67,0xae,0x96,0x4c);")
- cpp_quote("")
- cpp_quote("// {BE56A644-AF0E-4E0E-A311-C1D8E695CBFF}")
- cpp_quote("DEFINE_GUID(IID_IUpdateHistoryEntry,0xbe56a644,0xaf0e,0x4e0e,0xa3,0x11,0xc1,0xd8,0xe6,0x95,0xcb,0xff);")
- cpp_quote("")
- cpp_quote("// {A7F04F3C-A290-435B-AADF-A116C3357A5C}")
- cpp_quote("DEFINE_GUID(IID_IUpdateHistoryEntryCollection,0xa7f04f3c,0xa290,0x435b,0xaa,0xdf,0xa1,0x16,0xc3,0x35,0x7a,0x5c);")
- cpp_quote("")
- cpp_quote("// {8F45ABF1-F9AE-4B95-A933-F0F66E5056EA}")
- cpp_quote("DEFINE_GUID(IID_IUpdateSearcher,0x8f45abf1,0xf9ae,0x4b95,0xa9,0x33,0xf0,0xf6,0x6e,0x50,0x56,0xea);")
- cpp_quote("")
- cpp_quote("// {BF99AF76-B575-42AD-8AA4-33CBB5477AF1}")
- cpp_quote("DEFINE_GUID(IID_IUpdateDownloadResult,0xbf99af76,0xb575,0x42ad,0x8a,0xa4,0x33,0xcb,0xb5,0x47,0x7a,0xf1);")
- cpp_quote("")
- cpp_quote("// {DAA4FDD0-4727-4DBE-A1E7-745DCA317144}")
- cpp_quote("DEFINE_GUID(IID_IDownloadResult,0xdaa4fdd0,0x4727,0x4dbe,0xa1,0xe7,0x74,0x5d,0xca,0x31,0x71,0x44);")
- cpp_quote("")
- cpp_quote("// {D31A5BAC-F719-4178-9DBB-5E2CB47FD18A}")
- cpp_quote("DEFINE_GUID(IID_IDownloadProgress,0xd31a5bac,0xf719,0x4178,0x9d,0xbb,0x5e,0x2c,0xb4,0x7f,0xd1,0x8a);")
- cpp_quote("")
- cpp_quote("// {C574DE85-7358-43F6-AAE8-8697E62D8BA7}")
- cpp_quote("DEFINE_GUID(IID_IDownloadJob,0xc574de85,0x7358,0x43f6,0xaa,0xe8,0x86,0x97,0xe6,0x2d,0x8b,0xa7);")
- cpp_quote("")
- cpp_quote("// {FA565B23-498C-47A0-979D-E7D5B1813360}")
- cpp_quote("DEFINE_GUID(IID_IDownloadCompletedCallbackArgs,0xfa565b23,0x498c,0x47a0,0x97,0x9d,0xe7,0xd5,0xb1,0x81,0x33,0x60);")
- cpp_quote("")
- cpp_quote("// {77254866-9F5B-4C8E-B9E2-C77A8530D64B}")
- cpp_quote("DEFINE_GUID(IID_IDownloadCompletedCallback,0x77254866,0x9f5b,0x4c8e,0xb9,0xe2,0xc7,0x7a,0x85,0x30,0xd6,0x4b);")
- cpp_quote("")
- cpp_quote("// {324FF2C6-4981-4B04-9412-57481745AB24}")
- cpp_quote("DEFINE_GUID(IID_IDownloadProgressChangedCallbackArgs,0x324ff2c6,0x4981,0x4b04,0x94,0x12,0x57,0x48,0x17,0x45,0xab,0x24);")
- cpp_quote("")
- cpp_quote("// {8C3F1CDD-6173-4591-AEBD-A56A53CA77C1}")
- cpp_quote("DEFINE_GUID(IID_IDownloadProgressChangedCallback,0x8c3f1cdd,0x6173,0x4591,0xae,0xbd,0xa5,0x6a,0x53,0xca,0x77,0xc1);")
- cpp_quote("")
- cpp_quote("// {68F1C6F9-7ECC-4666-A464-247FE12496C3}")
- cpp_quote("DEFINE_GUID(IID_IUpdateDownloader,0x68f1c6f9,0x7ecc,0x4666,0xa4,0x64,0x24,0x7f,0xe1,0x24,0x96,0xc3);")
- cpp_quote("")
- cpp_quote("// {D940F0F8-3CBB-4FD0-993F-471E7F2328AD}")
- cpp_quote("DEFINE_GUID(IID_IUpdateInstallationResult,0xd940f0f8,0x3cbb,0x4fd0,0x99,0x3f,0x47,0x1e,0x7f,0x23,0x28,0xad);")
- cpp_quote("")
- cpp_quote("// {A43C56D6-7451-48D4-AF96-B6CD2D0D9B7A}")
- cpp_quote("DEFINE_GUID(IID_IInstallationResult,0xa43c56d6,0x7451,0x48d4,0xaf,0x96,0xb6,0xcd,0x2d,0x0d,0x9b,0x7a);")
- cpp_quote("")
- cpp_quote("// {345C8244-43A3-4E32-A368-65F073B76F36}")
- cpp_quote("DEFINE_GUID(IID_IInstallationProgress,0x345c8244,0x43a3,0x4e32,0xa3,0x68,0x65,0xf0,0x73,0xb7,0x6f,0x36);")
- cpp_quote("")
- cpp_quote("// {5C209F0B-BAD5-432A-9556-4699BED2638A}")
- cpp_quote("DEFINE_GUID(IID_IInstallationJob,0x5c209f0b,0xbad5,0x432a,0x95,0x56,0x46,0x99,0xbe,0xd2,0x63,0x8a);")
- cpp_quote("")
- cpp_quote("// {250E2106-8EFB-4705-9653-EF13C581B6A1}")
- cpp_quote("DEFINE_GUID(IID_IInstallationCompletedCallbackArgs,0x250e2106,0x8efb,0x4705,0x96,0x53,0xef,0x13,0xc5,0x81,0xb6,0xa1);")
- cpp_quote("")
- cpp_quote("// {45F4F6F3-D602-4F98-9A8A-3EFA152AD2D3}")
- cpp_quote("DEFINE_GUID(IID_IInstallationCompletedCallback,0x45f4f6f3,0xd602,0x4f98,0x9a,0x8a,0x3e,0xfa,0x15,0x2a,0xd2,0xd3);")
- cpp_quote("")
- cpp_quote("// {E4F14E1E-689D-4218-A0B9-BC189C484A01}")
- cpp_quote("DEFINE_GUID(IID_IInstallationProgressChangedCallbackArgs,0xe4f14e1e,0x689d,0x4218,0xa0,0xb9,0xbc,0x18,0x9c,0x48,0x4a,0x01);")
- cpp_quote("")
- cpp_quote("// {E01402D5-F8DA-43BA-A012-38894BD048F1}")
- cpp_quote("DEFINE_GUID(IID_IInstallationProgressChangedCallback,0xe01402d5,0xf8da,0x43ba,0xa0,0x12,0x38,0x89,0x4b,0xd0,0x48,0xf1);")
- cpp_quote("")
- cpp_quote("// {7B929C68-CCDC-4226-96B1-8724600B54C2}")
- cpp_quote("DEFINE_GUID(IID_IUpdateInstaller,0x7b929c68,0xccdc,0x4226,0x96,0xb1,0x87,0x24,0x60,0x0b,0x54,0xc2);")
- cpp_quote("")
- cpp_quote("// {816858A4-260D-4260-933A-2585F1ABC76B}")
- cpp_quote("DEFINE_GUID(IID_IUpdateSession,0x816858a4,0x260d,0x4260,0x93,0x3a,0x25,0x85,0xf1,0xab,0xc7,0x6b);")
- cpp_quote("")
- cpp_quote("// {9F95119D-2FE8-4A9F-BF1E-D5ACB4699F3C}")
- cpp_quote("DEFINE_GUID(IID_IUpdateService,0x9f95119d,0x2fe8,0x4a9f,0xbf,0x1e,0xd5,0xac,0xb4,0x69,0x9f,0x3c);")
- cpp_quote("")
- cpp_quote("// {9B0353AA-0E52-44FF-B8B0-1F7FA0437F88}")
- cpp_quote("DEFINE_GUID(IID_IUpdateServiceCollection,0x9b0353aa,0x0e52,0x44ff,0xb8,0xb0,0x1f,0x7f,0xa0,0x43,0x7f,0x88);")
- cpp_quote("")
- cpp_quote("// {C165FA56-6F87-43AA-9D92-6CEBCC7BCFE4}")
- cpp_quote("DEFINE_GUID(IID_IUpdateServiceManager,0xc165fa56,0x6f87,0x43aa,0x9d,0x92,0x6c,0xeb,0xcc,0x7b,0xcf,0xe4);")
- cpp_quote("")
- cpp_quote("// {72C97D74-7C3B-40AE-B77D-ABDB22EBA6FB}")
- cpp_quote("DEFINE_GUID(CLSID_StringCollection,0x72C97D74,0x7C3B,0x40AE,0xB7,0x7D,0xAB,0xDB,0x22,0xEB,0xA6,0xFB);")
- cpp_quote("")
- cpp_quote("// {B699E5E8-67FF-4177-88B0-3684A3388BFB}")
- cpp_quote("DEFINE_GUID(CLSID_UpdateSearcher,0xB699E5E8,0x67FF,0x4177,0x88,0xB0,0x36,0x84,0xA3,0x38,0x8B,0xFB);")
- cpp_quote("")
- cpp_quote("// {650503cf-9108-4ddc-a2ce-6c2341e1c582}")
- cpp_quote("DEFINE_GUID(CLSID_WebProxy,0x650503cf,0x9108,0x4ddc,0xa2,0xce,0x6c,0x23,0x41,0xe1,0xc5,0x82);")
- cpp_quote("")
- cpp_quote("// {C01B9BA0-BEA7-41BA-B604-D0A36F469133}")
- cpp_quote("DEFINE_GUID(CLSID_SystemInformation,0xC01B9BA0,0xBEA7,0x41BA,0xB6,0x04,0xD0,0xA3,0x6F,0x46,0x91,0x33);")
- cpp_quote("")
- cpp_quote("// {BFE18E9C-6D87-4450-B37C-E02F0B373803}")
- cpp_quote("DEFINE_GUID(CLSID_AutomaticUpdates,0xBFE18E9C,0x6D87,0x4450,0xB3,0x7C,0xE0,0x2F,0x0B,0x37,0x38,0x03);")
- cpp_quote("")
- cpp_quote("// {13639463-00DB-4646-803D-528026140D88}")
- cpp_quote("DEFINE_GUID(CLSID_UpdateCollection,0x13639463,0x00DB,0x4646,0x80,0x3D,0x52,0x80,0x26,0x14,0x0D,0x88);")
- cpp_quote("")
- cpp_quote("// {5BAF654A-5A07-4264-A255-9FF54C7151E7}")
- cpp_quote("DEFINE_GUID(CLSID_UpdateDownloader,0x5BAF654A,0x5A07,0x4264,0xA2,0x55,0x9F,0xF5,0x4C,0x71,0x51,0xE7);")
- cpp_quote("")
- cpp_quote("// {D2E0FE7F-D23E-48E1-93C0-6FA8CC346474}")
- cpp_quote("DEFINE_GUID(CLSID_UpdateInstaller,0xD2E0FE7F,0xD23E,0x48E1,0x93,0xC0,0x6F,0xA8,0xCC,0x34,0x64,0x74);")
- cpp_quote("")
- cpp_quote("// {4CB43D7F-7EEE-4906-8698-60DA1C38F2FE}")
- cpp_quote("DEFINE_GUID(CLSID_UpdateSession,0x4CB43D7F,0x7EEE,0x4906,0x86,0x98,0x60,0xDA,0x1C,0x38,0xF2,0xFE);")
- cpp_quote("")
- cpp_quote("// {91353063-774C-4F84-B05B-498FEC7FBE25}")
- cpp_quote("DEFINE_GUID(CLSID_UpdateServiceManager,0x91353063,0x774C,0x4F84,0xB0,0x5B,0x49,0x8F,0xEC,0x7F,0xBE,0x25);")
- cpp_quote("")
- #ifndef DO_NO_IMPORTS
- import "oaidl.idl";
- #endif
- [
- helpstring(
- "Defines possible ways in which elevated users will be notified about "
- "Automatic Updates events."),
- v1_enum
- ]
- typedef [public] enum tagAutomaticUpdatesNotificationLevel
- {
- [helpstring("Not configured")] aunlNotConfigured = 0,
- [helpstring("Disabled")] aunlDisabled = 1,
- [helpstring("Notify before download")] aunlNotifyBeforeDownload = 2,
- [helpstring("Notify before installation")] aunlNotifyBeforeInstallation = 3,
- [helpstring("Scheduled installation")] aunlScheduledInstallation = 4,
- } AutomaticUpdatesNotificationLevel;
- [
- helpstring(
- "Defines possible day(s) of week when Automatic Updates may "
- "(un)install updates."),
- v1_enum
- ]
- typedef [public] enum tagAutomaticUpdatesScheduledInstallationDay
- {
- [helpstring("Every Day")] ausidEveryDay = 0,
- [helpstring("Every Sunday")] ausidEverySunday = 1,
- [helpstring("Every Monday")] ausidEveryMonday = 2,
- [helpstring("Every Tuesday")] ausidEveryTuesday = 3,
- [helpstring("Every Wednesday")] ausidEveryWednesday = 4,
- [helpstring("Every Thursday")] ausidEveryThursday = 5,
- [helpstring("Every Friday")] ausidEveryFriday = 6,
- [helpstring("Every Saturday")] ausidEverySaturday = 7,
- } AutomaticUpdatesScheduledInstallationDay;
- [
- helpstring("Defines the possible phases during a download operation."),
- v1_enum
- ]
- typedef [public] enum tagDownloadPhase
- {
- [helpstring("Initializing")] dphInitializing = 1,
- [helpstring("Downloading")] dphDownloading = 2,
- [helpstring("Verifying")] dphVerifying = 3,
- } DownloadPhase;
- [
- helpstring("Defines possible priorities for a download operation."),
- v1_enum
- ]
- typedef [public] enum tagDownloadPriority
- {
- [helpstring("Low")] dpLow = 1,
- [helpstring("Normal")] dpNormal = 2,
- [helpstring("High")] dpHigh = 3,
- } DownloadPriority;
- [
- helpstring(
- "Defines possible levels of impact that may be caused by (un)installing"
- " an Update."),
- v1_enum
- ]
- typedef [public] enum tagInstallationImpact
- {
- [helpstring("Normal")] iiNormal = 0,
- [helpstring("Minor")] iiMinor = 1,
- [helpstring("Requires exclusive handling")] iiRequiresExclusiveHandling = 2,
- } InstallationImpact;
- [
- helpstring(
- "Defines possible reboot behaviors exhibited by an Update during "
- "(un)installation."),
- v1_enum
- ]
- typedef [public] enum tagInstallationRebootBehavior
- {
- [helpstring("Never reboots")] irbNeverReboots = 0,
- [helpstring("Always requires reboot")] irbAlwaysRequiresReboot = 1,
- [helpstring("Can request reboot")] irbCanRequestReboot = 2,
- } InstallationRebootBehavior;
- [
- helpstring(
- "Defines possible results of a download, (un)install, or verification "
- "operation on an update."),
- v1_enum
- ]
- typedef [public] enum tagOperationResultCode
- { /* In the order of significance */
- [helpstring("Not started")] orcNotStarted = 0,
- [helpstring("In progress")] orcInProgress = 1,
- [helpstring("Succeeded")] orcSucceeded = 2,
- [helpstring("Succeeded with errors")] orcSucceededWithErrors = 3,
- [helpstring("Failed")] orcFailed = 4,
- [helpstring("Aborted")] orcAborted = 5,
- } OperationResultCode;
- [
- helpstring(
- "Defines possible server selections the Searcher can search against."),
- v1_enum
- ]
- typedef [public] enum tagServerSelection
- {
- [helpstring("Default")] ssDefault = 0,
- [helpstring("Managed server")] ssManagedServer = 1,
- [helpstring("Windows Update")] ssWindowsUpdate = 2,
- [helpstring("Others")] ssOthers = 3,
- } ServerSelection;
- cpp_quote("#define IsValidServerSelection(x) ((x) >= ssMin && (x)<= ssMax)")
- [
- helpstring("Defines possible types of an update."),
- v1_enum
- ]
- typedef [public] enum tagUpdateType
- {
- [helpstring("Software")] utSoftware = 1,
- [helpstring("Driver")] utDriver = 2,
- } UpdateType;
- [
- helpstring(
- "Defines operations that can be attempted on an Update."),
- v1_enum
- ]
- typedef [public] enum tagUpdateOperation
- {
- [helpstring("Installation")] uoInstallation = 1,
- [helpstring("Uninstallation")] uoUninstallation = 2,
- } UpdateOperation;
- [
- helpstring("Defines actions an Update can be explicitly deployed for."),
- v1_enum
- ]
- typedef [public] enum tagDeploymentAction
- {
- [helpstring("None")] daNone = 0,
- [helpstring("Installation")] daInstallation = 1,
- [helpstring("Uninstallation")] daUninstallation = 2,
- } DeploymentAction;
- [
- helpstring("Defines contexts under which an UpdateException can be raised."),
- v1_enum
- ]
- typedef [public] enum tagUpdateExceptionContext
- {
- [helpstring("General")] uecGeneral = 1,
- [helpstring("WindowsDriver")] uecWindowsDriver = 2,
- [helpstring("WindowsInstaller")] uecWindowsInstaller = 3,
- } UpdateExceptionContext;
- const LONG UPDATE_LOCKDOWN_WEBSITE_ACCESS = 0x00000001;
- // all other bits are reserved.
- //Forward declarations
- interface ICategoryCollection;
- interface IUpdateCollection;
- interface IUpdate;
- [
- helpstring("IUpdateLockdown Interface"),
- object,
- oleautomation,
- nonextensible,
- uuid(a976c28d-75a1-42aa-94ae-8af8b872089a),
- pointer_default(unique)
- ]
- interface IUpdateLockdown : IUnknown
- {
- //methods:
- [
- id(0x60010001),
- helpstring("Restricts access to functionality the object provides.")
- ]
- HRESULT LockDown(
- [in] LONG flags);
- }
- [
- helpstring("IStringCollection Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(eff90582-2ddc-480f-a06d-60f3fbc362c3),
- pointer_default(unique),
- hidden // already exposed by a class
- ]
- interface IStringCollection : IDispatch
- {
- //properties:
- [
- id(DISPID_VALUE),
- propget,
- helpstring("Gets an element in the collection.")
- ]
- HRESULT Item(
- [in] LONG index,
- [out, retval] BSTR* retval);
- [
- id(DISPID_VALUE),
- propput,
- helpstring("Sets an element in the collection.")
- ]
- HRESULT Item(
- [in] LONG index,
- [in] BSTR value);
- [
- id(DISPID_NEWENUM),
- propget,
- helpstring(
- "Gets an IEnumVARIANT interface on an object that can be used to "
- "enumerate the collection.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** retval);
- [
- id(0x60020001),
- propget,
- helpstring("Gets the number of elements contained in the collection.")
- ]
- HRESULT Count(
- [out, retval] LONG* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets a boolean value indicating whether the collection is "
- "read-only.")
- ]
- HRESULT ReadOnly(
- [out, retval] VARIANT_BOOL* retval);
- //methods:
- [
- id(0x60020003),
- helpstring("Adds an item to the collection.")
- ]
- HRESULT Add(
- [in] BSTR value,
- [out, retval] LONG* retval);
- [
- id(0x60020004),
- helpstring("Removes all elements from the collection.")
- ]
- HRESULT Clear( );
- [
- id(0x60020005),
- helpstring("Creates a deep read-writable copy of the collection.")
- ]
- HRESULT Copy(
- [out, retval] IStringCollection** retval);
- [
- id(0x60020006),
- helpstring(
- "Inserts an item to the collection at the specified position.")
- ]
- HRESULT Insert(
- [in] LONG index,
- [in] BSTR value);
- [
- id(0x60020007),
- helpstring(
- "Removes the item at the specified index from the collection.")
- ]
- HRESULT RemoveAt(
- [in] LONG index);
- }
- [
- helpstring("IWebProxy Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(174c81fe-aecd-4dae-b8a0-2c6318dd86a8),
- pointer_default(unique),
- ]
- interface IWebProxy : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring("Gets the address of the proxy server.")
- ]
- HRESULT Address(
- [out, retval] BSTR* retval);
- [
- id(0x60020001),
- propput,
- helpstring("Sets the address of the proxy server.")
- ]
- HRESULT Address(
- [in] BSTR value);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets a collection of addresses that do not use the proxy server.")
- ]
- HRESULT BypassList(
- [out, retval] IStringCollection** retval);
- [
- id(0x60020002),
- propput,
- helpstring(
- "Sets a collection of addresses that do not use the proxy server.")
- ]
- HRESULT BypassList(
- [in] IStringCollection* value);
- [
- id(0x60020003),
- propget,
- helpstring(
- "Gets a value indicating whether to bypass the proxy server for "
- "local addresses.")
- ]
- HRESULT BypassProxyOnLocal(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020003),
- propput,
- helpstring(
- "Sets a value indicating whether to bypass the proxy server for "
- "local addresses.")
- ]
- HRESULT BypassProxyOnLocal(
- [in] VARIANT_BOOL value);
- [
- id(0x60020004),
- propget,
- helpstring(
- "Gets a boolean value indicating whether the WebProxy object is "
- "read-only.")
- ]
- HRESULT ReadOnly(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020005),
- propget,
- helpstring(
- "Gets the user name to submit to the proxy server for "
- "authentication.")
- ]
- HRESULT UserName(
- [out, retval] BSTR* retval);
- [
- id(0x60020005),
- propput,
- helpstring(
- "Sets the user name to submit to the proxy server for authentication.")
- ]
- HRESULT UserName(
- [in] BSTR value);
- //methods:
- [
- id(0x60020006),
- helpstring(
- "Sets the password to submit to the proxy server for "
- "authentication.")
- ]
- HRESULT SetPassword(
- [in] BSTR value);
- [
- id(0x60020007),
- helpstring(
- "Launches the Credentials UI to prompt user for password for proxy "
- "authentication.")
- ]
- HRESULT PromptForCredentials(
- [in, unique] IUnknown* pParentWindow,
- [in] BSTR bstrTitle);
- [
- id(0x60020008),
- restricted,
- helpstring(
- "Launches the Credentials UI to prompt user for password for proxy "
- "authentication.")
- ]
- HRESULT PromptForCredentialsFromHwnd(
- [in, unique] HWND hwndParent,
- [in] BSTR bstrTitle);
- //properties:
- [
- id(0x60020009),
- propget,
- helpstring("Indicates whether to automatically detect proxy settings.")
- ]
- HRESULT AutoDetect(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020009),
- propput,
- helpstring("Specifies whether to automatically detect proxy settings.")
- ]
- HRESULT AutoDetect(
- [in] VARIANT_BOOL value);
- }
- [
- helpstring("ISystemInformation Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(ade87bf7-7b56-4275-8fab-b9b0e591844b),
- pointer_default(unique),
- hidden // already exposed by a class
- ]
- interface ISystemInformation : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets the hyperlink to the support infomation on the OEM hardware.")
- ]
- HRESULT OemHardwareSupportLink(
- [out, retval] BSTR* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets a value indicating whether a system reboot is required to "
- "complete (un)installation of one or more Updates.")
- ]
- HRESULT RebootRequired(
- [out, retval] VARIANT_BOOL* retval);
- }
- [
- helpstring("IAutomaticUpdatesSettings Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(2ee48f22-af3c-405f-8970-f71be12ee9a2),
- pointer_default(unique)
- ]
- interface IAutomaticUpdatesSettings : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Indicates how elevated users will be notified about Automatic "
- "Updates events.")
- ]
- HRESULT NotificationLevel(
- [out, retval] AutomaticUpdatesNotificationLevel* retval);
- [
- id(0x60020001),
- propput,
- helpstring(
- "Specifies how elevated users will be notified about Automatic "
- "Updates events.")
- ]
- HRESULT NotificationLevel(
- [in] AutomaticUpdatesNotificationLevel value);
- [
- id(0x60020002),
- propget,
- helpstring("Indicates whether the settings are read-only.")
- ]
- HRESULT ReadOnly(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020003),
- propget,
- helpstring(
- "Indicates whether the Automatic Updates service is required by "
- "Group Policy.")
- ]
- HRESULT Required(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020004),
- propget,
- helpstring(
- "Indicates which day(s) of week Automatic Updates may (un)install "
- "updates.")
- ]
- HRESULT ScheduledInstallationDay(
- [out, retval] AutomaticUpdatesScheduledInstallationDay* retval);
- [
- id(0x60020004),
- propput,
- helpstring(
- "Specifies which day(s) of week Automatic Updates may (un)install "
- "updates.")
- ]
- HRESULT ScheduledInstallationDay(
- [in] AutomaticUpdatesScheduledInstallationDay value);
- [
- id(0x60020005),
- propget,
- helpstring(
- "Indicates the time when Automatic Updates may (un)install "
- "updates.")
- ]
- HRESULT ScheduledInstallationTime(
- [out, retval] LONG* retval);
- [
- id(0x60020005),
- propput,
- helpstring(
- "Specifies the time when Automatic Updates may (un)install "
- "updates.")
- ]
- HRESULT ScheduledInstallationTime(
- [in] LONG value);
- //methods:
- [
- id(0x60020006),
- helpstring("Gets the up-to-date settings.")
- ]
- HRESULT Refresh();
- [
- id(0x60020007),
- helpstring("Applies the settings.")
- ]
- HRESULT Save();
- }
- [
- helpstring("IAutomaticUpdates Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(673425bf-c082-4c7c-bdfd-569464b8e0ce),
- pointer_default(unique),
- hidden // already exposed by a class
- ]
- interface IAutomaticUpdates : IDispatch
- {
- //methods:
- [
- id(0x60020001),
- helpstring("Triggers automatic updating now if it is not yet started.")
- ]
- HRESULT DetectNow();
- [
- id(0x60020002),
- helpstring("Pauses automatic updating.")
- ]
- HRESULT Pause();
- [
- id(0x60020003),
- helpstring("Resumes automatic updating if paused.")
- ]
- HRESULT Resume();
- [
- id(0x60020004),
- helpstring(
- "Display a dialog box showing settings for Automatic Updates.")
- ]
- HRESULT ShowSettingsDialog();
- //properties:
- [
- id(0x60020005),
- propget,
- helpstring("Returns the settings to configure Automatic Updates.")
- ]
- HRESULT Settings(
- [out, retval] IAutomaticUpdatesSettings** retval);
- [
- id(0x60020006),
- propget,
- helpstring(
- "Indicates whether all the components that Automatic Updates "
- "requires are up and running.")
- ]
- HRESULT ServiceEnabled(
- [out, retval] VARIANT_BOOL* retval);
- //methods:
- [
- id(0x60020007),
- helpstring(
- "Enables all the components that Automatic Updates requires.")
- ]
- HRESULT EnableService();
- }
- [
- helpstring("IUpdateIdentity Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(46297823-9940-4c09-aed9-cd3ea6d05968),
- pointer_default(unique),
- hidden // already exposed by a class
- ]
- interface IUpdateIdentity : IDispatch
- {
- //properties:
- [
- id(0x60020002),
- propget,
- helpstring("Gets the revision number of the Update.")
- ]
- HRESULT RevisionNumber(
- [out, retval] LONG* retval);
- [
- id(0x60020003),
- propget,
- helpstring(
- "Gets a string identifying the Update in a globally-unique manner.")
- ]
- HRESULT UpdateID(
- [out, retval] BSTR* retval);
- }
- [
- helpstring("IImageInformation Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(7c907864-346c-4aeb-8f3f-57da289f969f),
- pointer_default(unique),
- ]
- interface IImageInformation : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring("Gets the ATL text of the image.")
- ]
- HRESULT AltText(
- [out, retval] BSTR* retval);
- [
- id(0x60020002),
- propget,
- helpstring("Gets the height of the image, in pixels.")
- ]
- HRESULT Height(
- [out, retval] LONG* retval);
- [
- id(0x60020003),
- propget,
- helpstring("Gets the source location of the image.")
- ]
- HRESULT Source(
- [out, retval] BSTR* retval);
- [
- id(0x60020004),
- propget,
- helpstring("Gets the width of the image, in pixels.")
- ]
- HRESULT Width(
- [out, retval] LONG* retval);
- }
- [
- helpstring("ICategory Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(81ddc1b8-9d35-47a6-b471-5b80f519223b),
- pointer_default(unique),
- ]
- interface ICategory : IDispatch
- {
- //properties:
- [
- id(DISPID_VALUE),
- propget,
- helpstring("Gets the localized name of the Category.")
- ]
- HRESULT Name(
- [out, retval] BSTR* retval);
- [
- id(0x60020001),
- propget,
- helpstring("Gets the category ID of the Category.")
- ]
- HRESULT CategoryID(
- [out, retval] BSTR* retval);
- [
- id(0x60020002),
- propget,
- helpstring("Gets the children of the Category.")
- ]
- HRESULT Children(
- [out, retval] ICategoryCollection** retval);
- [
- id(0x60020003),
- propget,
- helpstring("Gets the description of the Category.")
- ]
- HRESULT Description(
- [out, retval] BSTR* retval);
- [
- id(0x60020004),
- propget,
- helpstring(
- "Gets information on the image associated with the Category.")
- ]
- HRESULT Image(
- [out, retval] IImageInformation** retval);
- [
- id(0x60020005),
- propget,
- helpstring(
- "Gets the recommended display order of the Category among its "
- "siblings.")
- ]
- HRESULT Order(
- [out, retval] LONG* retval);
- [
- id(0x60020006),
- propget,
- helpstring("Gets the parent of the Category.")
- ]
- HRESULT Parent(
- [out, retval] ICategory** retval);
- [
- id(0x60020007),
- propget,
- helpstring("Gets the type of the Category.")
- ]
- HRESULT Type(
- [out, retval] BSTR* retval);
- [
- id(0x60020008),
- propget,
- helpstring("Gets the updates which immediately belong to the Category.")
- ]
- HRESULT Updates(
- [out, retval] IUpdateCollection** retval);
- }
- [
- helpstring("ICategoryCollection Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(3a56bfb8-576c-43f7-9335-fe4838fd7e37),
- pointer_default(unique),
- ]
- interface ICategoryCollection : IDispatch
- {
- //properties:
- [
- id(DISPID_VALUE),
- propget,
- helpstring("Gets an element in the collection.")
- ]
- HRESULT Item(
- [in] LONG index,
- [out, retval] ICategory** retval);
- [
- id(DISPID_NEWENUM),
- propget,
- helpstring(
- "Gets an IEnumVARIANT interface on an object that can be used to "
- "enumerate the collection.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** retval);
- [
- id(0x60020001),
- propget,
- helpstring("Gets the number of elements contained in the collection.")
- ]
- HRESULT Count(
- [out, retval] LONG* retval);
- }
- [
- helpstring("IInstallationBehavior Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(d9a59339-e245-4dbd-9686-4d5763e39624),
- pointer_default(unique),
- ]
- interface IInstallationBehavior : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring("Gets a value indicating whether (un)installation of the Update can request user input.")
- ]
- HRESULT CanRequestUserInput(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020002),
- propget,
- helpstring("Gets a value assessing how (un)installation of the Update will impact the target computer.")
- ]
- HRESULT Impact(
- [out, retval] InstallationImpact* retval);
- [
- id(0x60020003),
- propget,
- helpstring("Gets a value specifying the reboot behavior exhibited by (un)installing the Update.")
- ]
- HRESULT RebootBehavior(
- [out, retval] InstallationRebootBehavior* retval);
- [
- id(0x60020004),
- propget,
- helpstring("Gets a value indicating whether (un)installation of the Update requires network connectivity.")
- ]
- HRESULT RequiresNetworkConnectivity(
- [out, retval] VARIANT_BOOL* retval);
- }
- [
- helpstring("IUpdateDownloadContent Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(54a2cb2d-9a0c-48b6-8a50-9abb69ee2d02),
- pointer_default(unique),
- ]
- interface IUpdateDownloadContent : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets the location of the download content on the hosting server.")
- ]
- HRESULT DownloadUrl(
- [out, retval] BSTR* retval);
- }
- [
- helpstring("IUpdateDownloadContentCollection Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(bc5513c8-b3b8-4bf7-a4d4-361c0d8c88ba),
- pointer_default(unique),
- ]
- interface IUpdateDownloadContentCollection : IDispatch
- {
- //properties:
- [
- id(DISPID_VALUE),
- propget,
- helpstring("Gets an element in the collection.")
- ]
- HRESULT Item(
- [in] LONG index,
- [out, retval] IUpdateDownloadContent** retval);
- [
- id(DISPID_NEWENUM),
- propget,
- helpstring(
- "Gets an IEnumVARIANT interface on an object that can be used to "
- "enumerate the collection.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** retval);
- [
- id(0x60020001),
- propget,
- helpstring("Gets the number of elements contained in the collection.")
- ]
- HRESULT Count(
- [out, retval] LONG* retval);
- }
- [
- helpstring("IUpdate Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(6a92b07a-d821-4682-b423-5c805022cc4d),
- pointer_default(unique),
- ]
- interface IUpdate : IDispatch
- {
- //properties:
- [
- id(DISPID_VALUE),
- propget,
- helpstring("Gets the localized title of the Update.")
- ]
- HRESULT Title(
- [out, retval] BSTR* retval);
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets a value indicating whether the Update is flagged to be "
- "automatically selected by web sites such as Windows Update or "
- "Microsoft Update.")
- ]
- HRESULT AutoSelectOnWebSites(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets information on the ordered list of bundled updates of the "
- "Update.")
- ]
- HRESULT BundledUpdates(
- [out, retval] IUpdateCollection** retval);
- [
- id(0x60020003),
- propget,
- helpstring(
- "Indicates whether the source media of the Update is potentially "
- "required for (un)installation.")
- ]
- HRESULT CanRequireSource(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020004),
- propget,
- helpstring("Gets the categories that the update belongs to.")
- ]
- HRESULT Categories(
- [out, retval] ICategoryCollection** retval);
- [
- id(0x60020005),
- propget,
- helpstring("Gets the date by which the Update must be installed.")
- ]
- HRESULT Deadline(
- [out, retval] VARIANT* retval);
- [
- id(0x60020006),
- propget,
- helpstring(
- "Indicates whether delta-compressed content is available on the "
- "server for the Update.")
- ]
- HRESULT DeltaCompressedContentAvailable(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020007),
- propget,
- helpstring(
- "Indicates whether to prefer delta-compressed content when "
- "downloading and/or (un)installing the Update, if such content is "
- "available.")
- ]
- HRESULT DeltaCompressedContentPreferred(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020008),
- propget,
- helpstring("Gets the localized description of the Update.")
- ]
- HRESULT Description(
- [out, retval] BSTR* retval);
- [
- id(0x60020009),
- propget,
- helpstring(
- "Indicates whether the end-user license agreement associated with "
- "the Update has been accepted for the target computer.")
- ]
- HRESULT EulaAccepted(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x6002000a),
- propget,
- helpstring(
- "Gets the full, localized text of the end-user license agreement "
- "associated with the Update.")
- ]
- HRESULT EulaText(
- [out, retval] BSTR* retval);
- [
- id(0x6002000b),
- propget,
- helpstring("Gets a value specifying the install handler of the Update.")
- ]
- HRESULT HandlerID(
- [out, retval] BSTR* retval);
- [
- id(0x6002000c),
- propget,
- helpstring("Gets the globally-unique identity of the Update.")
- ]
- HRESULT Identity(
- [out, retval] IUpdateIdentity** retval);
- [
- id(0x6002000d),
- propget,
- helpstring(
- "Gets information on the image associated with the Update.")
- ]
- HRESULT Image(
- [out, retval] IImageInformation** retval);
- [
- id(0x6002000e),
- propget,
- helpstring(
- "Gets the installation options of the Update.")
- ]
- HRESULT InstallationBehavior(
- [out, retval] IInstallationBehavior** retval);
- [
- id(0x6002000f),
- propget,
- helpstring(
- "Gets a value indicating whether the Update is a beta release.")
- ]
- HRESULT IsBeta(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020010),
- propget,
- helpstring(
- "Indicates whether all of the Update's content is cached on the "
- "target computer.")
- ]
- HRESULT IsDownloaded(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020011),
- propget,
- helpstring(
- "Indicates whether the Update has been hidden by the user for "
- "installation.")
- ]
- HRESULT IsHidden(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020011),
- propput,
- helpstring(
- "(Un)marks the update as \"hidden\" on the target computer.")
- ]
- HRESULT IsHidden(
- [in] VARIANT_BOOL value);
- [
- id(0x60020012),
- propget,
- helpstring(
- "Indicates whether the Update was installed on the target "
- "computer when the search was performed.")
- ]
- HRESULT IsInstalled(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020013),
- propget,
- helpstring(
- "Gets a value indicating whether installation of the Update is "
- "mandatory.")
- ]
- HRESULT IsMandatory(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020014),
- propget,
- helpstring(
- "Indicates whether the caller can uninstall the Update, if "
- "installed, from the target computer.")
- ]
- HRESULT IsUninstallable(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020015),
- propget,
- helpstring("Gets the languages that the Update supports.")
- ]
- HRESULT Languages(
- [out, retval] IStringCollection** retval);
- [
- id(0x60020016),
- propget,
- helpstring("Gets the published date of the Update.")
- ]
- HRESULT LastDeploymentChangeTime(
- [out, retval] DATE* retval);
- [
- id(0x60020017),
- propget,
- helpstring("Gets the maximum download size of the Update.")
- ]
- HRESULT MaxDownloadSize(
- [out, retval] DECIMAL* retval);
- [
- id(0x60020018),
- propget,
- helpstring("Gets the minimum download size of the Update.")
- ]
- HRESULT MinDownloadSize(
- [out, retval] DECIMAL* retval);
- [
- id(0x60020019),
- propget,
- helpstring(
- "Gets language-specific strings specifying the hyperlinks to more "
- "info on the Update.")
- ]
- HRESULT MoreInfoUrls(
- [out, retval] IStringCollection** retval);
- [
- id(0x6002001a),
- propget,
- helpstring(
- "Gets the Microsoft Security Response Center severity rating of the"
- " Update.")
- ]
- HRESULT MsrcSeverity(
- [out, retval] BSTR* retval);
- [
- id(0x6002001b),
- propget,
- helpstring(
- "Gets the recommended CPU speed, in megahertz, for installing the "
- "Update.")
- ]
- HRESULT RecommendedCpuSpeed(
- [out, retval] LONG* retval);
- [
- id(0x6002001c),
- propget,
- helpstring(
- "Gets the recommended hard disk free space, in megabytes, for "
- "installing the Update.")
- ]
- HRESULT RecommendedHardDiskSpace(
- [out, retval] LONG* retval);
- [
- id(0x6002001d),
- propget,
- helpstring(
- "Gets the recommended physical memory size, in megabytes, for "
- "installing the Update.")
- ]
- HRESULT RecommendedMemory(
- [out, retval] LONG* retval);
- [
- id(0x6002001e),
- propget,
- helpstring("Gets the localized release notes of the Update.")
- ]
- HRESULT ReleaseNotes(
- [out, retval] BSTR* retval);
- [
- id(0x6002001f),
- propget,
- helpstring(
- "Gets the security bulletin IDs associated with the Update.")
- ]
- HRESULT SecurityBulletinIDs(
- [out, retval] IStringCollection** retval);
- [
- id(0x60020021),
- propget,
- helpstring(
- "Gets a collection of update IDs specifying the Updates that the "
- "Update supersedes.")
- ]
- HRESULT SupersededUpdateIDs(
- [out, retval] IStringCollection** retval);
- [
- id(0x60020022),
- propget,
- helpstring(
- "Gets the language-specific hyperlink to the support information on"
- " the Update.")
- ]
- HRESULT SupportUrl(
- [out, retval] BSTR* retval);
- [
- id(0x60020023),
- propget,
- helpstring("Gets the type of the Update.")
- ]
- HRESULT Type(
- [out, retval] UpdateType* retval);
- [
- id(0x60020024),
- propget,
- helpstring("Gets the uninstallation notes of the Update.")
- ]
- HRESULT UninstallationNotes(
- [out, retval] BSTR* retval);
- [
- id(0x60020025),
- propget,
- helpstring("Gets the uninstallation options of the Update.")
- ]
- HRESULT UninstallationBehavior(
- [out, retval] IInstallationBehavior** retval);
- [
- id(0x60020026),
- propget,
- helpstring("Gets the uninstallation steps of the Update.")
- ]
- HRESULT UninstallationSteps(
- [out, retval] IStringCollection** retval);
- [
- id(0x60020028),
- propget,
- helpstring(
- "Gets the knowledge base article IDs associated with the Update.")
- ]
- HRESULT KBArticleIDs(
- [out, retval] IStringCollection** retval);
- //methods:
- [
- id(0x60020027),
- helpstring(
- "Accepts the end-user license agreement associated with the "
- "Update.")
- ]
- HRESULT AcceptEula();
- //properties:
- [
- id(0x60020029),
- propget,
- helpstring("Indicates the action an Update is deployed for.")
- ]
- HRESULT DeploymentAction(
- [out, retval] DeploymentAction* retval);
- //methods:
- [
- id(0x6002002a),
- helpstring("Copies the contents of the Update into a specified path.")
- ]
- HRESULT CopyFromCache(
- [in, ref] BSTR path,
- [in] VARIANT_BOOL toExtractCabFiles);
- //properties:
- [
- id(0x6002002b),
- propget,
- helpstring("Indicates the suggested download priority of the Update.")
- ]
- HRESULT DownloadPriority(
- [out, retval] DownloadPriority* retval);
- [
- id(0x6002002c),
- propget,
- helpstring(
- "Gets file information on the immediate download contents of the "
- "Update.")
- ]
- HRESULT DownloadContents(
- [out, retval] IUpdateDownloadContentCollection** retval);
- }
- [
- helpstring("IWindowsDriverUpdate Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(b383cd1a-5ce9-4504-9f63-764b1236f191),
- pointer_default(unique),
- ]
- interface IWindowsDriverUpdate : IUpdate
- {
- //properties:
- [
- id(0x60030001),
- propget,
- helpstring(
- "Specifes the class of the WindowsDriverUpdate.")
- ]
- HRESULT DriverClass(
- [out, retval] BSTR* retval);
- [
- id(0x60030002),
- propget,
- helpstring(
- "Specifies the hardware ID or compatible ID that the "
- "WindowsDriverUpdate must match to be installable.")
- ]
- HRESULT DriverHardwareID(
- [out, retval] BSTR* retval);
- [
- id(0x60030003),
- propget,
- helpstring(
- "Specifies the language-invariant name of the manufacturer "
- "of the WindowsDriverUpdate.")
- ]
- HRESULT DriverManufacturer(
- [out, retval] BSTR* retval);
- [
- id(0x60030004),
- propget,
- helpstring(
- "Specifies the language-invariant model name of the device for "
- "which the WindowsDriverUpdate is intended.")
- ]
- HRESULT DriverModel(
- [out, retval] BSTR* retval);
- [
- id(0x60030005),
- propget,
- helpstring(
- "Specifies the language-invariant name of the provider of the"
- "WindowsDriverUpdate.")
- ]
- HRESULT DriverProvider(
- [out, retval] BSTR* retval);
- [
- id(0x60030006),
- propget,
- helpstring(
- "Specifies the driver version date of the WindowsDriverUpdate.")
- ]
- HRESULT DriverVerDate(
- [out, retval] DATE* retval);
- [
- id(0x60030007),
- propget,
- helpstring(
- "Returns the problem number of the matching device for the "
- "WindowsDriverUpdate.")
- ]
- HRESULT DeviceProblemNumber(
- [out, retval] LONG* retval);
- [
- id(0x60030008),
- propget,
- helpstring(
- "Returns the status of the matching device for the "
- "WindowsDriverUpdate.")
- ]
- HRESULT DeviceStatus(
- [out, retval] LONG* retval);
- }
- [
- helpstring("IUpdateCollection Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(07f7438c-7709-4ca5-b518-91279288134e),
- pointer_default(unique),
- hidden // already exposed by a class
- ]
- interface IUpdateCollection : IDispatch
- {
- //properties:
- [
- id(DISPID_VALUE),
- propget,
- helpstring("Gets an element in the collection.")
- ]
- HRESULT Item(
- [in] LONG index,
- [out, retval] IUpdate** retval);
- [
- id(DISPID_VALUE),
- propput,
- helpstring("Sets an element in the collection.")
- ]
- HRESULT Item(
- [in] LONG index,
- [in] IUpdate* value);
- [
- id(DISPID_NEWENUM),
- propget,
- helpstring(
- "Gets an IEnumVARIANT interface on an object that can be used to "
- "enumerate the collection.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** retval);
- [
- id(0x60020001),
- propget,
- helpstring("Gets the number of elements contained in the collection.")
- ]
- HRESULT Count(
- [out, retval] LONG* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets a boolean value indicating whether the collection is "
- "read-only.")
- ]
- HRESULT ReadOnly(
- [out, retval] VARIANT_BOOL* retval);
- //methods:
- [
- id(0x60020003),
- helpstring("Adds an item to the collection.")
- ]
- HRESULT Add(
- [in] IUpdate* value,
- [out, retval] LONG* retval);
- [
- id(0x60020004),
- helpstring("Removes all elements from the collection.")
- ]
- HRESULT Clear( );
- [
- id(0x60020005),
- helpstring("Creates a shallow read-writable copy of the collection.")
- ]
- HRESULT Copy(
- [out, retval] IUpdateCollection** retval);
- [
- id(0x60020006),
- helpstring(
- "Inserts an item to the collection at the specified position.")
- ]
- HRESULT Insert(
- [in] LONG index,
- [in] IUpdate* value);
- [
- id(0x60020007),
- helpstring(
- "Removes the item at the specified index from the collection.")
- ]
- HRESULT RemoveAt(
- [in] LONG index);
- }
- [
- helpstring("IUpdateException Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(a376dd5e-09d4-427f-af7c-fed5b6e1c1d6),
- pointer_default(unique),
- ]
- interface IUpdateException : IDispatch
- {
- //properties:
- [
- id(DISPID_VALUE),
- propget,
- helpstring("Gets a message that describes the current exception.")
- ]
- HRESULT Message(
- [out, retval] BSTR* retval);
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets HRESULT, a coded numerical value that is assigned to a "
- "specific exception.")
- ]
- HRESULT HResult(
- [out, retval] LONG* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets a numerical value that indicates the context of the current "
- "exception.")
- ]
- HRESULT Context(
- [out, retval] UpdateExceptionContext* retval);
- }
- [
- helpstring("IInvalidProductLicenseException Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(a37d00f5-7bb0-4953-b414-f9e98326f2e8),
- pointer_default(unique),
- ]
- interface IInvalidProductLicenseException : IUpdateException
- {
- //properties:
- [
- id(0x60030001),
- propget,
- helpstring("Gets the language-invariant name of the product")
- ]
- HRESULT Product(
- [out, retval] BSTR* retval);
- }
- [
- helpstring("IUpdateExceptionCollection Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(503626a3-8e14-4729-9355-0fe664bd2321),
- pointer_default(unique),
- ]
- interface IUpdateExceptionCollection : IDispatch
- {
- //properties:
- [
- id(DISPID_VALUE),
- propget,
- helpstring("Gets an element in the collection.")
- ]
- HRESULT Item(
- [in] LONG index,
- [out, retval] IUpdateException** retval);
- [
- id(DISPID_NEWENUM),
- propget,
- helpstring(
- "Gets an IEnumVARIANT interface on an object that can be used to "
- "enumerate the collection.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** retval);
- [
- id(0x60020001),
- propget,
- helpstring("Gets the number of elements contained in the collection.")
- ]
- HRESULT Count(
- [out, retval] LONG* retval);
- }
- [
- helpstring("ISearchResult Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(d40cff62-e08c-4498-941a-01e25f0fd33c),
- pointer_default(unique),
- ]
- interface ISearchResult : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets an OperationResultCode enumeration value specifying the "
- "overall result of the search.")
- ]
- HRESULT ResultCode(
- [out, retval] OperationResultCode* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets the root categories currently available on the target "
- " computer.")
- ]
- HRESULT RootCategories(
- [out, retval] ICategoryCollection** retval);
- [
- id(0x60020003),
- propget,
- helpstring("Gets a collection of Updates resulted from the search.")
- ]
- HRESULT Updates(
- [out, retval] IUpdateCollection** retval);
- [
- id(0x60020004),
- propget,
- helpstring("Gets a collection of warnings resulted from the search.")
- ]
- HRESULT Warnings(
- [out, retval] IUpdateExceptionCollection** retval);
- }
- [
- helpstring("ISearchJob Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(7366ea16-7a1a-4ea2-b042-973d3e9cd99b),
- pointer_default(unique),
- ]
- interface ISearchJob : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets the caller-specified state object passed to the "
- "UpdateSearcher.BeginSearch method.")
- ]
- HRESULT AsyncState(
- [out, retval] VARIANT* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets a value indicating whether the call has been completely "
- "processed.")
- ]
- HRESULT IsCompleted(
- [out, retval] VARIANT_BOOL* retval);
- //methods:
- [
- id(0x60020003),
- helpstring(
- "Waits for asynchronous operation to complete and releases all "
- "callbacks, if any.")
- ]
- HRESULT CleanUp();
- [
- id(0x60020004),
- helpstring("Requests to abort the asynchronous search.")
- ]
- HRESULT RequestAbort();
- }
- [
- helpstring("ISearchCompletedCallbackArgs Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(a700a634-2850-4c47-938a-9e4b6e5af9a6),
- pointer_default(unique),
- ]
- interface ISearchCompletedCallbackArgs : IDispatch
- {
- }
- [
- helpstring("ISearchCompletedCallback Interface"),
- object,
- oleautomation,
- nonextensible,
- uuid(88aee058-d4b0-4725-a2f1-814a67ae964c),
- pointer_default(unique)
- ]
- interface ISearchCompletedCallback : IUnknown
- {
- //methods:
- [
- id(0x60010001),
- helpstring(
- "Handles the notification about the completion of an asynchronous "
- "search initiated by calling UpdateSearcher.BeginSearch.")
- ]
- HRESULT Invoke(
- [in] ISearchJob* searchJob,
- [in] ISearchCompletedCallbackArgs* callbackArgs);
- }
- [
- helpstring("IUpdateHistoryEntry Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(be56a644-af0e-4e0e-a311-c1d8e695cbff),
- pointer_default(unique),
- ]
- interface IUpdateHistoryEntry : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets an Operation enumeration value specifying the "
- "the operation on the update.")
- ]
- HRESULT Operation(
- [out, retval] UpdateOperation* retval );
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets an OperationResultCode enumeration value specifying the "
- "result of the operation on the update.")
- ]
- HRESULT ResultCode(
- [out, retval] OperationResultCode* retval );
- [
- id(0x60020003),
- propget,
- helpstring(
- "Gets the HRESULT value returned from the operation on the update.")
- ]
- HRESULT HResult(
- [out, retval] LONG* retval );
- [
- id(0x60020004),
- propget,
- helpstring("Gets the date and time when the update was applied.")
- ]
- HRESULT Date(
- [out, retval] DATE* retval);
- [
- id(0x60020005),
- propget,
- helpstring(
- "Gets the globally-unique identity of the update.")
- ]
- HRESULT UpdateIdentity(
- [out, retval] IUpdateIdentity** retval);
- [
- id(0x60020006),
- propget,
- helpstring("Gets the title of the update.")
- ]
- HRESULT Title(
- [out, retval] BSTR* retval);
- [
- id(0x60020007),
- propget,
- helpstring("Gets the description of the update.")
- ]
- HRESULT Description(
- [out, retval] BSTR* retval);
- [
- id(0x60020008),
- propget,
- helpstring(
- "Gets the unmapped result code returned from the operation on the "
- "update.")
- ]
- HRESULT UnmappedResultCode(
- [out, retval] LONG* retval);
- [
- id(0x60020009),
- propget,
- helpstring(
- "Gets the identifier of the client application that processed the "
- "update.")
- ]
- HRESULT ClientApplicationID(
- [out, retval] BSTR* retval);
- [
- id(0x6002000a),
- propget,
- helpstring("Gets where the update came from.")
- ]
- HRESULT ServerSelection(
- [out, retval] ServerSelection* retval );
- [
- id(0x6002000b),
- propget,
- helpstring("Gets Non-Windows Updates Service ID.")
- ]
- HRESULT ServiceID(
- [out, retval] BSTR* retval );
-
- [
- id(0x6002000c),
- propget,
- helpstring("Gets steps to uninstall update.")
- ]
- HRESULT UninstallationSteps(
- [out, retval] IStringCollection** retval);
- [
- id(0x6002000d),
- propget,
- helpstring("Gets uninstallation notes.")
- ]
- HRESULT UninstallationNotes(
- [out, retval] BSTR* retval);
- [
- id(0x6002000e),
- propget,
- helpstring("Gets support URL.")
- ]
- HRESULT SupportUrl(
- [out, retval] BSTR* retval);
- }
- [
- helpstring("IUpdateHistoryEntryCollection Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(a7f04f3c-a290-435b-aadf-a116c3357a5c),
- pointer_default(unique),
- ]
- interface IUpdateHistoryEntryCollection : IDispatch
- {
- [
- id(DISPID_VALUE),
- propget,
- helpstring("Gets an element in the collection.")
- ]
- HRESULT Item(
- [in] LONG index,
- [out, retval] IUpdateHistoryEntry** retval);
- [
- id(DISPID_NEWENUM),
- propget,
- helpstring(
- "Gets an IEnumVARIANT interface on an object that can be used to "
- "enumerate the collection.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** retval);
- [
- id(0x60020001),
- propget,
- helpstring("Gets the number of elements contained in the collection.")
- ]
- HRESULT Count(
- [out, retval] LONG* retval);
- }
- [
- helpstring("IUpdateSearcher Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(8f45abf1-f9ae-4b95-a933-f0f66e5056ea),
- pointer_default(unique),
- hidden // already exposed by a class
- ]
- interface IUpdateSearcher : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Indicates whether future calls to BeginSearch and Search can "
- "automatically upgrade the MSUS client as a side-effect.")
- ]
- HRESULT CanAutomaticallyUpgradeService(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020001),
- propput,
- helpstring(
- "Specifies whether future calls to BeginSearch and Search can "
- "automatically upgrade the MSUS client as a side-effect.")
- ]
- HRESULT CanAutomaticallyUpgradeService(
- [in] VARIANT_BOOL value);
- [
- id(0x60020003),
- propget,
- helpstring("Gets the identifier of the current client application.")
- ]
- HRESULT ClientApplicationID(
- [out, retval] BSTR* retval);
- [
- id(0x60020003),
- propput,
- helpstring("Sets the identifier of the current client application.")
- ]
- HRESULT ClientApplicationID(
- [in] BSTR value);
- [
- id(0x60020004),
- propget,
- helpstring(
- "Indicates whether to include, in the search results, updates that "
- "are superseded by any other updates in the results.")
- ]
- HRESULT IncludePotentiallySupersededUpdates(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020004),
- propput,
- helpstring(
- "Specifies whether to include, in the search results, updates that "
- "are superseded by any other updates in the results.")
- ]
- HRESULT IncludePotentiallySupersededUpdates(
- [in] VARIANT_BOOL value);
- [
- id(0x60020007),
- propget,
- helpstring("Specifies which server to search")
- ]
- HRESULT ServerSelection(
- [out, retval] ServerSelection* retval);
- [
- id(0x60020007),
- propput,
- helpstring("Specifies which server to search")
- ]
- HRESULT ServerSelection(
- [in] ServerSelection value);
- //methods:
- [
- id(0x60020008),
- helpstring(
- "Starts an asynchronous search using the currently configured "
- "search options.")
- ]
- HRESULT BeginSearch(
- [in] BSTR criteria,
- [in] IUnknown* onCompleted,
- [in] VARIANT state,
- [out, retval] ISearchJob** retval);
- [
- id(0x60020009),
- helpstring("Completes an asynchronous search.")
- ]
- HRESULT EndSearch(
- [in] ISearchJob* searchJob,
- [out, retval] ISearchResult** retval);
- [
- id(0x6002000a),
- helpstring(
- "Convert string into one that can be used as a literal value in a "
- "search criteria string.")
- ]
- HRESULT EscapeString(
- [in] BSTR unescaped,
- [out, retval] BSTR* retval);
- [
- id(0x6002000b),
- helpstring(
- "Synchronously queries the target computer for the history of "
- "update events.")
- ]
- HRESULT QueryHistory(
- [in] LONG startIndex,
- [in] LONG count,
- [out, retval] IUpdateHistoryEntryCollection** retval);
- [
- id(0x6002000c),
- helpstring(
- "Perform a synchronous search using the currently configured "
- "search options.")
- ]
- HRESULT Search(
- [in] BSTR criteria,
- [out, retval] ISearchResult** retval);
- //properties:
- [
- id(0x6002000d),
- propget,
- helpstring(
- "Indicates whether the UpdateSearcher goes online when searching "
- "for updates.")
- ]
- HRESULT Online(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x6002000d),
- propput,
- helpstring(
- "Specifies whether the UpdateSearcher goes online when searching "
- "for updates.")
- ]
- HRESULT Online(
- [in] VARIANT_BOOL value);
- [
- id(0x6002000e),
- helpstring(
- "Get number of update events on the target computer.")
- ]
- HRESULT GetTotalHistoryCount(
- [out, retval] LONG* retval);
- [
- id(0x6002000f),
- propget,
- helpstring("Specifies Non-Windows Updates Service to search.")
- ]
- HRESULT ServiceID(
- [out, retval] BSTR* retval);
-
- [
- id(0x6002000f),
- propput,
- helpstring("Specifies Non-Windows Updates Service to search.")
- ]
- HRESULT ServiceID(
- [in] BSTR value);
-
- }
- [
- helpstring("IUpdateDownloadResult Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(bf99af76-b575-42ad-8aa4-33cbb5477af1),
- pointer_default(unique),
- ]
- interface IUpdateDownloadResult : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets the HRESULT value returned from the operation on the update.")
- ]
- HRESULT HResult(
- [out, retval] LONG* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets an OperationResultCode enumeration value specifying the "
- "result of the operation on the update.")
- ]
- HRESULT ResultCode(
- [out, retval] OperationResultCode* retval);
- }
- [
- helpstring("IDownloadResult Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(daa4fdd0-4727-4dbe-a1e7-745dca317144),
- pointer_default(unique),
- ]
- interface IDownloadResult : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets the HRESULT value returned from the download.")
- ]
- HRESULT HResult(
- [out, retval] LONG* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets an OperationResultCode enumeration value specifying the "
- "overall result of the download.")
- ]
- HRESULT ResultCode(
- [out, retval] OperationResultCode* retval);
- //methods:
- [
- id(0x60020003),
- helpstring(
- "Gets the result of the download on a specified update.")
- ]
- HRESULT GetUpdateResult(
- [in] LONG updateIndex,
- [out, retval] IUpdateDownloadResult** retval);
- }
- [
- helpstring("IDownloadProgress Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(d31a5bac-f719-4178-9dbb-5e2cb47fd18a),
- pointer_default(unique),
- ]
- interface IDownloadProgress : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets a value specifying how much data has been transferred for "
- "the content file(s) of the update being downloaded, in bytes.")
- ]
- HRESULT CurrentUpdateBytesDownloaded(
- [out, retval] DECIMAL* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets a value approximating how much data should be transferred "
- "for the content file(s) of the update being downloaded, in bytes.")
- ]
- HRESULT CurrentUpdateBytesToDownload(
- [out, retval] DECIMAL* retval);
- [
- id(0x60020003),
- propget,
- helpstring(
- "Gets a zero-based index value into the updates specified in the "
- "download for the one which content file(s) are being downloaded.")
- ]
- HRESULT CurrentUpdateIndex(
- [out, retval] LONG* retval);
- [
- id(0x60020004),
- propget,
- helpstring(
- "Gets a value estimating how far the download has progressed, in "
- "percents.")
- ]
- HRESULT PercentComplete(
- [out, retval] LONG* retval);
- [
- id(0x60020005),
- propget,
- helpstring(
- "Gets a value specifying how much overall data has been "
- "transferred by the download, in bytes.")
- ]
- HRESULT TotalBytesDownloaded(
- [out, retval] DECIMAL* retval);
- [
- id(0x60020006),
- propget,
- helpstring(
- "Gets a value approximating how much data should be transferred "
- "over all updates by the download, in bytes.")
- ]
- HRESULT TotalBytesToDownload(
- [out, retval] DECIMAL* retval);
- //methods:
- [
- id(0x60020007),
- helpstring(
- "Gets the result of the download on a specified update.")
- ]
- HRESULT GetUpdateResult(
- [in] LONG updateIndex,
- [out, retval] IUpdateDownloadResult** retval);
- //additional properties:
- [
- id(0x60020008),
- propget,
- helpstring(
- "Gets a DownloadPhase enumeration value specifying the "
- "current phase of the download in progress.")
- ]
- HRESULT CurrentUpdateDownloadPhase(
- [out, retval] DownloadPhase* retval);
- [
- id(0x60020009),
- propget,
- helpstring(
- "Gets a value estimating how far the download of the current"
- " update has progressed, in percents.")
- ]
- HRESULT CurrentUpdatePercentComplete(
- [out, retval] LONG* retval);
- }
- [
- helpstring("IDownloadJob Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(c574de85-7358-43f6-aae8-8697e62d8ba7),
- pointer_default(unique),
- ]
- interface IDownloadJob : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets the caller-specified state object passed to the "
- "UpdateDownloader.BeginDownload method.")
- ]
- HRESULT AsyncState(
- [out, retval] VARIANT* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets a value indicating whether the call has been completely "
- "processed.")
- ]
- HRESULT IsCompleted(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020003),
- propget,
- helpstring(
- "Gets a read-only collection of the updates specified in the "
- "download.")
- ]
- HRESULT Updates(
- [out, retval] IUpdateCollection** retval);
- //methods:
- [
- id(0x60020004),
- helpstring(
- "Waits for asynchronous operation to complete and releases all "
- "callbacks, if any.")
- ]
- HRESULT CleanUp();
- [
- id(0x60020005),
- helpstring("Gets the current progress of the download.")
- ]
- HRESULT GetProgress(
- [out, retval] IDownloadProgress** retval);
- [
- id(0x60020006),
- helpstring("Requests to abort the asynchronous download.")
- ]
- HRESULT RequestAbort();
- }
- [
- helpstring("IDownloadCompletedCallbackArgs Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(fa565b23-498c-47a0-979d-e7d5b1813360),
- pointer_default(unique),
- ]
- interface IDownloadCompletedCallbackArgs : IDispatch
- {
- }
- [
- helpstring("IDownloadCompletedCallback Interface"),
- object,
- oleautomation,
- nonextensible,
- uuid(77254866-9f5b-4c8e-b9e2-c77a8530d64b),
- pointer_default(unique)
- ]
- interface IDownloadCompletedCallback : IUnknown
- {
- //methods:
- [
- id(0x60010001),
- helpstring(
- "Handles the notification about the completion of an asynchronous "
- "download initiated by calling UpdateDownloader.BeginDownload.")
- ]
- HRESULT Invoke(
- [in] IDownloadJob* downloadJob,
- [in] IDownloadCompletedCallbackArgs* callbackArgs);
- }
- [
- helpstring("IDownloadProgressChangedCallbackArgs Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(324ff2c6-4981-4b04-9412-57481745ab24),
- pointer_default(unique),
- ]
- interface IDownloadProgressChangedCallbackArgs : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets the progress of the asynchronous download at the time the "
- "callback was made.")
- ]
- HRESULT Progress(
- [out, retval] IDownloadProgress** retval);
- }
- [
- helpstring("IDownloadProgressChangedCallback Interface"),
- object,
- oleautomation,
- nonextensible,
- uuid(8c3f1cdd-6173-4591-aebd-a56a53ca77c1),
- pointer_default(unique)
- ]
- interface IDownloadProgressChangedCallback : IUnknown
- {
- //methods:
- [
- id(0x60010001),
- helpstring(
- "Handles the notification about the change of progress of an "
- "asynchronous download initiated by calling "
- "UpdateDownloader.BeginDownload.")
- ]
- HRESULT Invoke(
- [in] IDownloadJob* downloadJob,
- [in] IDownloadProgressChangedCallbackArgs* callbackArgs);
- }
- [
- helpstring("IUpdateDownloader Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(68f1c6f9-7ecc-4666-a464-247fe12496c3),
- pointer_default(unique),
- hidden // already exposed by a class
- ]
- interface IUpdateDownloader : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring("Gets the identifier of the current client application.")
- ]
- HRESULT ClientApplicationID(
- [out, retval] BSTR* retval);
- [
- id(0x60020001),
- propput,
- helpstring("Sets the identifier of the current client application.")
- ]
- HRESULT ClientApplicationID(
- [in] BSTR value);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Indicates whether to forcefully download the specified updates.")
- ]
- HRESULT IsForced(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020002),
- propput,
- helpstring(
- "Specifies whether to forcefully download the specified updates.")
- ]
- HRESULT IsForced(
- [in] VARIANT_BOOL value);
- [
- id(0x60020003),
- propget,
- helpstring("Gets the desired priority level of the download.")
- ]
- HRESULT Priority(
- [out, retval] DownloadPriority* retval);
- [
- id(0x60020003),
- propput,
- helpstring("Specifies the desired priority level of the download.")
- ]
- HRESULT Priority(
- [in] DownloadPriority value);
- [
- id(0x60020004),
- propget,
- helpstring(
- "Gets the updates to download.")
- ]
- HRESULT Updates(
- [out, retval] IUpdateCollection** retval);
- [
- id(0x60020004),
- propput,
- helpstring("Specifies the updates to download.")
- ]
- HRESULT Updates(
- [in] IUpdateCollection* value);
- //methods
- [
- id(0x60020005),
- helpstring(
- "Begins an asynchronous operation to download the content file(s) "
- "associated with the updates.")
- ]
- HRESULT BeginDownload(
- [in] IUnknown* onProgressChanged,
- [in] IUnknown* onCompleted,
- [in] VARIANT state,
- [out, retval] IDownloadJob** retval);
- [
- id(0x60020006),
- helpstring(
- "Synchronously downloads the content file(s) of the update(s) "
- "to the local cache on the target computer.")
- ]
- HRESULT Download(
- [out, retval] IDownloadResult** retval);
- [
- id(0x60020007),
- helpstring("Completes an asynchronous download.")
- ]
- HRESULT EndDownload(
- [in] IDownloadJob* value,
- [out, retval] IDownloadResult** retval);
- }
- [
- helpstring("IUpdateInstallationResult Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(d940f0f8-3cbb-4fd0-993f-471e7f2328ad),
- pointer_default(unique),
- ]
- interface IUpdateInstallationResult : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring("Gets the HRESULT value from the operation on the update.")
- ]
- HRESULT HResult(
- [out, retval] LONG* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Indicates whether system reboot is required on the target "
- "computer to complete the installation on the Update.")
- ]
- HRESULT RebootRequired(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020003),
- propget,
- helpstring(
- "Gets an OperationResultCode enumeration value specifying the "
- "result of the operation on the update.")
- ]
- HRESULT ResultCode(
- [out, retval] OperationResultCode* retval);
- }
- [
- helpstring("IInstallationResult Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(a43c56d6-7451-48d4-af96-b6cd2d0d9b7a),
- pointer_default(unique),
- ]
- interface IInstallationResult : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring("Gets the HRESULT returned from the (un)installation.")
- ]
- HRESULT HResult(
- [out, retval] LONG* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Indicates whether a system reboot is required on the target "
- "computer to complete the (un)installation.")
- ]
- HRESULT RebootRequired(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020003),
- propget,
- helpstring(
- "Gets an OperationResultCode enumeration value specifying the "
- "overall result of the (un)installation.")
- ]
- HRESULT ResultCode(
- [out, retval] OperationResultCode* retval);
- //methods:
- [
- id(0x60020004),
- helpstring(
- "Gets the result of the (un)installation on a specified update.")
- ]
- HRESULT GetUpdateResult(
- [in] LONG updateIndex,
- [out, retval] IUpdateInstallationResult** retval);
- }
- [
- helpstring("IInstallationProgress Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(345c8244-43a3-4e32-a368-65f073b76f36),
- pointer_default(unique),
- ]
- interface IInstallationProgress : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets a zero-based index value into the updates specified in the "
- "(un)installation for the one which content file(s) are being "
- "(un)installed.")
- ]
- HRESULT CurrentUpdateIndex(
- [out, retval] LONG* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets a value specifying how much the (un)installation has "
- "completed upon the update being (un)installed, in percents.")
- ]
- HRESULT CurrentUpdatePercentComplete(
- [out, retval] LONG* retval);
- [
- id(0x60020003),
- propget,
- helpstring(
- "Gets a value specifying how much overall the (un)installation has "
- "completed, in percents.")
- ]
- HRESULT PercentComplete(
- [out, retval] LONG* retval);
- //methods:
- [
- id(0x60020004),
- helpstring(
- "Gets the result of the (un)installation on a specified update.")
- ]
- HRESULT GetUpdateResult(
- [in] LONG updateIndex,
- [out, retval] IUpdateInstallationResult** retval);
- }
- [
- helpstring("IInstallationJob Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(5c209f0b-bad5-432a-9556-4699bed2638a),
- pointer_default(unique),
- ]
- interface IInstallationJob : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets the caller-specified state object passed to the "
- "corresponding UpdateInstaller.BeginInstall or "
- "UpdateInstaller.BeginUninstall methods.")
- ]
- HRESULT AsyncState(
- [out, retval] VARIANT* retval);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets a value indicating whether the call has been completely "
- "processed.")
- ]
- HRESULT IsCompleted(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020003),
- propget,
- helpstring(
- "Gets a read-only collection of the updates specified in the "
- "(un)installation.")
- ]
- HRESULT Updates(
- [out, retval] IUpdateCollection** retval);
- //methods:
- [
- id(0x60020004),
- helpstring(
- "Waits for asynchronous operation to complete and releases all "
- "callbacks, if any.")
- ]
- HRESULT CleanUp();
- [
- id(0x60020005),
- helpstring("Gets the current progress of the (un)installation.")
- ]
- HRESULT GetProgress(
- [out, retval] IInstallationProgress** retval);
- [
- id(0x60020006),
- helpstring("Requests to abort the asynchronous (un)installation.")
- ]
- HRESULT RequestAbort();
- }
- [
- helpstring("IInstallationCompletedCallbackArgs Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(250e2106-8efb-4705-9653-ef13c581b6a1),
- pointer_default(unique),
- ]
- interface IInstallationCompletedCallbackArgs : IDispatch
- {
- }
- [
- helpstring("IInstallationCompletedCallback Interface"),
- object,
- oleautomation,
- nonextensible,
- uuid(45f4f6f3-d602-4f98-9a8a-3efa152ad2d3),
- pointer_default(unique)
- ]
- interface IInstallationCompletedCallback : IUnknown
- {
- //methods:
- [
- id(0x60010001),
- helpstring(
- "Handles the notification about the completion of an asynchronous "
- "(un)installation initiated by the corresponding "
- "UpdateInstaller.BeginInstall or UpdateInstaller.BeginUninstall "
- "call.")
- ]
- HRESULT Invoke(
- [in] IInstallationJob* installationJob,
- [in] IInstallationCompletedCallbackArgs* callbackArgs);
- }
- [
- helpstring("IInstallationProgressChangedCallbackArgs Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(e4f14e1e-689d-4218-a0b9-bc189c484a01),
- pointer_default(unique),
- ]
- interface IInstallationProgressChangedCallbackArgs : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring(
- "Gets the progress of the asynchronous (un)installation at the "
- "time the callback was made.")
- ]
- HRESULT Progress(
- [out, retval] IInstallationProgress** retval);
- //methods:
- }
- [
- helpstring("IInstallationProgressChangedCallback Interface"),
- object,
- oleautomation,
- nonextensible,
- uuid(e01402d5-f8da-43ba-a012-38894bd048f1),
- pointer_default(unique)
- ]
- interface IInstallationProgressChangedCallback : IUnknown
- {
- //methods:
- [
- id(0x60010001),
- helpstring(
- "Handles the notification about the change of progress of an "
- "asynchronous (un)installation initiated by the corresponding "
- "UpdateInstaller.BeginInstall or Update.BeginUninstall call.")
- ]
- HRESULT Invoke(
- [in] IInstallationJob* installationJob,
- [in] IInstallationProgressChangedCallbackArgs* callbackArgs);
- }
- [
- helpstring("IUpdateInstaller Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(7b929c68-ccdc-4226-96b1-8724600b54c2),
- pointer_default(unique),
- hidden // already exposed by a class
- ]
- interface IUpdateInstaller : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring("Gets the identifier of the current client application.")
- ]
- HRESULT ClientApplicationID(
- [out, retval] BSTR* retval);
- [
- id(0x60020001),
- propput,
- helpstring("Sets the identifier of the current client application.")
- ]
- HRESULT ClientApplicationID(
- [in] BSTR value);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Indicates whether to forcefully (un)install the specified updates.")
- ]
- HRESULT IsForced(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020002),
- propput,
- helpstring(
- "Specifies whether to forcefully (un)install the specified updates.")
- ]
- HRESULT IsForced(
- [in] VARIANT_BOOL value);
- [
- id(0x60020003),
- propget,
- restricted, // Script caller can't read the type anyways
- helpstring(
- "Gets the window on top of which the wizard dialog box should "
- "be shown.")
- ]
- HRESULT ParentHwnd(
- [out, retval] HWND* retval);
- [
- id(0x60020003),
- propput,
- restricted, // Script caller can't read the type anyways
- helpstring(
- "Sets the window on top of which the wizard dialog box should "
- "be shown.")
- ]
- HRESULT ParentHwnd(
- [in, unique] HWND value);
- [
- id(0x60020004),
- propput,
- helpstring(
- "Sets the web browser window on top of which the wizard dialog box "
- "should be shown.")
- ]
- HRESULT ParentWindow(
- [in, unique] IUnknown* value);
- [
- id(0x60020004),
- propget,
- helpstring(
- "Gets the web browser window on top of which the wizard dialog box "
- "should be shown.")
- ]
- HRESULT ParentWindow(
- [out, retval] IUnknown** retval);
- [
- id(0x60020005),
- propget,
- helpstring(
- "Gets the updates to (un)install.")
- ]
- HRESULT Updates(
- [out, retval] IUpdateCollection** retval);
- [
- id(0x60020005),
- propput,
- helpstring("Specifies the updates to (un)install.")
- ]
- HRESULT Updates(
- [in] IUpdateCollection* value);
- //methods
- [
- id(0x60020006),
- helpstring(
- "Begins an asynchronous operation to install the updates.")
- ]
- HRESULT BeginInstall(
- [in] IUnknown* onProgressChanged,
- [in] IUnknown* onCompleted,
- [in] VARIANT state,
- [out, retval] IInstallationJob** retval);
- [
- id(0x60020007),
- helpstring(
- "Begins an asynchronous operation to uninstall the updates.")
- ]
- HRESULT BeginUninstall(
- [in] IUnknown* onProgressChanged,
- [in] IUnknown* onCompleted,
- [in] VARIANT state,
- [out, retval] IInstallationJob** retval);
- [
- id(0x60020008),
- helpstring("Completes an asynchronous installation.")
- ]
- HRESULT EndInstall(
- [in] IInstallationJob* value,
- [out, retval] IInstallationResult** retval);
- [
- id(0x60020009),
- helpstring("Completes an asynchronous uninstallation.")
- ]
- HRESULT EndUninstall(
- [in] IInstallationJob* value,
- [out, retval] IInstallationResult** retval);
- [
- id(0x6002000a),
- helpstring("Synchronously installs updates onto the target computer.")
- ]
- HRESULT Install(
- [out, retval] IInstallationResult** retval);
- [
- id(0x6002000b),
- helpstring(
- "Interactively guides the local user to go through the steps to "
- "install updates.")
- ]
- HRESULT RunWizard(
- [in, defaultvalue("")] BSTR dialogTitle,
- [out, retval] IInstallationResult** retval);
- [
- id(0x6002000c),
- propget,
- helpstring(
- "Indicates whether (un)installation can be performed on the target "
- "computer at this moment.")
- ]
- HRESULT IsBusy(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x6002000d),
- helpstring(
- "Synchronously uninstalls the updates from the target computer.")
- ]
- HRESULT Uninstall(
- [out, retval] IInstallationResult** retval);
- //properties:
- [
- id(0x6002000e),
- propget,
- helpstring(
- "Indicates whether to show source prompts to the user, when "
- "needed, while installing updates.")
- ]
- HRESULT AllowSourcePrompts(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x6002000e),
- propput,
- helpstring(
- "Specifies whether to show source prompts to the user, when "
- "needed, while installing updates.")
- ]
- HRESULT AllowSourcePrompts(
- [in] VARIANT_BOOL value);
- [
- id(0x6002000f),
- propget,
- helpstring(
- "Gets a value indicating whether a system reboot is required "
- "before (un)installing updates.")
- ]
- HRESULT RebootRequiredBeforeInstallation(
- [out, retval] VARIANT_BOOL* retval);
- }
- [
- helpstring("IUpdateSession Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(816858a4-260d-4260-933a-2585f1abc76b),
- pointer_default(unique),
- hidden // already exposed by a class
- ]
- interface IUpdateSession : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring("Gets the identifier of the current client application.")
- ]
- HRESULT ClientApplicationID(
- [out, retval] BSTR* retval);
- [
- id(0x60020001),
- propput,
- helpstring("Sets the identifier of the current client application.")
- ]
- HRESULT ClientApplicationID(
- [in] BSTR value);
- [
- id(0x60020002),
- propget,
- helpstring(
- "Gets a boolean value indicating whether the UpdateSession object "
- "is read-only.")
- ]
- HRESULT ReadOnly(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020003),
- propget,
- helpstring(
- "Gets the proxy settings required to reaching the server for "
- "future operations in the UpdateSession.")
- ]
- HRESULT WebProxy(
- [out, retval] IWebProxy** retval);
- [
- id(0x60020003),
- propput,
- helpstring(
- "Sets the proxy settings required to reach the server for "
- "future operations in the UpdateSession.")
- ]
- HRESULT WebProxy(
- [in, unique] IWebProxy* value);
- //methods:
- [
- id(0x60020004),
- helpstring("Creates an UpdateSearcher within the UpdateSession.")
- ]
- HRESULT CreateUpdateSearcher(
- [out, retval] IUpdateSearcher** retval);
- [
- id(0x60020005),
- helpstring("Creates an UpdateDownloader within the UpdateSession.")
- ]
- HRESULT CreateUpdateDownloader(
- [out, retval] IUpdateDownloader** retval);
- [
- id(0x60020006),
- helpstring("Creates an UpdateInstaller within the UpdateSession.")
- ]
- HRESULT CreateUpdateInstaller(
- [out, retval] IUpdateInstaller** retval);
- }
- [
- helpstring("IUpdateService Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(9f95119d-2fe8-4a9f-bf1e-d5acb4699f3c),
- pointer_default(unique)
- ]
- interface IUpdateService : IDispatch
- {
- //properties:
- [
- id(DISPID_VALUE),
- propget,
- helpstring("Name of the Service.")
- ]
- HRESULT Name(
- [out, retval] BSTR* retval);
- [
- id(0x60020001),
- propget,
- helpstring("SHA1 hash of the certificate used to sign contents.")
- ]
- HRESULT ContentValidationCert(
- [out, retval] VARIANT* retval);
- [
- id(0x60020002),
- propget,
- helpstring("Gets the date on which the Authorization Cab expires.")
- ]
- HRESULT ExpirationDate(
- [out, retval] DATE* retval);
- [
- id(0x60020003),
- propget,
- helpstring("Indicates whether the Service is a managed service.")
- ]
- HRESULT IsManaged(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020004),
- propget,
- helpstring("Indicates whether the Service is registered with Automatic Updates.")
- ]
- HRESULT IsRegisteredWithAU(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020005),
- propget,
- helpstring("Gets the date on which the Authorization Cab was issued.")
- ]
- HRESULT IssueDate(
- [out, retval] DATE* retval);
- [
- id(0x60020006),
- propget,
- helpstring(
- "Indicates whether the Service offers Windows updates.")
- ]
- HRESULT OffersWindowsUpdates(
- [out, retval] VARIANT_BOOL* retval);
- [
- id(0x60020007),
- propget,
- helpstring("URL for the redirector cab.")
- ]
- HRESULT RedirectUrl(
- [out, retval] BSTR* retval);
- [
- id(0x60020008),
- propget,
- helpstring("Gets the identifier of the Service.")
- ]
- HRESULT ServiceID(
- [out, retval] BSTR* retval);
- [
- id(0x60020009),
- propget,
- helpstring(
- "Returns the CLSID registered by the Service to provide the user "
- "interface.")
- ]
- HRESULT UIPluginClsid(
- [out, retval] BSTR* retval);
- }
- [
- helpstring("IUpdateServiceCollection Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(9b0353aa-0e52-44ff-b8b0-1f7fa0437f88),
- pointer_default(unique)
- ]
- interface IUpdateServiceCollection : IDispatch
- {
- //properties:
- [
- id(DISPID_VALUE),
- propget,
- helpstring("Gets an element in the collection.")
- ]
- HRESULT Item(
- [in] LONG index,
- [out, retval] IUpdateService** retval);
- [
- id(DISPID_NEWENUM),
- propget,
- helpstring(
- "Gets an IEnumVARIANT interface on an object that can be used to "
- "enumerate the collection.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** retval);
- [
- id(0x60020001),
- propget,
- helpstring("Gets the number of elements contained in the collection.")
- ]
- HRESULT Count(
- [out, retval] LONG* retval);
- }
- [
- helpstring("IUpdateServiceManager Interface"),
- object,
- oleautomation,
- dual,
- nonextensible,
- uuid(c165fa56-6f87-43aa-9d92-6cebcc7bcfe4),
- pointer_default(unique),
- hidden // already exposed by a class
- ]
- interface IUpdateServiceManager : IDispatch
- {
- //properties:
- [
- id(0x60020001),
- propget,
- helpstring("Gets the services registered with the SUS Client.")
- ]
- HRESULT Services(
- [out, retval] IUpdateServiceCollection** retval);
- //methods:
- [
- id(0x60020002),
- helpstring("Registers a service with SUS Client.")
- ]
- HRESULT AddService(
- [in] BSTR serviceID,
- [in] BSTR authorizationCabPath,
- [out, retval] IUpdateService** retval);
- [
- id(0x60020003),
- helpstring("Registers the service with AU.")
- ]
- HRESULT RegisterServiceWithAU(
- [in] BSTR serviceID);
- [
- id(0x60020004),
- helpstring("Removes a service registration from SUS Client.")
- ]
- HRESULT RemoveService(
- [in] BSTR serviceID);
- [
- id(0x60020005),
- helpstring("Unregisters the service with AU.")
- ]
- HRESULT UnregisterServiceWithAU(
- [in] BSTR serviceID);
- }
- [
- uuid(B596CC9F-56E5-419E-A622-E01BB457431E),
- version(2.0),
- helpstring("WUAPI 2.0 Type Library")
- ]
- library WUApiLib
- {
- importlib("stdole2.tlb");
- interface IInvalidProductLicenseException;
- interface IWindowsDriverUpdate;
- interface ISearchCompletedCallback;
- interface ISearchProgressChangedCallback;
- interface IDownloadCompletedCallback;
- interface IDownloadProgressChangedCallback;
- interface IInstallationCompletedCallback;
- interface IInstallationProgressChangedCallback;
- [
- helpstring("StringCollection Class"),
- uuid(72C97D74-7C3B-40AE-B77D-ABDB22EBA6FB)
- ]
- coclass StringCollection
- {
- [default] interface IStringCollection;
- };
- [
- helpstring("UpdateSearcher Class"),
- uuid(B699E5E8-67FF-4177-88B0-3684A3388BFB)
- ]
- coclass UpdateSearcher
- {
- [default] interface IUpdateSearcher;
- };
- [
- helpstring("WebProxy Class"),
- uuid(650503cf-9108-4ddc-a2ce-6c2341e1c582)
- ]
- coclass WebProxy
- {
- [default] interface IWebProxy;
- };
- [
- helpstring("SystemInformation Class"),
- uuid(C01B9BA0-BEA7-41BA-B604-D0A36F469133)
- ]
- coclass SystemInformation
- {
- [default] interface ISystemInformation;
- };
- [
- helpstring("AutomaticUpdates Class"),
- uuid(BFE18E9C-6D87-4450-B37C-E02F0B373803)
- ]
- coclass AutomaticUpdates
- {
- [default] interface IAutomaticUpdates;
- };
- [
- helpstring("UpdateCollection Class"),
- uuid(13639463-00DB-4646-803D-528026140D88)
- ]
- coclass UpdateCollection
- {
- [default] interface IUpdateCollection;
- };
- [
- helpstring("UpdateDownloader Class"),
- uuid(5BAF654A-5A07-4264-A255-9FF54C7151E7)
- ]
- coclass UpdateDownloader
- {
- [default] interface IUpdateDownloader;
- };
- [
- helpstring("UpdateInstaller Class"),
- uuid(D2E0FE7F-D23E-48E1-93C0-6FA8CC346474)
- ]
- coclass UpdateInstaller
- {
- [default] interface IUpdateInstaller;
- };
- [
- helpstring("UpdateSession Class"),
- uuid(4CB43D7F-7EEE-4906-8698-60DA1C38F2FE)
- ]
- coclass UpdateSession
- {
- [default] interface IUpdateSession;
- };
- [
- helpstring("UpdateServiceManager Class"),
- uuid(91353063-774C-4F84-B05B-498FEC7FBE25)
- ]
- coclass UpdateServiceManager
- {
- [default] interface IUpdateServiceManager;
- };
- };
|