wuapi.h 275 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137
  1. /*** Autogenerated by WIDL 7.7 from include/wuapi.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __wuapi_h__
  14. #define __wuapi_h__
  15. /* Forward declarations */
  16. #ifndef __IAutomaticUpdatesSettings_FWD_DEFINED__
  17. #define __IAutomaticUpdatesSettings_FWD_DEFINED__
  18. typedef interface IAutomaticUpdatesSettings IAutomaticUpdatesSettings;
  19. #ifdef __cplusplus
  20. interface IAutomaticUpdatesSettings;
  21. #endif /* __cplusplus */
  22. #endif
  23. #ifndef __IAutomaticUpdates_FWD_DEFINED__
  24. #define __IAutomaticUpdates_FWD_DEFINED__
  25. typedef interface IAutomaticUpdates IAutomaticUpdates;
  26. #ifdef __cplusplus
  27. interface IAutomaticUpdates;
  28. #endif /* __cplusplus */
  29. #endif
  30. #ifndef __IWebProxy_FWD_DEFINED__
  31. #define __IWebProxy_FWD_DEFINED__
  32. typedef interface IWebProxy IWebProxy;
  33. #ifdef __cplusplus
  34. interface IWebProxy;
  35. #endif /* __cplusplus */
  36. #endif
  37. #ifndef __IUpdateSession_FWD_DEFINED__
  38. #define __IUpdateSession_FWD_DEFINED__
  39. typedef interface IUpdateSession IUpdateSession;
  40. #ifdef __cplusplus
  41. interface IUpdateSession;
  42. #endif /* __cplusplus */
  43. #endif
  44. #ifndef __IImageInformation_FWD_DEFINED__
  45. #define __IImageInformation_FWD_DEFINED__
  46. typedef interface IImageInformation IImageInformation;
  47. #ifdef __cplusplus
  48. interface IImageInformation;
  49. #endif /* __cplusplus */
  50. #endif
  51. #ifndef __ICategory_FWD_DEFINED__
  52. #define __ICategory_FWD_DEFINED__
  53. typedef interface ICategory ICategory;
  54. #ifdef __cplusplus
  55. interface ICategory;
  56. #endif /* __cplusplus */
  57. #endif
  58. #ifndef __ICategoryCollection_FWD_DEFINED__
  59. #define __ICategoryCollection_FWD_DEFINED__
  60. typedef interface ICategoryCollection ICategoryCollection;
  61. #ifdef __cplusplus
  62. interface ICategoryCollection;
  63. #endif /* __cplusplus */
  64. #endif
  65. #ifndef __IStringCollection_FWD_DEFINED__
  66. #define __IStringCollection_FWD_DEFINED__
  67. typedef interface IStringCollection IStringCollection;
  68. #ifdef __cplusplus
  69. interface IStringCollection;
  70. #endif /* __cplusplus */
  71. #endif
  72. #ifndef __IUpdateException_FWD_DEFINED__
  73. #define __IUpdateException_FWD_DEFINED__
  74. typedef interface IUpdateException IUpdateException;
  75. #ifdef __cplusplus
  76. interface IUpdateException;
  77. #endif /* __cplusplus */
  78. #endif
  79. #ifndef __IUpdateExceptionCollection_FWD_DEFINED__
  80. #define __IUpdateExceptionCollection_FWD_DEFINED__
  81. typedef interface IUpdateExceptionCollection IUpdateExceptionCollection;
  82. #ifdef __cplusplus
  83. interface IUpdateExceptionCollection;
  84. #endif /* __cplusplus */
  85. #endif
  86. #ifndef __IUpdateIdentity_FWD_DEFINED__
  87. #define __IUpdateIdentity_FWD_DEFINED__
  88. typedef interface IUpdateIdentity IUpdateIdentity;
  89. #ifdef __cplusplus
  90. interface IUpdateIdentity;
  91. #endif /* __cplusplus */
  92. #endif
  93. #ifndef __IInstallationBehavior_FWD_DEFINED__
  94. #define __IInstallationBehavior_FWD_DEFINED__
  95. typedef interface IInstallationBehavior IInstallationBehavior;
  96. #ifdef __cplusplus
  97. interface IInstallationBehavior;
  98. #endif /* __cplusplus */
  99. #endif
  100. #ifndef __IUpdateDownloadContent_FWD_DEFINED__
  101. #define __IUpdateDownloadContent_FWD_DEFINED__
  102. typedef interface IUpdateDownloadContent IUpdateDownloadContent;
  103. #ifdef __cplusplus
  104. interface IUpdateDownloadContent;
  105. #endif /* __cplusplus */
  106. #endif
  107. #ifndef __IUpdateDownloadContentCollection_FWD_DEFINED__
  108. #define __IUpdateDownloadContentCollection_FWD_DEFINED__
  109. typedef interface IUpdateDownloadContentCollection IUpdateDownloadContentCollection;
  110. #ifdef __cplusplus
  111. interface IUpdateDownloadContentCollection;
  112. #endif /* __cplusplus */
  113. #endif
  114. #ifndef __IUpdate_FWD_DEFINED__
  115. #define __IUpdate_FWD_DEFINED__
  116. typedef interface IUpdate IUpdate;
  117. #ifdef __cplusplus
  118. interface IUpdate;
  119. #endif /* __cplusplus */
  120. #endif
  121. #ifndef __IUpdateCollection_FWD_DEFINED__
  122. #define __IUpdateCollection_FWD_DEFINED__
  123. typedef interface IUpdateCollection IUpdateCollection;
  124. #ifdef __cplusplus
  125. interface IUpdateCollection;
  126. #endif /* __cplusplus */
  127. #endif
  128. #ifndef __ISearchJob_FWD_DEFINED__
  129. #define __ISearchJob_FWD_DEFINED__
  130. typedef interface ISearchJob ISearchJob;
  131. #ifdef __cplusplus
  132. interface ISearchJob;
  133. #endif /* __cplusplus */
  134. #endif
  135. #ifndef __ISearchResult_FWD_DEFINED__
  136. #define __ISearchResult_FWD_DEFINED__
  137. typedef interface ISearchResult ISearchResult;
  138. #ifdef __cplusplus
  139. interface ISearchResult;
  140. #endif /* __cplusplus */
  141. #endif
  142. #ifndef __IUpdateHistoryEntry_FWD_DEFINED__
  143. #define __IUpdateHistoryEntry_FWD_DEFINED__
  144. typedef interface IUpdateHistoryEntry IUpdateHistoryEntry;
  145. #ifdef __cplusplus
  146. interface IUpdateHistoryEntry;
  147. #endif /* __cplusplus */
  148. #endif
  149. #ifndef __IUpdateHistoryEntryCollection_FWD_DEFINED__
  150. #define __IUpdateHistoryEntryCollection_FWD_DEFINED__
  151. typedef interface IUpdateHistoryEntryCollection IUpdateHistoryEntryCollection;
  152. #ifdef __cplusplus
  153. interface IUpdateHistoryEntryCollection;
  154. #endif /* __cplusplus */
  155. #endif
  156. #ifndef __IUpdateSearcher_FWD_DEFINED__
  157. #define __IUpdateSearcher_FWD_DEFINED__
  158. typedef interface IUpdateSearcher IUpdateSearcher;
  159. #ifdef __cplusplus
  160. interface IUpdateSearcher;
  161. #endif /* __cplusplus */
  162. #endif
  163. #ifndef __IUpdateDownloadResult_FWD_DEFINED__
  164. #define __IUpdateDownloadResult_FWD_DEFINED__
  165. typedef interface IUpdateDownloadResult IUpdateDownloadResult;
  166. #ifdef __cplusplus
  167. interface IUpdateDownloadResult;
  168. #endif /* __cplusplus */
  169. #endif
  170. #ifndef __IDownloadProgress_FWD_DEFINED__
  171. #define __IDownloadProgress_FWD_DEFINED__
  172. typedef interface IDownloadProgress IDownloadProgress;
  173. #ifdef __cplusplus
  174. interface IDownloadProgress;
  175. #endif /* __cplusplus */
  176. #endif
  177. #ifndef __IDownloadJob_FWD_DEFINED__
  178. #define __IDownloadJob_FWD_DEFINED__
  179. typedef interface IDownloadJob IDownloadJob;
  180. #ifdef __cplusplus
  181. interface IDownloadJob;
  182. #endif /* __cplusplus */
  183. #endif
  184. #ifndef __IDownloadResult_FWD_DEFINED__
  185. #define __IDownloadResult_FWD_DEFINED__
  186. typedef interface IDownloadResult IDownloadResult;
  187. #ifdef __cplusplus
  188. interface IDownloadResult;
  189. #endif /* __cplusplus */
  190. #endif
  191. #ifndef __IUpdateDownloader_FWD_DEFINED__
  192. #define __IUpdateDownloader_FWD_DEFINED__
  193. typedef interface IUpdateDownloader IUpdateDownloader;
  194. #ifdef __cplusplus
  195. interface IUpdateDownloader;
  196. #endif /* __cplusplus */
  197. #endif
  198. #ifndef __IUpdateInstallationResult_FWD_DEFINED__
  199. #define __IUpdateInstallationResult_FWD_DEFINED__
  200. typedef interface IUpdateInstallationResult IUpdateInstallationResult;
  201. #ifdef __cplusplus
  202. interface IUpdateInstallationResult;
  203. #endif /* __cplusplus */
  204. #endif
  205. #ifndef __IInstallationProgress_FWD_DEFINED__
  206. #define __IInstallationProgress_FWD_DEFINED__
  207. typedef interface IInstallationProgress IInstallationProgress;
  208. #ifdef __cplusplus
  209. interface IInstallationProgress;
  210. #endif /* __cplusplus */
  211. #endif
  212. #ifndef __IInstallationJob_FWD_DEFINED__
  213. #define __IInstallationJob_FWD_DEFINED__
  214. typedef interface IInstallationJob IInstallationJob;
  215. #ifdef __cplusplus
  216. interface IInstallationJob;
  217. #endif /* __cplusplus */
  218. #endif
  219. #ifndef __IInstallationResult_FWD_DEFINED__
  220. #define __IInstallationResult_FWD_DEFINED__
  221. typedef interface IInstallationResult IInstallationResult;
  222. #ifdef __cplusplus
  223. interface IInstallationResult;
  224. #endif /* __cplusplus */
  225. #endif
  226. #ifndef __IUpdateInstaller_FWD_DEFINED__
  227. #define __IUpdateInstaller_FWD_DEFINED__
  228. typedef interface IUpdateInstaller IUpdateInstaller;
  229. #ifdef __cplusplus
  230. interface IUpdateInstaller;
  231. #endif /* __cplusplus */
  232. #endif
  233. #ifndef __ISystemInformation_FWD_DEFINED__
  234. #define __ISystemInformation_FWD_DEFINED__
  235. typedef interface ISystemInformation ISystemInformation;
  236. #ifdef __cplusplus
  237. interface ISystemInformation;
  238. #endif /* __cplusplus */
  239. #endif
  240. #ifndef __IWindowsUpdateAgentInfo_FWD_DEFINED__
  241. #define __IWindowsUpdateAgentInfo_FWD_DEFINED__
  242. typedef interface IWindowsUpdateAgentInfo IWindowsUpdateAgentInfo;
  243. #ifdef __cplusplus
  244. interface IWindowsUpdateAgentInfo;
  245. #endif /* __cplusplus */
  246. #endif
  247. #ifndef __AutomaticUpdates_FWD_DEFINED__
  248. #define __AutomaticUpdates_FWD_DEFINED__
  249. #ifdef __cplusplus
  250. typedef class AutomaticUpdates AutomaticUpdates;
  251. #else
  252. typedef struct AutomaticUpdates AutomaticUpdates;
  253. #endif /* defined __cplusplus */
  254. #endif /* defined __AutomaticUpdates_FWD_DEFINED__ */
  255. #ifndef __UpdateInstaller_FWD_DEFINED__
  256. #define __UpdateInstaller_FWD_DEFINED__
  257. #ifdef __cplusplus
  258. typedef class UpdateInstaller UpdateInstaller;
  259. #else
  260. typedef struct UpdateInstaller UpdateInstaller;
  261. #endif /* defined __cplusplus */
  262. #endif /* defined __UpdateInstaller_FWD_DEFINED__ */
  263. #ifndef __UpdateSession_FWD_DEFINED__
  264. #define __UpdateSession_FWD_DEFINED__
  265. #ifdef __cplusplus
  266. typedef class UpdateSession UpdateSession;
  267. #else
  268. typedef struct UpdateSession UpdateSession;
  269. #endif /* defined __cplusplus */
  270. #endif /* defined __UpdateSession_FWD_DEFINED__ */
  271. #ifndef __SystemInformation_FWD_DEFINED__
  272. #define __SystemInformation_FWD_DEFINED__
  273. #ifdef __cplusplus
  274. typedef class SystemInformation SystemInformation;
  275. #else
  276. typedef struct SystemInformation SystemInformation;
  277. #endif /* defined __cplusplus */
  278. #endif /* defined __SystemInformation_FWD_DEFINED__ */
  279. #ifndef __WindowsUpdateAgentInfo_FWD_DEFINED__
  280. #define __WindowsUpdateAgentInfo_FWD_DEFINED__
  281. #ifdef __cplusplus
  282. typedef class WindowsUpdateAgentInfo WindowsUpdateAgentInfo;
  283. #else
  284. typedef struct WindowsUpdateAgentInfo WindowsUpdateAgentInfo;
  285. #endif /* defined __cplusplus */
  286. #endif /* defined __WindowsUpdateAgentInfo_FWD_DEFINED__ */
  287. /* Headers for imported files */
  288. #include <oaidl.h>
  289. #ifdef __cplusplus
  290. extern "C" {
  291. #endif
  292. #ifndef __WUApiLib_LIBRARY_DEFINED__
  293. #define __WUApiLib_LIBRARY_DEFINED__
  294. DEFINE_GUID(LIBID_WUApiLib, 0xb596cc9f, 0x56e5, 0x419e, 0xa6,0x22, 0xe0,0x1b,0xb4,0x57,0x43,0x1e);
  295. #ifndef __ICategoryCollection_FWD_DEFINED__
  296. #define __ICategoryCollection_FWD_DEFINED__
  297. typedef interface ICategoryCollection ICategoryCollection;
  298. #ifdef __cplusplus
  299. interface ICategoryCollection;
  300. #endif /* __cplusplus */
  301. #endif
  302. #ifndef __IStringCollection_FWD_DEFINED__
  303. #define __IStringCollection_FWD_DEFINED__
  304. typedef interface IStringCollection IStringCollection;
  305. #ifdef __cplusplus
  306. interface IStringCollection;
  307. #endif /* __cplusplus */
  308. #endif
  309. #ifndef __IUpdateCollection_FWD_DEFINED__
  310. #define __IUpdateCollection_FWD_DEFINED__
  311. typedef interface IUpdateCollection IUpdateCollection;
  312. #ifdef __cplusplus
  313. interface IUpdateCollection;
  314. #endif /* __cplusplus */
  315. #endif
  316. #ifndef __IUpdateDownloader_FWD_DEFINED__
  317. #define __IUpdateDownloader_FWD_DEFINED__
  318. typedef interface IUpdateDownloader IUpdateDownloader;
  319. #ifdef __cplusplus
  320. interface IUpdateDownloader;
  321. #endif /* __cplusplus */
  322. #endif
  323. #ifndef __IUpdateInstaller_FWD_DEFINED__
  324. #define __IUpdateInstaller_FWD_DEFINED__
  325. typedef interface IUpdateInstaller IUpdateInstaller;
  326. #ifdef __cplusplus
  327. interface IUpdateInstaller;
  328. #endif /* __cplusplus */
  329. #endif
  330. #ifndef __IUpdateSearcher_FWD_DEFINED__
  331. #define __IUpdateSearcher_FWD_DEFINED__
  332. typedef interface IUpdateSearcher IUpdateSearcher;
  333. #ifdef __cplusplus
  334. interface IUpdateSearcher;
  335. #endif /* __cplusplus */
  336. #endif
  337. typedef enum tagDownloadPriority {
  338. dpLow = 1,
  339. dpNormal = 2,
  340. dpHigh = 3
  341. } DownloadPriority;
  342. typedef enum tagServerSelection {
  343. ssDefault = 0,
  344. ssManagedServer = 1,
  345. ssWindowsUpdate = 2,
  346. ssOthers = 3
  347. } ServerSelection;
  348. typedef enum tagAutomaticUpdatesNotificationLevel {
  349. aunlNotConfigured = 0,
  350. aunlDisabled = 1,
  351. aunlNotifyBeforeDownload = 2,
  352. aunlNotifyBeforeInstallation = 3,
  353. aunlScheduledInstallation = 4
  354. } AutomaticUpdatesNotificationLevel;
  355. typedef enum tagAutomaticUpdatesScheduledInstallationDay {
  356. ausidEveryDay = 0,
  357. ausidEverySunday = 1,
  358. ausidEveryMonday = 2,
  359. ausidEveryTuesday = 3,
  360. ausidEveryWednesday = 4,
  361. ausidEveryThursday = 5,
  362. ausidEveryFriday = 6,
  363. ausidEverySaturday = 7
  364. } AutomaticUpdatesScheduledInstallationDay;
  365. typedef enum tagDownloadPhase {
  366. dphInitializing = 0,
  367. dphDownloading = 1,
  368. dphVerifying = 2
  369. } DownloadPhase;
  370. typedef enum tagOperationResultCode {
  371. orcNotStarted = 0,
  372. orcInProgress = 1,
  373. orcSucceeded = 2,
  374. orcSucceededWithErrors = 3,
  375. orcFailed = 4,
  376. orcAborted = 5
  377. } OperationResultCode;
  378. typedef enum tagUpdateExceptionContext {
  379. uecGeneral = 1,
  380. uecWindowsDriver = 2,
  381. uecWindowsInstaller = 3
  382. } UpdateExceptionContext;
  383. typedef enum tagInstallationImpact {
  384. iiNormal = 0,
  385. iiMinor = 1,
  386. iiRequiresExclusiveHandling = 2
  387. } InstallationImpact;
  388. typedef enum tagInstallationRebootBehavior {
  389. irbNeverReboots = 0,
  390. irbAlwaysRequiresReboot = 1,
  391. irbCanRequestReboot = 2
  392. } InstallationRebootBehavior;
  393. typedef enum tagUpdateType {
  394. utSoftware = 1,
  395. utDriver = 2
  396. } UpdateType;
  397. typedef enum tagUpdateOperation {
  398. uoInstallation = 1,
  399. uoUninstallation = 2
  400. } UpdateOperation;
  401. typedef enum tagDeploymentAction {
  402. daNone = 0,
  403. daInstallation = 1,
  404. daUninstallation = 2,
  405. daDetection = 3
  406. } DeploymentAction;
  407. /*****************************************************************************
  408. * IAutomaticUpdatesSettings interface
  409. */
  410. #ifndef __IAutomaticUpdatesSettings_INTERFACE_DEFINED__
  411. #define __IAutomaticUpdatesSettings_INTERFACE_DEFINED__
  412. DEFINE_GUID(IID_IAutomaticUpdatesSettings, 0x2ee48f22, 0xaf3c, 0x405f, 0x89,0x70, 0xf7,0x1b,0xe1,0x2e,0xe9,0xa2);
  413. #if defined(__cplusplus) && !defined(CINTERFACE)
  414. MIDL_INTERFACE("2ee48f22-af3c-405f-8970-f71be12ee9a2")
  415. IAutomaticUpdatesSettings : public IDispatch
  416. {
  417. virtual HRESULT STDMETHODCALLTYPE get_NotificationLevel(
  418. AutomaticUpdatesNotificationLevel *retval) = 0;
  419. virtual HRESULT STDMETHODCALLTYPE put_NotificationLevel(
  420. AutomaticUpdatesNotificationLevel value) = 0;
  421. virtual HRESULT STDMETHODCALLTYPE get_ReadOnly(
  422. VARIANT_BOOL *retval) = 0;
  423. virtual HRESULT STDMETHODCALLTYPE get_Required(
  424. VARIANT_BOOL *retval) = 0;
  425. virtual HRESULT STDMETHODCALLTYPE get_ScheduledInstallationDay(
  426. AutomaticUpdatesScheduledInstallationDay *retval) = 0;
  427. virtual HRESULT STDMETHODCALLTYPE put_ScheduledInstallationDay(
  428. AutomaticUpdatesScheduledInstallationDay value) = 0;
  429. virtual HRESULT STDMETHODCALLTYPE get_ScheduledInstallationTime(
  430. LONG *retval) = 0;
  431. virtual HRESULT STDMETHODCALLTYPE put_ScheduledInstallationTime(
  432. LONG value) = 0;
  433. virtual HRESULT STDMETHODCALLTYPE Refresh(
  434. ) = 0;
  435. virtual HRESULT STDMETHODCALLTYPE Save(
  436. ) = 0;
  437. };
  438. #ifdef __CRT_UUID_DECL
  439. __CRT_UUID_DECL(IAutomaticUpdatesSettings, 0x2ee48f22, 0xaf3c, 0x405f, 0x89,0x70, 0xf7,0x1b,0xe1,0x2e,0xe9,0xa2)
  440. #endif
  441. #else
  442. typedef struct IAutomaticUpdatesSettingsVtbl {
  443. BEGIN_INTERFACE
  444. /*** IUnknown methods ***/
  445. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  446. IAutomaticUpdatesSettings *This,
  447. REFIID riid,
  448. void **ppvObject);
  449. ULONG (STDMETHODCALLTYPE *AddRef)(
  450. IAutomaticUpdatesSettings *This);
  451. ULONG (STDMETHODCALLTYPE *Release)(
  452. IAutomaticUpdatesSettings *This);
  453. /*** IDispatch methods ***/
  454. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  455. IAutomaticUpdatesSettings *This,
  456. UINT *pctinfo);
  457. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  458. IAutomaticUpdatesSettings *This,
  459. UINT iTInfo,
  460. LCID lcid,
  461. ITypeInfo **ppTInfo);
  462. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  463. IAutomaticUpdatesSettings *This,
  464. REFIID riid,
  465. LPOLESTR *rgszNames,
  466. UINT cNames,
  467. LCID lcid,
  468. DISPID *rgDispId);
  469. HRESULT (STDMETHODCALLTYPE *Invoke)(
  470. IAutomaticUpdatesSettings *This,
  471. DISPID dispIdMember,
  472. REFIID riid,
  473. LCID lcid,
  474. WORD wFlags,
  475. DISPPARAMS *pDispParams,
  476. VARIANT *pVarResult,
  477. EXCEPINFO *pExcepInfo,
  478. UINT *puArgErr);
  479. /*** IAutomaticUpdatesSettings methods ***/
  480. HRESULT (STDMETHODCALLTYPE *get_NotificationLevel)(
  481. IAutomaticUpdatesSettings *This,
  482. AutomaticUpdatesNotificationLevel *retval);
  483. HRESULT (STDMETHODCALLTYPE *put_NotificationLevel)(
  484. IAutomaticUpdatesSettings *This,
  485. AutomaticUpdatesNotificationLevel value);
  486. HRESULT (STDMETHODCALLTYPE *get_ReadOnly)(
  487. IAutomaticUpdatesSettings *This,
  488. VARIANT_BOOL *retval);
  489. HRESULT (STDMETHODCALLTYPE *get_Required)(
  490. IAutomaticUpdatesSettings *This,
  491. VARIANT_BOOL *retval);
  492. HRESULT (STDMETHODCALLTYPE *get_ScheduledInstallationDay)(
  493. IAutomaticUpdatesSettings *This,
  494. AutomaticUpdatesScheduledInstallationDay *retval);
  495. HRESULT (STDMETHODCALLTYPE *put_ScheduledInstallationDay)(
  496. IAutomaticUpdatesSettings *This,
  497. AutomaticUpdatesScheduledInstallationDay value);
  498. HRESULT (STDMETHODCALLTYPE *get_ScheduledInstallationTime)(
  499. IAutomaticUpdatesSettings *This,
  500. LONG *retval);
  501. HRESULT (STDMETHODCALLTYPE *put_ScheduledInstallationTime)(
  502. IAutomaticUpdatesSettings *This,
  503. LONG value);
  504. HRESULT (STDMETHODCALLTYPE *Refresh)(
  505. IAutomaticUpdatesSettings *This);
  506. HRESULT (STDMETHODCALLTYPE *Save)(
  507. IAutomaticUpdatesSettings *This);
  508. END_INTERFACE
  509. } IAutomaticUpdatesSettingsVtbl;
  510. interface IAutomaticUpdatesSettings {
  511. CONST_VTBL IAutomaticUpdatesSettingsVtbl* lpVtbl;
  512. };
  513. #ifdef COBJMACROS
  514. #ifndef WIDL_C_INLINE_WRAPPERS
  515. /*** IUnknown methods ***/
  516. #define IAutomaticUpdatesSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  517. #define IAutomaticUpdatesSettings_AddRef(This) (This)->lpVtbl->AddRef(This)
  518. #define IAutomaticUpdatesSettings_Release(This) (This)->lpVtbl->Release(This)
  519. /*** IDispatch methods ***/
  520. #define IAutomaticUpdatesSettings_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  521. #define IAutomaticUpdatesSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  522. #define IAutomaticUpdatesSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  523. #define IAutomaticUpdatesSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  524. /*** IAutomaticUpdatesSettings methods ***/
  525. #define IAutomaticUpdatesSettings_get_NotificationLevel(This,retval) (This)->lpVtbl->get_NotificationLevel(This,retval)
  526. #define IAutomaticUpdatesSettings_put_NotificationLevel(This,value) (This)->lpVtbl->put_NotificationLevel(This,value)
  527. #define IAutomaticUpdatesSettings_get_ReadOnly(This,retval) (This)->lpVtbl->get_ReadOnly(This,retval)
  528. #define IAutomaticUpdatesSettings_get_Required(This,retval) (This)->lpVtbl->get_Required(This,retval)
  529. #define IAutomaticUpdatesSettings_get_ScheduledInstallationDay(This,retval) (This)->lpVtbl->get_ScheduledInstallationDay(This,retval)
  530. #define IAutomaticUpdatesSettings_put_ScheduledInstallationDay(This,value) (This)->lpVtbl->put_ScheduledInstallationDay(This,value)
  531. #define IAutomaticUpdatesSettings_get_ScheduledInstallationTime(This,retval) (This)->lpVtbl->get_ScheduledInstallationTime(This,retval)
  532. #define IAutomaticUpdatesSettings_put_ScheduledInstallationTime(This,value) (This)->lpVtbl->put_ScheduledInstallationTime(This,value)
  533. #define IAutomaticUpdatesSettings_Refresh(This) (This)->lpVtbl->Refresh(This)
  534. #define IAutomaticUpdatesSettings_Save(This) (This)->lpVtbl->Save(This)
  535. #else
  536. /*** IUnknown methods ***/
  537. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_QueryInterface(IAutomaticUpdatesSettings* This,REFIID riid,void **ppvObject) {
  538. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  539. }
  540. static FORCEINLINE ULONG IAutomaticUpdatesSettings_AddRef(IAutomaticUpdatesSettings* This) {
  541. return This->lpVtbl->AddRef(This);
  542. }
  543. static FORCEINLINE ULONG IAutomaticUpdatesSettings_Release(IAutomaticUpdatesSettings* This) {
  544. return This->lpVtbl->Release(This);
  545. }
  546. /*** IDispatch methods ***/
  547. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_GetTypeInfoCount(IAutomaticUpdatesSettings* This,UINT *pctinfo) {
  548. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  549. }
  550. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_GetTypeInfo(IAutomaticUpdatesSettings* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  551. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  552. }
  553. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_GetIDsOfNames(IAutomaticUpdatesSettings* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  554. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  555. }
  556. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_Invoke(IAutomaticUpdatesSettings* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  557. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  558. }
  559. /*** IAutomaticUpdatesSettings methods ***/
  560. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_get_NotificationLevel(IAutomaticUpdatesSettings* This,AutomaticUpdatesNotificationLevel *retval) {
  561. return This->lpVtbl->get_NotificationLevel(This,retval);
  562. }
  563. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_put_NotificationLevel(IAutomaticUpdatesSettings* This,AutomaticUpdatesNotificationLevel value) {
  564. return This->lpVtbl->put_NotificationLevel(This,value);
  565. }
  566. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_get_ReadOnly(IAutomaticUpdatesSettings* This,VARIANT_BOOL *retval) {
  567. return This->lpVtbl->get_ReadOnly(This,retval);
  568. }
  569. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_get_Required(IAutomaticUpdatesSettings* This,VARIANT_BOOL *retval) {
  570. return This->lpVtbl->get_Required(This,retval);
  571. }
  572. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_get_ScheduledInstallationDay(IAutomaticUpdatesSettings* This,AutomaticUpdatesScheduledInstallationDay *retval) {
  573. return This->lpVtbl->get_ScheduledInstallationDay(This,retval);
  574. }
  575. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_put_ScheduledInstallationDay(IAutomaticUpdatesSettings* This,AutomaticUpdatesScheduledInstallationDay value) {
  576. return This->lpVtbl->put_ScheduledInstallationDay(This,value);
  577. }
  578. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_get_ScheduledInstallationTime(IAutomaticUpdatesSettings* This,LONG *retval) {
  579. return This->lpVtbl->get_ScheduledInstallationTime(This,retval);
  580. }
  581. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_put_ScheduledInstallationTime(IAutomaticUpdatesSettings* This,LONG value) {
  582. return This->lpVtbl->put_ScheduledInstallationTime(This,value);
  583. }
  584. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_Refresh(IAutomaticUpdatesSettings* This) {
  585. return This->lpVtbl->Refresh(This);
  586. }
  587. static FORCEINLINE HRESULT IAutomaticUpdatesSettings_Save(IAutomaticUpdatesSettings* This) {
  588. return This->lpVtbl->Save(This);
  589. }
  590. #endif
  591. #endif
  592. #endif
  593. #endif /* __IAutomaticUpdatesSettings_INTERFACE_DEFINED__ */
  594. /*****************************************************************************
  595. * IAutomaticUpdates interface
  596. */
  597. #ifndef __IAutomaticUpdates_INTERFACE_DEFINED__
  598. #define __IAutomaticUpdates_INTERFACE_DEFINED__
  599. DEFINE_GUID(IID_IAutomaticUpdates, 0x673425bf, 0xc082, 0x4c7c, 0xbd,0xfd, 0x56,0x94,0x64,0xb8,0xe0,0xce);
  600. #if defined(__cplusplus) && !defined(CINTERFACE)
  601. MIDL_INTERFACE("673425bf-c082-4c7c-bdfd-569464b8e0ce")
  602. IAutomaticUpdates : public IDispatch
  603. {
  604. virtual HRESULT STDMETHODCALLTYPE DetectNow(
  605. ) = 0;
  606. virtual HRESULT STDMETHODCALLTYPE Pause(
  607. ) = 0;
  608. virtual HRESULT STDMETHODCALLTYPE Resume(
  609. ) = 0;
  610. virtual HRESULT STDMETHODCALLTYPE ShowSettingsDialog(
  611. ) = 0;
  612. virtual HRESULT STDMETHODCALLTYPE get_Settings(
  613. IAutomaticUpdatesSettings **retval) = 0;
  614. virtual HRESULT STDMETHODCALLTYPE get_ServiceEnabled(
  615. VARIANT_BOOL *retval) = 0;
  616. virtual HRESULT STDMETHODCALLTYPE EnableService(
  617. ) = 0;
  618. };
  619. #ifdef __CRT_UUID_DECL
  620. __CRT_UUID_DECL(IAutomaticUpdates, 0x673425bf, 0xc082, 0x4c7c, 0xbd,0xfd, 0x56,0x94,0x64,0xb8,0xe0,0xce)
  621. #endif
  622. #else
  623. typedef struct IAutomaticUpdatesVtbl {
  624. BEGIN_INTERFACE
  625. /*** IUnknown methods ***/
  626. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  627. IAutomaticUpdates *This,
  628. REFIID riid,
  629. void **ppvObject);
  630. ULONG (STDMETHODCALLTYPE *AddRef)(
  631. IAutomaticUpdates *This);
  632. ULONG (STDMETHODCALLTYPE *Release)(
  633. IAutomaticUpdates *This);
  634. /*** IDispatch methods ***/
  635. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  636. IAutomaticUpdates *This,
  637. UINT *pctinfo);
  638. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  639. IAutomaticUpdates *This,
  640. UINT iTInfo,
  641. LCID lcid,
  642. ITypeInfo **ppTInfo);
  643. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  644. IAutomaticUpdates *This,
  645. REFIID riid,
  646. LPOLESTR *rgszNames,
  647. UINT cNames,
  648. LCID lcid,
  649. DISPID *rgDispId);
  650. HRESULT (STDMETHODCALLTYPE *Invoke)(
  651. IAutomaticUpdates *This,
  652. DISPID dispIdMember,
  653. REFIID riid,
  654. LCID lcid,
  655. WORD wFlags,
  656. DISPPARAMS *pDispParams,
  657. VARIANT *pVarResult,
  658. EXCEPINFO *pExcepInfo,
  659. UINT *puArgErr);
  660. /*** IAutomaticUpdates methods ***/
  661. HRESULT (STDMETHODCALLTYPE *DetectNow)(
  662. IAutomaticUpdates *This);
  663. HRESULT (STDMETHODCALLTYPE *Pause)(
  664. IAutomaticUpdates *This);
  665. HRESULT (STDMETHODCALLTYPE *Resume)(
  666. IAutomaticUpdates *This);
  667. HRESULT (STDMETHODCALLTYPE *ShowSettingsDialog)(
  668. IAutomaticUpdates *This);
  669. HRESULT (STDMETHODCALLTYPE *get_Settings)(
  670. IAutomaticUpdates *This,
  671. IAutomaticUpdatesSettings **retval);
  672. HRESULT (STDMETHODCALLTYPE *get_ServiceEnabled)(
  673. IAutomaticUpdates *This,
  674. VARIANT_BOOL *retval);
  675. HRESULT (STDMETHODCALLTYPE *EnableService)(
  676. IAutomaticUpdates *This);
  677. END_INTERFACE
  678. } IAutomaticUpdatesVtbl;
  679. interface IAutomaticUpdates {
  680. CONST_VTBL IAutomaticUpdatesVtbl* lpVtbl;
  681. };
  682. #ifdef COBJMACROS
  683. #ifndef WIDL_C_INLINE_WRAPPERS
  684. /*** IUnknown methods ***/
  685. #define IAutomaticUpdates_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  686. #define IAutomaticUpdates_AddRef(This) (This)->lpVtbl->AddRef(This)
  687. #define IAutomaticUpdates_Release(This) (This)->lpVtbl->Release(This)
  688. /*** IDispatch methods ***/
  689. #define IAutomaticUpdates_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  690. #define IAutomaticUpdates_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  691. #define IAutomaticUpdates_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  692. #define IAutomaticUpdates_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  693. /*** IAutomaticUpdates methods ***/
  694. #define IAutomaticUpdates_DetectNow(This) (This)->lpVtbl->DetectNow(This)
  695. #define IAutomaticUpdates_Pause(This) (This)->lpVtbl->Pause(This)
  696. #define IAutomaticUpdates_Resume(This) (This)->lpVtbl->Resume(This)
  697. #define IAutomaticUpdates_ShowSettingsDialog(This) (This)->lpVtbl->ShowSettingsDialog(This)
  698. #define IAutomaticUpdates_get_Settings(This,retval) (This)->lpVtbl->get_Settings(This,retval)
  699. #define IAutomaticUpdates_get_ServiceEnabled(This,retval) (This)->lpVtbl->get_ServiceEnabled(This,retval)
  700. #define IAutomaticUpdates_EnableService(This) (This)->lpVtbl->EnableService(This)
  701. #else
  702. /*** IUnknown methods ***/
  703. static FORCEINLINE HRESULT IAutomaticUpdates_QueryInterface(IAutomaticUpdates* This,REFIID riid,void **ppvObject) {
  704. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  705. }
  706. static FORCEINLINE ULONG IAutomaticUpdates_AddRef(IAutomaticUpdates* This) {
  707. return This->lpVtbl->AddRef(This);
  708. }
  709. static FORCEINLINE ULONG IAutomaticUpdates_Release(IAutomaticUpdates* This) {
  710. return This->lpVtbl->Release(This);
  711. }
  712. /*** IDispatch methods ***/
  713. static FORCEINLINE HRESULT IAutomaticUpdates_GetTypeInfoCount(IAutomaticUpdates* This,UINT *pctinfo) {
  714. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  715. }
  716. static FORCEINLINE HRESULT IAutomaticUpdates_GetTypeInfo(IAutomaticUpdates* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  717. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  718. }
  719. static FORCEINLINE HRESULT IAutomaticUpdates_GetIDsOfNames(IAutomaticUpdates* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  720. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  721. }
  722. static FORCEINLINE HRESULT IAutomaticUpdates_Invoke(IAutomaticUpdates* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  723. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  724. }
  725. /*** IAutomaticUpdates methods ***/
  726. static FORCEINLINE HRESULT IAutomaticUpdates_DetectNow(IAutomaticUpdates* This) {
  727. return This->lpVtbl->DetectNow(This);
  728. }
  729. static FORCEINLINE HRESULT IAutomaticUpdates_Pause(IAutomaticUpdates* This) {
  730. return This->lpVtbl->Pause(This);
  731. }
  732. static FORCEINLINE HRESULT IAutomaticUpdates_Resume(IAutomaticUpdates* This) {
  733. return This->lpVtbl->Resume(This);
  734. }
  735. static FORCEINLINE HRESULT IAutomaticUpdates_ShowSettingsDialog(IAutomaticUpdates* This) {
  736. return This->lpVtbl->ShowSettingsDialog(This);
  737. }
  738. static FORCEINLINE HRESULT IAutomaticUpdates_get_Settings(IAutomaticUpdates* This,IAutomaticUpdatesSettings **retval) {
  739. return This->lpVtbl->get_Settings(This,retval);
  740. }
  741. static FORCEINLINE HRESULT IAutomaticUpdates_get_ServiceEnabled(IAutomaticUpdates* This,VARIANT_BOOL *retval) {
  742. return This->lpVtbl->get_ServiceEnabled(This,retval);
  743. }
  744. static FORCEINLINE HRESULT IAutomaticUpdates_EnableService(IAutomaticUpdates* This) {
  745. return This->lpVtbl->EnableService(This);
  746. }
  747. #endif
  748. #endif
  749. #endif
  750. #endif /* __IAutomaticUpdates_INTERFACE_DEFINED__ */
  751. /*****************************************************************************
  752. * IWebProxy interface
  753. */
  754. #ifndef __IWebProxy_INTERFACE_DEFINED__
  755. #define __IWebProxy_INTERFACE_DEFINED__
  756. DEFINE_GUID(IID_IWebProxy, 0x174c81fe, 0xaecd, 0x4dae, 0xb8,0xa0, 0x2c,0x63,0x18,0xdd,0x86,0xa8);
  757. #if defined(__cplusplus) && !defined(CINTERFACE)
  758. MIDL_INTERFACE("174c81fe-aecd-4dae-b8a0-2c6318dd86a8")
  759. IWebProxy : public IDispatch
  760. {
  761. virtual HRESULT STDMETHODCALLTYPE get_Address(
  762. BSTR *retval) = 0;
  763. virtual HRESULT STDMETHODCALLTYPE put_Address(
  764. BSTR value) = 0;
  765. virtual HRESULT STDMETHODCALLTYPE get_BypassList(
  766. IStringCollection **retval) = 0;
  767. virtual HRESULT STDMETHODCALLTYPE put_BypassList(
  768. IStringCollection *value) = 0;
  769. virtual HRESULT STDMETHODCALLTYPE get_BypassProxyOnLocal(
  770. VARIANT_BOOL *retval) = 0;
  771. virtual HRESULT STDMETHODCALLTYPE put_BypassProxyOnLocal(
  772. VARIANT_BOOL value) = 0;
  773. virtual HRESULT STDMETHODCALLTYPE get_ReadOnly(
  774. VARIANT_BOOL *retval) = 0;
  775. virtual HRESULT STDMETHODCALLTYPE get_UserName(
  776. BSTR *retval) = 0;
  777. virtual HRESULT STDMETHODCALLTYPE put_UserName(
  778. BSTR value) = 0;
  779. virtual HRESULT STDMETHODCALLTYPE SetPassword(
  780. BSTR value) = 0;
  781. virtual HRESULT STDMETHODCALLTYPE PromptForCredentials(
  782. IUnknown *parentWindow,
  783. BSTR title) = 0;
  784. virtual HRESULT STDMETHODCALLTYPE PromptForCredentialsFromHwnd(
  785. HWND parentWindow,
  786. BSTR title) = 0;
  787. virtual HRESULT STDMETHODCALLTYPE get_AutoDetect(
  788. VARIANT_BOOL *retval) = 0;
  789. virtual HRESULT STDMETHODCALLTYPE put_AutoDetect(
  790. VARIANT_BOOL value) = 0;
  791. };
  792. #ifdef __CRT_UUID_DECL
  793. __CRT_UUID_DECL(IWebProxy, 0x174c81fe, 0xaecd, 0x4dae, 0xb8,0xa0, 0x2c,0x63,0x18,0xdd,0x86,0xa8)
  794. #endif
  795. #else
  796. typedef struct IWebProxyVtbl {
  797. BEGIN_INTERFACE
  798. /*** IUnknown methods ***/
  799. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  800. IWebProxy *This,
  801. REFIID riid,
  802. void **ppvObject);
  803. ULONG (STDMETHODCALLTYPE *AddRef)(
  804. IWebProxy *This);
  805. ULONG (STDMETHODCALLTYPE *Release)(
  806. IWebProxy *This);
  807. /*** IDispatch methods ***/
  808. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  809. IWebProxy *This,
  810. UINT *pctinfo);
  811. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  812. IWebProxy *This,
  813. UINT iTInfo,
  814. LCID lcid,
  815. ITypeInfo **ppTInfo);
  816. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  817. IWebProxy *This,
  818. REFIID riid,
  819. LPOLESTR *rgszNames,
  820. UINT cNames,
  821. LCID lcid,
  822. DISPID *rgDispId);
  823. HRESULT (STDMETHODCALLTYPE *Invoke)(
  824. IWebProxy *This,
  825. DISPID dispIdMember,
  826. REFIID riid,
  827. LCID lcid,
  828. WORD wFlags,
  829. DISPPARAMS *pDispParams,
  830. VARIANT *pVarResult,
  831. EXCEPINFO *pExcepInfo,
  832. UINT *puArgErr);
  833. /*** IWebProxy methods ***/
  834. HRESULT (STDMETHODCALLTYPE *get_Address)(
  835. IWebProxy *This,
  836. BSTR *retval);
  837. HRESULT (STDMETHODCALLTYPE *put_Address)(
  838. IWebProxy *This,
  839. BSTR value);
  840. HRESULT (STDMETHODCALLTYPE *get_BypassList)(
  841. IWebProxy *This,
  842. IStringCollection **retval);
  843. HRESULT (STDMETHODCALLTYPE *put_BypassList)(
  844. IWebProxy *This,
  845. IStringCollection *value);
  846. HRESULT (STDMETHODCALLTYPE *get_BypassProxyOnLocal)(
  847. IWebProxy *This,
  848. VARIANT_BOOL *retval);
  849. HRESULT (STDMETHODCALLTYPE *put_BypassProxyOnLocal)(
  850. IWebProxy *This,
  851. VARIANT_BOOL value);
  852. HRESULT (STDMETHODCALLTYPE *get_ReadOnly)(
  853. IWebProxy *This,
  854. VARIANT_BOOL *retval);
  855. HRESULT (STDMETHODCALLTYPE *get_UserName)(
  856. IWebProxy *This,
  857. BSTR *retval);
  858. HRESULT (STDMETHODCALLTYPE *put_UserName)(
  859. IWebProxy *This,
  860. BSTR value);
  861. HRESULT (STDMETHODCALLTYPE *SetPassword)(
  862. IWebProxy *This,
  863. BSTR value);
  864. HRESULT (STDMETHODCALLTYPE *PromptForCredentials)(
  865. IWebProxy *This,
  866. IUnknown *parentWindow,
  867. BSTR title);
  868. HRESULT (STDMETHODCALLTYPE *PromptForCredentialsFromHwnd)(
  869. IWebProxy *This,
  870. HWND parentWindow,
  871. BSTR title);
  872. HRESULT (STDMETHODCALLTYPE *get_AutoDetect)(
  873. IWebProxy *This,
  874. VARIANT_BOOL *retval);
  875. HRESULT (STDMETHODCALLTYPE *put_AutoDetect)(
  876. IWebProxy *This,
  877. VARIANT_BOOL value);
  878. END_INTERFACE
  879. } IWebProxyVtbl;
  880. interface IWebProxy {
  881. CONST_VTBL IWebProxyVtbl* lpVtbl;
  882. };
  883. #ifdef COBJMACROS
  884. #ifndef WIDL_C_INLINE_WRAPPERS
  885. /*** IUnknown methods ***/
  886. #define IWebProxy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  887. #define IWebProxy_AddRef(This) (This)->lpVtbl->AddRef(This)
  888. #define IWebProxy_Release(This) (This)->lpVtbl->Release(This)
  889. /*** IDispatch methods ***/
  890. #define IWebProxy_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  891. #define IWebProxy_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  892. #define IWebProxy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  893. #define IWebProxy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  894. /*** IWebProxy methods ***/
  895. #define IWebProxy_get_Address(This,retval) (This)->lpVtbl->get_Address(This,retval)
  896. #define IWebProxy_put_Address(This,value) (This)->lpVtbl->put_Address(This,value)
  897. #define IWebProxy_get_BypassList(This,retval) (This)->lpVtbl->get_BypassList(This,retval)
  898. #define IWebProxy_put_BypassList(This,value) (This)->lpVtbl->put_BypassList(This,value)
  899. #define IWebProxy_get_BypassProxyOnLocal(This,retval) (This)->lpVtbl->get_BypassProxyOnLocal(This,retval)
  900. #define IWebProxy_put_BypassProxyOnLocal(This,value) (This)->lpVtbl->put_BypassProxyOnLocal(This,value)
  901. #define IWebProxy_get_ReadOnly(This,retval) (This)->lpVtbl->get_ReadOnly(This,retval)
  902. #define IWebProxy_get_UserName(This,retval) (This)->lpVtbl->get_UserName(This,retval)
  903. #define IWebProxy_put_UserName(This,value) (This)->lpVtbl->put_UserName(This,value)
  904. #define IWebProxy_SetPassword(This,value) (This)->lpVtbl->SetPassword(This,value)
  905. #define IWebProxy_PromptForCredentials(This,parentWindow,title) (This)->lpVtbl->PromptForCredentials(This,parentWindow,title)
  906. #define IWebProxy_PromptForCredentialsFromHwnd(This,parentWindow,title) (This)->lpVtbl->PromptForCredentialsFromHwnd(This,parentWindow,title)
  907. #define IWebProxy_get_AutoDetect(This,retval) (This)->lpVtbl->get_AutoDetect(This,retval)
  908. #define IWebProxy_put_AutoDetect(This,value) (This)->lpVtbl->put_AutoDetect(This,value)
  909. #else
  910. /*** IUnknown methods ***/
  911. static FORCEINLINE HRESULT IWebProxy_QueryInterface(IWebProxy* This,REFIID riid,void **ppvObject) {
  912. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  913. }
  914. static FORCEINLINE ULONG IWebProxy_AddRef(IWebProxy* This) {
  915. return This->lpVtbl->AddRef(This);
  916. }
  917. static FORCEINLINE ULONG IWebProxy_Release(IWebProxy* This) {
  918. return This->lpVtbl->Release(This);
  919. }
  920. /*** IDispatch methods ***/
  921. static FORCEINLINE HRESULT IWebProxy_GetTypeInfoCount(IWebProxy* This,UINT *pctinfo) {
  922. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  923. }
  924. static FORCEINLINE HRESULT IWebProxy_GetTypeInfo(IWebProxy* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  925. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  926. }
  927. static FORCEINLINE HRESULT IWebProxy_GetIDsOfNames(IWebProxy* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  928. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  929. }
  930. static FORCEINLINE HRESULT IWebProxy_Invoke(IWebProxy* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  931. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  932. }
  933. /*** IWebProxy methods ***/
  934. static FORCEINLINE HRESULT IWebProxy_get_Address(IWebProxy* This,BSTR *retval) {
  935. return This->lpVtbl->get_Address(This,retval);
  936. }
  937. static FORCEINLINE HRESULT IWebProxy_put_Address(IWebProxy* This,BSTR value) {
  938. return This->lpVtbl->put_Address(This,value);
  939. }
  940. static FORCEINLINE HRESULT IWebProxy_get_BypassList(IWebProxy* This,IStringCollection **retval) {
  941. return This->lpVtbl->get_BypassList(This,retval);
  942. }
  943. static FORCEINLINE HRESULT IWebProxy_put_BypassList(IWebProxy* This,IStringCollection *value) {
  944. return This->lpVtbl->put_BypassList(This,value);
  945. }
  946. static FORCEINLINE HRESULT IWebProxy_get_BypassProxyOnLocal(IWebProxy* This,VARIANT_BOOL *retval) {
  947. return This->lpVtbl->get_BypassProxyOnLocal(This,retval);
  948. }
  949. static FORCEINLINE HRESULT IWebProxy_put_BypassProxyOnLocal(IWebProxy* This,VARIANT_BOOL value) {
  950. return This->lpVtbl->put_BypassProxyOnLocal(This,value);
  951. }
  952. static FORCEINLINE HRESULT IWebProxy_get_ReadOnly(IWebProxy* This,VARIANT_BOOL *retval) {
  953. return This->lpVtbl->get_ReadOnly(This,retval);
  954. }
  955. static FORCEINLINE HRESULT IWebProxy_get_UserName(IWebProxy* This,BSTR *retval) {
  956. return This->lpVtbl->get_UserName(This,retval);
  957. }
  958. static FORCEINLINE HRESULT IWebProxy_put_UserName(IWebProxy* This,BSTR value) {
  959. return This->lpVtbl->put_UserName(This,value);
  960. }
  961. static FORCEINLINE HRESULT IWebProxy_SetPassword(IWebProxy* This,BSTR value) {
  962. return This->lpVtbl->SetPassword(This,value);
  963. }
  964. static FORCEINLINE HRESULT IWebProxy_PromptForCredentials(IWebProxy* This,IUnknown *parentWindow,BSTR title) {
  965. return This->lpVtbl->PromptForCredentials(This,parentWindow,title);
  966. }
  967. static FORCEINLINE HRESULT IWebProxy_PromptForCredentialsFromHwnd(IWebProxy* This,HWND parentWindow,BSTR title) {
  968. return This->lpVtbl->PromptForCredentialsFromHwnd(This,parentWindow,title);
  969. }
  970. static FORCEINLINE HRESULT IWebProxy_get_AutoDetect(IWebProxy* This,VARIANT_BOOL *retval) {
  971. return This->lpVtbl->get_AutoDetect(This,retval);
  972. }
  973. static FORCEINLINE HRESULT IWebProxy_put_AutoDetect(IWebProxy* This,VARIANT_BOOL value) {
  974. return This->lpVtbl->put_AutoDetect(This,value);
  975. }
  976. #endif
  977. #endif
  978. #endif
  979. #endif /* __IWebProxy_INTERFACE_DEFINED__ */
  980. /*****************************************************************************
  981. * IUpdateSession interface
  982. */
  983. #ifndef __IUpdateSession_INTERFACE_DEFINED__
  984. #define __IUpdateSession_INTERFACE_DEFINED__
  985. DEFINE_GUID(IID_IUpdateSession, 0x816858a4, 0x260d, 0x4260, 0x93,0x3a, 0x25,0x85,0xf1,0xab,0xc7,0x6b);
  986. #if defined(__cplusplus) && !defined(CINTERFACE)
  987. MIDL_INTERFACE("816858a4-260d-4260-933a-2585f1abc76b")
  988. IUpdateSession : public IDispatch
  989. {
  990. virtual HRESULT STDMETHODCALLTYPE get_ClientApplicationID(
  991. BSTR *retval) = 0;
  992. virtual HRESULT STDMETHODCALLTYPE put_ClientApplicationID(
  993. BSTR value) = 0;
  994. virtual HRESULT STDMETHODCALLTYPE get_ReadOnly(
  995. VARIANT_BOOL *retval) = 0;
  996. virtual HRESULT STDMETHODCALLTYPE get_WebProxy(
  997. IWebProxy **retval) = 0;
  998. virtual HRESULT STDMETHODCALLTYPE put_WebProxy(
  999. IWebProxy *value) = 0;
  1000. virtual HRESULT STDMETHODCALLTYPE CreateUpdateSearcher(
  1001. IUpdateSearcher **retval) = 0;
  1002. virtual HRESULT STDMETHODCALLTYPE CreateUpdateDownloader(
  1003. IUpdateDownloader **retval) = 0;
  1004. virtual HRESULT STDMETHODCALLTYPE CreateUpdateInstaller(
  1005. IUpdateInstaller **retval) = 0;
  1006. };
  1007. #ifdef __CRT_UUID_DECL
  1008. __CRT_UUID_DECL(IUpdateSession, 0x816858a4, 0x260d, 0x4260, 0x93,0x3a, 0x25,0x85,0xf1,0xab,0xc7,0x6b)
  1009. #endif
  1010. #else
  1011. typedef struct IUpdateSessionVtbl {
  1012. BEGIN_INTERFACE
  1013. /*** IUnknown methods ***/
  1014. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1015. IUpdateSession *This,
  1016. REFIID riid,
  1017. void **ppvObject);
  1018. ULONG (STDMETHODCALLTYPE *AddRef)(
  1019. IUpdateSession *This);
  1020. ULONG (STDMETHODCALLTYPE *Release)(
  1021. IUpdateSession *This);
  1022. /*** IDispatch methods ***/
  1023. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1024. IUpdateSession *This,
  1025. UINT *pctinfo);
  1026. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1027. IUpdateSession *This,
  1028. UINT iTInfo,
  1029. LCID lcid,
  1030. ITypeInfo **ppTInfo);
  1031. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1032. IUpdateSession *This,
  1033. REFIID riid,
  1034. LPOLESTR *rgszNames,
  1035. UINT cNames,
  1036. LCID lcid,
  1037. DISPID *rgDispId);
  1038. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1039. IUpdateSession *This,
  1040. DISPID dispIdMember,
  1041. REFIID riid,
  1042. LCID lcid,
  1043. WORD wFlags,
  1044. DISPPARAMS *pDispParams,
  1045. VARIANT *pVarResult,
  1046. EXCEPINFO *pExcepInfo,
  1047. UINT *puArgErr);
  1048. /*** IUpdateSession methods ***/
  1049. HRESULT (STDMETHODCALLTYPE *get_ClientApplicationID)(
  1050. IUpdateSession *This,
  1051. BSTR *retval);
  1052. HRESULT (STDMETHODCALLTYPE *put_ClientApplicationID)(
  1053. IUpdateSession *This,
  1054. BSTR value);
  1055. HRESULT (STDMETHODCALLTYPE *get_ReadOnly)(
  1056. IUpdateSession *This,
  1057. VARIANT_BOOL *retval);
  1058. HRESULT (STDMETHODCALLTYPE *get_WebProxy)(
  1059. IUpdateSession *This,
  1060. IWebProxy **retval);
  1061. HRESULT (STDMETHODCALLTYPE *put_WebProxy)(
  1062. IUpdateSession *This,
  1063. IWebProxy *value);
  1064. HRESULT (STDMETHODCALLTYPE *CreateUpdateSearcher)(
  1065. IUpdateSession *This,
  1066. IUpdateSearcher **retval);
  1067. HRESULT (STDMETHODCALLTYPE *CreateUpdateDownloader)(
  1068. IUpdateSession *This,
  1069. IUpdateDownloader **retval);
  1070. HRESULT (STDMETHODCALLTYPE *CreateUpdateInstaller)(
  1071. IUpdateSession *This,
  1072. IUpdateInstaller **retval);
  1073. END_INTERFACE
  1074. } IUpdateSessionVtbl;
  1075. interface IUpdateSession {
  1076. CONST_VTBL IUpdateSessionVtbl* lpVtbl;
  1077. };
  1078. #ifdef COBJMACROS
  1079. #ifndef WIDL_C_INLINE_WRAPPERS
  1080. /*** IUnknown methods ***/
  1081. #define IUpdateSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1082. #define IUpdateSession_AddRef(This) (This)->lpVtbl->AddRef(This)
  1083. #define IUpdateSession_Release(This) (This)->lpVtbl->Release(This)
  1084. /*** IDispatch methods ***/
  1085. #define IUpdateSession_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1086. #define IUpdateSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1087. #define IUpdateSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1088. #define IUpdateSession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1089. /*** IUpdateSession methods ***/
  1090. #define IUpdateSession_get_ClientApplicationID(This,retval) (This)->lpVtbl->get_ClientApplicationID(This,retval)
  1091. #define IUpdateSession_put_ClientApplicationID(This,value) (This)->lpVtbl->put_ClientApplicationID(This,value)
  1092. #define IUpdateSession_get_ReadOnly(This,retval) (This)->lpVtbl->get_ReadOnly(This,retval)
  1093. #define IUpdateSession_get_WebProxy(This,retval) (This)->lpVtbl->get_WebProxy(This,retval)
  1094. #define IUpdateSession_put_WebProxy(This,value) (This)->lpVtbl->put_WebProxy(This,value)
  1095. #define IUpdateSession_CreateUpdateSearcher(This,retval) (This)->lpVtbl->CreateUpdateSearcher(This,retval)
  1096. #define IUpdateSession_CreateUpdateDownloader(This,retval) (This)->lpVtbl->CreateUpdateDownloader(This,retval)
  1097. #define IUpdateSession_CreateUpdateInstaller(This,retval) (This)->lpVtbl->CreateUpdateInstaller(This,retval)
  1098. #else
  1099. /*** IUnknown methods ***/
  1100. static FORCEINLINE HRESULT IUpdateSession_QueryInterface(IUpdateSession* This,REFIID riid,void **ppvObject) {
  1101. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1102. }
  1103. static FORCEINLINE ULONG IUpdateSession_AddRef(IUpdateSession* This) {
  1104. return This->lpVtbl->AddRef(This);
  1105. }
  1106. static FORCEINLINE ULONG IUpdateSession_Release(IUpdateSession* This) {
  1107. return This->lpVtbl->Release(This);
  1108. }
  1109. /*** IDispatch methods ***/
  1110. static FORCEINLINE HRESULT IUpdateSession_GetTypeInfoCount(IUpdateSession* This,UINT *pctinfo) {
  1111. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1112. }
  1113. static FORCEINLINE HRESULT IUpdateSession_GetTypeInfo(IUpdateSession* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1114. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1115. }
  1116. static FORCEINLINE HRESULT IUpdateSession_GetIDsOfNames(IUpdateSession* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1117. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1118. }
  1119. static FORCEINLINE HRESULT IUpdateSession_Invoke(IUpdateSession* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1120. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1121. }
  1122. /*** IUpdateSession methods ***/
  1123. static FORCEINLINE HRESULT IUpdateSession_get_ClientApplicationID(IUpdateSession* This,BSTR *retval) {
  1124. return This->lpVtbl->get_ClientApplicationID(This,retval);
  1125. }
  1126. static FORCEINLINE HRESULT IUpdateSession_put_ClientApplicationID(IUpdateSession* This,BSTR value) {
  1127. return This->lpVtbl->put_ClientApplicationID(This,value);
  1128. }
  1129. static FORCEINLINE HRESULT IUpdateSession_get_ReadOnly(IUpdateSession* This,VARIANT_BOOL *retval) {
  1130. return This->lpVtbl->get_ReadOnly(This,retval);
  1131. }
  1132. static FORCEINLINE HRESULT IUpdateSession_get_WebProxy(IUpdateSession* This,IWebProxy **retval) {
  1133. return This->lpVtbl->get_WebProxy(This,retval);
  1134. }
  1135. static FORCEINLINE HRESULT IUpdateSession_put_WebProxy(IUpdateSession* This,IWebProxy *value) {
  1136. return This->lpVtbl->put_WebProxy(This,value);
  1137. }
  1138. static FORCEINLINE HRESULT IUpdateSession_CreateUpdateSearcher(IUpdateSession* This,IUpdateSearcher **retval) {
  1139. return This->lpVtbl->CreateUpdateSearcher(This,retval);
  1140. }
  1141. static FORCEINLINE HRESULT IUpdateSession_CreateUpdateDownloader(IUpdateSession* This,IUpdateDownloader **retval) {
  1142. return This->lpVtbl->CreateUpdateDownloader(This,retval);
  1143. }
  1144. static FORCEINLINE HRESULT IUpdateSession_CreateUpdateInstaller(IUpdateSession* This,IUpdateInstaller **retval) {
  1145. return This->lpVtbl->CreateUpdateInstaller(This,retval);
  1146. }
  1147. #endif
  1148. #endif
  1149. #endif
  1150. #endif /* __IUpdateSession_INTERFACE_DEFINED__ */
  1151. /*****************************************************************************
  1152. * IImageInformation interface
  1153. */
  1154. #ifndef __IImageInformation_INTERFACE_DEFINED__
  1155. #define __IImageInformation_INTERFACE_DEFINED__
  1156. DEFINE_GUID(IID_IImageInformation, 0x7c907864, 0x346c, 0x4aeb, 0x8f,0x3f, 0x57,0xda,0x28,0x9f,0x96,0x9f);
  1157. #if defined(__cplusplus) && !defined(CINTERFACE)
  1158. MIDL_INTERFACE("7c907864-346c-4aeb-8f3f-57da289f969f")
  1159. IImageInformation : public IDispatch
  1160. {
  1161. virtual HRESULT STDMETHODCALLTYPE get_AltText(
  1162. BSTR *retval) = 0;
  1163. virtual HRESULT STDMETHODCALLTYPE get_Height(
  1164. LONG *retval) = 0;
  1165. virtual HRESULT STDMETHODCALLTYPE get_Source(
  1166. BSTR *retval) = 0;
  1167. virtual HRESULT STDMETHODCALLTYPE get_Width(
  1168. LONG *retval) = 0;
  1169. };
  1170. #ifdef __CRT_UUID_DECL
  1171. __CRT_UUID_DECL(IImageInformation, 0x7c907864, 0x346c, 0x4aeb, 0x8f,0x3f, 0x57,0xda,0x28,0x9f,0x96,0x9f)
  1172. #endif
  1173. #else
  1174. typedef struct IImageInformationVtbl {
  1175. BEGIN_INTERFACE
  1176. /*** IUnknown methods ***/
  1177. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1178. IImageInformation *This,
  1179. REFIID riid,
  1180. void **ppvObject);
  1181. ULONG (STDMETHODCALLTYPE *AddRef)(
  1182. IImageInformation *This);
  1183. ULONG (STDMETHODCALLTYPE *Release)(
  1184. IImageInformation *This);
  1185. /*** IDispatch methods ***/
  1186. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1187. IImageInformation *This,
  1188. UINT *pctinfo);
  1189. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1190. IImageInformation *This,
  1191. UINT iTInfo,
  1192. LCID lcid,
  1193. ITypeInfo **ppTInfo);
  1194. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1195. IImageInformation *This,
  1196. REFIID riid,
  1197. LPOLESTR *rgszNames,
  1198. UINT cNames,
  1199. LCID lcid,
  1200. DISPID *rgDispId);
  1201. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1202. IImageInformation *This,
  1203. DISPID dispIdMember,
  1204. REFIID riid,
  1205. LCID lcid,
  1206. WORD wFlags,
  1207. DISPPARAMS *pDispParams,
  1208. VARIANT *pVarResult,
  1209. EXCEPINFO *pExcepInfo,
  1210. UINT *puArgErr);
  1211. /*** IImageInformation methods ***/
  1212. HRESULT (STDMETHODCALLTYPE *get_AltText)(
  1213. IImageInformation *This,
  1214. BSTR *retval);
  1215. HRESULT (STDMETHODCALLTYPE *get_Height)(
  1216. IImageInformation *This,
  1217. LONG *retval);
  1218. HRESULT (STDMETHODCALLTYPE *get_Source)(
  1219. IImageInformation *This,
  1220. BSTR *retval);
  1221. HRESULT (STDMETHODCALLTYPE *get_Width)(
  1222. IImageInformation *This,
  1223. LONG *retval);
  1224. END_INTERFACE
  1225. } IImageInformationVtbl;
  1226. interface IImageInformation {
  1227. CONST_VTBL IImageInformationVtbl* lpVtbl;
  1228. };
  1229. #ifdef COBJMACROS
  1230. #ifndef WIDL_C_INLINE_WRAPPERS
  1231. /*** IUnknown methods ***/
  1232. #define IImageInformation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1233. #define IImageInformation_AddRef(This) (This)->lpVtbl->AddRef(This)
  1234. #define IImageInformation_Release(This) (This)->lpVtbl->Release(This)
  1235. /*** IDispatch methods ***/
  1236. #define IImageInformation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1237. #define IImageInformation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1238. #define IImageInformation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1239. #define IImageInformation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1240. /*** IImageInformation methods ***/
  1241. #define IImageInformation_get_AltText(This,retval) (This)->lpVtbl->get_AltText(This,retval)
  1242. #define IImageInformation_get_Height(This,retval) (This)->lpVtbl->get_Height(This,retval)
  1243. #define IImageInformation_get_Source(This,retval) (This)->lpVtbl->get_Source(This,retval)
  1244. #define IImageInformation_get_Width(This,retval) (This)->lpVtbl->get_Width(This,retval)
  1245. #else
  1246. /*** IUnknown methods ***/
  1247. static FORCEINLINE HRESULT IImageInformation_QueryInterface(IImageInformation* This,REFIID riid,void **ppvObject) {
  1248. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1249. }
  1250. static FORCEINLINE ULONG IImageInformation_AddRef(IImageInformation* This) {
  1251. return This->lpVtbl->AddRef(This);
  1252. }
  1253. static FORCEINLINE ULONG IImageInformation_Release(IImageInformation* This) {
  1254. return This->lpVtbl->Release(This);
  1255. }
  1256. /*** IDispatch methods ***/
  1257. static FORCEINLINE HRESULT IImageInformation_GetTypeInfoCount(IImageInformation* This,UINT *pctinfo) {
  1258. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1259. }
  1260. static FORCEINLINE HRESULT IImageInformation_GetTypeInfo(IImageInformation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1261. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1262. }
  1263. static FORCEINLINE HRESULT IImageInformation_GetIDsOfNames(IImageInformation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1264. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1265. }
  1266. static FORCEINLINE HRESULT IImageInformation_Invoke(IImageInformation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1267. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1268. }
  1269. /*** IImageInformation methods ***/
  1270. static FORCEINLINE HRESULT IImageInformation_get_AltText(IImageInformation* This,BSTR *retval) {
  1271. return This->lpVtbl->get_AltText(This,retval);
  1272. }
  1273. static FORCEINLINE HRESULT IImageInformation_get_Height(IImageInformation* This,LONG *retval) {
  1274. return This->lpVtbl->get_Height(This,retval);
  1275. }
  1276. static FORCEINLINE HRESULT IImageInformation_get_Source(IImageInformation* This,BSTR *retval) {
  1277. return This->lpVtbl->get_Source(This,retval);
  1278. }
  1279. static FORCEINLINE HRESULT IImageInformation_get_Width(IImageInformation* This,LONG *retval) {
  1280. return This->lpVtbl->get_Width(This,retval);
  1281. }
  1282. #endif
  1283. #endif
  1284. #endif
  1285. #endif /* __IImageInformation_INTERFACE_DEFINED__ */
  1286. /*****************************************************************************
  1287. * ICategory interface
  1288. */
  1289. #ifndef __ICategory_INTERFACE_DEFINED__
  1290. #define __ICategory_INTERFACE_DEFINED__
  1291. DEFINE_GUID(IID_ICategory, 0x81ddc1b8, 0x9d35, 0x47a6, 0xb4,0x71, 0x5b,0x80,0xf5,0x19,0x22,0x3b);
  1292. #if defined(__cplusplus) && !defined(CINTERFACE)
  1293. MIDL_INTERFACE("81ddc1b8-9d35-47a6-b471-5b80f519223b")
  1294. ICategory : public IDispatch
  1295. {
  1296. virtual HRESULT STDMETHODCALLTYPE get_Name(
  1297. BSTR *retval) = 0;
  1298. virtual HRESULT STDMETHODCALLTYPE get_CategoryID(
  1299. BSTR *retval) = 0;
  1300. virtual HRESULT STDMETHODCALLTYPE get_Children(
  1301. ICategoryCollection **retval) = 0;
  1302. virtual HRESULT STDMETHODCALLTYPE get_Description(
  1303. BSTR *retval) = 0;
  1304. virtual HRESULT STDMETHODCALLTYPE get_Image(
  1305. IImageInformation **retval) = 0;
  1306. virtual HRESULT STDMETHODCALLTYPE get_Order(
  1307. LONG *retval) = 0;
  1308. virtual HRESULT STDMETHODCALLTYPE get_Parent(
  1309. ICategory **retval) = 0;
  1310. virtual HRESULT STDMETHODCALLTYPE get_Type(
  1311. BSTR *retval) = 0;
  1312. virtual HRESULT STDMETHODCALLTYPE get_Updates(
  1313. IUpdateCollection **retval) = 0;
  1314. };
  1315. #ifdef __CRT_UUID_DECL
  1316. __CRT_UUID_DECL(ICategory, 0x81ddc1b8, 0x9d35, 0x47a6, 0xb4,0x71, 0x5b,0x80,0xf5,0x19,0x22,0x3b)
  1317. #endif
  1318. #else
  1319. typedef struct ICategoryVtbl {
  1320. BEGIN_INTERFACE
  1321. /*** IUnknown methods ***/
  1322. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1323. ICategory *This,
  1324. REFIID riid,
  1325. void **ppvObject);
  1326. ULONG (STDMETHODCALLTYPE *AddRef)(
  1327. ICategory *This);
  1328. ULONG (STDMETHODCALLTYPE *Release)(
  1329. ICategory *This);
  1330. /*** IDispatch methods ***/
  1331. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1332. ICategory *This,
  1333. UINT *pctinfo);
  1334. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1335. ICategory *This,
  1336. UINT iTInfo,
  1337. LCID lcid,
  1338. ITypeInfo **ppTInfo);
  1339. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1340. ICategory *This,
  1341. REFIID riid,
  1342. LPOLESTR *rgszNames,
  1343. UINT cNames,
  1344. LCID lcid,
  1345. DISPID *rgDispId);
  1346. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1347. ICategory *This,
  1348. DISPID dispIdMember,
  1349. REFIID riid,
  1350. LCID lcid,
  1351. WORD wFlags,
  1352. DISPPARAMS *pDispParams,
  1353. VARIANT *pVarResult,
  1354. EXCEPINFO *pExcepInfo,
  1355. UINT *puArgErr);
  1356. /*** ICategory methods ***/
  1357. HRESULT (STDMETHODCALLTYPE *get_Name)(
  1358. ICategory *This,
  1359. BSTR *retval);
  1360. HRESULT (STDMETHODCALLTYPE *get_CategoryID)(
  1361. ICategory *This,
  1362. BSTR *retval);
  1363. HRESULT (STDMETHODCALLTYPE *get_Children)(
  1364. ICategory *This,
  1365. ICategoryCollection **retval);
  1366. HRESULT (STDMETHODCALLTYPE *get_Description)(
  1367. ICategory *This,
  1368. BSTR *retval);
  1369. HRESULT (STDMETHODCALLTYPE *get_Image)(
  1370. ICategory *This,
  1371. IImageInformation **retval);
  1372. HRESULT (STDMETHODCALLTYPE *get_Order)(
  1373. ICategory *This,
  1374. LONG *retval);
  1375. HRESULT (STDMETHODCALLTYPE *get_Parent)(
  1376. ICategory *This,
  1377. ICategory **retval);
  1378. HRESULT (STDMETHODCALLTYPE *get_Type)(
  1379. ICategory *This,
  1380. BSTR *retval);
  1381. HRESULT (STDMETHODCALLTYPE *get_Updates)(
  1382. ICategory *This,
  1383. IUpdateCollection **retval);
  1384. END_INTERFACE
  1385. } ICategoryVtbl;
  1386. interface ICategory {
  1387. CONST_VTBL ICategoryVtbl* lpVtbl;
  1388. };
  1389. #ifdef COBJMACROS
  1390. #ifndef WIDL_C_INLINE_WRAPPERS
  1391. /*** IUnknown methods ***/
  1392. #define ICategory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1393. #define ICategory_AddRef(This) (This)->lpVtbl->AddRef(This)
  1394. #define ICategory_Release(This) (This)->lpVtbl->Release(This)
  1395. /*** IDispatch methods ***/
  1396. #define ICategory_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1397. #define ICategory_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1398. #define ICategory_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1399. #define ICategory_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1400. /*** ICategory methods ***/
  1401. #define ICategory_get_Name(This,retval) (This)->lpVtbl->get_Name(This,retval)
  1402. #define ICategory_get_CategoryID(This,retval) (This)->lpVtbl->get_CategoryID(This,retval)
  1403. #define ICategory_get_Children(This,retval) (This)->lpVtbl->get_Children(This,retval)
  1404. #define ICategory_get_Description(This,retval) (This)->lpVtbl->get_Description(This,retval)
  1405. #define ICategory_get_Image(This,retval) (This)->lpVtbl->get_Image(This,retval)
  1406. #define ICategory_get_Order(This,retval) (This)->lpVtbl->get_Order(This,retval)
  1407. #define ICategory_get_Parent(This,retval) (This)->lpVtbl->get_Parent(This,retval)
  1408. #define ICategory_get_Type(This,retval) (This)->lpVtbl->get_Type(This,retval)
  1409. #define ICategory_get_Updates(This,retval) (This)->lpVtbl->get_Updates(This,retval)
  1410. #else
  1411. /*** IUnknown methods ***/
  1412. static FORCEINLINE HRESULT ICategory_QueryInterface(ICategory* This,REFIID riid,void **ppvObject) {
  1413. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1414. }
  1415. static FORCEINLINE ULONG ICategory_AddRef(ICategory* This) {
  1416. return This->lpVtbl->AddRef(This);
  1417. }
  1418. static FORCEINLINE ULONG ICategory_Release(ICategory* This) {
  1419. return This->lpVtbl->Release(This);
  1420. }
  1421. /*** IDispatch methods ***/
  1422. static FORCEINLINE HRESULT ICategory_GetTypeInfoCount(ICategory* This,UINT *pctinfo) {
  1423. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1424. }
  1425. static FORCEINLINE HRESULT ICategory_GetTypeInfo(ICategory* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1426. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1427. }
  1428. static FORCEINLINE HRESULT ICategory_GetIDsOfNames(ICategory* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1429. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1430. }
  1431. static FORCEINLINE HRESULT ICategory_Invoke(ICategory* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1432. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1433. }
  1434. /*** ICategory methods ***/
  1435. static FORCEINLINE HRESULT ICategory_get_Name(ICategory* This,BSTR *retval) {
  1436. return This->lpVtbl->get_Name(This,retval);
  1437. }
  1438. static FORCEINLINE HRESULT ICategory_get_CategoryID(ICategory* This,BSTR *retval) {
  1439. return This->lpVtbl->get_CategoryID(This,retval);
  1440. }
  1441. static FORCEINLINE HRESULT ICategory_get_Children(ICategory* This,ICategoryCollection **retval) {
  1442. return This->lpVtbl->get_Children(This,retval);
  1443. }
  1444. static FORCEINLINE HRESULT ICategory_get_Description(ICategory* This,BSTR *retval) {
  1445. return This->lpVtbl->get_Description(This,retval);
  1446. }
  1447. static FORCEINLINE HRESULT ICategory_get_Image(ICategory* This,IImageInformation **retval) {
  1448. return This->lpVtbl->get_Image(This,retval);
  1449. }
  1450. static FORCEINLINE HRESULT ICategory_get_Order(ICategory* This,LONG *retval) {
  1451. return This->lpVtbl->get_Order(This,retval);
  1452. }
  1453. static FORCEINLINE HRESULT ICategory_get_Parent(ICategory* This,ICategory **retval) {
  1454. return This->lpVtbl->get_Parent(This,retval);
  1455. }
  1456. static FORCEINLINE HRESULT ICategory_get_Type(ICategory* This,BSTR *retval) {
  1457. return This->lpVtbl->get_Type(This,retval);
  1458. }
  1459. static FORCEINLINE HRESULT ICategory_get_Updates(ICategory* This,IUpdateCollection **retval) {
  1460. return This->lpVtbl->get_Updates(This,retval);
  1461. }
  1462. #endif
  1463. #endif
  1464. #endif
  1465. #endif /* __ICategory_INTERFACE_DEFINED__ */
  1466. /*****************************************************************************
  1467. * ICategoryCollection interface
  1468. */
  1469. #ifndef __ICategoryCollection_INTERFACE_DEFINED__
  1470. #define __ICategoryCollection_INTERFACE_DEFINED__
  1471. DEFINE_GUID(IID_ICategoryCollection, 0x3a56bfb8, 0x576c, 0x43f7, 0x93,0x35, 0xfe,0x48,0x38,0xfd,0x7e,0x37);
  1472. #if defined(__cplusplus) && !defined(CINTERFACE)
  1473. MIDL_INTERFACE("3a56bfb8-576c-43f7-9335-fe4838fd7e37")
  1474. ICategoryCollection : public IDispatch
  1475. {
  1476. virtual HRESULT STDMETHODCALLTYPE get_Item(
  1477. LONG index,
  1478. ICategory **retval) = 0;
  1479. virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
  1480. IUnknown **retval) = 0;
  1481. virtual HRESULT STDMETHODCALLTYPE get_Count(
  1482. LONG *retval) = 0;
  1483. };
  1484. #ifdef __CRT_UUID_DECL
  1485. __CRT_UUID_DECL(ICategoryCollection, 0x3a56bfb8, 0x576c, 0x43f7, 0x93,0x35, 0xfe,0x48,0x38,0xfd,0x7e,0x37)
  1486. #endif
  1487. #else
  1488. typedef struct ICategoryCollectionVtbl {
  1489. BEGIN_INTERFACE
  1490. /*** IUnknown methods ***/
  1491. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1492. ICategoryCollection *This,
  1493. REFIID riid,
  1494. void **ppvObject);
  1495. ULONG (STDMETHODCALLTYPE *AddRef)(
  1496. ICategoryCollection *This);
  1497. ULONG (STDMETHODCALLTYPE *Release)(
  1498. ICategoryCollection *This);
  1499. /*** IDispatch methods ***/
  1500. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1501. ICategoryCollection *This,
  1502. UINT *pctinfo);
  1503. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1504. ICategoryCollection *This,
  1505. UINT iTInfo,
  1506. LCID lcid,
  1507. ITypeInfo **ppTInfo);
  1508. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1509. ICategoryCollection *This,
  1510. REFIID riid,
  1511. LPOLESTR *rgszNames,
  1512. UINT cNames,
  1513. LCID lcid,
  1514. DISPID *rgDispId);
  1515. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1516. ICategoryCollection *This,
  1517. DISPID dispIdMember,
  1518. REFIID riid,
  1519. LCID lcid,
  1520. WORD wFlags,
  1521. DISPPARAMS *pDispParams,
  1522. VARIANT *pVarResult,
  1523. EXCEPINFO *pExcepInfo,
  1524. UINT *puArgErr);
  1525. /*** ICategoryCollection methods ***/
  1526. HRESULT (STDMETHODCALLTYPE *get_Item)(
  1527. ICategoryCollection *This,
  1528. LONG index,
  1529. ICategory **retval);
  1530. HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
  1531. ICategoryCollection *This,
  1532. IUnknown **retval);
  1533. HRESULT (STDMETHODCALLTYPE *get_Count)(
  1534. ICategoryCollection *This,
  1535. LONG *retval);
  1536. END_INTERFACE
  1537. } ICategoryCollectionVtbl;
  1538. interface ICategoryCollection {
  1539. CONST_VTBL ICategoryCollectionVtbl* lpVtbl;
  1540. };
  1541. #ifdef COBJMACROS
  1542. #ifndef WIDL_C_INLINE_WRAPPERS
  1543. /*** IUnknown methods ***/
  1544. #define ICategoryCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1545. #define ICategoryCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  1546. #define ICategoryCollection_Release(This) (This)->lpVtbl->Release(This)
  1547. /*** IDispatch methods ***/
  1548. #define ICategoryCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1549. #define ICategoryCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1550. #define ICategoryCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1551. #define ICategoryCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1552. /*** ICategoryCollection methods ***/
  1553. #define ICategoryCollection_get_Item(This,index,retval) (This)->lpVtbl->get_Item(This,index,retval)
  1554. #define ICategoryCollection_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
  1555. #define ICategoryCollection_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval)
  1556. #else
  1557. /*** IUnknown methods ***/
  1558. static FORCEINLINE HRESULT ICategoryCollection_QueryInterface(ICategoryCollection* This,REFIID riid,void **ppvObject) {
  1559. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1560. }
  1561. static FORCEINLINE ULONG ICategoryCollection_AddRef(ICategoryCollection* This) {
  1562. return This->lpVtbl->AddRef(This);
  1563. }
  1564. static FORCEINLINE ULONG ICategoryCollection_Release(ICategoryCollection* This) {
  1565. return This->lpVtbl->Release(This);
  1566. }
  1567. /*** IDispatch methods ***/
  1568. static FORCEINLINE HRESULT ICategoryCollection_GetTypeInfoCount(ICategoryCollection* This,UINT *pctinfo) {
  1569. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1570. }
  1571. static FORCEINLINE HRESULT ICategoryCollection_GetTypeInfo(ICategoryCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1572. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1573. }
  1574. static FORCEINLINE HRESULT ICategoryCollection_GetIDsOfNames(ICategoryCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1575. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1576. }
  1577. static FORCEINLINE HRESULT ICategoryCollection_Invoke(ICategoryCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1578. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1579. }
  1580. /*** ICategoryCollection methods ***/
  1581. static FORCEINLINE HRESULT ICategoryCollection_get_Item(ICategoryCollection* This,LONG index,ICategory **retval) {
  1582. return This->lpVtbl->get_Item(This,index,retval);
  1583. }
  1584. static FORCEINLINE HRESULT ICategoryCollection_get__NewEnum(ICategoryCollection* This,IUnknown **retval) {
  1585. return This->lpVtbl->get__NewEnum(This,retval);
  1586. }
  1587. static FORCEINLINE HRESULT ICategoryCollection_get_Count(ICategoryCollection* This,LONG *retval) {
  1588. return This->lpVtbl->get_Count(This,retval);
  1589. }
  1590. #endif
  1591. #endif
  1592. #endif
  1593. #endif /* __ICategoryCollection_INTERFACE_DEFINED__ */
  1594. /*****************************************************************************
  1595. * IStringCollection interface
  1596. */
  1597. #ifndef __IStringCollection_INTERFACE_DEFINED__
  1598. #define __IStringCollection_INTERFACE_DEFINED__
  1599. DEFINE_GUID(IID_IStringCollection, 0xeff90582, 0x2ddc, 0x480f, 0xa0,0x6d, 0x60,0xf3,0xfb,0xc3,0x62,0xc3);
  1600. #if defined(__cplusplus) && !defined(CINTERFACE)
  1601. MIDL_INTERFACE("eff90582-2ddc-480f-a06d-60f3fbc362c3")
  1602. IStringCollection : public IDispatch
  1603. {
  1604. virtual HRESULT STDMETHODCALLTYPE get_Item(
  1605. LONG index,
  1606. BSTR *retval) = 0;
  1607. virtual HRESULT STDMETHODCALLTYPE put_Item(
  1608. LONG index,
  1609. BSTR value) = 0;
  1610. virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
  1611. IUnknown **retval) = 0;
  1612. virtual HRESULT STDMETHODCALLTYPE get_Count(
  1613. LONG *retval) = 0;
  1614. virtual HRESULT STDMETHODCALLTYPE get_ReadOnly(
  1615. VARIANT_BOOL *retval) = 0;
  1616. virtual HRESULT STDMETHODCALLTYPE Add(
  1617. BSTR value,
  1618. LONG *retval) = 0;
  1619. virtual HRESULT STDMETHODCALLTYPE Clear(
  1620. ) = 0;
  1621. virtual HRESULT STDMETHODCALLTYPE Copy(
  1622. IStringCollection **retval) = 0;
  1623. virtual HRESULT STDMETHODCALLTYPE Insert(
  1624. LONG index,
  1625. BSTR value) = 0;
  1626. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  1627. LONG index) = 0;
  1628. };
  1629. #ifdef __CRT_UUID_DECL
  1630. __CRT_UUID_DECL(IStringCollection, 0xeff90582, 0x2ddc, 0x480f, 0xa0,0x6d, 0x60,0xf3,0xfb,0xc3,0x62,0xc3)
  1631. #endif
  1632. #else
  1633. typedef struct IStringCollectionVtbl {
  1634. BEGIN_INTERFACE
  1635. /*** IUnknown methods ***/
  1636. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1637. IStringCollection *This,
  1638. REFIID riid,
  1639. void **ppvObject);
  1640. ULONG (STDMETHODCALLTYPE *AddRef)(
  1641. IStringCollection *This);
  1642. ULONG (STDMETHODCALLTYPE *Release)(
  1643. IStringCollection *This);
  1644. /*** IDispatch methods ***/
  1645. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1646. IStringCollection *This,
  1647. UINT *pctinfo);
  1648. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1649. IStringCollection *This,
  1650. UINT iTInfo,
  1651. LCID lcid,
  1652. ITypeInfo **ppTInfo);
  1653. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1654. IStringCollection *This,
  1655. REFIID riid,
  1656. LPOLESTR *rgszNames,
  1657. UINT cNames,
  1658. LCID lcid,
  1659. DISPID *rgDispId);
  1660. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1661. IStringCollection *This,
  1662. DISPID dispIdMember,
  1663. REFIID riid,
  1664. LCID lcid,
  1665. WORD wFlags,
  1666. DISPPARAMS *pDispParams,
  1667. VARIANT *pVarResult,
  1668. EXCEPINFO *pExcepInfo,
  1669. UINT *puArgErr);
  1670. /*** IStringCollection methods ***/
  1671. HRESULT (STDMETHODCALLTYPE *get_Item)(
  1672. IStringCollection *This,
  1673. LONG index,
  1674. BSTR *retval);
  1675. HRESULT (STDMETHODCALLTYPE *put_Item)(
  1676. IStringCollection *This,
  1677. LONG index,
  1678. BSTR value);
  1679. HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
  1680. IStringCollection *This,
  1681. IUnknown **retval);
  1682. HRESULT (STDMETHODCALLTYPE *get_Count)(
  1683. IStringCollection *This,
  1684. LONG *retval);
  1685. HRESULT (STDMETHODCALLTYPE *get_ReadOnly)(
  1686. IStringCollection *This,
  1687. VARIANT_BOOL *retval);
  1688. HRESULT (STDMETHODCALLTYPE *Add)(
  1689. IStringCollection *This,
  1690. BSTR value,
  1691. LONG *retval);
  1692. HRESULT (STDMETHODCALLTYPE *Clear)(
  1693. IStringCollection *This);
  1694. HRESULT (STDMETHODCALLTYPE *Copy)(
  1695. IStringCollection *This,
  1696. IStringCollection **retval);
  1697. HRESULT (STDMETHODCALLTYPE *Insert)(
  1698. IStringCollection *This,
  1699. LONG index,
  1700. BSTR value);
  1701. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  1702. IStringCollection *This,
  1703. LONG index);
  1704. END_INTERFACE
  1705. } IStringCollectionVtbl;
  1706. interface IStringCollection {
  1707. CONST_VTBL IStringCollectionVtbl* lpVtbl;
  1708. };
  1709. #ifdef COBJMACROS
  1710. #ifndef WIDL_C_INLINE_WRAPPERS
  1711. /*** IUnknown methods ***/
  1712. #define IStringCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1713. #define IStringCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  1714. #define IStringCollection_Release(This) (This)->lpVtbl->Release(This)
  1715. /*** IDispatch methods ***/
  1716. #define IStringCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1717. #define IStringCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1718. #define IStringCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1719. #define IStringCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1720. /*** IStringCollection methods ***/
  1721. #define IStringCollection_get_Item(This,index,retval) (This)->lpVtbl->get_Item(This,index,retval)
  1722. #define IStringCollection_put_Item(This,index,value) (This)->lpVtbl->put_Item(This,index,value)
  1723. #define IStringCollection_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
  1724. #define IStringCollection_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval)
  1725. #define IStringCollection_get_ReadOnly(This,retval) (This)->lpVtbl->get_ReadOnly(This,retval)
  1726. #define IStringCollection_Add(This,value,retval) (This)->lpVtbl->Add(This,value,retval)
  1727. #define IStringCollection_Clear(This) (This)->lpVtbl->Clear(This)
  1728. #define IStringCollection_Copy(This,retval) (This)->lpVtbl->Copy(This,retval)
  1729. #define IStringCollection_Insert(This,index,value) (This)->lpVtbl->Insert(This,index,value)
  1730. #define IStringCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  1731. #else
  1732. /*** IUnknown methods ***/
  1733. static FORCEINLINE HRESULT IStringCollection_QueryInterface(IStringCollection* This,REFIID riid,void **ppvObject) {
  1734. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1735. }
  1736. static FORCEINLINE ULONG IStringCollection_AddRef(IStringCollection* This) {
  1737. return This->lpVtbl->AddRef(This);
  1738. }
  1739. static FORCEINLINE ULONG IStringCollection_Release(IStringCollection* This) {
  1740. return This->lpVtbl->Release(This);
  1741. }
  1742. /*** IDispatch methods ***/
  1743. static FORCEINLINE HRESULT IStringCollection_GetTypeInfoCount(IStringCollection* This,UINT *pctinfo) {
  1744. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1745. }
  1746. static FORCEINLINE HRESULT IStringCollection_GetTypeInfo(IStringCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1747. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1748. }
  1749. static FORCEINLINE HRESULT IStringCollection_GetIDsOfNames(IStringCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1750. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1751. }
  1752. static FORCEINLINE HRESULT IStringCollection_Invoke(IStringCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1753. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1754. }
  1755. /*** IStringCollection methods ***/
  1756. static FORCEINLINE HRESULT IStringCollection_get_Item(IStringCollection* This,LONG index,BSTR *retval) {
  1757. return This->lpVtbl->get_Item(This,index,retval);
  1758. }
  1759. static FORCEINLINE HRESULT IStringCollection_put_Item(IStringCollection* This,LONG index,BSTR value) {
  1760. return This->lpVtbl->put_Item(This,index,value);
  1761. }
  1762. static FORCEINLINE HRESULT IStringCollection_get__NewEnum(IStringCollection* This,IUnknown **retval) {
  1763. return This->lpVtbl->get__NewEnum(This,retval);
  1764. }
  1765. static FORCEINLINE HRESULT IStringCollection_get_Count(IStringCollection* This,LONG *retval) {
  1766. return This->lpVtbl->get_Count(This,retval);
  1767. }
  1768. static FORCEINLINE HRESULT IStringCollection_get_ReadOnly(IStringCollection* This,VARIANT_BOOL *retval) {
  1769. return This->lpVtbl->get_ReadOnly(This,retval);
  1770. }
  1771. static FORCEINLINE HRESULT IStringCollection_Add(IStringCollection* This,BSTR value,LONG *retval) {
  1772. return This->lpVtbl->Add(This,value,retval);
  1773. }
  1774. static FORCEINLINE HRESULT IStringCollection_Clear(IStringCollection* This) {
  1775. return This->lpVtbl->Clear(This);
  1776. }
  1777. static FORCEINLINE HRESULT IStringCollection_Copy(IStringCollection* This,IStringCollection **retval) {
  1778. return This->lpVtbl->Copy(This,retval);
  1779. }
  1780. static FORCEINLINE HRESULT IStringCollection_Insert(IStringCollection* This,LONG index,BSTR value) {
  1781. return This->lpVtbl->Insert(This,index,value);
  1782. }
  1783. static FORCEINLINE HRESULT IStringCollection_RemoveAt(IStringCollection* This,LONG index) {
  1784. return This->lpVtbl->RemoveAt(This,index);
  1785. }
  1786. #endif
  1787. #endif
  1788. #endif
  1789. #endif /* __IStringCollection_INTERFACE_DEFINED__ */
  1790. /*****************************************************************************
  1791. * IUpdateException interface
  1792. */
  1793. #ifndef __IUpdateException_INTERFACE_DEFINED__
  1794. #define __IUpdateException_INTERFACE_DEFINED__
  1795. DEFINE_GUID(IID_IUpdateException, 0xa376dd5e, 0x09d4, 0x427f, 0xaf,0x7c, 0xfe,0xd5,0xb6,0xe1,0xc1,0xd6);
  1796. #if defined(__cplusplus) && !defined(CINTERFACE)
  1797. MIDL_INTERFACE("a376dd5e-09d4-427f-af7c-fed5b6e1c1d6")
  1798. IUpdateException : public IDispatch
  1799. {
  1800. virtual HRESULT STDMETHODCALLTYPE get_Message(
  1801. BSTR *retval) = 0;
  1802. virtual HRESULT STDMETHODCALLTYPE get_HResult(
  1803. LONG *retval) = 0;
  1804. virtual HRESULT STDMETHODCALLTYPE get_Context(
  1805. UpdateExceptionContext *retval) = 0;
  1806. };
  1807. #ifdef __CRT_UUID_DECL
  1808. __CRT_UUID_DECL(IUpdateException, 0xa376dd5e, 0x09d4, 0x427f, 0xaf,0x7c, 0xfe,0xd5,0xb6,0xe1,0xc1,0xd6)
  1809. #endif
  1810. #else
  1811. typedef struct IUpdateExceptionVtbl {
  1812. BEGIN_INTERFACE
  1813. /*** IUnknown methods ***/
  1814. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1815. IUpdateException *This,
  1816. REFIID riid,
  1817. void **ppvObject);
  1818. ULONG (STDMETHODCALLTYPE *AddRef)(
  1819. IUpdateException *This);
  1820. ULONG (STDMETHODCALLTYPE *Release)(
  1821. IUpdateException *This);
  1822. /*** IDispatch methods ***/
  1823. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1824. IUpdateException *This,
  1825. UINT *pctinfo);
  1826. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1827. IUpdateException *This,
  1828. UINT iTInfo,
  1829. LCID lcid,
  1830. ITypeInfo **ppTInfo);
  1831. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1832. IUpdateException *This,
  1833. REFIID riid,
  1834. LPOLESTR *rgszNames,
  1835. UINT cNames,
  1836. LCID lcid,
  1837. DISPID *rgDispId);
  1838. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1839. IUpdateException *This,
  1840. DISPID dispIdMember,
  1841. REFIID riid,
  1842. LCID lcid,
  1843. WORD wFlags,
  1844. DISPPARAMS *pDispParams,
  1845. VARIANT *pVarResult,
  1846. EXCEPINFO *pExcepInfo,
  1847. UINT *puArgErr);
  1848. /*** IUpdateException methods ***/
  1849. HRESULT (STDMETHODCALLTYPE *get_Message)(
  1850. IUpdateException *This,
  1851. BSTR *retval);
  1852. HRESULT (STDMETHODCALLTYPE *get_HResult)(
  1853. IUpdateException *This,
  1854. LONG *retval);
  1855. HRESULT (STDMETHODCALLTYPE *get_Context)(
  1856. IUpdateException *This,
  1857. UpdateExceptionContext *retval);
  1858. END_INTERFACE
  1859. } IUpdateExceptionVtbl;
  1860. interface IUpdateException {
  1861. CONST_VTBL IUpdateExceptionVtbl* lpVtbl;
  1862. };
  1863. #ifdef COBJMACROS
  1864. #ifndef WIDL_C_INLINE_WRAPPERS
  1865. /*** IUnknown methods ***/
  1866. #define IUpdateException_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1867. #define IUpdateException_AddRef(This) (This)->lpVtbl->AddRef(This)
  1868. #define IUpdateException_Release(This) (This)->lpVtbl->Release(This)
  1869. /*** IDispatch methods ***/
  1870. #define IUpdateException_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1871. #define IUpdateException_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1872. #define IUpdateException_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1873. #define IUpdateException_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1874. /*** IUpdateException methods ***/
  1875. #define IUpdateException_get_Message(This,retval) (This)->lpVtbl->get_Message(This,retval)
  1876. #define IUpdateException_get_HResult(This,retval) (This)->lpVtbl->get_HResult(This,retval)
  1877. #define IUpdateException_get_Context(This,retval) (This)->lpVtbl->get_Context(This,retval)
  1878. #else
  1879. /*** IUnknown methods ***/
  1880. static FORCEINLINE HRESULT IUpdateException_QueryInterface(IUpdateException* This,REFIID riid,void **ppvObject) {
  1881. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1882. }
  1883. static FORCEINLINE ULONG IUpdateException_AddRef(IUpdateException* This) {
  1884. return This->lpVtbl->AddRef(This);
  1885. }
  1886. static FORCEINLINE ULONG IUpdateException_Release(IUpdateException* This) {
  1887. return This->lpVtbl->Release(This);
  1888. }
  1889. /*** IDispatch methods ***/
  1890. static FORCEINLINE HRESULT IUpdateException_GetTypeInfoCount(IUpdateException* This,UINT *pctinfo) {
  1891. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1892. }
  1893. static FORCEINLINE HRESULT IUpdateException_GetTypeInfo(IUpdateException* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1894. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1895. }
  1896. static FORCEINLINE HRESULT IUpdateException_GetIDsOfNames(IUpdateException* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1897. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1898. }
  1899. static FORCEINLINE HRESULT IUpdateException_Invoke(IUpdateException* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1900. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1901. }
  1902. /*** IUpdateException methods ***/
  1903. static FORCEINLINE HRESULT IUpdateException_get_Message(IUpdateException* This,BSTR *retval) {
  1904. return This->lpVtbl->get_Message(This,retval);
  1905. }
  1906. static FORCEINLINE HRESULT IUpdateException_get_HResult(IUpdateException* This,LONG *retval) {
  1907. return This->lpVtbl->get_HResult(This,retval);
  1908. }
  1909. static FORCEINLINE HRESULT IUpdateException_get_Context(IUpdateException* This,UpdateExceptionContext *retval) {
  1910. return This->lpVtbl->get_Context(This,retval);
  1911. }
  1912. #endif
  1913. #endif
  1914. #endif
  1915. #endif /* __IUpdateException_INTERFACE_DEFINED__ */
  1916. /*****************************************************************************
  1917. * IUpdateExceptionCollection interface
  1918. */
  1919. #ifndef __IUpdateExceptionCollection_INTERFACE_DEFINED__
  1920. #define __IUpdateExceptionCollection_INTERFACE_DEFINED__
  1921. DEFINE_GUID(IID_IUpdateExceptionCollection, 0x503626a3, 0x8e14, 0x4729, 0x93,0x55, 0x0f,0xe6,0x64,0xbd,0x23,0x21);
  1922. #if defined(__cplusplus) && !defined(CINTERFACE)
  1923. MIDL_INTERFACE("503626a3-8e14-4729-9355-0fe664bd2321")
  1924. IUpdateExceptionCollection : public IDispatch
  1925. {
  1926. virtual HRESULT STDMETHODCALLTYPE get_Item(
  1927. LONG index,
  1928. IUpdateException **retval) = 0;
  1929. virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
  1930. IUnknown **retval) = 0;
  1931. virtual HRESULT STDMETHODCALLTYPE get_Count(
  1932. LONG *retval) = 0;
  1933. };
  1934. #ifdef __CRT_UUID_DECL
  1935. __CRT_UUID_DECL(IUpdateExceptionCollection, 0x503626a3, 0x8e14, 0x4729, 0x93,0x55, 0x0f,0xe6,0x64,0xbd,0x23,0x21)
  1936. #endif
  1937. #else
  1938. typedef struct IUpdateExceptionCollectionVtbl {
  1939. BEGIN_INTERFACE
  1940. /*** IUnknown methods ***/
  1941. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1942. IUpdateExceptionCollection *This,
  1943. REFIID riid,
  1944. void **ppvObject);
  1945. ULONG (STDMETHODCALLTYPE *AddRef)(
  1946. IUpdateExceptionCollection *This);
  1947. ULONG (STDMETHODCALLTYPE *Release)(
  1948. IUpdateExceptionCollection *This);
  1949. /*** IDispatch methods ***/
  1950. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1951. IUpdateExceptionCollection *This,
  1952. UINT *pctinfo);
  1953. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1954. IUpdateExceptionCollection *This,
  1955. UINT iTInfo,
  1956. LCID lcid,
  1957. ITypeInfo **ppTInfo);
  1958. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1959. IUpdateExceptionCollection *This,
  1960. REFIID riid,
  1961. LPOLESTR *rgszNames,
  1962. UINT cNames,
  1963. LCID lcid,
  1964. DISPID *rgDispId);
  1965. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1966. IUpdateExceptionCollection *This,
  1967. DISPID dispIdMember,
  1968. REFIID riid,
  1969. LCID lcid,
  1970. WORD wFlags,
  1971. DISPPARAMS *pDispParams,
  1972. VARIANT *pVarResult,
  1973. EXCEPINFO *pExcepInfo,
  1974. UINT *puArgErr);
  1975. /*** IUpdateExceptionCollection methods ***/
  1976. HRESULT (STDMETHODCALLTYPE *get_Item)(
  1977. IUpdateExceptionCollection *This,
  1978. LONG index,
  1979. IUpdateException **retval);
  1980. HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
  1981. IUpdateExceptionCollection *This,
  1982. IUnknown **retval);
  1983. HRESULT (STDMETHODCALLTYPE *get_Count)(
  1984. IUpdateExceptionCollection *This,
  1985. LONG *retval);
  1986. END_INTERFACE
  1987. } IUpdateExceptionCollectionVtbl;
  1988. interface IUpdateExceptionCollection {
  1989. CONST_VTBL IUpdateExceptionCollectionVtbl* lpVtbl;
  1990. };
  1991. #ifdef COBJMACROS
  1992. #ifndef WIDL_C_INLINE_WRAPPERS
  1993. /*** IUnknown methods ***/
  1994. #define IUpdateExceptionCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1995. #define IUpdateExceptionCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  1996. #define IUpdateExceptionCollection_Release(This) (This)->lpVtbl->Release(This)
  1997. /*** IDispatch methods ***/
  1998. #define IUpdateExceptionCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1999. #define IUpdateExceptionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2000. #define IUpdateExceptionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2001. #define IUpdateExceptionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2002. /*** IUpdateExceptionCollection methods ***/
  2003. #define IUpdateExceptionCollection_get_Item(This,index,retval) (This)->lpVtbl->get_Item(This,index,retval)
  2004. #define IUpdateExceptionCollection_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
  2005. #define IUpdateExceptionCollection_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval)
  2006. #else
  2007. /*** IUnknown methods ***/
  2008. static FORCEINLINE HRESULT IUpdateExceptionCollection_QueryInterface(IUpdateExceptionCollection* This,REFIID riid,void **ppvObject) {
  2009. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2010. }
  2011. static FORCEINLINE ULONG IUpdateExceptionCollection_AddRef(IUpdateExceptionCollection* This) {
  2012. return This->lpVtbl->AddRef(This);
  2013. }
  2014. static FORCEINLINE ULONG IUpdateExceptionCollection_Release(IUpdateExceptionCollection* This) {
  2015. return This->lpVtbl->Release(This);
  2016. }
  2017. /*** IDispatch methods ***/
  2018. static FORCEINLINE HRESULT IUpdateExceptionCollection_GetTypeInfoCount(IUpdateExceptionCollection* This,UINT *pctinfo) {
  2019. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  2020. }
  2021. static FORCEINLINE HRESULT IUpdateExceptionCollection_GetTypeInfo(IUpdateExceptionCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  2022. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  2023. }
  2024. static FORCEINLINE HRESULT IUpdateExceptionCollection_GetIDsOfNames(IUpdateExceptionCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  2025. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  2026. }
  2027. static FORCEINLINE HRESULT IUpdateExceptionCollection_Invoke(IUpdateExceptionCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  2028. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  2029. }
  2030. /*** IUpdateExceptionCollection methods ***/
  2031. static FORCEINLINE HRESULT IUpdateExceptionCollection_get_Item(IUpdateExceptionCollection* This,LONG index,IUpdateException **retval) {
  2032. return This->lpVtbl->get_Item(This,index,retval);
  2033. }
  2034. static FORCEINLINE HRESULT IUpdateExceptionCollection_get__NewEnum(IUpdateExceptionCollection* This,IUnknown **retval) {
  2035. return This->lpVtbl->get__NewEnum(This,retval);
  2036. }
  2037. static FORCEINLINE HRESULT IUpdateExceptionCollection_get_Count(IUpdateExceptionCollection* This,LONG *retval) {
  2038. return This->lpVtbl->get_Count(This,retval);
  2039. }
  2040. #endif
  2041. #endif
  2042. #endif
  2043. #endif /* __IUpdateExceptionCollection_INTERFACE_DEFINED__ */
  2044. /*****************************************************************************
  2045. * IUpdateIdentity interface
  2046. */
  2047. #ifndef __IUpdateIdentity_INTERFACE_DEFINED__
  2048. #define __IUpdateIdentity_INTERFACE_DEFINED__
  2049. DEFINE_GUID(IID_IUpdateIdentity, 0x46297823, 0x9940, 0x4c09, 0xae,0xd9, 0xcd,0x3e,0xa6,0xd0,0x59,0x68);
  2050. #if defined(__cplusplus) && !defined(CINTERFACE)
  2051. MIDL_INTERFACE("46297823-9940-4c09-aed9-cd3ea6d05968")
  2052. IUpdateIdentity : public IDispatch
  2053. {
  2054. virtual HRESULT STDMETHODCALLTYPE get_RevisionNumber(
  2055. LONG *retval) = 0;
  2056. virtual HRESULT STDMETHODCALLTYPE get_UpdateID(
  2057. BSTR *retval) = 0;
  2058. };
  2059. #ifdef __CRT_UUID_DECL
  2060. __CRT_UUID_DECL(IUpdateIdentity, 0x46297823, 0x9940, 0x4c09, 0xae,0xd9, 0xcd,0x3e,0xa6,0xd0,0x59,0x68)
  2061. #endif
  2062. #else
  2063. typedef struct IUpdateIdentityVtbl {
  2064. BEGIN_INTERFACE
  2065. /*** IUnknown methods ***/
  2066. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2067. IUpdateIdentity *This,
  2068. REFIID riid,
  2069. void **ppvObject);
  2070. ULONG (STDMETHODCALLTYPE *AddRef)(
  2071. IUpdateIdentity *This);
  2072. ULONG (STDMETHODCALLTYPE *Release)(
  2073. IUpdateIdentity *This);
  2074. /*** IDispatch methods ***/
  2075. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  2076. IUpdateIdentity *This,
  2077. UINT *pctinfo);
  2078. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  2079. IUpdateIdentity *This,
  2080. UINT iTInfo,
  2081. LCID lcid,
  2082. ITypeInfo **ppTInfo);
  2083. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  2084. IUpdateIdentity *This,
  2085. REFIID riid,
  2086. LPOLESTR *rgszNames,
  2087. UINT cNames,
  2088. LCID lcid,
  2089. DISPID *rgDispId);
  2090. HRESULT (STDMETHODCALLTYPE *Invoke)(
  2091. IUpdateIdentity *This,
  2092. DISPID dispIdMember,
  2093. REFIID riid,
  2094. LCID lcid,
  2095. WORD wFlags,
  2096. DISPPARAMS *pDispParams,
  2097. VARIANT *pVarResult,
  2098. EXCEPINFO *pExcepInfo,
  2099. UINT *puArgErr);
  2100. /*** IUpdateIdentity methods ***/
  2101. HRESULT (STDMETHODCALLTYPE *get_RevisionNumber)(
  2102. IUpdateIdentity *This,
  2103. LONG *retval);
  2104. HRESULT (STDMETHODCALLTYPE *get_UpdateID)(
  2105. IUpdateIdentity *This,
  2106. BSTR *retval);
  2107. END_INTERFACE
  2108. } IUpdateIdentityVtbl;
  2109. interface IUpdateIdentity {
  2110. CONST_VTBL IUpdateIdentityVtbl* lpVtbl;
  2111. };
  2112. #ifdef COBJMACROS
  2113. #ifndef WIDL_C_INLINE_WRAPPERS
  2114. /*** IUnknown methods ***/
  2115. #define IUpdateIdentity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2116. #define IUpdateIdentity_AddRef(This) (This)->lpVtbl->AddRef(This)
  2117. #define IUpdateIdentity_Release(This) (This)->lpVtbl->Release(This)
  2118. /*** IDispatch methods ***/
  2119. #define IUpdateIdentity_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  2120. #define IUpdateIdentity_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2121. #define IUpdateIdentity_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2122. #define IUpdateIdentity_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2123. /*** IUpdateIdentity methods ***/
  2124. #define IUpdateIdentity_get_RevisionNumber(This,retval) (This)->lpVtbl->get_RevisionNumber(This,retval)
  2125. #define IUpdateIdentity_get_UpdateID(This,retval) (This)->lpVtbl->get_UpdateID(This,retval)
  2126. #else
  2127. /*** IUnknown methods ***/
  2128. static FORCEINLINE HRESULT IUpdateIdentity_QueryInterface(IUpdateIdentity* This,REFIID riid,void **ppvObject) {
  2129. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2130. }
  2131. static FORCEINLINE ULONG IUpdateIdentity_AddRef(IUpdateIdentity* This) {
  2132. return This->lpVtbl->AddRef(This);
  2133. }
  2134. static FORCEINLINE ULONG IUpdateIdentity_Release(IUpdateIdentity* This) {
  2135. return This->lpVtbl->Release(This);
  2136. }
  2137. /*** IDispatch methods ***/
  2138. static FORCEINLINE HRESULT IUpdateIdentity_GetTypeInfoCount(IUpdateIdentity* This,UINT *pctinfo) {
  2139. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  2140. }
  2141. static FORCEINLINE HRESULT IUpdateIdentity_GetTypeInfo(IUpdateIdentity* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  2142. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  2143. }
  2144. static FORCEINLINE HRESULT IUpdateIdentity_GetIDsOfNames(IUpdateIdentity* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  2145. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  2146. }
  2147. static FORCEINLINE HRESULT IUpdateIdentity_Invoke(IUpdateIdentity* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  2148. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  2149. }
  2150. /*** IUpdateIdentity methods ***/
  2151. static FORCEINLINE HRESULT IUpdateIdentity_get_RevisionNumber(IUpdateIdentity* This,LONG *retval) {
  2152. return This->lpVtbl->get_RevisionNumber(This,retval);
  2153. }
  2154. static FORCEINLINE HRESULT IUpdateIdentity_get_UpdateID(IUpdateIdentity* This,BSTR *retval) {
  2155. return This->lpVtbl->get_UpdateID(This,retval);
  2156. }
  2157. #endif
  2158. #endif
  2159. #endif
  2160. #endif /* __IUpdateIdentity_INTERFACE_DEFINED__ */
  2161. /*****************************************************************************
  2162. * IInstallationBehavior interface
  2163. */
  2164. #ifndef __IInstallationBehavior_INTERFACE_DEFINED__
  2165. #define __IInstallationBehavior_INTERFACE_DEFINED__
  2166. DEFINE_GUID(IID_IInstallationBehavior, 0xd9a59339, 0xe245, 0x4dbd, 0x96,0x86, 0x4d,0x57,0x63,0xe3,0x96,0x24);
  2167. #if defined(__cplusplus) && !defined(CINTERFACE)
  2168. MIDL_INTERFACE("d9a59339-e245-4dbd-9686-4d5763e39624")
  2169. IInstallationBehavior : public IDispatch
  2170. {
  2171. virtual HRESULT STDMETHODCALLTYPE get_CanRequestUserInput(
  2172. VARIANT_BOOL *retval) = 0;
  2173. virtual HRESULT STDMETHODCALLTYPE get_Impact(
  2174. InstallationImpact *retval) = 0;
  2175. virtual HRESULT STDMETHODCALLTYPE get_RebootBehavior(
  2176. InstallationRebootBehavior *retval) = 0;
  2177. virtual HRESULT STDMETHODCALLTYPE get_RequiresNetworkConnectivity(
  2178. VARIANT_BOOL *retval) = 0;
  2179. };
  2180. #ifdef __CRT_UUID_DECL
  2181. __CRT_UUID_DECL(IInstallationBehavior, 0xd9a59339, 0xe245, 0x4dbd, 0x96,0x86, 0x4d,0x57,0x63,0xe3,0x96,0x24)
  2182. #endif
  2183. #else
  2184. typedef struct IInstallationBehaviorVtbl {
  2185. BEGIN_INTERFACE
  2186. /*** IUnknown methods ***/
  2187. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2188. IInstallationBehavior *This,
  2189. REFIID riid,
  2190. void **ppvObject);
  2191. ULONG (STDMETHODCALLTYPE *AddRef)(
  2192. IInstallationBehavior *This);
  2193. ULONG (STDMETHODCALLTYPE *Release)(
  2194. IInstallationBehavior *This);
  2195. /*** IDispatch methods ***/
  2196. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  2197. IInstallationBehavior *This,
  2198. UINT *pctinfo);
  2199. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  2200. IInstallationBehavior *This,
  2201. UINT iTInfo,
  2202. LCID lcid,
  2203. ITypeInfo **ppTInfo);
  2204. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  2205. IInstallationBehavior *This,
  2206. REFIID riid,
  2207. LPOLESTR *rgszNames,
  2208. UINT cNames,
  2209. LCID lcid,
  2210. DISPID *rgDispId);
  2211. HRESULT (STDMETHODCALLTYPE *Invoke)(
  2212. IInstallationBehavior *This,
  2213. DISPID dispIdMember,
  2214. REFIID riid,
  2215. LCID lcid,
  2216. WORD wFlags,
  2217. DISPPARAMS *pDispParams,
  2218. VARIANT *pVarResult,
  2219. EXCEPINFO *pExcepInfo,
  2220. UINT *puArgErr);
  2221. /*** IInstallationBehavior methods ***/
  2222. HRESULT (STDMETHODCALLTYPE *get_CanRequestUserInput)(
  2223. IInstallationBehavior *This,
  2224. VARIANT_BOOL *retval);
  2225. HRESULT (STDMETHODCALLTYPE *get_Impact)(
  2226. IInstallationBehavior *This,
  2227. InstallationImpact *retval);
  2228. HRESULT (STDMETHODCALLTYPE *get_RebootBehavior)(
  2229. IInstallationBehavior *This,
  2230. InstallationRebootBehavior *retval);
  2231. HRESULT (STDMETHODCALLTYPE *get_RequiresNetworkConnectivity)(
  2232. IInstallationBehavior *This,
  2233. VARIANT_BOOL *retval);
  2234. END_INTERFACE
  2235. } IInstallationBehaviorVtbl;
  2236. interface IInstallationBehavior {
  2237. CONST_VTBL IInstallationBehaviorVtbl* lpVtbl;
  2238. };
  2239. #ifdef COBJMACROS
  2240. #ifndef WIDL_C_INLINE_WRAPPERS
  2241. /*** IUnknown methods ***/
  2242. #define IInstallationBehavior_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2243. #define IInstallationBehavior_AddRef(This) (This)->lpVtbl->AddRef(This)
  2244. #define IInstallationBehavior_Release(This) (This)->lpVtbl->Release(This)
  2245. /*** IDispatch methods ***/
  2246. #define IInstallationBehavior_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  2247. #define IInstallationBehavior_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2248. #define IInstallationBehavior_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2249. #define IInstallationBehavior_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2250. /*** IInstallationBehavior methods ***/
  2251. #define IInstallationBehavior_get_CanRequestUserInput(This,retval) (This)->lpVtbl->get_CanRequestUserInput(This,retval)
  2252. #define IInstallationBehavior_get_Impact(This,retval) (This)->lpVtbl->get_Impact(This,retval)
  2253. #define IInstallationBehavior_get_RebootBehavior(This,retval) (This)->lpVtbl->get_RebootBehavior(This,retval)
  2254. #define IInstallationBehavior_get_RequiresNetworkConnectivity(This,retval) (This)->lpVtbl->get_RequiresNetworkConnectivity(This,retval)
  2255. #else
  2256. /*** IUnknown methods ***/
  2257. static FORCEINLINE HRESULT IInstallationBehavior_QueryInterface(IInstallationBehavior* This,REFIID riid,void **ppvObject) {
  2258. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2259. }
  2260. static FORCEINLINE ULONG IInstallationBehavior_AddRef(IInstallationBehavior* This) {
  2261. return This->lpVtbl->AddRef(This);
  2262. }
  2263. static FORCEINLINE ULONG IInstallationBehavior_Release(IInstallationBehavior* This) {
  2264. return This->lpVtbl->Release(This);
  2265. }
  2266. /*** IDispatch methods ***/
  2267. static FORCEINLINE HRESULT IInstallationBehavior_GetTypeInfoCount(IInstallationBehavior* This,UINT *pctinfo) {
  2268. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  2269. }
  2270. static FORCEINLINE HRESULT IInstallationBehavior_GetTypeInfo(IInstallationBehavior* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  2271. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  2272. }
  2273. static FORCEINLINE HRESULT IInstallationBehavior_GetIDsOfNames(IInstallationBehavior* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  2274. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  2275. }
  2276. static FORCEINLINE HRESULT IInstallationBehavior_Invoke(IInstallationBehavior* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  2277. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  2278. }
  2279. /*** IInstallationBehavior methods ***/
  2280. static FORCEINLINE HRESULT IInstallationBehavior_get_CanRequestUserInput(IInstallationBehavior* This,VARIANT_BOOL *retval) {
  2281. return This->lpVtbl->get_CanRequestUserInput(This,retval);
  2282. }
  2283. static FORCEINLINE HRESULT IInstallationBehavior_get_Impact(IInstallationBehavior* This,InstallationImpact *retval) {
  2284. return This->lpVtbl->get_Impact(This,retval);
  2285. }
  2286. static FORCEINLINE HRESULT IInstallationBehavior_get_RebootBehavior(IInstallationBehavior* This,InstallationRebootBehavior *retval) {
  2287. return This->lpVtbl->get_RebootBehavior(This,retval);
  2288. }
  2289. static FORCEINLINE HRESULT IInstallationBehavior_get_RequiresNetworkConnectivity(IInstallationBehavior* This,VARIANT_BOOL *retval) {
  2290. return This->lpVtbl->get_RequiresNetworkConnectivity(This,retval);
  2291. }
  2292. #endif
  2293. #endif
  2294. #endif
  2295. #endif /* __IInstallationBehavior_INTERFACE_DEFINED__ */
  2296. /*****************************************************************************
  2297. * IUpdateDownloadContent interface
  2298. */
  2299. #ifndef __IUpdateDownloadContent_INTERFACE_DEFINED__
  2300. #define __IUpdateDownloadContent_INTERFACE_DEFINED__
  2301. DEFINE_GUID(IID_IUpdateDownloadContent, 0x54a2cb2d, 0x9a0c, 0x48b6, 0x8a,0x50, 0x9a,0xbb,0x69,0xee,0x2d,0x02);
  2302. #if defined(__cplusplus) && !defined(CINTERFACE)
  2303. MIDL_INTERFACE("54a2cb2d-9a0c-48b6-8a50-9abb69ee2d02")
  2304. IUpdateDownloadContent : public IDispatch
  2305. {
  2306. virtual HRESULT STDMETHODCALLTYPE get_DownloadUrl(
  2307. BSTR *retval) = 0;
  2308. };
  2309. #ifdef __CRT_UUID_DECL
  2310. __CRT_UUID_DECL(IUpdateDownloadContent, 0x54a2cb2d, 0x9a0c, 0x48b6, 0x8a,0x50, 0x9a,0xbb,0x69,0xee,0x2d,0x02)
  2311. #endif
  2312. #else
  2313. typedef struct IUpdateDownloadContentVtbl {
  2314. BEGIN_INTERFACE
  2315. /*** IUnknown methods ***/
  2316. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2317. IUpdateDownloadContent *This,
  2318. REFIID riid,
  2319. void **ppvObject);
  2320. ULONG (STDMETHODCALLTYPE *AddRef)(
  2321. IUpdateDownloadContent *This);
  2322. ULONG (STDMETHODCALLTYPE *Release)(
  2323. IUpdateDownloadContent *This);
  2324. /*** IDispatch methods ***/
  2325. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  2326. IUpdateDownloadContent *This,
  2327. UINT *pctinfo);
  2328. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  2329. IUpdateDownloadContent *This,
  2330. UINT iTInfo,
  2331. LCID lcid,
  2332. ITypeInfo **ppTInfo);
  2333. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  2334. IUpdateDownloadContent *This,
  2335. REFIID riid,
  2336. LPOLESTR *rgszNames,
  2337. UINT cNames,
  2338. LCID lcid,
  2339. DISPID *rgDispId);
  2340. HRESULT (STDMETHODCALLTYPE *Invoke)(
  2341. IUpdateDownloadContent *This,
  2342. DISPID dispIdMember,
  2343. REFIID riid,
  2344. LCID lcid,
  2345. WORD wFlags,
  2346. DISPPARAMS *pDispParams,
  2347. VARIANT *pVarResult,
  2348. EXCEPINFO *pExcepInfo,
  2349. UINT *puArgErr);
  2350. /*** IUpdateDownloadContent methods ***/
  2351. HRESULT (STDMETHODCALLTYPE *get_DownloadUrl)(
  2352. IUpdateDownloadContent *This,
  2353. BSTR *retval);
  2354. END_INTERFACE
  2355. } IUpdateDownloadContentVtbl;
  2356. interface IUpdateDownloadContent {
  2357. CONST_VTBL IUpdateDownloadContentVtbl* lpVtbl;
  2358. };
  2359. #ifdef COBJMACROS
  2360. #ifndef WIDL_C_INLINE_WRAPPERS
  2361. /*** IUnknown methods ***/
  2362. #define IUpdateDownloadContent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2363. #define IUpdateDownloadContent_AddRef(This) (This)->lpVtbl->AddRef(This)
  2364. #define IUpdateDownloadContent_Release(This) (This)->lpVtbl->Release(This)
  2365. /*** IDispatch methods ***/
  2366. #define IUpdateDownloadContent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  2367. #define IUpdateDownloadContent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2368. #define IUpdateDownloadContent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2369. #define IUpdateDownloadContent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2370. /*** IUpdateDownloadContent methods ***/
  2371. #define IUpdateDownloadContent_get_DownloadUrl(This,retval) (This)->lpVtbl->get_DownloadUrl(This,retval)
  2372. #else
  2373. /*** IUnknown methods ***/
  2374. static FORCEINLINE HRESULT IUpdateDownloadContent_QueryInterface(IUpdateDownloadContent* This,REFIID riid,void **ppvObject) {
  2375. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2376. }
  2377. static FORCEINLINE ULONG IUpdateDownloadContent_AddRef(IUpdateDownloadContent* This) {
  2378. return This->lpVtbl->AddRef(This);
  2379. }
  2380. static FORCEINLINE ULONG IUpdateDownloadContent_Release(IUpdateDownloadContent* This) {
  2381. return This->lpVtbl->Release(This);
  2382. }
  2383. /*** IDispatch methods ***/
  2384. static FORCEINLINE HRESULT IUpdateDownloadContent_GetTypeInfoCount(IUpdateDownloadContent* This,UINT *pctinfo) {
  2385. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  2386. }
  2387. static FORCEINLINE HRESULT IUpdateDownloadContent_GetTypeInfo(IUpdateDownloadContent* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  2388. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  2389. }
  2390. static FORCEINLINE HRESULT IUpdateDownloadContent_GetIDsOfNames(IUpdateDownloadContent* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  2391. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  2392. }
  2393. static FORCEINLINE HRESULT IUpdateDownloadContent_Invoke(IUpdateDownloadContent* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  2394. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  2395. }
  2396. /*** IUpdateDownloadContent methods ***/
  2397. static FORCEINLINE HRESULT IUpdateDownloadContent_get_DownloadUrl(IUpdateDownloadContent* This,BSTR *retval) {
  2398. return This->lpVtbl->get_DownloadUrl(This,retval);
  2399. }
  2400. #endif
  2401. #endif
  2402. #endif
  2403. #endif /* __IUpdateDownloadContent_INTERFACE_DEFINED__ */
  2404. /*****************************************************************************
  2405. * IUpdateDownloadContentCollection interface
  2406. */
  2407. #ifndef __IUpdateDownloadContentCollection_INTERFACE_DEFINED__
  2408. #define __IUpdateDownloadContentCollection_INTERFACE_DEFINED__
  2409. DEFINE_GUID(IID_IUpdateDownloadContentCollection, 0xbc5513c8, 0xb3b8, 0x4bf7, 0xa4,0xd4, 0x36,0x1c,0x0d,0x8c,0x88,0xba);
  2410. #if defined(__cplusplus) && !defined(CINTERFACE)
  2411. MIDL_INTERFACE("bc5513c8-b3b8-4bf7-a4d4-361c0d8c88ba")
  2412. IUpdateDownloadContentCollection : public IDispatch
  2413. {
  2414. virtual HRESULT STDMETHODCALLTYPE get_Item(
  2415. LONG index,
  2416. IUpdateDownloadContent **retval) = 0;
  2417. virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
  2418. IUnknown **retval) = 0;
  2419. virtual HRESULT STDMETHODCALLTYPE get_Count(
  2420. LONG *retval) = 0;
  2421. };
  2422. #ifdef __CRT_UUID_DECL
  2423. __CRT_UUID_DECL(IUpdateDownloadContentCollection, 0xbc5513c8, 0xb3b8, 0x4bf7, 0xa4,0xd4, 0x36,0x1c,0x0d,0x8c,0x88,0xba)
  2424. #endif
  2425. #else
  2426. typedef struct IUpdateDownloadContentCollectionVtbl {
  2427. BEGIN_INTERFACE
  2428. /*** IUnknown methods ***/
  2429. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2430. IUpdateDownloadContentCollection *This,
  2431. REFIID riid,
  2432. void **ppvObject);
  2433. ULONG (STDMETHODCALLTYPE *AddRef)(
  2434. IUpdateDownloadContentCollection *This);
  2435. ULONG (STDMETHODCALLTYPE *Release)(
  2436. IUpdateDownloadContentCollection *This);
  2437. /*** IDispatch methods ***/
  2438. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  2439. IUpdateDownloadContentCollection *This,
  2440. UINT *pctinfo);
  2441. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  2442. IUpdateDownloadContentCollection *This,
  2443. UINT iTInfo,
  2444. LCID lcid,
  2445. ITypeInfo **ppTInfo);
  2446. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  2447. IUpdateDownloadContentCollection *This,
  2448. REFIID riid,
  2449. LPOLESTR *rgszNames,
  2450. UINT cNames,
  2451. LCID lcid,
  2452. DISPID *rgDispId);
  2453. HRESULT (STDMETHODCALLTYPE *Invoke)(
  2454. IUpdateDownloadContentCollection *This,
  2455. DISPID dispIdMember,
  2456. REFIID riid,
  2457. LCID lcid,
  2458. WORD wFlags,
  2459. DISPPARAMS *pDispParams,
  2460. VARIANT *pVarResult,
  2461. EXCEPINFO *pExcepInfo,
  2462. UINT *puArgErr);
  2463. /*** IUpdateDownloadContentCollection methods ***/
  2464. HRESULT (STDMETHODCALLTYPE *get_Item)(
  2465. IUpdateDownloadContentCollection *This,
  2466. LONG index,
  2467. IUpdateDownloadContent **retval);
  2468. HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
  2469. IUpdateDownloadContentCollection *This,
  2470. IUnknown **retval);
  2471. HRESULT (STDMETHODCALLTYPE *get_Count)(
  2472. IUpdateDownloadContentCollection *This,
  2473. LONG *retval);
  2474. END_INTERFACE
  2475. } IUpdateDownloadContentCollectionVtbl;
  2476. interface IUpdateDownloadContentCollection {
  2477. CONST_VTBL IUpdateDownloadContentCollectionVtbl* lpVtbl;
  2478. };
  2479. #ifdef COBJMACROS
  2480. #ifndef WIDL_C_INLINE_WRAPPERS
  2481. /*** IUnknown methods ***/
  2482. #define IUpdateDownloadContentCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2483. #define IUpdateDownloadContentCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  2484. #define IUpdateDownloadContentCollection_Release(This) (This)->lpVtbl->Release(This)
  2485. /*** IDispatch methods ***/
  2486. #define IUpdateDownloadContentCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  2487. #define IUpdateDownloadContentCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2488. #define IUpdateDownloadContentCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2489. #define IUpdateDownloadContentCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2490. /*** IUpdateDownloadContentCollection methods ***/
  2491. #define IUpdateDownloadContentCollection_get_Item(This,index,retval) (This)->lpVtbl->get_Item(This,index,retval)
  2492. #define IUpdateDownloadContentCollection_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
  2493. #define IUpdateDownloadContentCollection_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval)
  2494. #else
  2495. /*** IUnknown methods ***/
  2496. static FORCEINLINE HRESULT IUpdateDownloadContentCollection_QueryInterface(IUpdateDownloadContentCollection* This,REFIID riid,void **ppvObject) {
  2497. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2498. }
  2499. static FORCEINLINE ULONG IUpdateDownloadContentCollection_AddRef(IUpdateDownloadContentCollection* This) {
  2500. return This->lpVtbl->AddRef(This);
  2501. }
  2502. static FORCEINLINE ULONG IUpdateDownloadContentCollection_Release(IUpdateDownloadContentCollection* This) {
  2503. return This->lpVtbl->Release(This);
  2504. }
  2505. /*** IDispatch methods ***/
  2506. static FORCEINLINE HRESULT IUpdateDownloadContentCollection_GetTypeInfoCount(IUpdateDownloadContentCollection* This,UINT *pctinfo) {
  2507. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  2508. }
  2509. static FORCEINLINE HRESULT IUpdateDownloadContentCollection_GetTypeInfo(IUpdateDownloadContentCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  2510. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  2511. }
  2512. static FORCEINLINE HRESULT IUpdateDownloadContentCollection_GetIDsOfNames(IUpdateDownloadContentCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  2513. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  2514. }
  2515. static FORCEINLINE HRESULT IUpdateDownloadContentCollection_Invoke(IUpdateDownloadContentCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  2516. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  2517. }
  2518. /*** IUpdateDownloadContentCollection methods ***/
  2519. static FORCEINLINE HRESULT IUpdateDownloadContentCollection_get_Item(IUpdateDownloadContentCollection* This,LONG index,IUpdateDownloadContent **retval) {
  2520. return This->lpVtbl->get_Item(This,index,retval);
  2521. }
  2522. static FORCEINLINE HRESULT IUpdateDownloadContentCollection_get__NewEnum(IUpdateDownloadContentCollection* This,IUnknown **retval) {
  2523. return This->lpVtbl->get__NewEnum(This,retval);
  2524. }
  2525. static FORCEINLINE HRESULT IUpdateDownloadContentCollection_get_Count(IUpdateDownloadContentCollection* This,LONG *retval) {
  2526. return This->lpVtbl->get_Count(This,retval);
  2527. }
  2528. #endif
  2529. #endif
  2530. #endif
  2531. #endif /* __IUpdateDownloadContentCollection_INTERFACE_DEFINED__ */
  2532. /*****************************************************************************
  2533. * IUpdate interface
  2534. */
  2535. #ifndef __IUpdate_INTERFACE_DEFINED__
  2536. #define __IUpdate_INTERFACE_DEFINED__
  2537. DEFINE_GUID(IID_IUpdate, 0x6a92b07a, 0xd821, 0x4682, 0xb4,0x23, 0x5c,0x80,0x50,0x22,0xcc,0x4d);
  2538. #if defined(__cplusplus) && !defined(CINTERFACE)
  2539. MIDL_INTERFACE("6a92b07a-d821-4682-b423-5c805022cc4d")
  2540. IUpdate : public IDispatch
  2541. {
  2542. virtual HRESULT STDMETHODCALLTYPE get_Title(
  2543. BSTR *retval) = 0;
  2544. virtual HRESULT STDMETHODCALLTYPE get_AutoSelectOnWebSites(
  2545. VARIANT_BOOL *retval) = 0;
  2546. virtual HRESULT STDMETHODCALLTYPE get_BundledUpdates(
  2547. IUpdateCollection **retval) = 0;
  2548. virtual HRESULT STDMETHODCALLTYPE get_CanRequireSource(
  2549. VARIANT_BOOL *retval) = 0;
  2550. virtual HRESULT STDMETHODCALLTYPE get_Categories(
  2551. ICategoryCollection **retval) = 0;
  2552. virtual HRESULT STDMETHODCALLTYPE get_Deadline(
  2553. VARIANT *retval) = 0;
  2554. virtual HRESULT STDMETHODCALLTYPE get_DeltaCompressedContentAvailable(
  2555. VARIANT_BOOL *retval) = 0;
  2556. virtual HRESULT STDMETHODCALLTYPE get_DeltaCompressedContentPreferred(
  2557. VARIANT_BOOL *retval) = 0;
  2558. virtual HRESULT STDMETHODCALLTYPE get_Description(
  2559. BSTR *retval) = 0;
  2560. virtual HRESULT STDMETHODCALLTYPE get_EulaAccepted(
  2561. VARIANT_BOOL *retval) = 0;
  2562. virtual HRESULT STDMETHODCALLTYPE get_EulaText(
  2563. BSTR *retval) = 0;
  2564. virtual HRESULT STDMETHODCALLTYPE get_HandlerID(
  2565. BSTR *retval) = 0;
  2566. virtual HRESULT STDMETHODCALLTYPE get_Identity(
  2567. IUpdateIdentity **retval) = 0;
  2568. virtual HRESULT STDMETHODCALLTYPE get_Image(
  2569. IImageInformation **retval) = 0;
  2570. virtual HRESULT STDMETHODCALLTYPE get_InstallationBehavior(
  2571. IInstallationBehavior **retval) = 0;
  2572. virtual HRESULT STDMETHODCALLTYPE get_IsBeta(
  2573. VARIANT_BOOL *retval) = 0;
  2574. virtual HRESULT STDMETHODCALLTYPE get_IsDownloaded(
  2575. VARIANT_BOOL *retval) = 0;
  2576. virtual HRESULT STDMETHODCALLTYPE get_IsHidden(
  2577. VARIANT_BOOL *retval) = 0;
  2578. virtual HRESULT STDMETHODCALLTYPE put_IsHidden(
  2579. VARIANT_BOOL value) = 0;
  2580. virtual HRESULT STDMETHODCALLTYPE get_IsInstalled(
  2581. VARIANT_BOOL *retval) = 0;
  2582. virtual HRESULT STDMETHODCALLTYPE get_IsMandatory(
  2583. VARIANT_BOOL *retval) = 0;
  2584. virtual HRESULT STDMETHODCALLTYPE get_IsUninstallable(
  2585. VARIANT_BOOL *retval) = 0;
  2586. virtual HRESULT STDMETHODCALLTYPE get_Languages(
  2587. IStringCollection **retval) = 0;
  2588. virtual HRESULT STDMETHODCALLTYPE get_LastDeploymentChangeTime(
  2589. DATE *retval) = 0;
  2590. virtual HRESULT STDMETHODCALLTYPE get_MaxDownloadSize(
  2591. DECIMAL *retval) = 0;
  2592. virtual HRESULT STDMETHODCALLTYPE get_MinDownloadSize(
  2593. DECIMAL *retval) = 0;
  2594. virtual HRESULT STDMETHODCALLTYPE get_MoreInfoUrls(
  2595. IStringCollection **retval) = 0;
  2596. virtual HRESULT STDMETHODCALLTYPE get_MsrcSeverity(
  2597. BSTR *retval) = 0;
  2598. virtual HRESULT STDMETHODCALLTYPE get_RecommendedCpuSpeed(
  2599. LONG *retval) = 0;
  2600. virtual HRESULT STDMETHODCALLTYPE get_RecommendedHardDiskSpace(
  2601. LONG *retval) = 0;
  2602. virtual HRESULT STDMETHODCALLTYPE get_RecommendedMemory(
  2603. LONG *retval) = 0;
  2604. virtual HRESULT STDMETHODCALLTYPE get_ReleaseNotes(
  2605. BSTR *retval) = 0;
  2606. virtual HRESULT STDMETHODCALLTYPE get_SecurityBulletinIDs(
  2607. IStringCollection **retval) = 0;
  2608. virtual HRESULT STDMETHODCALLTYPE get_SupersededUpdateIDs(
  2609. IStringCollection **retval) = 0;
  2610. virtual HRESULT STDMETHODCALLTYPE get_SupportUrl(
  2611. BSTR *retval) = 0;
  2612. virtual HRESULT STDMETHODCALLTYPE get_Type(
  2613. UpdateType *retval) = 0;
  2614. virtual HRESULT STDMETHODCALLTYPE get_UninstallationNotes(
  2615. BSTR *retval) = 0;
  2616. virtual HRESULT STDMETHODCALLTYPE get_UninstallationBehavior(
  2617. IInstallationBehavior **retval) = 0;
  2618. virtual HRESULT STDMETHODCALLTYPE get_UninstallationSteps(
  2619. IStringCollection **retval) = 0;
  2620. virtual HRESULT STDMETHODCALLTYPE get_KBArticleIDs(
  2621. IStringCollection **retval) = 0;
  2622. virtual HRESULT STDMETHODCALLTYPE AcceptEula(
  2623. ) = 0;
  2624. virtual HRESULT STDMETHODCALLTYPE get_DeploymentAction(
  2625. DeploymentAction *retval) = 0;
  2626. virtual HRESULT STDMETHODCALLTYPE CopyFromCache(
  2627. BSTR path,
  2628. VARIANT_BOOL toExtractCabFiles) = 0;
  2629. virtual HRESULT STDMETHODCALLTYPE get_DownloadPriority(
  2630. DownloadPriority *retval) = 0;
  2631. virtual HRESULT STDMETHODCALLTYPE get_DownloadContents(
  2632. IUpdateDownloadContentCollection **retval) = 0;
  2633. };
  2634. #ifdef __CRT_UUID_DECL
  2635. __CRT_UUID_DECL(IUpdate, 0x6a92b07a, 0xd821, 0x4682, 0xb4,0x23, 0x5c,0x80,0x50,0x22,0xcc,0x4d)
  2636. #endif
  2637. #else
  2638. typedef struct IUpdateVtbl {
  2639. BEGIN_INTERFACE
  2640. /*** IUnknown methods ***/
  2641. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2642. IUpdate *This,
  2643. REFIID riid,
  2644. void **ppvObject);
  2645. ULONG (STDMETHODCALLTYPE *AddRef)(
  2646. IUpdate *This);
  2647. ULONG (STDMETHODCALLTYPE *Release)(
  2648. IUpdate *This);
  2649. /*** IDispatch methods ***/
  2650. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  2651. IUpdate *This,
  2652. UINT *pctinfo);
  2653. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  2654. IUpdate *This,
  2655. UINT iTInfo,
  2656. LCID lcid,
  2657. ITypeInfo **ppTInfo);
  2658. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  2659. IUpdate *This,
  2660. REFIID riid,
  2661. LPOLESTR *rgszNames,
  2662. UINT cNames,
  2663. LCID lcid,
  2664. DISPID *rgDispId);
  2665. HRESULT (STDMETHODCALLTYPE *Invoke)(
  2666. IUpdate *This,
  2667. DISPID dispIdMember,
  2668. REFIID riid,
  2669. LCID lcid,
  2670. WORD wFlags,
  2671. DISPPARAMS *pDispParams,
  2672. VARIANT *pVarResult,
  2673. EXCEPINFO *pExcepInfo,
  2674. UINT *puArgErr);
  2675. /*** IUpdate methods ***/
  2676. HRESULT (STDMETHODCALLTYPE *get_Title)(
  2677. IUpdate *This,
  2678. BSTR *retval);
  2679. HRESULT (STDMETHODCALLTYPE *get_AutoSelectOnWebSites)(
  2680. IUpdate *This,
  2681. VARIANT_BOOL *retval);
  2682. HRESULT (STDMETHODCALLTYPE *get_BundledUpdates)(
  2683. IUpdate *This,
  2684. IUpdateCollection **retval);
  2685. HRESULT (STDMETHODCALLTYPE *get_CanRequireSource)(
  2686. IUpdate *This,
  2687. VARIANT_BOOL *retval);
  2688. HRESULT (STDMETHODCALLTYPE *get_Categories)(
  2689. IUpdate *This,
  2690. ICategoryCollection **retval);
  2691. HRESULT (STDMETHODCALLTYPE *get_Deadline)(
  2692. IUpdate *This,
  2693. VARIANT *retval);
  2694. HRESULT (STDMETHODCALLTYPE *get_DeltaCompressedContentAvailable)(
  2695. IUpdate *This,
  2696. VARIANT_BOOL *retval);
  2697. HRESULT (STDMETHODCALLTYPE *get_DeltaCompressedContentPreferred)(
  2698. IUpdate *This,
  2699. VARIANT_BOOL *retval);
  2700. HRESULT (STDMETHODCALLTYPE *get_Description)(
  2701. IUpdate *This,
  2702. BSTR *retval);
  2703. HRESULT (STDMETHODCALLTYPE *get_EulaAccepted)(
  2704. IUpdate *This,
  2705. VARIANT_BOOL *retval);
  2706. HRESULT (STDMETHODCALLTYPE *get_EulaText)(
  2707. IUpdate *This,
  2708. BSTR *retval);
  2709. HRESULT (STDMETHODCALLTYPE *get_HandlerID)(
  2710. IUpdate *This,
  2711. BSTR *retval);
  2712. HRESULT (STDMETHODCALLTYPE *get_Identity)(
  2713. IUpdate *This,
  2714. IUpdateIdentity **retval);
  2715. HRESULT (STDMETHODCALLTYPE *get_Image)(
  2716. IUpdate *This,
  2717. IImageInformation **retval);
  2718. HRESULT (STDMETHODCALLTYPE *get_InstallationBehavior)(
  2719. IUpdate *This,
  2720. IInstallationBehavior **retval);
  2721. HRESULT (STDMETHODCALLTYPE *get_IsBeta)(
  2722. IUpdate *This,
  2723. VARIANT_BOOL *retval);
  2724. HRESULT (STDMETHODCALLTYPE *get_IsDownloaded)(
  2725. IUpdate *This,
  2726. VARIANT_BOOL *retval);
  2727. HRESULT (STDMETHODCALLTYPE *get_IsHidden)(
  2728. IUpdate *This,
  2729. VARIANT_BOOL *retval);
  2730. HRESULT (STDMETHODCALLTYPE *put_IsHidden)(
  2731. IUpdate *This,
  2732. VARIANT_BOOL value);
  2733. HRESULT (STDMETHODCALLTYPE *get_IsInstalled)(
  2734. IUpdate *This,
  2735. VARIANT_BOOL *retval);
  2736. HRESULT (STDMETHODCALLTYPE *get_IsMandatory)(
  2737. IUpdate *This,
  2738. VARIANT_BOOL *retval);
  2739. HRESULT (STDMETHODCALLTYPE *get_IsUninstallable)(
  2740. IUpdate *This,
  2741. VARIANT_BOOL *retval);
  2742. HRESULT (STDMETHODCALLTYPE *get_Languages)(
  2743. IUpdate *This,
  2744. IStringCollection **retval);
  2745. HRESULT (STDMETHODCALLTYPE *get_LastDeploymentChangeTime)(
  2746. IUpdate *This,
  2747. DATE *retval);
  2748. HRESULT (STDMETHODCALLTYPE *get_MaxDownloadSize)(
  2749. IUpdate *This,
  2750. DECIMAL *retval);
  2751. HRESULT (STDMETHODCALLTYPE *get_MinDownloadSize)(
  2752. IUpdate *This,
  2753. DECIMAL *retval);
  2754. HRESULT (STDMETHODCALLTYPE *get_MoreInfoUrls)(
  2755. IUpdate *This,
  2756. IStringCollection **retval);
  2757. HRESULT (STDMETHODCALLTYPE *get_MsrcSeverity)(
  2758. IUpdate *This,
  2759. BSTR *retval);
  2760. HRESULT (STDMETHODCALLTYPE *get_RecommendedCpuSpeed)(
  2761. IUpdate *This,
  2762. LONG *retval);
  2763. HRESULT (STDMETHODCALLTYPE *get_RecommendedHardDiskSpace)(
  2764. IUpdate *This,
  2765. LONG *retval);
  2766. HRESULT (STDMETHODCALLTYPE *get_RecommendedMemory)(
  2767. IUpdate *This,
  2768. LONG *retval);
  2769. HRESULT (STDMETHODCALLTYPE *get_ReleaseNotes)(
  2770. IUpdate *This,
  2771. BSTR *retval);
  2772. HRESULT (STDMETHODCALLTYPE *get_SecurityBulletinIDs)(
  2773. IUpdate *This,
  2774. IStringCollection **retval);
  2775. HRESULT (STDMETHODCALLTYPE *get_SupersededUpdateIDs)(
  2776. IUpdate *This,
  2777. IStringCollection **retval);
  2778. HRESULT (STDMETHODCALLTYPE *get_SupportUrl)(
  2779. IUpdate *This,
  2780. BSTR *retval);
  2781. HRESULT (STDMETHODCALLTYPE *get_Type)(
  2782. IUpdate *This,
  2783. UpdateType *retval);
  2784. HRESULT (STDMETHODCALLTYPE *get_UninstallationNotes)(
  2785. IUpdate *This,
  2786. BSTR *retval);
  2787. HRESULT (STDMETHODCALLTYPE *get_UninstallationBehavior)(
  2788. IUpdate *This,
  2789. IInstallationBehavior **retval);
  2790. HRESULT (STDMETHODCALLTYPE *get_UninstallationSteps)(
  2791. IUpdate *This,
  2792. IStringCollection **retval);
  2793. HRESULT (STDMETHODCALLTYPE *get_KBArticleIDs)(
  2794. IUpdate *This,
  2795. IStringCollection **retval);
  2796. HRESULT (STDMETHODCALLTYPE *AcceptEula)(
  2797. IUpdate *This);
  2798. HRESULT (STDMETHODCALLTYPE *get_DeploymentAction)(
  2799. IUpdate *This,
  2800. DeploymentAction *retval);
  2801. HRESULT (STDMETHODCALLTYPE *CopyFromCache)(
  2802. IUpdate *This,
  2803. BSTR path,
  2804. VARIANT_BOOL toExtractCabFiles);
  2805. HRESULT (STDMETHODCALLTYPE *get_DownloadPriority)(
  2806. IUpdate *This,
  2807. DownloadPriority *retval);
  2808. HRESULT (STDMETHODCALLTYPE *get_DownloadContents)(
  2809. IUpdate *This,
  2810. IUpdateDownloadContentCollection **retval);
  2811. END_INTERFACE
  2812. } IUpdateVtbl;
  2813. interface IUpdate {
  2814. CONST_VTBL IUpdateVtbl* lpVtbl;
  2815. };
  2816. #ifdef COBJMACROS
  2817. #ifndef WIDL_C_INLINE_WRAPPERS
  2818. /*** IUnknown methods ***/
  2819. #define IUpdate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2820. #define IUpdate_AddRef(This) (This)->lpVtbl->AddRef(This)
  2821. #define IUpdate_Release(This) (This)->lpVtbl->Release(This)
  2822. /*** IDispatch methods ***/
  2823. #define IUpdate_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  2824. #define IUpdate_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2825. #define IUpdate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2826. #define IUpdate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2827. /*** IUpdate methods ***/
  2828. #define IUpdate_get_Title(This,retval) (This)->lpVtbl->get_Title(This,retval)
  2829. #define IUpdate_get_AutoSelectOnWebSites(This,retval) (This)->lpVtbl->get_AutoSelectOnWebSites(This,retval)
  2830. #define IUpdate_get_BundledUpdates(This,retval) (This)->lpVtbl->get_BundledUpdates(This,retval)
  2831. #define IUpdate_get_CanRequireSource(This,retval) (This)->lpVtbl->get_CanRequireSource(This,retval)
  2832. #define IUpdate_get_Categories(This,retval) (This)->lpVtbl->get_Categories(This,retval)
  2833. #define IUpdate_get_Deadline(This,retval) (This)->lpVtbl->get_Deadline(This,retval)
  2834. #define IUpdate_get_DeltaCompressedContentAvailable(This,retval) (This)->lpVtbl->get_DeltaCompressedContentAvailable(This,retval)
  2835. #define IUpdate_get_DeltaCompressedContentPreferred(This,retval) (This)->lpVtbl->get_DeltaCompressedContentPreferred(This,retval)
  2836. #define IUpdate_get_Description(This,retval) (This)->lpVtbl->get_Description(This,retval)
  2837. #define IUpdate_get_EulaAccepted(This,retval) (This)->lpVtbl->get_EulaAccepted(This,retval)
  2838. #define IUpdate_get_EulaText(This,retval) (This)->lpVtbl->get_EulaText(This,retval)
  2839. #define IUpdate_get_HandlerID(This,retval) (This)->lpVtbl->get_HandlerID(This,retval)
  2840. #define IUpdate_get_Identity(This,retval) (This)->lpVtbl->get_Identity(This,retval)
  2841. #define IUpdate_get_Image(This,retval) (This)->lpVtbl->get_Image(This,retval)
  2842. #define IUpdate_get_InstallationBehavior(This,retval) (This)->lpVtbl->get_InstallationBehavior(This,retval)
  2843. #define IUpdate_get_IsBeta(This,retval) (This)->lpVtbl->get_IsBeta(This,retval)
  2844. #define IUpdate_get_IsDownloaded(This,retval) (This)->lpVtbl->get_IsDownloaded(This,retval)
  2845. #define IUpdate_get_IsHidden(This,retval) (This)->lpVtbl->get_IsHidden(This,retval)
  2846. #define IUpdate_put_IsHidden(This,value) (This)->lpVtbl->put_IsHidden(This,value)
  2847. #define IUpdate_get_IsInstalled(This,retval) (This)->lpVtbl->get_IsInstalled(This,retval)
  2848. #define IUpdate_get_IsMandatory(This,retval) (This)->lpVtbl->get_IsMandatory(This,retval)
  2849. #define IUpdate_get_IsUninstallable(This,retval) (This)->lpVtbl->get_IsUninstallable(This,retval)
  2850. #define IUpdate_get_Languages(This,retval) (This)->lpVtbl->get_Languages(This,retval)
  2851. #define IUpdate_get_LastDeploymentChangeTime(This,retval) (This)->lpVtbl->get_LastDeploymentChangeTime(This,retval)
  2852. #define IUpdate_get_MaxDownloadSize(This,retval) (This)->lpVtbl->get_MaxDownloadSize(This,retval)
  2853. #define IUpdate_get_MinDownloadSize(This,retval) (This)->lpVtbl->get_MinDownloadSize(This,retval)
  2854. #define IUpdate_get_MoreInfoUrls(This,retval) (This)->lpVtbl->get_MoreInfoUrls(This,retval)
  2855. #define IUpdate_get_MsrcSeverity(This,retval) (This)->lpVtbl->get_MsrcSeverity(This,retval)
  2856. #define IUpdate_get_RecommendedCpuSpeed(This,retval) (This)->lpVtbl->get_RecommendedCpuSpeed(This,retval)
  2857. #define IUpdate_get_RecommendedHardDiskSpace(This,retval) (This)->lpVtbl->get_RecommendedHardDiskSpace(This,retval)
  2858. #define IUpdate_get_RecommendedMemory(This,retval) (This)->lpVtbl->get_RecommendedMemory(This,retval)
  2859. #define IUpdate_get_ReleaseNotes(This,retval) (This)->lpVtbl->get_ReleaseNotes(This,retval)
  2860. #define IUpdate_get_SecurityBulletinIDs(This,retval) (This)->lpVtbl->get_SecurityBulletinIDs(This,retval)
  2861. #define IUpdate_get_SupersededUpdateIDs(This,retval) (This)->lpVtbl->get_SupersededUpdateIDs(This,retval)
  2862. #define IUpdate_get_SupportUrl(This,retval) (This)->lpVtbl->get_SupportUrl(This,retval)
  2863. #define IUpdate_get_Type(This,retval) (This)->lpVtbl->get_Type(This,retval)
  2864. #define IUpdate_get_UninstallationNotes(This,retval) (This)->lpVtbl->get_UninstallationNotes(This,retval)
  2865. #define IUpdate_get_UninstallationBehavior(This,retval) (This)->lpVtbl->get_UninstallationBehavior(This,retval)
  2866. #define IUpdate_get_UninstallationSteps(This,retval) (This)->lpVtbl->get_UninstallationSteps(This,retval)
  2867. #define IUpdate_get_KBArticleIDs(This,retval) (This)->lpVtbl->get_KBArticleIDs(This,retval)
  2868. #define IUpdate_AcceptEula(This) (This)->lpVtbl->AcceptEula(This)
  2869. #define IUpdate_get_DeploymentAction(This,retval) (This)->lpVtbl->get_DeploymentAction(This,retval)
  2870. #define IUpdate_CopyFromCache(This,path,toExtractCabFiles) (This)->lpVtbl->CopyFromCache(This,path,toExtractCabFiles)
  2871. #define IUpdate_get_DownloadPriority(This,retval) (This)->lpVtbl->get_DownloadPriority(This,retval)
  2872. #define IUpdate_get_DownloadContents(This,retval) (This)->lpVtbl->get_DownloadContents(This,retval)
  2873. #else
  2874. /*** IUnknown methods ***/
  2875. static FORCEINLINE HRESULT IUpdate_QueryInterface(IUpdate* This,REFIID riid,void **ppvObject) {
  2876. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2877. }
  2878. static FORCEINLINE ULONG IUpdate_AddRef(IUpdate* This) {
  2879. return This->lpVtbl->AddRef(This);
  2880. }
  2881. static FORCEINLINE ULONG IUpdate_Release(IUpdate* This) {
  2882. return This->lpVtbl->Release(This);
  2883. }
  2884. /*** IDispatch methods ***/
  2885. static FORCEINLINE HRESULT IUpdate_GetTypeInfoCount(IUpdate* This,UINT *pctinfo) {
  2886. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  2887. }
  2888. static FORCEINLINE HRESULT IUpdate_GetTypeInfo(IUpdate* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  2889. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  2890. }
  2891. static FORCEINLINE HRESULT IUpdate_GetIDsOfNames(IUpdate* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  2892. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  2893. }
  2894. static FORCEINLINE HRESULT IUpdate_Invoke(IUpdate* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  2895. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  2896. }
  2897. /*** IUpdate methods ***/
  2898. static FORCEINLINE HRESULT IUpdate_get_Title(IUpdate* This,BSTR *retval) {
  2899. return This->lpVtbl->get_Title(This,retval);
  2900. }
  2901. static FORCEINLINE HRESULT IUpdate_get_AutoSelectOnWebSites(IUpdate* This,VARIANT_BOOL *retval) {
  2902. return This->lpVtbl->get_AutoSelectOnWebSites(This,retval);
  2903. }
  2904. static FORCEINLINE HRESULT IUpdate_get_BundledUpdates(IUpdate* This,IUpdateCollection **retval) {
  2905. return This->lpVtbl->get_BundledUpdates(This,retval);
  2906. }
  2907. static FORCEINLINE HRESULT IUpdate_get_CanRequireSource(IUpdate* This,VARIANT_BOOL *retval) {
  2908. return This->lpVtbl->get_CanRequireSource(This,retval);
  2909. }
  2910. static FORCEINLINE HRESULT IUpdate_get_Categories(IUpdate* This,ICategoryCollection **retval) {
  2911. return This->lpVtbl->get_Categories(This,retval);
  2912. }
  2913. static FORCEINLINE HRESULT IUpdate_get_Deadline(IUpdate* This,VARIANT *retval) {
  2914. return This->lpVtbl->get_Deadline(This,retval);
  2915. }
  2916. static FORCEINLINE HRESULT IUpdate_get_DeltaCompressedContentAvailable(IUpdate* This,VARIANT_BOOL *retval) {
  2917. return This->lpVtbl->get_DeltaCompressedContentAvailable(This,retval);
  2918. }
  2919. static FORCEINLINE HRESULT IUpdate_get_DeltaCompressedContentPreferred(IUpdate* This,VARIANT_BOOL *retval) {
  2920. return This->lpVtbl->get_DeltaCompressedContentPreferred(This,retval);
  2921. }
  2922. static FORCEINLINE HRESULT IUpdate_get_Description(IUpdate* This,BSTR *retval) {
  2923. return This->lpVtbl->get_Description(This,retval);
  2924. }
  2925. static FORCEINLINE HRESULT IUpdate_get_EulaAccepted(IUpdate* This,VARIANT_BOOL *retval) {
  2926. return This->lpVtbl->get_EulaAccepted(This,retval);
  2927. }
  2928. static FORCEINLINE HRESULT IUpdate_get_EulaText(IUpdate* This,BSTR *retval) {
  2929. return This->lpVtbl->get_EulaText(This,retval);
  2930. }
  2931. static FORCEINLINE HRESULT IUpdate_get_HandlerID(IUpdate* This,BSTR *retval) {
  2932. return This->lpVtbl->get_HandlerID(This,retval);
  2933. }
  2934. static FORCEINLINE HRESULT IUpdate_get_Identity(IUpdate* This,IUpdateIdentity **retval) {
  2935. return This->lpVtbl->get_Identity(This,retval);
  2936. }
  2937. static FORCEINLINE HRESULT IUpdate_get_Image(IUpdate* This,IImageInformation **retval) {
  2938. return This->lpVtbl->get_Image(This,retval);
  2939. }
  2940. static FORCEINLINE HRESULT IUpdate_get_InstallationBehavior(IUpdate* This,IInstallationBehavior **retval) {
  2941. return This->lpVtbl->get_InstallationBehavior(This,retval);
  2942. }
  2943. static FORCEINLINE HRESULT IUpdate_get_IsBeta(IUpdate* This,VARIANT_BOOL *retval) {
  2944. return This->lpVtbl->get_IsBeta(This,retval);
  2945. }
  2946. static FORCEINLINE HRESULT IUpdate_get_IsDownloaded(IUpdate* This,VARIANT_BOOL *retval) {
  2947. return This->lpVtbl->get_IsDownloaded(This,retval);
  2948. }
  2949. static FORCEINLINE HRESULT IUpdate_get_IsHidden(IUpdate* This,VARIANT_BOOL *retval) {
  2950. return This->lpVtbl->get_IsHidden(This,retval);
  2951. }
  2952. static FORCEINLINE HRESULT IUpdate_put_IsHidden(IUpdate* This,VARIANT_BOOL value) {
  2953. return This->lpVtbl->put_IsHidden(This,value);
  2954. }
  2955. static FORCEINLINE HRESULT IUpdate_get_IsInstalled(IUpdate* This,VARIANT_BOOL *retval) {
  2956. return This->lpVtbl->get_IsInstalled(This,retval);
  2957. }
  2958. static FORCEINLINE HRESULT IUpdate_get_IsMandatory(IUpdate* This,VARIANT_BOOL *retval) {
  2959. return This->lpVtbl->get_IsMandatory(This,retval);
  2960. }
  2961. static FORCEINLINE HRESULT IUpdate_get_IsUninstallable(IUpdate* This,VARIANT_BOOL *retval) {
  2962. return This->lpVtbl->get_IsUninstallable(This,retval);
  2963. }
  2964. static FORCEINLINE HRESULT IUpdate_get_Languages(IUpdate* This,IStringCollection **retval) {
  2965. return This->lpVtbl->get_Languages(This,retval);
  2966. }
  2967. static FORCEINLINE HRESULT IUpdate_get_LastDeploymentChangeTime(IUpdate* This,DATE *retval) {
  2968. return This->lpVtbl->get_LastDeploymentChangeTime(This,retval);
  2969. }
  2970. static FORCEINLINE HRESULT IUpdate_get_MaxDownloadSize(IUpdate* This,DECIMAL *retval) {
  2971. return This->lpVtbl->get_MaxDownloadSize(This,retval);
  2972. }
  2973. static FORCEINLINE HRESULT IUpdate_get_MinDownloadSize(IUpdate* This,DECIMAL *retval) {
  2974. return This->lpVtbl->get_MinDownloadSize(This,retval);
  2975. }
  2976. static FORCEINLINE HRESULT IUpdate_get_MoreInfoUrls(IUpdate* This,IStringCollection **retval) {
  2977. return This->lpVtbl->get_MoreInfoUrls(This,retval);
  2978. }
  2979. static FORCEINLINE HRESULT IUpdate_get_MsrcSeverity(IUpdate* This,BSTR *retval) {
  2980. return This->lpVtbl->get_MsrcSeverity(This,retval);
  2981. }
  2982. static FORCEINLINE HRESULT IUpdate_get_RecommendedCpuSpeed(IUpdate* This,LONG *retval) {
  2983. return This->lpVtbl->get_RecommendedCpuSpeed(This,retval);
  2984. }
  2985. static FORCEINLINE HRESULT IUpdate_get_RecommendedHardDiskSpace(IUpdate* This,LONG *retval) {
  2986. return This->lpVtbl->get_RecommendedHardDiskSpace(This,retval);
  2987. }
  2988. static FORCEINLINE HRESULT IUpdate_get_RecommendedMemory(IUpdate* This,LONG *retval) {
  2989. return This->lpVtbl->get_RecommendedMemory(This,retval);
  2990. }
  2991. static FORCEINLINE HRESULT IUpdate_get_ReleaseNotes(IUpdate* This,BSTR *retval) {
  2992. return This->lpVtbl->get_ReleaseNotes(This,retval);
  2993. }
  2994. static FORCEINLINE HRESULT IUpdate_get_SecurityBulletinIDs(IUpdate* This,IStringCollection **retval) {
  2995. return This->lpVtbl->get_SecurityBulletinIDs(This,retval);
  2996. }
  2997. static FORCEINLINE HRESULT IUpdate_get_SupersededUpdateIDs(IUpdate* This,IStringCollection **retval) {
  2998. return This->lpVtbl->get_SupersededUpdateIDs(This,retval);
  2999. }
  3000. static FORCEINLINE HRESULT IUpdate_get_SupportUrl(IUpdate* This,BSTR *retval) {
  3001. return This->lpVtbl->get_SupportUrl(This,retval);
  3002. }
  3003. static FORCEINLINE HRESULT IUpdate_get_Type(IUpdate* This,UpdateType *retval) {
  3004. return This->lpVtbl->get_Type(This,retval);
  3005. }
  3006. static FORCEINLINE HRESULT IUpdate_get_UninstallationNotes(IUpdate* This,BSTR *retval) {
  3007. return This->lpVtbl->get_UninstallationNotes(This,retval);
  3008. }
  3009. static FORCEINLINE HRESULT IUpdate_get_UninstallationBehavior(IUpdate* This,IInstallationBehavior **retval) {
  3010. return This->lpVtbl->get_UninstallationBehavior(This,retval);
  3011. }
  3012. static FORCEINLINE HRESULT IUpdate_get_UninstallationSteps(IUpdate* This,IStringCollection **retval) {
  3013. return This->lpVtbl->get_UninstallationSteps(This,retval);
  3014. }
  3015. static FORCEINLINE HRESULT IUpdate_get_KBArticleIDs(IUpdate* This,IStringCollection **retval) {
  3016. return This->lpVtbl->get_KBArticleIDs(This,retval);
  3017. }
  3018. static FORCEINLINE HRESULT IUpdate_AcceptEula(IUpdate* This) {
  3019. return This->lpVtbl->AcceptEula(This);
  3020. }
  3021. static FORCEINLINE HRESULT IUpdate_get_DeploymentAction(IUpdate* This,DeploymentAction *retval) {
  3022. return This->lpVtbl->get_DeploymentAction(This,retval);
  3023. }
  3024. static FORCEINLINE HRESULT IUpdate_CopyFromCache(IUpdate* This,BSTR path,VARIANT_BOOL toExtractCabFiles) {
  3025. return This->lpVtbl->CopyFromCache(This,path,toExtractCabFiles);
  3026. }
  3027. static FORCEINLINE HRESULT IUpdate_get_DownloadPriority(IUpdate* This,DownloadPriority *retval) {
  3028. return This->lpVtbl->get_DownloadPriority(This,retval);
  3029. }
  3030. static FORCEINLINE HRESULT IUpdate_get_DownloadContents(IUpdate* This,IUpdateDownloadContentCollection **retval) {
  3031. return This->lpVtbl->get_DownloadContents(This,retval);
  3032. }
  3033. #endif
  3034. #endif
  3035. #endif
  3036. #endif /* __IUpdate_INTERFACE_DEFINED__ */
  3037. /*****************************************************************************
  3038. * IUpdateCollection interface
  3039. */
  3040. #ifndef __IUpdateCollection_INTERFACE_DEFINED__
  3041. #define __IUpdateCollection_INTERFACE_DEFINED__
  3042. DEFINE_GUID(IID_IUpdateCollection, 0x07f7438c, 0x7709, 0x4ca5, 0xb5,0x18, 0x91,0x27,0x92,0x88,0x13,0x4e);
  3043. #if defined(__cplusplus) && !defined(CINTERFACE)
  3044. MIDL_INTERFACE("07f7438c-7709-4ca5-b518-91279288134e")
  3045. IUpdateCollection : public IDispatch
  3046. {
  3047. virtual HRESULT STDMETHODCALLTYPE get_Item(
  3048. LONG index,
  3049. IUpdate **retval) = 0;
  3050. virtual HRESULT STDMETHODCALLTYPE put_Item(
  3051. LONG index,
  3052. IUpdate *value) = 0;
  3053. virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
  3054. IUnknown **retval) = 0;
  3055. virtual HRESULT STDMETHODCALLTYPE get_Count(
  3056. LONG *retval) = 0;
  3057. virtual HRESULT STDMETHODCALLTYPE get_ReadOnly(
  3058. VARIANT_BOOL *retval) = 0;
  3059. virtual HRESULT STDMETHODCALLTYPE Add(
  3060. IUpdate *value,
  3061. LONG *retval) = 0;
  3062. virtual HRESULT STDMETHODCALLTYPE Clear(
  3063. ) = 0;
  3064. virtual HRESULT STDMETHODCALLTYPE Copy(
  3065. IUpdateCollection **retval) = 0;
  3066. virtual HRESULT STDMETHODCALLTYPE Insert(
  3067. LONG index,
  3068. IUpdate *value) = 0;
  3069. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  3070. LONG index) = 0;
  3071. };
  3072. #ifdef __CRT_UUID_DECL
  3073. __CRT_UUID_DECL(IUpdateCollection, 0x07f7438c, 0x7709, 0x4ca5, 0xb5,0x18, 0x91,0x27,0x92,0x88,0x13,0x4e)
  3074. #endif
  3075. #else
  3076. typedef struct IUpdateCollectionVtbl {
  3077. BEGIN_INTERFACE
  3078. /*** IUnknown methods ***/
  3079. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3080. IUpdateCollection *This,
  3081. REFIID riid,
  3082. void **ppvObject);
  3083. ULONG (STDMETHODCALLTYPE *AddRef)(
  3084. IUpdateCollection *This);
  3085. ULONG (STDMETHODCALLTYPE *Release)(
  3086. IUpdateCollection *This);
  3087. /*** IDispatch methods ***/
  3088. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  3089. IUpdateCollection *This,
  3090. UINT *pctinfo);
  3091. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  3092. IUpdateCollection *This,
  3093. UINT iTInfo,
  3094. LCID lcid,
  3095. ITypeInfo **ppTInfo);
  3096. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  3097. IUpdateCollection *This,
  3098. REFIID riid,
  3099. LPOLESTR *rgszNames,
  3100. UINT cNames,
  3101. LCID lcid,
  3102. DISPID *rgDispId);
  3103. HRESULT (STDMETHODCALLTYPE *Invoke)(
  3104. IUpdateCollection *This,
  3105. DISPID dispIdMember,
  3106. REFIID riid,
  3107. LCID lcid,
  3108. WORD wFlags,
  3109. DISPPARAMS *pDispParams,
  3110. VARIANT *pVarResult,
  3111. EXCEPINFO *pExcepInfo,
  3112. UINT *puArgErr);
  3113. /*** IUpdateCollection methods ***/
  3114. HRESULT (STDMETHODCALLTYPE *get_Item)(
  3115. IUpdateCollection *This,
  3116. LONG index,
  3117. IUpdate **retval);
  3118. HRESULT (STDMETHODCALLTYPE *put_Item)(
  3119. IUpdateCollection *This,
  3120. LONG index,
  3121. IUpdate *value);
  3122. HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
  3123. IUpdateCollection *This,
  3124. IUnknown **retval);
  3125. HRESULT (STDMETHODCALLTYPE *get_Count)(
  3126. IUpdateCollection *This,
  3127. LONG *retval);
  3128. HRESULT (STDMETHODCALLTYPE *get_ReadOnly)(
  3129. IUpdateCollection *This,
  3130. VARIANT_BOOL *retval);
  3131. HRESULT (STDMETHODCALLTYPE *Add)(
  3132. IUpdateCollection *This,
  3133. IUpdate *value,
  3134. LONG *retval);
  3135. HRESULT (STDMETHODCALLTYPE *Clear)(
  3136. IUpdateCollection *This);
  3137. HRESULT (STDMETHODCALLTYPE *Copy)(
  3138. IUpdateCollection *This,
  3139. IUpdateCollection **retval);
  3140. HRESULT (STDMETHODCALLTYPE *Insert)(
  3141. IUpdateCollection *This,
  3142. LONG index,
  3143. IUpdate *value);
  3144. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  3145. IUpdateCollection *This,
  3146. LONG index);
  3147. END_INTERFACE
  3148. } IUpdateCollectionVtbl;
  3149. interface IUpdateCollection {
  3150. CONST_VTBL IUpdateCollectionVtbl* lpVtbl;
  3151. };
  3152. #ifdef COBJMACROS
  3153. #ifndef WIDL_C_INLINE_WRAPPERS
  3154. /*** IUnknown methods ***/
  3155. #define IUpdateCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3156. #define IUpdateCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  3157. #define IUpdateCollection_Release(This) (This)->lpVtbl->Release(This)
  3158. /*** IDispatch methods ***/
  3159. #define IUpdateCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  3160. #define IUpdateCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3161. #define IUpdateCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3162. #define IUpdateCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3163. /*** IUpdateCollection methods ***/
  3164. #define IUpdateCollection_get_Item(This,index,retval) (This)->lpVtbl->get_Item(This,index,retval)
  3165. #define IUpdateCollection_put_Item(This,index,value) (This)->lpVtbl->put_Item(This,index,value)
  3166. #define IUpdateCollection_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
  3167. #define IUpdateCollection_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval)
  3168. #define IUpdateCollection_get_ReadOnly(This,retval) (This)->lpVtbl->get_ReadOnly(This,retval)
  3169. #define IUpdateCollection_Add(This,value,retval) (This)->lpVtbl->Add(This,value,retval)
  3170. #define IUpdateCollection_Clear(This) (This)->lpVtbl->Clear(This)
  3171. #define IUpdateCollection_Copy(This,retval) (This)->lpVtbl->Copy(This,retval)
  3172. #define IUpdateCollection_Insert(This,index,value) (This)->lpVtbl->Insert(This,index,value)
  3173. #define IUpdateCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  3174. #else
  3175. /*** IUnknown methods ***/
  3176. static FORCEINLINE HRESULT IUpdateCollection_QueryInterface(IUpdateCollection* This,REFIID riid,void **ppvObject) {
  3177. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3178. }
  3179. static FORCEINLINE ULONG IUpdateCollection_AddRef(IUpdateCollection* This) {
  3180. return This->lpVtbl->AddRef(This);
  3181. }
  3182. static FORCEINLINE ULONG IUpdateCollection_Release(IUpdateCollection* This) {
  3183. return This->lpVtbl->Release(This);
  3184. }
  3185. /*** IDispatch methods ***/
  3186. static FORCEINLINE HRESULT IUpdateCollection_GetTypeInfoCount(IUpdateCollection* This,UINT *pctinfo) {
  3187. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  3188. }
  3189. static FORCEINLINE HRESULT IUpdateCollection_GetTypeInfo(IUpdateCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  3190. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  3191. }
  3192. static FORCEINLINE HRESULT IUpdateCollection_GetIDsOfNames(IUpdateCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  3193. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  3194. }
  3195. static FORCEINLINE HRESULT IUpdateCollection_Invoke(IUpdateCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  3196. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  3197. }
  3198. /*** IUpdateCollection methods ***/
  3199. static FORCEINLINE HRESULT IUpdateCollection_get_Item(IUpdateCollection* This,LONG index,IUpdate **retval) {
  3200. return This->lpVtbl->get_Item(This,index,retval);
  3201. }
  3202. static FORCEINLINE HRESULT IUpdateCollection_put_Item(IUpdateCollection* This,LONG index,IUpdate *value) {
  3203. return This->lpVtbl->put_Item(This,index,value);
  3204. }
  3205. static FORCEINLINE HRESULT IUpdateCollection_get__NewEnum(IUpdateCollection* This,IUnknown **retval) {
  3206. return This->lpVtbl->get__NewEnum(This,retval);
  3207. }
  3208. static FORCEINLINE HRESULT IUpdateCollection_get_Count(IUpdateCollection* This,LONG *retval) {
  3209. return This->lpVtbl->get_Count(This,retval);
  3210. }
  3211. static FORCEINLINE HRESULT IUpdateCollection_get_ReadOnly(IUpdateCollection* This,VARIANT_BOOL *retval) {
  3212. return This->lpVtbl->get_ReadOnly(This,retval);
  3213. }
  3214. static FORCEINLINE HRESULT IUpdateCollection_Add(IUpdateCollection* This,IUpdate *value,LONG *retval) {
  3215. return This->lpVtbl->Add(This,value,retval);
  3216. }
  3217. static FORCEINLINE HRESULT IUpdateCollection_Clear(IUpdateCollection* This) {
  3218. return This->lpVtbl->Clear(This);
  3219. }
  3220. static FORCEINLINE HRESULT IUpdateCollection_Copy(IUpdateCollection* This,IUpdateCollection **retval) {
  3221. return This->lpVtbl->Copy(This,retval);
  3222. }
  3223. static FORCEINLINE HRESULT IUpdateCollection_Insert(IUpdateCollection* This,LONG index,IUpdate *value) {
  3224. return This->lpVtbl->Insert(This,index,value);
  3225. }
  3226. static FORCEINLINE HRESULT IUpdateCollection_RemoveAt(IUpdateCollection* This,LONG index) {
  3227. return This->lpVtbl->RemoveAt(This,index);
  3228. }
  3229. #endif
  3230. #endif
  3231. #endif
  3232. #endif /* __IUpdateCollection_INTERFACE_DEFINED__ */
  3233. /*****************************************************************************
  3234. * ISearchJob interface
  3235. */
  3236. #ifndef __ISearchJob_INTERFACE_DEFINED__
  3237. #define __ISearchJob_INTERFACE_DEFINED__
  3238. DEFINE_GUID(IID_ISearchJob, 0x7366ea16, 0x7a1a, 0x4ea2, 0xb0,0x42, 0x97,0x3d,0x3e,0x9c,0xd9,0x9b);
  3239. #if defined(__cplusplus) && !defined(CINTERFACE)
  3240. MIDL_INTERFACE("7366ea16-7a1a-4ea2-b042-973d3e9cd99b")
  3241. ISearchJob : public IDispatch
  3242. {
  3243. virtual HRESULT STDMETHODCALLTYPE get_AsyncState(
  3244. VARIANT *retval) = 0;
  3245. virtual HRESULT STDMETHODCALLTYPE get_IsCompleted(
  3246. VARIANT_BOOL *retval) = 0;
  3247. virtual HRESULT STDMETHODCALLTYPE CleanUp(
  3248. ) = 0;
  3249. virtual HRESULT STDMETHODCALLTYPE RequestAbort(
  3250. ) = 0;
  3251. };
  3252. #ifdef __CRT_UUID_DECL
  3253. __CRT_UUID_DECL(ISearchJob, 0x7366ea16, 0x7a1a, 0x4ea2, 0xb0,0x42, 0x97,0x3d,0x3e,0x9c,0xd9,0x9b)
  3254. #endif
  3255. #else
  3256. typedef struct ISearchJobVtbl {
  3257. BEGIN_INTERFACE
  3258. /*** IUnknown methods ***/
  3259. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3260. ISearchJob *This,
  3261. REFIID riid,
  3262. void **ppvObject);
  3263. ULONG (STDMETHODCALLTYPE *AddRef)(
  3264. ISearchJob *This);
  3265. ULONG (STDMETHODCALLTYPE *Release)(
  3266. ISearchJob *This);
  3267. /*** IDispatch methods ***/
  3268. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  3269. ISearchJob *This,
  3270. UINT *pctinfo);
  3271. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  3272. ISearchJob *This,
  3273. UINT iTInfo,
  3274. LCID lcid,
  3275. ITypeInfo **ppTInfo);
  3276. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  3277. ISearchJob *This,
  3278. REFIID riid,
  3279. LPOLESTR *rgszNames,
  3280. UINT cNames,
  3281. LCID lcid,
  3282. DISPID *rgDispId);
  3283. HRESULT (STDMETHODCALLTYPE *Invoke)(
  3284. ISearchJob *This,
  3285. DISPID dispIdMember,
  3286. REFIID riid,
  3287. LCID lcid,
  3288. WORD wFlags,
  3289. DISPPARAMS *pDispParams,
  3290. VARIANT *pVarResult,
  3291. EXCEPINFO *pExcepInfo,
  3292. UINT *puArgErr);
  3293. /*** ISearchJob methods ***/
  3294. HRESULT (STDMETHODCALLTYPE *get_AsyncState)(
  3295. ISearchJob *This,
  3296. VARIANT *retval);
  3297. HRESULT (STDMETHODCALLTYPE *get_IsCompleted)(
  3298. ISearchJob *This,
  3299. VARIANT_BOOL *retval);
  3300. HRESULT (STDMETHODCALLTYPE *CleanUp)(
  3301. ISearchJob *This);
  3302. HRESULT (STDMETHODCALLTYPE *RequestAbort)(
  3303. ISearchJob *This);
  3304. END_INTERFACE
  3305. } ISearchJobVtbl;
  3306. interface ISearchJob {
  3307. CONST_VTBL ISearchJobVtbl* lpVtbl;
  3308. };
  3309. #ifdef COBJMACROS
  3310. #ifndef WIDL_C_INLINE_WRAPPERS
  3311. /*** IUnknown methods ***/
  3312. #define ISearchJob_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3313. #define ISearchJob_AddRef(This) (This)->lpVtbl->AddRef(This)
  3314. #define ISearchJob_Release(This) (This)->lpVtbl->Release(This)
  3315. /*** IDispatch methods ***/
  3316. #define ISearchJob_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  3317. #define ISearchJob_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3318. #define ISearchJob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3319. #define ISearchJob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3320. /*** ISearchJob methods ***/
  3321. #define ISearchJob_get_AsyncState(This,retval) (This)->lpVtbl->get_AsyncState(This,retval)
  3322. #define ISearchJob_get_IsCompleted(This,retval) (This)->lpVtbl->get_IsCompleted(This,retval)
  3323. #define ISearchJob_CleanUp(This) (This)->lpVtbl->CleanUp(This)
  3324. #define ISearchJob_RequestAbort(This) (This)->lpVtbl->RequestAbort(This)
  3325. #else
  3326. /*** IUnknown methods ***/
  3327. static FORCEINLINE HRESULT ISearchJob_QueryInterface(ISearchJob* This,REFIID riid,void **ppvObject) {
  3328. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3329. }
  3330. static FORCEINLINE ULONG ISearchJob_AddRef(ISearchJob* This) {
  3331. return This->lpVtbl->AddRef(This);
  3332. }
  3333. static FORCEINLINE ULONG ISearchJob_Release(ISearchJob* This) {
  3334. return This->lpVtbl->Release(This);
  3335. }
  3336. /*** IDispatch methods ***/
  3337. static FORCEINLINE HRESULT ISearchJob_GetTypeInfoCount(ISearchJob* This,UINT *pctinfo) {
  3338. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  3339. }
  3340. static FORCEINLINE HRESULT ISearchJob_GetTypeInfo(ISearchJob* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  3341. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  3342. }
  3343. static FORCEINLINE HRESULT ISearchJob_GetIDsOfNames(ISearchJob* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  3344. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  3345. }
  3346. static FORCEINLINE HRESULT ISearchJob_Invoke(ISearchJob* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  3347. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  3348. }
  3349. /*** ISearchJob methods ***/
  3350. static FORCEINLINE HRESULT ISearchJob_get_AsyncState(ISearchJob* This,VARIANT *retval) {
  3351. return This->lpVtbl->get_AsyncState(This,retval);
  3352. }
  3353. static FORCEINLINE HRESULT ISearchJob_get_IsCompleted(ISearchJob* This,VARIANT_BOOL *retval) {
  3354. return This->lpVtbl->get_IsCompleted(This,retval);
  3355. }
  3356. static FORCEINLINE HRESULT ISearchJob_CleanUp(ISearchJob* This) {
  3357. return This->lpVtbl->CleanUp(This);
  3358. }
  3359. static FORCEINLINE HRESULT ISearchJob_RequestAbort(ISearchJob* This) {
  3360. return This->lpVtbl->RequestAbort(This);
  3361. }
  3362. #endif
  3363. #endif
  3364. #endif
  3365. #endif /* __ISearchJob_INTERFACE_DEFINED__ */
  3366. /*****************************************************************************
  3367. * ISearchResult interface
  3368. */
  3369. #ifndef __ISearchResult_INTERFACE_DEFINED__
  3370. #define __ISearchResult_INTERFACE_DEFINED__
  3371. DEFINE_GUID(IID_ISearchResult, 0xd40cff62, 0xe08c, 0x4498, 0x94,0x1a, 0x01,0xe2,0x5f,0x0f,0xd3,0x3c);
  3372. #if defined(__cplusplus) && !defined(CINTERFACE)
  3373. MIDL_INTERFACE("d40cff62-e08c-4498-941a-01e25f0fd33c")
  3374. ISearchResult : public IDispatch
  3375. {
  3376. virtual HRESULT STDMETHODCALLTYPE get_ResultCode(
  3377. OperationResultCode *retval) = 0;
  3378. virtual HRESULT STDMETHODCALLTYPE get_RootCategories(
  3379. ICategoryCollection **retval) = 0;
  3380. virtual HRESULT STDMETHODCALLTYPE get_Updates(
  3381. IUpdateCollection **retval) = 0;
  3382. virtual HRESULT STDMETHODCALLTYPE get_Warnings(
  3383. IUpdateExceptionCollection **retval) = 0;
  3384. };
  3385. #ifdef __CRT_UUID_DECL
  3386. __CRT_UUID_DECL(ISearchResult, 0xd40cff62, 0xe08c, 0x4498, 0x94,0x1a, 0x01,0xe2,0x5f,0x0f,0xd3,0x3c)
  3387. #endif
  3388. #else
  3389. typedef struct ISearchResultVtbl {
  3390. BEGIN_INTERFACE
  3391. /*** IUnknown methods ***/
  3392. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3393. ISearchResult *This,
  3394. REFIID riid,
  3395. void **ppvObject);
  3396. ULONG (STDMETHODCALLTYPE *AddRef)(
  3397. ISearchResult *This);
  3398. ULONG (STDMETHODCALLTYPE *Release)(
  3399. ISearchResult *This);
  3400. /*** IDispatch methods ***/
  3401. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  3402. ISearchResult *This,
  3403. UINT *pctinfo);
  3404. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  3405. ISearchResult *This,
  3406. UINT iTInfo,
  3407. LCID lcid,
  3408. ITypeInfo **ppTInfo);
  3409. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  3410. ISearchResult *This,
  3411. REFIID riid,
  3412. LPOLESTR *rgszNames,
  3413. UINT cNames,
  3414. LCID lcid,
  3415. DISPID *rgDispId);
  3416. HRESULT (STDMETHODCALLTYPE *Invoke)(
  3417. ISearchResult *This,
  3418. DISPID dispIdMember,
  3419. REFIID riid,
  3420. LCID lcid,
  3421. WORD wFlags,
  3422. DISPPARAMS *pDispParams,
  3423. VARIANT *pVarResult,
  3424. EXCEPINFO *pExcepInfo,
  3425. UINT *puArgErr);
  3426. /*** ISearchResult methods ***/
  3427. HRESULT (STDMETHODCALLTYPE *get_ResultCode)(
  3428. ISearchResult *This,
  3429. OperationResultCode *retval);
  3430. HRESULT (STDMETHODCALLTYPE *get_RootCategories)(
  3431. ISearchResult *This,
  3432. ICategoryCollection **retval);
  3433. HRESULT (STDMETHODCALLTYPE *get_Updates)(
  3434. ISearchResult *This,
  3435. IUpdateCollection **retval);
  3436. HRESULT (STDMETHODCALLTYPE *get_Warnings)(
  3437. ISearchResult *This,
  3438. IUpdateExceptionCollection **retval);
  3439. END_INTERFACE
  3440. } ISearchResultVtbl;
  3441. interface ISearchResult {
  3442. CONST_VTBL ISearchResultVtbl* lpVtbl;
  3443. };
  3444. #ifdef COBJMACROS
  3445. #ifndef WIDL_C_INLINE_WRAPPERS
  3446. /*** IUnknown methods ***/
  3447. #define ISearchResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3448. #define ISearchResult_AddRef(This) (This)->lpVtbl->AddRef(This)
  3449. #define ISearchResult_Release(This) (This)->lpVtbl->Release(This)
  3450. /*** IDispatch methods ***/
  3451. #define ISearchResult_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  3452. #define ISearchResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3453. #define ISearchResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3454. #define ISearchResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3455. /*** ISearchResult methods ***/
  3456. #define ISearchResult_get_ResultCode(This,retval) (This)->lpVtbl->get_ResultCode(This,retval)
  3457. #define ISearchResult_get_RootCategories(This,retval) (This)->lpVtbl->get_RootCategories(This,retval)
  3458. #define ISearchResult_get_Updates(This,retval) (This)->lpVtbl->get_Updates(This,retval)
  3459. #define ISearchResult_get_Warnings(This,retval) (This)->lpVtbl->get_Warnings(This,retval)
  3460. #else
  3461. /*** IUnknown methods ***/
  3462. static FORCEINLINE HRESULT ISearchResult_QueryInterface(ISearchResult* This,REFIID riid,void **ppvObject) {
  3463. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3464. }
  3465. static FORCEINLINE ULONG ISearchResult_AddRef(ISearchResult* This) {
  3466. return This->lpVtbl->AddRef(This);
  3467. }
  3468. static FORCEINLINE ULONG ISearchResult_Release(ISearchResult* This) {
  3469. return This->lpVtbl->Release(This);
  3470. }
  3471. /*** IDispatch methods ***/
  3472. static FORCEINLINE HRESULT ISearchResult_GetTypeInfoCount(ISearchResult* This,UINT *pctinfo) {
  3473. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  3474. }
  3475. static FORCEINLINE HRESULT ISearchResult_GetTypeInfo(ISearchResult* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  3476. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  3477. }
  3478. static FORCEINLINE HRESULT ISearchResult_GetIDsOfNames(ISearchResult* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  3479. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  3480. }
  3481. static FORCEINLINE HRESULT ISearchResult_Invoke(ISearchResult* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  3482. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  3483. }
  3484. /*** ISearchResult methods ***/
  3485. static FORCEINLINE HRESULT ISearchResult_get_ResultCode(ISearchResult* This,OperationResultCode *retval) {
  3486. return This->lpVtbl->get_ResultCode(This,retval);
  3487. }
  3488. static FORCEINLINE HRESULT ISearchResult_get_RootCategories(ISearchResult* This,ICategoryCollection **retval) {
  3489. return This->lpVtbl->get_RootCategories(This,retval);
  3490. }
  3491. static FORCEINLINE HRESULT ISearchResult_get_Updates(ISearchResult* This,IUpdateCollection **retval) {
  3492. return This->lpVtbl->get_Updates(This,retval);
  3493. }
  3494. static FORCEINLINE HRESULT ISearchResult_get_Warnings(ISearchResult* This,IUpdateExceptionCollection **retval) {
  3495. return This->lpVtbl->get_Warnings(This,retval);
  3496. }
  3497. #endif
  3498. #endif
  3499. #endif
  3500. #endif /* __ISearchResult_INTERFACE_DEFINED__ */
  3501. /*****************************************************************************
  3502. * IUpdateHistoryEntry interface
  3503. */
  3504. #ifndef __IUpdateHistoryEntry_INTERFACE_DEFINED__
  3505. #define __IUpdateHistoryEntry_INTERFACE_DEFINED__
  3506. DEFINE_GUID(IID_IUpdateHistoryEntry, 0xbe56a644, 0xaf0e, 0x4e0e, 0xa3,0x11, 0xc1,0xd8,0xe6,0x95,0xcb,0xff);
  3507. #if defined(__cplusplus) && !defined(CINTERFACE)
  3508. MIDL_INTERFACE("be56a644-af0e-4e0e-a311-c1d8e695cbff")
  3509. IUpdateHistoryEntry : public IDispatch
  3510. {
  3511. virtual HRESULT STDMETHODCALLTYPE get_Operation(
  3512. UpdateOperation *retval) = 0;
  3513. virtual HRESULT STDMETHODCALLTYPE get_ResultCode(
  3514. OperationResultCode *retval) = 0;
  3515. virtual HRESULT STDMETHODCALLTYPE get_HResult(
  3516. LONG *retval) = 0;
  3517. virtual HRESULT STDMETHODCALLTYPE get_Date(
  3518. DATE *retval) = 0;
  3519. virtual HRESULT STDMETHODCALLTYPE get_UpdateIdentity(
  3520. IUpdateIdentity **retval) = 0;
  3521. virtual HRESULT STDMETHODCALLTYPE get_Title(
  3522. BSTR *retval) = 0;
  3523. virtual HRESULT STDMETHODCALLTYPE get_Description(
  3524. BSTR *retval) = 0;
  3525. virtual HRESULT STDMETHODCALLTYPE get_UnmappedResultCode(
  3526. LONG *retval) = 0;
  3527. virtual HRESULT STDMETHODCALLTYPE get_ClientApplicationID(
  3528. BSTR *retval) = 0;
  3529. virtual HRESULT STDMETHODCALLTYPE get_ServerSelection(
  3530. ServerSelection *retval) = 0;
  3531. virtual HRESULT STDMETHODCALLTYPE get_ServiceID(
  3532. BSTR *retval) = 0;
  3533. virtual HRESULT STDMETHODCALLTYPE get_UninstallationSteps(
  3534. IStringCollection **retval) = 0;
  3535. virtual HRESULT STDMETHODCALLTYPE get_UninstallationNotes(
  3536. BSTR *retval) = 0;
  3537. virtual HRESULT STDMETHODCALLTYPE get_SupportUrl(
  3538. BSTR *retval) = 0;
  3539. };
  3540. #ifdef __CRT_UUID_DECL
  3541. __CRT_UUID_DECL(IUpdateHistoryEntry, 0xbe56a644, 0xaf0e, 0x4e0e, 0xa3,0x11, 0xc1,0xd8,0xe6,0x95,0xcb,0xff)
  3542. #endif
  3543. #else
  3544. typedef struct IUpdateHistoryEntryVtbl {
  3545. BEGIN_INTERFACE
  3546. /*** IUnknown methods ***/
  3547. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3548. IUpdateHistoryEntry *This,
  3549. REFIID riid,
  3550. void **ppvObject);
  3551. ULONG (STDMETHODCALLTYPE *AddRef)(
  3552. IUpdateHistoryEntry *This);
  3553. ULONG (STDMETHODCALLTYPE *Release)(
  3554. IUpdateHistoryEntry *This);
  3555. /*** IDispatch methods ***/
  3556. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  3557. IUpdateHistoryEntry *This,
  3558. UINT *pctinfo);
  3559. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  3560. IUpdateHistoryEntry *This,
  3561. UINT iTInfo,
  3562. LCID lcid,
  3563. ITypeInfo **ppTInfo);
  3564. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  3565. IUpdateHistoryEntry *This,
  3566. REFIID riid,
  3567. LPOLESTR *rgszNames,
  3568. UINT cNames,
  3569. LCID lcid,
  3570. DISPID *rgDispId);
  3571. HRESULT (STDMETHODCALLTYPE *Invoke)(
  3572. IUpdateHistoryEntry *This,
  3573. DISPID dispIdMember,
  3574. REFIID riid,
  3575. LCID lcid,
  3576. WORD wFlags,
  3577. DISPPARAMS *pDispParams,
  3578. VARIANT *pVarResult,
  3579. EXCEPINFO *pExcepInfo,
  3580. UINT *puArgErr);
  3581. /*** IUpdateHistoryEntry methods ***/
  3582. HRESULT (STDMETHODCALLTYPE *get_Operation)(
  3583. IUpdateHistoryEntry *This,
  3584. UpdateOperation *retval);
  3585. HRESULT (STDMETHODCALLTYPE *get_ResultCode)(
  3586. IUpdateHistoryEntry *This,
  3587. OperationResultCode *retval);
  3588. HRESULT (STDMETHODCALLTYPE *get_HResult)(
  3589. IUpdateHistoryEntry *This,
  3590. LONG *retval);
  3591. HRESULT (STDMETHODCALLTYPE *get_Date)(
  3592. IUpdateHistoryEntry *This,
  3593. DATE *retval);
  3594. HRESULT (STDMETHODCALLTYPE *get_UpdateIdentity)(
  3595. IUpdateHistoryEntry *This,
  3596. IUpdateIdentity **retval);
  3597. HRESULT (STDMETHODCALLTYPE *get_Title)(
  3598. IUpdateHistoryEntry *This,
  3599. BSTR *retval);
  3600. HRESULT (STDMETHODCALLTYPE *get_Description)(
  3601. IUpdateHistoryEntry *This,
  3602. BSTR *retval);
  3603. HRESULT (STDMETHODCALLTYPE *get_UnmappedResultCode)(
  3604. IUpdateHistoryEntry *This,
  3605. LONG *retval);
  3606. HRESULT (STDMETHODCALLTYPE *get_ClientApplicationID)(
  3607. IUpdateHistoryEntry *This,
  3608. BSTR *retval);
  3609. HRESULT (STDMETHODCALLTYPE *get_ServerSelection)(
  3610. IUpdateHistoryEntry *This,
  3611. ServerSelection *retval);
  3612. HRESULT (STDMETHODCALLTYPE *get_ServiceID)(
  3613. IUpdateHistoryEntry *This,
  3614. BSTR *retval);
  3615. HRESULT (STDMETHODCALLTYPE *get_UninstallationSteps)(
  3616. IUpdateHistoryEntry *This,
  3617. IStringCollection **retval);
  3618. HRESULT (STDMETHODCALLTYPE *get_UninstallationNotes)(
  3619. IUpdateHistoryEntry *This,
  3620. BSTR *retval);
  3621. HRESULT (STDMETHODCALLTYPE *get_SupportUrl)(
  3622. IUpdateHistoryEntry *This,
  3623. BSTR *retval);
  3624. END_INTERFACE
  3625. } IUpdateHistoryEntryVtbl;
  3626. interface IUpdateHistoryEntry {
  3627. CONST_VTBL IUpdateHistoryEntryVtbl* lpVtbl;
  3628. };
  3629. #ifdef COBJMACROS
  3630. #ifndef WIDL_C_INLINE_WRAPPERS
  3631. /*** IUnknown methods ***/
  3632. #define IUpdateHistoryEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3633. #define IUpdateHistoryEntry_AddRef(This) (This)->lpVtbl->AddRef(This)
  3634. #define IUpdateHistoryEntry_Release(This) (This)->lpVtbl->Release(This)
  3635. /*** IDispatch methods ***/
  3636. #define IUpdateHistoryEntry_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  3637. #define IUpdateHistoryEntry_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3638. #define IUpdateHistoryEntry_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3639. #define IUpdateHistoryEntry_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3640. /*** IUpdateHistoryEntry methods ***/
  3641. #define IUpdateHistoryEntry_get_Operation(This,retval) (This)->lpVtbl->get_Operation(This,retval)
  3642. #define IUpdateHistoryEntry_get_ResultCode(This,retval) (This)->lpVtbl->get_ResultCode(This,retval)
  3643. #define IUpdateHistoryEntry_get_HResult(This,retval) (This)->lpVtbl->get_HResult(This,retval)
  3644. #define IUpdateHistoryEntry_get_Date(This,retval) (This)->lpVtbl->get_Date(This,retval)
  3645. #define IUpdateHistoryEntry_get_UpdateIdentity(This,retval) (This)->lpVtbl->get_UpdateIdentity(This,retval)
  3646. #define IUpdateHistoryEntry_get_Title(This,retval) (This)->lpVtbl->get_Title(This,retval)
  3647. #define IUpdateHistoryEntry_get_Description(This,retval) (This)->lpVtbl->get_Description(This,retval)
  3648. #define IUpdateHistoryEntry_get_UnmappedResultCode(This,retval) (This)->lpVtbl->get_UnmappedResultCode(This,retval)
  3649. #define IUpdateHistoryEntry_get_ClientApplicationID(This,retval) (This)->lpVtbl->get_ClientApplicationID(This,retval)
  3650. #define IUpdateHistoryEntry_get_ServerSelection(This,retval) (This)->lpVtbl->get_ServerSelection(This,retval)
  3651. #define IUpdateHistoryEntry_get_ServiceID(This,retval) (This)->lpVtbl->get_ServiceID(This,retval)
  3652. #define IUpdateHistoryEntry_get_UninstallationSteps(This,retval) (This)->lpVtbl->get_UninstallationSteps(This,retval)
  3653. #define IUpdateHistoryEntry_get_UninstallationNotes(This,retval) (This)->lpVtbl->get_UninstallationNotes(This,retval)
  3654. #define IUpdateHistoryEntry_get_SupportUrl(This,retval) (This)->lpVtbl->get_SupportUrl(This,retval)
  3655. #else
  3656. /*** IUnknown methods ***/
  3657. static FORCEINLINE HRESULT IUpdateHistoryEntry_QueryInterface(IUpdateHistoryEntry* This,REFIID riid,void **ppvObject) {
  3658. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3659. }
  3660. static FORCEINLINE ULONG IUpdateHistoryEntry_AddRef(IUpdateHistoryEntry* This) {
  3661. return This->lpVtbl->AddRef(This);
  3662. }
  3663. static FORCEINLINE ULONG IUpdateHistoryEntry_Release(IUpdateHistoryEntry* This) {
  3664. return This->lpVtbl->Release(This);
  3665. }
  3666. /*** IDispatch methods ***/
  3667. static FORCEINLINE HRESULT IUpdateHistoryEntry_GetTypeInfoCount(IUpdateHistoryEntry* This,UINT *pctinfo) {
  3668. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  3669. }
  3670. static FORCEINLINE HRESULT IUpdateHistoryEntry_GetTypeInfo(IUpdateHistoryEntry* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  3671. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  3672. }
  3673. static FORCEINLINE HRESULT IUpdateHistoryEntry_GetIDsOfNames(IUpdateHistoryEntry* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  3674. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  3675. }
  3676. static FORCEINLINE HRESULT IUpdateHistoryEntry_Invoke(IUpdateHistoryEntry* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  3677. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  3678. }
  3679. /*** IUpdateHistoryEntry methods ***/
  3680. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_Operation(IUpdateHistoryEntry* This,UpdateOperation *retval) {
  3681. return This->lpVtbl->get_Operation(This,retval);
  3682. }
  3683. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_ResultCode(IUpdateHistoryEntry* This,OperationResultCode *retval) {
  3684. return This->lpVtbl->get_ResultCode(This,retval);
  3685. }
  3686. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_HResult(IUpdateHistoryEntry* This,LONG *retval) {
  3687. return This->lpVtbl->get_HResult(This,retval);
  3688. }
  3689. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_Date(IUpdateHistoryEntry* This,DATE *retval) {
  3690. return This->lpVtbl->get_Date(This,retval);
  3691. }
  3692. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_UpdateIdentity(IUpdateHistoryEntry* This,IUpdateIdentity **retval) {
  3693. return This->lpVtbl->get_UpdateIdentity(This,retval);
  3694. }
  3695. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_Title(IUpdateHistoryEntry* This,BSTR *retval) {
  3696. return This->lpVtbl->get_Title(This,retval);
  3697. }
  3698. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_Description(IUpdateHistoryEntry* This,BSTR *retval) {
  3699. return This->lpVtbl->get_Description(This,retval);
  3700. }
  3701. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_UnmappedResultCode(IUpdateHistoryEntry* This,LONG *retval) {
  3702. return This->lpVtbl->get_UnmappedResultCode(This,retval);
  3703. }
  3704. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_ClientApplicationID(IUpdateHistoryEntry* This,BSTR *retval) {
  3705. return This->lpVtbl->get_ClientApplicationID(This,retval);
  3706. }
  3707. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_ServerSelection(IUpdateHistoryEntry* This,ServerSelection *retval) {
  3708. return This->lpVtbl->get_ServerSelection(This,retval);
  3709. }
  3710. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_ServiceID(IUpdateHistoryEntry* This,BSTR *retval) {
  3711. return This->lpVtbl->get_ServiceID(This,retval);
  3712. }
  3713. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_UninstallationSteps(IUpdateHistoryEntry* This,IStringCollection **retval) {
  3714. return This->lpVtbl->get_UninstallationSteps(This,retval);
  3715. }
  3716. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_UninstallationNotes(IUpdateHistoryEntry* This,BSTR *retval) {
  3717. return This->lpVtbl->get_UninstallationNotes(This,retval);
  3718. }
  3719. static FORCEINLINE HRESULT IUpdateHistoryEntry_get_SupportUrl(IUpdateHistoryEntry* This,BSTR *retval) {
  3720. return This->lpVtbl->get_SupportUrl(This,retval);
  3721. }
  3722. #endif
  3723. #endif
  3724. #endif
  3725. #endif /* __IUpdateHistoryEntry_INTERFACE_DEFINED__ */
  3726. /*****************************************************************************
  3727. * IUpdateHistoryEntryCollection interface
  3728. */
  3729. #ifndef __IUpdateHistoryEntryCollection_INTERFACE_DEFINED__
  3730. #define __IUpdateHistoryEntryCollection_INTERFACE_DEFINED__
  3731. DEFINE_GUID(IID_IUpdateHistoryEntryCollection, 0xa7f04f3c, 0xa290, 0x435b, 0xaa,0xdf, 0xa1,0x16,0xc3,0x35,0x7a,0x5c);
  3732. #if defined(__cplusplus) && !defined(CINTERFACE)
  3733. MIDL_INTERFACE("a7f04f3c-a290-435b-aadf-a116c3357a5c")
  3734. IUpdateHistoryEntryCollection : public IDispatch
  3735. {
  3736. virtual HRESULT STDMETHODCALLTYPE get_Item(
  3737. LONG index,
  3738. IUpdateHistoryEntry **retval) = 0;
  3739. virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
  3740. IUnknown **retval) = 0;
  3741. virtual HRESULT STDMETHODCALLTYPE get_Count(
  3742. LONG *retval) = 0;
  3743. };
  3744. #ifdef __CRT_UUID_DECL
  3745. __CRT_UUID_DECL(IUpdateHistoryEntryCollection, 0xa7f04f3c, 0xa290, 0x435b, 0xaa,0xdf, 0xa1,0x16,0xc3,0x35,0x7a,0x5c)
  3746. #endif
  3747. #else
  3748. typedef struct IUpdateHistoryEntryCollectionVtbl {
  3749. BEGIN_INTERFACE
  3750. /*** IUnknown methods ***/
  3751. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3752. IUpdateHistoryEntryCollection *This,
  3753. REFIID riid,
  3754. void **ppvObject);
  3755. ULONG (STDMETHODCALLTYPE *AddRef)(
  3756. IUpdateHistoryEntryCollection *This);
  3757. ULONG (STDMETHODCALLTYPE *Release)(
  3758. IUpdateHistoryEntryCollection *This);
  3759. /*** IDispatch methods ***/
  3760. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  3761. IUpdateHistoryEntryCollection *This,
  3762. UINT *pctinfo);
  3763. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  3764. IUpdateHistoryEntryCollection *This,
  3765. UINT iTInfo,
  3766. LCID lcid,
  3767. ITypeInfo **ppTInfo);
  3768. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  3769. IUpdateHistoryEntryCollection *This,
  3770. REFIID riid,
  3771. LPOLESTR *rgszNames,
  3772. UINT cNames,
  3773. LCID lcid,
  3774. DISPID *rgDispId);
  3775. HRESULT (STDMETHODCALLTYPE *Invoke)(
  3776. IUpdateHistoryEntryCollection *This,
  3777. DISPID dispIdMember,
  3778. REFIID riid,
  3779. LCID lcid,
  3780. WORD wFlags,
  3781. DISPPARAMS *pDispParams,
  3782. VARIANT *pVarResult,
  3783. EXCEPINFO *pExcepInfo,
  3784. UINT *puArgErr);
  3785. /*** IUpdateHistoryEntryCollection methods ***/
  3786. HRESULT (STDMETHODCALLTYPE *get_Item)(
  3787. IUpdateHistoryEntryCollection *This,
  3788. LONG index,
  3789. IUpdateHistoryEntry **retval);
  3790. HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
  3791. IUpdateHistoryEntryCollection *This,
  3792. IUnknown **retval);
  3793. HRESULT (STDMETHODCALLTYPE *get_Count)(
  3794. IUpdateHistoryEntryCollection *This,
  3795. LONG *retval);
  3796. END_INTERFACE
  3797. } IUpdateHistoryEntryCollectionVtbl;
  3798. interface IUpdateHistoryEntryCollection {
  3799. CONST_VTBL IUpdateHistoryEntryCollectionVtbl* lpVtbl;
  3800. };
  3801. #ifdef COBJMACROS
  3802. #ifndef WIDL_C_INLINE_WRAPPERS
  3803. /*** IUnknown methods ***/
  3804. #define IUpdateHistoryEntryCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3805. #define IUpdateHistoryEntryCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  3806. #define IUpdateHistoryEntryCollection_Release(This) (This)->lpVtbl->Release(This)
  3807. /*** IDispatch methods ***/
  3808. #define IUpdateHistoryEntryCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  3809. #define IUpdateHistoryEntryCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3810. #define IUpdateHistoryEntryCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3811. #define IUpdateHistoryEntryCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3812. /*** IUpdateHistoryEntryCollection methods ***/
  3813. #define IUpdateHistoryEntryCollection_get_Item(This,index,retval) (This)->lpVtbl->get_Item(This,index,retval)
  3814. #define IUpdateHistoryEntryCollection_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
  3815. #define IUpdateHistoryEntryCollection_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval)
  3816. #else
  3817. /*** IUnknown methods ***/
  3818. static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_QueryInterface(IUpdateHistoryEntryCollection* This,REFIID riid,void **ppvObject) {
  3819. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3820. }
  3821. static FORCEINLINE ULONG IUpdateHistoryEntryCollection_AddRef(IUpdateHistoryEntryCollection* This) {
  3822. return This->lpVtbl->AddRef(This);
  3823. }
  3824. static FORCEINLINE ULONG IUpdateHistoryEntryCollection_Release(IUpdateHistoryEntryCollection* This) {
  3825. return This->lpVtbl->Release(This);
  3826. }
  3827. /*** IDispatch methods ***/
  3828. static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_GetTypeInfoCount(IUpdateHistoryEntryCollection* This,UINT *pctinfo) {
  3829. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  3830. }
  3831. static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_GetTypeInfo(IUpdateHistoryEntryCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  3832. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  3833. }
  3834. static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_GetIDsOfNames(IUpdateHistoryEntryCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  3835. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  3836. }
  3837. static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_Invoke(IUpdateHistoryEntryCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  3838. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  3839. }
  3840. /*** IUpdateHistoryEntryCollection methods ***/
  3841. static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_get_Item(IUpdateHistoryEntryCollection* This,LONG index,IUpdateHistoryEntry **retval) {
  3842. return This->lpVtbl->get_Item(This,index,retval);
  3843. }
  3844. static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_get__NewEnum(IUpdateHistoryEntryCollection* This,IUnknown **retval) {
  3845. return This->lpVtbl->get__NewEnum(This,retval);
  3846. }
  3847. static FORCEINLINE HRESULT IUpdateHistoryEntryCollection_get_Count(IUpdateHistoryEntryCollection* This,LONG *retval) {
  3848. return This->lpVtbl->get_Count(This,retval);
  3849. }
  3850. #endif
  3851. #endif
  3852. #endif
  3853. #endif /* __IUpdateHistoryEntryCollection_INTERFACE_DEFINED__ */
  3854. /*****************************************************************************
  3855. * IUpdateSearcher interface
  3856. */
  3857. #ifndef __IUpdateSearcher_INTERFACE_DEFINED__
  3858. #define __IUpdateSearcher_INTERFACE_DEFINED__
  3859. DEFINE_GUID(IID_IUpdateSearcher, 0x8f45abf1, 0xf9ae, 0x4b95, 0xa9,0x33, 0xf0,0xf6,0x6e,0x50,0x56,0xea);
  3860. #if defined(__cplusplus) && !defined(CINTERFACE)
  3861. MIDL_INTERFACE("8f45abf1-f9ae-4b95-a933-f0f66e5056ea")
  3862. IUpdateSearcher : public IDispatch
  3863. {
  3864. virtual HRESULT STDMETHODCALLTYPE get_CanAutomaticallyUpgradeService(
  3865. VARIANT_BOOL *retval) = 0;
  3866. virtual HRESULT STDMETHODCALLTYPE put_CanAutomaticallyUpgradeService(
  3867. VARIANT_BOOL value) = 0;
  3868. virtual HRESULT STDMETHODCALLTYPE get_ClientApplicationID(
  3869. BSTR *retval) = 0;
  3870. virtual HRESULT STDMETHODCALLTYPE put_ClientApplicationID(
  3871. BSTR value) = 0;
  3872. virtual HRESULT STDMETHODCALLTYPE get_IncludePotentiallySupersededUpdates(
  3873. VARIANT_BOOL *retval) = 0;
  3874. virtual HRESULT STDMETHODCALLTYPE put_IncludePotentiallySupersededUpdates(
  3875. VARIANT_BOOL value) = 0;
  3876. virtual HRESULT STDMETHODCALLTYPE get_ServerSelection(
  3877. ServerSelection *retval) = 0;
  3878. virtual HRESULT STDMETHODCALLTYPE put_ServerSelection(
  3879. ServerSelection value) = 0;
  3880. virtual HRESULT STDMETHODCALLTYPE BeginSearch(
  3881. BSTR criteria,
  3882. IUnknown *onCompleted,
  3883. VARIANT state,
  3884. ISearchJob **retval) = 0;
  3885. virtual HRESULT STDMETHODCALLTYPE EndSearch(
  3886. ISearchJob *searchJob,
  3887. ISearchResult **retval) = 0;
  3888. virtual HRESULT STDMETHODCALLTYPE EscapeString(
  3889. BSTR unescaped,
  3890. BSTR *retval) = 0;
  3891. virtual HRESULT STDMETHODCALLTYPE QueryHistory(
  3892. LONG startIndex,
  3893. LONG count,
  3894. IUpdateHistoryEntryCollection **retval) = 0;
  3895. virtual HRESULT STDMETHODCALLTYPE Search(
  3896. BSTR criteria,
  3897. ISearchResult **retval) = 0;
  3898. virtual HRESULT STDMETHODCALLTYPE get_Online(
  3899. VARIANT_BOOL *retval) = 0;
  3900. virtual HRESULT STDMETHODCALLTYPE put_Online(
  3901. VARIANT_BOOL value) = 0;
  3902. virtual HRESULT STDMETHODCALLTYPE GetTotalHistoryCount(
  3903. LONG *retval) = 0;
  3904. virtual HRESULT STDMETHODCALLTYPE get_ServiceID(
  3905. BSTR *retval) = 0;
  3906. virtual HRESULT STDMETHODCALLTYPE put_ServiceID(
  3907. BSTR value) = 0;
  3908. };
  3909. #ifdef __CRT_UUID_DECL
  3910. __CRT_UUID_DECL(IUpdateSearcher, 0x8f45abf1, 0xf9ae, 0x4b95, 0xa9,0x33, 0xf0,0xf6,0x6e,0x50,0x56,0xea)
  3911. #endif
  3912. #else
  3913. typedef struct IUpdateSearcherVtbl {
  3914. BEGIN_INTERFACE
  3915. /*** IUnknown methods ***/
  3916. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3917. IUpdateSearcher *This,
  3918. REFIID riid,
  3919. void **ppvObject);
  3920. ULONG (STDMETHODCALLTYPE *AddRef)(
  3921. IUpdateSearcher *This);
  3922. ULONG (STDMETHODCALLTYPE *Release)(
  3923. IUpdateSearcher *This);
  3924. /*** IDispatch methods ***/
  3925. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  3926. IUpdateSearcher *This,
  3927. UINT *pctinfo);
  3928. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  3929. IUpdateSearcher *This,
  3930. UINT iTInfo,
  3931. LCID lcid,
  3932. ITypeInfo **ppTInfo);
  3933. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  3934. IUpdateSearcher *This,
  3935. REFIID riid,
  3936. LPOLESTR *rgszNames,
  3937. UINT cNames,
  3938. LCID lcid,
  3939. DISPID *rgDispId);
  3940. HRESULT (STDMETHODCALLTYPE *Invoke)(
  3941. IUpdateSearcher *This,
  3942. DISPID dispIdMember,
  3943. REFIID riid,
  3944. LCID lcid,
  3945. WORD wFlags,
  3946. DISPPARAMS *pDispParams,
  3947. VARIANT *pVarResult,
  3948. EXCEPINFO *pExcepInfo,
  3949. UINT *puArgErr);
  3950. /*** IUpdateSearcher methods ***/
  3951. HRESULT (STDMETHODCALLTYPE *get_CanAutomaticallyUpgradeService)(
  3952. IUpdateSearcher *This,
  3953. VARIANT_BOOL *retval);
  3954. HRESULT (STDMETHODCALLTYPE *put_CanAutomaticallyUpgradeService)(
  3955. IUpdateSearcher *This,
  3956. VARIANT_BOOL value);
  3957. HRESULT (STDMETHODCALLTYPE *get_ClientApplicationID)(
  3958. IUpdateSearcher *This,
  3959. BSTR *retval);
  3960. HRESULT (STDMETHODCALLTYPE *put_ClientApplicationID)(
  3961. IUpdateSearcher *This,
  3962. BSTR value);
  3963. HRESULT (STDMETHODCALLTYPE *get_IncludePotentiallySupersededUpdates)(
  3964. IUpdateSearcher *This,
  3965. VARIANT_BOOL *retval);
  3966. HRESULT (STDMETHODCALLTYPE *put_IncludePotentiallySupersededUpdates)(
  3967. IUpdateSearcher *This,
  3968. VARIANT_BOOL value);
  3969. HRESULT (STDMETHODCALLTYPE *get_ServerSelection)(
  3970. IUpdateSearcher *This,
  3971. ServerSelection *retval);
  3972. HRESULT (STDMETHODCALLTYPE *put_ServerSelection)(
  3973. IUpdateSearcher *This,
  3974. ServerSelection value);
  3975. HRESULT (STDMETHODCALLTYPE *BeginSearch)(
  3976. IUpdateSearcher *This,
  3977. BSTR criteria,
  3978. IUnknown *onCompleted,
  3979. VARIANT state,
  3980. ISearchJob **retval);
  3981. HRESULT (STDMETHODCALLTYPE *EndSearch)(
  3982. IUpdateSearcher *This,
  3983. ISearchJob *searchJob,
  3984. ISearchResult **retval);
  3985. HRESULT (STDMETHODCALLTYPE *EscapeString)(
  3986. IUpdateSearcher *This,
  3987. BSTR unescaped,
  3988. BSTR *retval);
  3989. HRESULT (STDMETHODCALLTYPE *QueryHistory)(
  3990. IUpdateSearcher *This,
  3991. LONG startIndex,
  3992. LONG count,
  3993. IUpdateHistoryEntryCollection **retval);
  3994. HRESULT (STDMETHODCALLTYPE *Search)(
  3995. IUpdateSearcher *This,
  3996. BSTR criteria,
  3997. ISearchResult **retval);
  3998. HRESULT (STDMETHODCALLTYPE *get_Online)(
  3999. IUpdateSearcher *This,
  4000. VARIANT_BOOL *retval);
  4001. HRESULT (STDMETHODCALLTYPE *put_Online)(
  4002. IUpdateSearcher *This,
  4003. VARIANT_BOOL value);
  4004. HRESULT (STDMETHODCALLTYPE *GetTotalHistoryCount)(
  4005. IUpdateSearcher *This,
  4006. LONG *retval);
  4007. HRESULT (STDMETHODCALLTYPE *get_ServiceID)(
  4008. IUpdateSearcher *This,
  4009. BSTR *retval);
  4010. HRESULT (STDMETHODCALLTYPE *put_ServiceID)(
  4011. IUpdateSearcher *This,
  4012. BSTR value);
  4013. END_INTERFACE
  4014. } IUpdateSearcherVtbl;
  4015. interface IUpdateSearcher {
  4016. CONST_VTBL IUpdateSearcherVtbl* lpVtbl;
  4017. };
  4018. #ifdef COBJMACROS
  4019. #ifndef WIDL_C_INLINE_WRAPPERS
  4020. /*** IUnknown methods ***/
  4021. #define IUpdateSearcher_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4022. #define IUpdateSearcher_AddRef(This) (This)->lpVtbl->AddRef(This)
  4023. #define IUpdateSearcher_Release(This) (This)->lpVtbl->Release(This)
  4024. /*** IDispatch methods ***/
  4025. #define IUpdateSearcher_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  4026. #define IUpdateSearcher_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4027. #define IUpdateSearcher_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4028. #define IUpdateSearcher_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4029. /*** IUpdateSearcher methods ***/
  4030. #define IUpdateSearcher_get_CanAutomaticallyUpgradeService(This,retval) (This)->lpVtbl->get_CanAutomaticallyUpgradeService(This,retval)
  4031. #define IUpdateSearcher_put_CanAutomaticallyUpgradeService(This,value) (This)->lpVtbl->put_CanAutomaticallyUpgradeService(This,value)
  4032. #define IUpdateSearcher_get_ClientApplicationID(This,retval) (This)->lpVtbl->get_ClientApplicationID(This,retval)
  4033. #define IUpdateSearcher_put_ClientApplicationID(This,value) (This)->lpVtbl->put_ClientApplicationID(This,value)
  4034. #define IUpdateSearcher_get_IncludePotentiallySupersededUpdates(This,retval) (This)->lpVtbl->get_IncludePotentiallySupersededUpdates(This,retval)
  4035. #define IUpdateSearcher_put_IncludePotentiallySupersededUpdates(This,value) (This)->lpVtbl->put_IncludePotentiallySupersededUpdates(This,value)
  4036. #define IUpdateSearcher_get_ServerSelection(This,retval) (This)->lpVtbl->get_ServerSelection(This,retval)
  4037. #define IUpdateSearcher_put_ServerSelection(This,value) (This)->lpVtbl->put_ServerSelection(This,value)
  4038. #define IUpdateSearcher_BeginSearch(This,criteria,onCompleted,state,retval) (This)->lpVtbl->BeginSearch(This,criteria,onCompleted,state,retval)
  4039. #define IUpdateSearcher_EndSearch(This,searchJob,retval) (This)->lpVtbl->EndSearch(This,searchJob,retval)
  4040. #define IUpdateSearcher_EscapeString(This,unescaped,retval) (This)->lpVtbl->EscapeString(This,unescaped,retval)
  4041. #define IUpdateSearcher_QueryHistory(This,startIndex,count,retval) (This)->lpVtbl->QueryHistory(This,startIndex,count,retval)
  4042. #define IUpdateSearcher_Search(This,criteria,retval) (This)->lpVtbl->Search(This,criteria,retval)
  4043. #define IUpdateSearcher_get_Online(This,retval) (This)->lpVtbl->get_Online(This,retval)
  4044. #define IUpdateSearcher_put_Online(This,value) (This)->lpVtbl->put_Online(This,value)
  4045. #define IUpdateSearcher_GetTotalHistoryCount(This,retval) (This)->lpVtbl->GetTotalHistoryCount(This,retval)
  4046. #define IUpdateSearcher_get_ServiceID(This,retval) (This)->lpVtbl->get_ServiceID(This,retval)
  4047. #define IUpdateSearcher_put_ServiceID(This,value) (This)->lpVtbl->put_ServiceID(This,value)
  4048. #else
  4049. /*** IUnknown methods ***/
  4050. static FORCEINLINE HRESULT IUpdateSearcher_QueryInterface(IUpdateSearcher* This,REFIID riid,void **ppvObject) {
  4051. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4052. }
  4053. static FORCEINLINE ULONG IUpdateSearcher_AddRef(IUpdateSearcher* This) {
  4054. return This->lpVtbl->AddRef(This);
  4055. }
  4056. static FORCEINLINE ULONG IUpdateSearcher_Release(IUpdateSearcher* This) {
  4057. return This->lpVtbl->Release(This);
  4058. }
  4059. /*** IDispatch methods ***/
  4060. static FORCEINLINE HRESULT IUpdateSearcher_GetTypeInfoCount(IUpdateSearcher* This,UINT *pctinfo) {
  4061. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  4062. }
  4063. static FORCEINLINE HRESULT IUpdateSearcher_GetTypeInfo(IUpdateSearcher* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  4064. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  4065. }
  4066. static FORCEINLINE HRESULT IUpdateSearcher_GetIDsOfNames(IUpdateSearcher* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  4067. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  4068. }
  4069. static FORCEINLINE HRESULT IUpdateSearcher_Invoke(IUpdateSearcher* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  4070. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  4071. }
  4072. /*** IUpdateSearcher methods ***/
  4073. static FORCEINLINE HRESULT IUpdateSearcher_get_CanAutomaticallyUpgradeService(IUpdateSearcher* This,VARIANT_BOOL *retval) {
  4074. return This->lpVtbl->get_CanAutomaticallyUpgradeService(This,retval);
  4075. }
  4076. static FORCEINLINE HRESULT IUpdateSearcher_put_CanAutomaticallyUpgradeService(IUpdateSearcher* This,VARIANT_BOOL value) {
  4077. return This->lpVtbl->put_CanAutomaticallyUpgradeService(This,value);
  4078. }
  4079. static FORCEINLINE HRESULT IUpdateSearcher_get_ClientApplicationID(IUpdateSearcher* This,BSTR *retval) {
  4080. return This->lpVtbl->get_ClientApplicationID(This,retval);
  4081. }
  4082. static FORCEINLINE HRESULT IUpdateSearcher_put_ClientApplicationID(IUpdateSearcher* This,BSTR value) {
  4083. return This->lpVtbl->put_ClientApplicationID(This,value);
  4084. }
  4085. static FORCEINLINE HRESULT IUpdateSearcher_get_IncludePotentiallySupersededUpdates(IUpdateSearcher* This,VARIANT_BOOL *retval) {
  4086. return This->lpVtbl->get_IncludePotentiallySupersededUpdates(This,retval);
  4087. }
  4088. static FORCEINLINE HRESULT IUpdateSearcher_put_IncludePotentiallySupersededUpdates(IUpdateSearcher* This,VARIANT_BOOL value) {
  4089. return This->lpVtbl->put_IncludePotentiallySupersededUpdates(This,value);
  4090. }
  4091. static FORCEINLINE HRESULT IUpdateSearcher_get_ServerSelection(IUpdateSearcher* This,ServerSelection *retval) {
  4092. return This->lpVtbl->get_ServerSelection(This,retval);
  4093. }
  4094. static FORCEINLINE HRESULT IUpdateSearcher_put_ServerSelection(IUpdateSearcher* This,ServerSelection value) {
  4095. return This->lpVtbl->put_ServerSelection(This,value);
  4096. }
  4097. static FORCEINLINE HRESULT IUpdateSearcher_BeginSearch(IUpdateSearcher* This,BSTR criteria,IUnknown *onCompleted,VARIANT state,ISearchJob **retval) {
  4098. return This->lpVtbl->BeginSearch(This,criteria,onCompleted,state,retval);
  4099. }
  4100. static FORCEINLINE HRESULT IUpdateSearcher_EndSearch(IUpdateSearcher* This,ISearchJob *searchJob,ISearchResult **retval) {
  4101. return This->lpVtbl->EndSearch(This,searchJob,retval);
  4102. }
  4103. static FORCEINLINE HRESULT IUpdateSearcher_EscapeString(IUpdateSearcher* This,BSTR unescaped,BSTR *retval) {
  4104. return This->lpVtbl->EscapeString(This,unescaped,retval);
  4105. }
  4106. static FORCEINLINE HRESULT IUpdateSearcher_QueryHistory(IUpdateSearcher* This,LONG startIndex,LONG count,IUpdateHistoryEntryCollection **retval) {
  4107. return This->lpVtbl->QueryHistory(This,startIndex,count,retval);
  4108. }
  4109. static FORCEINLINE HRESULT IUpdateSearcher_Search(IUpdateSearcher* This,BSTR criteria,ISearchResult **retval) {
  4110. return This->lpVtbl->Search(This,criteria,retval);
  4111. }
  4112. static FORCEINLINE HRESULT IUpdateSearcher_get_Online(IUpdateSearcher* This,VARIANT_BOOL *retval) {
  4113. return This->lpVtbl->get_Online(This,retval);
  4114. }
  4115. static FORCEINLINE HRESULT IUpdateSearcher_put_Online(IUpdateSearcher* This,VARIANT_BOOL value) {
  4116. return This->lpVtbl->put_Online(This,value);
  4117. }
  4118. static FORCEINLINE HRESULT IUpdateSearcher_GetTotalHistoryCount(IUpdateSearcher* This,LONG *retval) {
  4119. return This->lpVtbl->GetTotalHistoryCount(This,retval);
  4120. }
  4121. static FORCEINLINE HRESULT IUpdateSearcher_get_ServiceID(IUpdateSearcher* This,BSTR *retval) {
  4122. return This->lpVtbl->get_ServiceID(This,retval);
  4123. }
  4124. static FORCEINLINE HRESULT IUpdateSearcher_put_ServiceID(IUpdateSearcher* This,BSTR value) {
  4125. return This->lpVtbl->put_ServiceID(This,value);
  4126. }
  4127. #endif
  4128. #endif
  4129. #endif
  4130. #endif /* __IUpdateSearcher_INTERFACE_DEFINED__ */
  4131. /*****************************************************************************
  4132. * IUpdateDownloadResult interface
  4133. */
  4134. #ifndef __IUpdateDownloadResult_INTERFACE_DEFINED__
  4135. #define __IUpdateDownloadResult_INTERFACE_DEFINED__
  4136. DEFINE_GUID(IID_IUpdateDownloadResult, 0xbf99af76, 0xb575, 0x42ad, 0x8a,0xa4, 0x33,0xcb,0xb5,0x47,0x7a,0xf1);
  4137. #if defined(__cplusplus) && !defined(CINTERFACE)
  4138. MIDL_INTERFACE("bf99af76-b575-42ad-8aa4-33cbb5477af1")
  4139. IUpdateDownloadResult : public IDispatch
  4140. {
  4141. virtual HRESULT STDMETHODCALLTYPE get_HResult(
  4142. LONG *retval) = 0;
  4143. virtual HRESULT STDMETHODCALLTYPE get_ResultCode(
  4144. OperationResultCode *retval) = 0;
  4145. };
  4146. #ifdef __CRT_UUID_DECL
  4147. __CRT_UUID_DECL(IUpdateDownloadResult, 0xbf99af76, 0xb575, 0x42ad, 0x8a,0xa4, 0x33,0xcb,0xb5,0x47,0x7a,0xf1)
  4148. #endif
  4149. #else
  4150. typedef struct IUpdateDownloadResultVtbl {
  4151. BEGIN_INTERFACE
  4152. /*** IUnknown methods ***/
  4153. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4154. IUpdateDownloadResult *This,
  4155. REFIID riid,
  4156. void **ppvObject);
  4157. ULONG (STDMETHODCALLTYPE *AddRef)(
  4158. IUpdateDownloadResult *This);
  4159. ULONG (STDMETHODCALLTYPE *Release)(
  4160. IUpdateDownloadResult *This);
  4161. /*** IDispatch methods ***/
  4162. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  4163. IUpdateDownloadResult *This,
  4164. UINT *pctinfo);
  4165. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  4166. IUpdateDownloadResult *This,
  4167. UINT iTInfo,
  4168. LCID lcid,
  4169. ITypeInfo **ppTInfo);
  4170. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  4171. IUpdateDownloadResult *This,
  4172. REFIID riid,
  4173. LPOLESTR *rgszNames,
  4174. UINT cNames,
  4175. LCID lcid,
  4176. DISPID *rgDispId);
  4177. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4178. IUpdateDownloadResult *This,
  4179. DISPID dispIdMember,
  4180. REFIID riid,
  4181. LCID lcid,
  4182. WORD wFlags,
  4183. DISPPARAMS *pDispParams,
  4184. VARIANT *pVarResult,
  4185. EXCEPINFO *pExcepInfo,
  4186. UINT *puArgErr);
  4187. /*** IUpdateDownloadResult methods ***/
  4188. HRESULT (STDMETHODCALLTYPE *get_HResult)(
  4189. IUpdateDownloadResult *This,
  4190. LONG *retval);
  4191. HRESULT (STDMETHODCALLTYPE *get_ResultCode)(
  4192. IUpdateDownloadResult *This,
  4193. OperationResultCode *retval);
  4194. END_INTERFACE
  4195. } IUpdateDownloadResultVtbl;
  4196. interface IUpdateDownloadResult {
  4197. CONST_VTBL IUpdateDownloadResultVtbl* lpVtbl;
  4198. };
  4199. #ifdef COBJMACROS
  4200. #ifndef WIDL_C_INLINE_WRAPPERS
  4201. /*** IUnknown methods ***/
  4202. #define IUpdateDownloadResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4203. #define IUpdateDownloadResult_AddRef(This) (This)->lpVtbl->AddRef(This)
  4204. #define IUpdateDownloadResult_Release(This) (This)->lpVtbl->Release(This)
  4205. /*** IDispatch methods ***/
  4206. #define IUpdateDownloadResult_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  4207. #define IUpdateDownloadResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4208. #define IUpdateDownloadResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4209. #define IUpdateDownloadResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4210. /*** IUpdateDownloadResult methods ***/
  4211. #define IUpdateDownloadResult_get_HResult(This,retval) (This)->lpVtbl->get_HResult(This,retval)
  4212. #define IUpdateDownloadResult_get_ResultCode(This,retval) (This)->lpVtbl->get_ResultCode(This,retval)
  4213. #else
  4214. /*** IUnknown methods ***/
  4215. static FORCEINLINE HRESULT IUpdateDownloadResult_QueryInterface(IUpdateDownloadResult* This,REFIID riid,void **ppvObject) {
  4216. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4217. }
  4218. static FORCEINLINE ULONG IUpdateDownloadResult_AddRef(IUpdateDownloadResult* This) {
  4219. return This->lpVtbl->AddRef(This);
  4220. }
  4221. static FORCEINLINE ULONG IUpdateDownloadResult_Release(IUpdateDownloadResult* This) {
  4222. return This->lpVtbl->Release(This);
  4223. }
  4224. /*** IDispatch methods ***/
  4225. static FORCEINLINE HRESULT IUpdateDownloadResult_GetTypeInfoCount(IUpdateDownloadResult* This,UINT *pctinfo) {
  4226. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  4227. }
  4228. static FORCEINLINE HRESULT IUpdateDownloadResult_GetTypeInfo(IUpdateDownloadResult* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  4229. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  4230. }
  4231. static FORCEINLINE HRESULT IUpdateDownloadResult_GetIDsOfNames(IUpdateDownloadResult* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  4232. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  4233. }
  4234. static FORCEINLINE HRESULT IUpdateDownloadResult_Invoke(IUpdateDownloadResult* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  4235. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  4236. }
  4237. /*** IUpdateDownloadResult methods ***/
  4238. static FORCEINLINE HRESULT IUpdateDownloadResult_get_HResult(IUpdateDownloadResult* This,LONG *retval) {
  4239. return This->lpVtbl->get_HResult(This,retval);
  4240. }
  4241. static FORCEINLINE HRESULT IUpdateDownloadResult_get_ResultCode(IUpdateDownloadResult* This,OperationResultCode *retval) {
  4242. return This->lpVtbl->get_ResultCode(This,retval);
  4243. }
  4244. #endif
  4245. #endif
  4246. #endif
  4247. #endif /* __IUpdateDownloadResult_INTERFACE_DEFINED__ */
  4248. /*****************************************************************************
  4249. * IDownloadProgress interface
  4250. */
  4251. #ifndef __IDownloadProgress_INTERFACE_DEFINED__
  4252. #define __IDownloadProgress_INTERFACE_DEFINED__
  4253. DEFINE_GUID(IID_IDownloadProgress, 0xd31a5bac, 0xf719, 0x4178, 0x9d,0xbb, 0x5e,0x2c,0xb4,0x7f,0xd1,0x8a);
  4254. #if defined(__cplusplus) && !defined(CINTERFACE)
  4255. MIDL_INTERFACE("d31a5bac-f719-4178-9dbb-5e2cb47fd18a")
  4256. IDownloadProgress : public IDispatch
  4257. {
  4258. virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdateBytesDownloaded(
  4259. DECIMAL *retval) = 0;
  4260. virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdateBytesToDownload(
  4261. DECIMAL *retval) = 0;
  4262. virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdateIndex(
  4263. LONG *retval) = 0;
  4264. virtual HRESULT STDMETHODCALLTYPE get_PercentComplete(
  4265. LONG *retval) = 0;
  4266. virtual HRESULT STDMETHODCALLTYPE get_TotalBytesDownloaded(
  4267. DECIMAL *retval) = 0;
  4268. virtual HRESULT STDMETHODCALLTYPE get_TotalBytesToDownload(
  4269. DECIMAL *retval) = 0;
  4270. virtual HRESULT STDMETHODCALLTYPE GetUpdateResult(
  4271. LONG updateIndex,
  4272. IUpdateDownloadResult **retval) = 0;
  4273. virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdateDownloadPhase(
  4274. DownloadPhase *retval) = 0;
  4275. virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdatePercentComplete(
  4276. LONG *retval) = 0;
  4277. };
  4278. #ifdef __CRT_UUID_DECL
  4279. __CRT_UUID_DECL(IDownloadProgress, 0xd31a5bac, 0xf719, 0x4178, 0x9d,0xbb, 0x5e,0x2c,0xb4,0x7f,0xd1,0x8a)
  4280. #endif
  4281. #else
  4282. typedef struct IDownloadProgressVtbl {
  4283. BEGIN_INTERFACE
  4284. /*** IUnknown methods ***/
  4285. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4286. IDownloadProgress *This,
  4287. REFIID riid,
  4288. void **ppvObject);
  4289. ULONG (STDMETHODCALLTYPE *AddRef)(
  4290. IDownloadProgress *This);
  4291. ULONG (STDMETHODCALLTYPE *Release)(
  4292. IDownloadProgress *This);
  4293. /*** IDispatch methods ***/
  4294. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  4295. IDownloadProgress *This,
  4296. UINT *pctinfo);
  4297. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  4298. IDownloadProgress *This,
  4299. UINT iTInfo,
  4300. LCID lcid,
  4301. ITypeInfo **ppTInfo);
  4302. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  4303. IDownloadProgress *This,
  4304. REFIID riid,
  4305. LPOLESTR *rgszNames,
  4306. UINT cNames,
  4307. LCID lcid,
  4308. DISPID *rgDispId);
  4309. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4310. IDownloadProgress *This,
  4311. DISPID dispIdMember,
  4312. REFIID riid,
  4313. LCID lcid,
  4314. WORD wFlags,
  4315. DISPPARAMS *pDispParams,
  4316. VARIANT *pVarResult,
  4317. EXCEPINFO *pExcepInfo,
  4318. UINT *puArgErr);
  4319. /*** IDownloadProgress methods ***/
  4320. HRESULT (STDMETHODCALLTYPE *get_CurrentUpdateBytesDownloaded)(
  4321. IDownloadProgress *This,
  4322. DECIMAL *retval);
  4323. HRESULT (STDMETHODCALLTYPE *get_CurrentUpdateBytesToDownload)(
  4324. IDownloadProgress *This,
  4325. DECIMAL *retval);
  4326. HRESULT (STDMETHODCALLTYPE *get_CurrentUpdateIndex)(
  4327. IDownloadProgress *This,
  4328. LONG *retval);
  4329. HRESULT (STDMETHODCALLTYPE *get_PercentComplete)(
  4330. IDownloadProgress *This,
  4331. LONG *retval);
  4332. HRESULT (STDMETHODCALLTYPE *get_TotalBytesDownloaded)(
  4333. IDownloadProgress *This,
  4334. DECIMAL *retval);
  4335. HRESULT (STDMETHODCALLTYPE *get_TotalBytesToDownload)(
  4336. IDownloadProgress *This,
  4337. DECIMAL *retval);
  4338. HRESULT (STDMETHODCALLTYPE *GetUpdateResult)(
  4339. IDownloadProgress *This,
  4340. LONG updateIndex,
  4341. IUpdateDownloadResult **retval);
  4342. HRESULT (STDMETHODCALLTYPE *get_CurrentUpdateDownloadPhase)(
  4343. IDownloadProgress *This,
  4344. DownloadPhase *retval);
  4345. HRESULT (STDMETHODCALLTYPE *get_CurrentUpdatePercentComplete)(
  4346. IDownloadProgress *This,
  4347. LONG *retval);
  4348. END_INTERFACE
  4349. } IDownloadProgressVtbl;
  4350. interface IDownloadProgress {
  4351. CONST_VTBL IDownloadProgressVtbl* lpVtbl;
  4352. };
  4353. #ifdef COBJMACROS
  4354. #ifndef WIDL_C_INLINE_WRAPPERS
  4355. /*** IUnknown methods ***/
  4356. #define IDownloadProgress_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4357. #define IDownloadProgress_AddRef(This) (This)->lpVtbl->AddRef(This)
  4358. #define IDownloadProgress_Release(This) (This)->lpVtbl->Release(This)
  4359. /*** IDispatch methods ***/
  4360. #define IDownloadProgress_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  4361. #define IDownloadProgress_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4362. #define IDownloadProgress_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4363. #define IDownloadProgress_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4364. /*** IDownloadProgress methods ***/
  4365. #define IDownloadProgress_get_CurrentUpdateBytesDownloaded(This,retval) (This)->lpVtbl->get_CurrentUpdateBytesDownloaded(This,retval)
  4366. #define IDownloadProgress_get_CurrentUpdateBytesToDownload(This,retval) (This)->lpVtbl->get_CurrentUpdateBytesToDownload(This,retval)
  4367. #define IDownloadProgress_get_CurrentUpdateIndex(This,retval) (This)->lpVtbl->get_CurrentUpdateIndex(This,retval)
  4368. #define IDownloadProgress_get_PercentComplete(This,retval) (This)->lpVtbl->get_PercentComplete(This,retval)
  4369. #define IDownloadProgress_get_TotalBytesDownloaded(This,retval) (This)->lpVtbl->get_TotalBytesDownloaded(This,retval)
  4370. #define IDownloadProgress_get_TotalBytesToDownload(This,retval) (This)->lpVtbl->get_TotalBytesToDownload(This,retval)
  4371. #define IDownloadProgress_GetUpdateResult(This,updateIndex,retval) (This)->lpVtbl->GetUpdateResult(This,updateIndex,retval)
  4372. #define IDownloadProgress_get_CurrentUpdateDownloadPhase(This,retval) (This)->lpVtbl->get_CurrentUpdateDownloadPhase(This,retval)
  4373. #define IDownloadProgress_get_CurrentUpdatePercentComplete(This,retval) (This)->lpVtbl->get_CurrentUpdatePercentComplete(This,retval)
  4374. #else
  4375. /*** IUnknown methods ***/
  4376. static FORCEINLINE HRESULT IDownloadProgress_QueryInterface(IDownloadProgress* This,REFIID riid,void **ppvObject) {
  4377. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4378. }
  4379. static FORCEINLINE ULONG IDownloadProgress_AddRef(IDownloadProgress* This) {
  4380. return This->lpVtbl->AddRef(This);
  4381. }
  4382. static FORCEINLINE ULONG IDownloadProgress_Release(IDownloadProgress* This) {
  4383. return This->lpVtbl->Release(This);
  4384. }
  4385. /*** IDispatch methods ***/
  4386. static FORCEINLINE HRESULT IDownloadProgress_GetTypeInfoCount(IDownloadProgress* This,UINT *pctinfo) {
  4387. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  4388. }
  4389. static FORCEINLINE HRESULT IDownloadProgress_GetTypeInfo(IDownloadProgress* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  4390. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  4391. }
  4392. static FORCEINLINE HRESULT IDownloadProgress_GetIDsOfNames(IDownloadProgress* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  4393. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  4394. }
  4395. static FORCEINLINE HRESULT IDownloadProgress_Invoke(IDownloadProgress* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  4396. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  4397. }
  4398. /*** IDownloadProgress methods ***/
  4399. static FORCEINLINE HRESULT IDownloadProgress_get_CurrentUpdateBytesDownloaded(IDownloadProgress* This,DECIMAL *retval) {
  4400. return This->lpVtbl->get_CurrentUpdateBytesDownloaded(This,retval);
  4401. }
  4402. static FORCEINLINE HRESULT IDownloadProgress_get_CurrentUpdateBytesToDownload(IDownloadProgress* This,DECIMAL *retval) {
  4403. return This->lpVtbl->get_CurrentUpdateBytesToDownload(This,retval);
  4404. }
  4405. static FORCEINLINE HRESULT IDownloadProgress_get_CurrentUpdateIndex(IDownloadProgress* This,LONG *retval) {
  4406. return This->lpVtbl->get_CurrentUpdateIndex(This,retval);
  4407. }
  4408. static FORCEINLINE HRESULT IDownloadProgress_get_PercentComplete(IDownloadProgress* This,LONG *retval) {
  4409. return This->lpVtbl->get_PercentComplete(This,retval);
  4410. }
  4411. static FORCEINLINE HRESULT IDownloadProgress_get_TotalBytesDownloaded(IDownloadProgress* This,DECIMAL *retval) {
  4412. return This->lpVtbl->get_TotalBytesDownloaded(This,retval);
  4413. }
  4414. static FORCEINLINE HRESULT IDownloadProgress_get_TotalBytesToDownload(IDownloadProgress* This,DECIMAL *retval) {
  4415. return This->lpVtbl->get_TotalBytesToDownload(This,retval);
  4416. }
  4417. static FORCEINLINE HRESULT IDownloadProgress_GetUpdateResult(IDownloadProgress* This,LONG updateIndex,IUpdateDownloadResult **retval) {
  4418. return This->lpVtbl->GetUpdateResult(This,updateIndex,retval);
  4419. }
  4420. static FORCEINLINE HRESULT IDownloadProgress_get_CurrentUpdateDownloadPhase(IDownloadProgress* This,DownloadPhase *retval) {
  4421. return This->lpVtbl->get_CurrentUpdateDownloadPhase(This,retval);
  4422. }
  4423. static FORCEINLINE HRESULT IDownloadProgress_get_CurrentUpdatePercentComplete(IDownloadProgress* This,LONG *retval) {
  4424. return This->lpVtbl->get_CurrentUpdatePercentComplete(This,retval);
  4425. }
  4426. #endif
  4427. #endif
  4428. #endif
  4429. #endif /* __IDownloadProgress_INTERFACE_DEFINED__ */
  4430. /*****************************************************************************
  4431. * IDownloadJob interface
  4432. */
  4433. #ifndef __IDownloadJob_INTERFACE_DEFINED__
  4434. #define __IDownloadJob_INTERFACE_DEFINED__
  4435. DEFINE_GUID(IID_IDownloadJob, 0xc574de85, 0x7358, 0x43f6, 0xaa,0xe8, 0x86,0x97,0xe6,0x2d,0x8b,0xa7);
  4436. #if defined(__cplusplus) && !defined(CINTERFACE)
  4437. MIDL_INTERFACE("c574de85-7358-43f6-aae8-8697e62d8ba7")
  4438. IDownloadJob : public IDispatch
  4439. {
  4440. virtual HRESULT STDMETHODCALLTYPE get_AsyncState(
  4441. VARIANT *retval) = 0;
  4442. virtual HRESULT STDMETHODCALLTYPE get_IsCompleted(
  4443. VARIANT_BOOL *retval) = 0;
  4444. virtual HRESULT STDMETHODCALLTYPE get_Updates(
  4445. IUpdateCollection **retval) = 0;
  4446. virtual HRESULT STDMETHODCALLTYPE CleanUp(
  4447. ) = 0;
  4448. virtual HRESULT STDMETHODCALLTYPE GetProgress(
  4449. IDownloadProgress **retval) = 0;
  4450. virtual HRESULT STDMETHODCALLTYPE RequestAbort(
  4451. ) = 0;
  4452. };
  4453. #ifdef __CRT_UUID_DECL
  4454. __CRT_UUID_DECL(IDownloadJob, 0xc574de85, 0x7358, 0x43f6, 0xaa,0xe8, 0x86,0x97,0xe6,0x2d,0x8b,0xa7)
  4455. #endif
  4456. #else
  4457. typedef struct IDownloadJobVtbl {
  4458. BEGIN_INTERFACE
  4459. /*** IUnknown methods ***/
  4460. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4461. IDownloadJob *This,
  4462. REFIID riid,
  4463. void **ppvObject);
  4464. ULONG (STDMETHODCALLTYPE *AddRef)(
  4465. IDownloadJob *This);
  4466. ULONG (STDMETHODCALLTYPE *Release)(
  4467. IDownloadJob *This);
  4468. /*** IDispatch methods ***/
  4469. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  4470. IDownloadJob *This,
  4471. UINT *pctinfo);
  4472. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  4473. IDownloadJob *This,
  4474. UINT iTInfo,
  4475. LCID lcid,
  4476. ITypeInfo **ppTInfo);
  4477. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  4478. IDownloadJob *This,
  4479. REFIID riid,
  4480. LPOLESTR *rgszNames,
  4481. UINT cNames,
  4482. LCID lcid,
  4483. DISPID *rgDispId);
  4484. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4485. IDownloadJob *This,
  4486. DISPID dispIdMember,
  4487. REFIID riid,
  4488. LCID lcid,
  4489. WORD wFlags,
  4490. DISPPARAMS *pDispParams,
  4491. VARIANT *pVarResult,
  4492. EXCEPINFO *pExcepInfo,
  4493. UINT *puArgErr);
  4494. /*** IDownloadJob methods ***/
  4495. HRESULT (STDMETHODCALLTYPE *get_AsyncState)(
  4496. IDownloadJob *This,
  4497. VARIANT *retval);
  4498. HRESULT (STDMETHODCALLTYPE *get_IsCompleted)(
  4499. IDownloadJob *This,
  4500. VARIANT_BOOL *retval);
  4501. HRESULT (STDMETHODCALLTYPE *get_Updates)(
  4502. IDownloadJob *This,
  4503. IUpdateCollection **retval);
  4504. HRESULT (STDMETHODCALLTYPE *CleanUp)(
  4505. IDownloadJob *This);
  4506. HRESULT (STDMETHODCALLTYPE *GetProgress)(
  4507. IDownloadJob *This,
  4508. IDownloadProgress **retval);
  4509. HRESULT (STDMETHODCALLTYPE *RequestAbort)(
  4510. IDownloadJob *This);
  4511. END_INTERFACE
  4512. } IDownloadJobVtbl;
  4513. interface IDownloadJob {
  4514. CONST_VTBL IDownloadJobVtbl* lpVtbl;
  4515. };
  4516. #ifdef COBJMACROS
  4517. #ifndef WIDL_C_INLINE_WRAPPERS
  4518. /*** IUnknown methods ***/
  4519. #define IDownloadJob_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4520. #define IDownloadJob_AddRef(This) (This)->lpVtbl->AddRef(This)
  4521. #define IDownloadJob_Release(This) (This)->lpVtbl->Release(This)
  4522. /*** IDispatch methods ***/
  4523. #define IDownloadJob_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  4524. #define IDownloadJob_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4525. #define IDownloadJob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4526. #define IDownloadJob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4527. /*** IDownloadJob methods ***/
  4528. #define IDownloadJob_get_AsyncState(This,retval) (This)->lpVtbl->get_AsyncState(This,retval)
  4529. #define IDownloadJob_get_IsCompleted(This,retval) (This)->lpVtbl->get_IsCompleted(This,retval)
  4530. #define IDownloadJob_get_Updates(This,retval) (This)->lpVtbl->get_Updates(This,retval)
  4531. #define IDownloadJob_CleanUp(This) (This)->lpVtbl->CleanUp(This)
  4532. #define IDownloadJob_GetProgress(This,retval) (This)->lpVtbl->GetProgress(This,retval)
  4533. #define IDownloadJob_RequestAbort(This) (This)->lpVtbl->RequestAbort(This)
  4534. #else
  4535. /*** IUnknown methods ***/
  4536. static FORCEINLINE HRESULT IDownloadJob_QueryInterface(IDownloadJob* This,REFIID riid,void **ppvObject) {
  4537. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4538. }
  4539. static FORCEINLINE ULONG IDownloadJob_AddRef(IDownloadJob* This) {
  4540. return This->lpVtbl->AddRef(This);
  4541. }
  4542. static FORCEINLINE ULONG IDownloadJob_Release(IDownloadJob* This) {
  4543. return This->lpVtbl->Release(This);
  4544. }
  4545. /*** IDispatch methods ***/
  4546. static FORCEINLINE HRESULT IDownloadJob_GetTypeInfoCount(IDownloadJob* This,UINT *pctinfo) {
  4547. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  4548. }
  4549. static FORCEINLINE HRESULT IDownloadJob_GetTypeInfo(IDownloadJob* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  4550. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  4551. }
  4552. static FORCEINLINE HRESULT IDownloadJob_GetIDsOfNames(IDownloadJob* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  4553. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  4554. }
  4555. static FORCEINLINE HRESULT IDownloadJob_Invoke(IDownloadJob* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  4556. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  4557. }
  4558. /*** IDownloadJob methods ***/
  4559. static FORCEINLINE HRESULT IDownloadJob_get_AsyncState(IDownloadJob* This,VARIANT *retval) {
  4560. return This->lpVtbl->get_AsyncState(This,retval);
  4561. }
  4562. static FORCEINLINE HRESULT IDownloadJob_get_IsCompleted(IDownloadJob* This,VARIANT_BOOL *retval) {
  4563. return This->lpVtbl->get_IsCompleted(This,retval);
  4564. }
  4565. static FORCEINLINE HRESULT IDownloadJob_get_Updates(IDownloadJob* This,IUpdateCollection **retval) {
  4566. return This->lpVtbl->get_Updates(This,retval);
  4567. }
  4568. static FORCEINLINE HRESULT IDownloadJob_CleanUp(IDownloadJob* This) {
  4569. return This->lpVtbl->CleanUp(This);
  4570. }
  4571. static FORCEINLINE HRESULT IDownloadJob_GetProgress(IDownloadJob* This,IDownloadProgress **retval) {
  4572. return This->lpVtbl->GetProgress(This,retval);
  4573. }
  4574. static FORCEINLINE HRESULT IDownloadJob_RequestAbort(IDownloadJob* This) {
  4575. return This->lpVtbl->RequestAbort(This);
  4576. }
  4577. #endif
  4578. #endif
  4579. #endif
  4580. #endif /* __IDownloadJob_INTERFACE_DEFINED__ */
  4581. /*****************************************************************************
  4582. * IDownloadResult interface
  4583. */
  4584. #ifndef __IDownloadResult_INTERFACE_DEFINED__
  4585. #define __IDownloadResult_INTERFACE_DEFINED__
  4586. DEFINE_GUID(IID_IDownloadResult, 0xdaa4fdd0, 0x4727, 0x4dbe, 0xa1,0xe7, 0x74,0x5d,0xca,0x31,0x71,0x44);
  4587. #if defined(__cplusplus) && !defined(CINTERFACE)
  4588. MIDL_INTERFACE("daa4fdd0-4727-4dbe-a1e7-745dca317144")
  4589. IDownloadResult : public IDispatch
  4590. {
  4591. virtual HRESULT STDMETHODCALLTYPE get_HResult(
  4592. LONG *retval) = 0;
  4593. virtual HRESULT STDMETHODCALLTYPE get_ResultCode(
  4594. OperationResultCode *retval) = 0;
  4595. virtual HRESULT STDMETHODCALLTYPE GetUpdateResult(
  4596. LONG updateIndex,
  4597. IUpdateDownloadResult **retval) = 0;
  4598. };
  4599. #ifdef __CRT_UUID_DECL
  4600. __CRT_UUID_DECL(IDownloadResult, 0xdaa4fdd0, 0x4727, 0x4dbe, 0xa1,0xe7, 0x74,0x5d,0xca,0x31,0x71,0x44)
  4601. #endif
  4602. #else
  4603. typedef struct IDownloadResultVtbl {
  4604. BEGIN_INTERFACE
  4605. /*** IUnknown methods ***/
  4606. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4607. IDownloadResult *This,
  4608. REFIID riid,
  4609. void **ppvObject);
  4610. ULONG (STDMETHODCALLTYPE *AddRef)(
  4611. IDownloadResult *This);
  4612. ULONG (STDMETHODCALLTYPE *Release)(
  4613. IDownloadResult *This);
  4614. /*** IDispatch methods ***/
  4615. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  4616. IDownloadResult *This,
  4617. UINT *pctinfo);
  4618. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  4619. IDownloadResult *This,
  4620. UINT iTInfo,
  4621. LCID lcid,
  4622. ITypeInfo **ppTInfo);
  4623. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  4624. IDownloadResult *This,
  4625. REFIID riid,
  4626. LPOLESTR *rgszNames,
  4627. UINT cNames,
  4628. LCID lcid,
  4629. DISPID *rgDispId);
  4630. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4631. IDownloadResult *This,
  4632. DISPID dispIdMember,
  4633. REFIID riid,
  4634. LCID lcid,
  4635. WORD wFlags,
  4636. DISPPARAMS *pDispParams,
  4637. VARIANT *pVarResult,
  4638. EXCEPINFO *pExcepInfo,
  4639. UINT *puArgErr);
  4640. /*** IDownloadResult methods ***/
  4641. HRESULT (STDMETHODCALLTYPE *get_HResult)(
  4642. IDownloadResult *This,
  4643. LONG *retval);
  4644. HRESULT (STDMETHODCALLTYPE *get_ResultCode)(
  4645. IDownloadResult *This,
  4646. OperationResultCode *retval);
  4647. HRESULT (STDMETHODCALLTYPE *GetUpdateResult)(
  4648. IDownloadResult *This,
  4649. LONG updateIndex,
  4650. IUpdateDownloadResult **retval);
  4651. END_INTERFACE
  4652. } IDownloadResultVtbl;
  4653. interface IDownloadResult {
  4654. CONST_VTBL IDownloadResultVtbl* lpVtbl;
  4655. };
  4656. #ifdef COBJMACROS
  4657. #ifndef WIDL_C_INLINE_WRAPPERS
  4658. /*** IUnknown methods ***/
  4659. #define IDownloadResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4660. #define IDownloadResult_AddRef(This) (This)->lpVtbl->AddRef(This)
  4661. #define IDownloadResult_Release(This) (This)->lpVtbl->Release(This)
  4662. /*** IDispatch methods ***/
  4663. #define IDownloadResult_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  4664. #define IDownloadResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4665. #define IDownloadResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4666. #define IDownloadResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4667. /*** IDownloadResult methods ***/
  4668. #define IDownloadResult_get_HResult(This,retval) (This)->lpVtbl->get_HResult(This,retval)
  4669. #define IDownloadResult_get_ResultCode(This,retval) (This)->lpVtbl->get_ResultCode(This,retval)
  4670. #define IDownloadResult_GetUpdateResult(This,updateIndex,retval) (This)->lpVtbl->GetUpdateResult(This,updateIndex,retval)
  4671. #else
  4672. /*** IUnknown methods ***/
  4673. static FORCEINLINE HRESULT IDownloadResult_QueryInterface(IDownloadResult* This,REFIID riid,void **ppvObject) {
  4674. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4675. }
  4676. static FORCEINLINE ULONG IDownloadResult_AddRef(IDownloadResult* This) {
  4677. return This->lpVtbl->AddRef(This);
  4678. }
  4679. static FORCEINLINE ULONG IDownloadResult_Release(IDownloadResult* This) {
  4680. return This->lpVtbl->Release(This);
  4681. }
  4682. /*** IDispatch methods ***/
  4683. static FORCEINLINE HRESULT IDownloadResult_GetTypeInfoCount(IDownloadResult* This,UINT *pctinfo) {
  4684. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  4685. }
  4686. static FORCEINLINE HRESULT IDownloadResult_GetTypeInfo(IDownloadResult* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  4687. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  4688. }
  4689. static FORCEINLINE HRESULT IDownloadResult_GetIDsOfNames(IDownloadResult* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  4690. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  4691. }
  4692. static FORCEINLINE HRESULT IDownloadResult_Invoke(IDownloadResult* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  4693. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  4694. }
  4695. /*** IDownloadResult methods ***/
  4696. static FORCEINLINE HRESULT IDownloadResult_get_HResult(IDownloadResult* This,LONG *retval) {
  4697. return This->lpVtbl->get_HResult(This,retval);
  4698. }
  4699. static FORCEINLINE HRESULT IDownloadResult_get_ResultCode(IDownloadResult* This,OperationResultCode *retval) {
  4700. return This->lpVtbl->get_ResultCode(This,retval);
  4701. }
  4702. static FORCEINLINE HRESULT IDownloadResult_GetUpdateResult(IDownloadResult* This,LONG updateIndex,IUpdateDownloadResult **retval) {
  4703. return This->lpVtbl->GetUpdateResult(This,updateIndex,retval);
  4704. }
  4705. #endif
  4706. #endif
  4707. #endif
  4708. #endif /* __IDownloadResult_INTERFACE_DEFINED__ */
  4709. /*****************************************************************************
  4710. * IUpdateDownloader interface
  4711. */
  4712. #ifndef __IUpdateDownloader_INTERFACE_DEFINED__
  4713. #define __IUpdateDownloader_INTERFACE_DEFINED__
  4714. DEFINE_GUID(IID_IUpdateDownloader, 0x68f1c6f9, 0x7ecc, 0x4666, 0xa4,0x64, 0x24,0x7f,0xe1,0x24,0x96,0xc3);
  4715. #if defined(__cplusplus) && !defined(CINTERFACE)
  4716. MIDL_INTERFACE("68f1c6f9-7ecc-4666-a464-247fe12496c3")
  4717. IUpdateDownloader : public IDispatch
  4718. {
  4719. virtual HRESULT STDMETHODCALLTYPE get_ClientApplicationID(
  4720. BSTR *retval) = 0;
  4721. virtual HRESULT STDMETHODCALLTYPE put_ClientApplicationID(
  4722. BSTR value) = 0;
  4723. virtual HRESULT STDMETHODCALLTYPE get_IsForced(
  4724. VARIANT_BOOL *retval) = 0;
  4725. virtual HRESULT STDMETHODCALLTYPE put_IsForced(
  4726. VARIANT_BOOL value) = 0;
  4727. virtual HRESULT STDMETHODCALLTYPE get_Priority(
  4728. DownloadPriority *retval) = 0;
  4729. virtual HRESULT STDMETHODCALLTYPE put_Priority(
  4730. DownloadPriority value) = 0;
  4731. virtual HRESULT STDMETHODCALLTYPE get_Updates(
  4732. IUpdateCollection **retval) = 0;
  4733. virtual HRESULT STDMETHODCALLTYPE put_Updates(
  4734. IUpdateCollection *value) = 0;
  4735. virtual HRESULT STDMETHODCALLTYPE BeginDownload(
  4736. IUnknown *onProgressChanged,
  4737. IUnknown *onCompleted,
  4738. VARIANT state,
  4739. IDownloadJob **retval) = 0;
  4740. virtual HRESULT STDMETHODCALLTYPE Download(
  4741. IDownloadResult **retval) = 0;
  4742. virtual HRESULT STDMETHODCALLTYPE EndDownload(
  4743. IDownloadJob *value,
  4744. IDownloadResult **retval) = 0;
  4745. };
  4746. #ifdef __CRT_UUID_DECL
  4747. __CRT_UUID_DECL(IUpdateDownloader, 0x68f1c6f9, 0x7ecc, 0x4666, 0xa4,0x64, 0x24,0x7f,0xe1,0x24,0x96,0xc3)
  4748. #endif
  4749. #else
  4750. typedef struct IUpdateDownloaderVtbl {
  4751. BEGIN_INTERFACE
  4752. /*** IUnknown methods ***/
  4753. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4754. IUpdateDownloader *This,
  4755. REFIID riid,
  4756. void **ppvObject);
  4757. ULONG (STDMETHODCALLTYPE *AddRef)(
  4758. IUpdateDownloader *This);
  4759. ULONG (STDMETHODCALLTYPE *Release)(
  4760. IUpdateDownloader *This);
  4761. /*** IDispatch methods ***/
  4762. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  4763. IUpdateDownloader *This,
  4764. UINT *pctinfo);
  4765. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  4766. IUpdateDownloader *This,
  4767. UINT iTInfo,
  4768. LCID lcid,
  4769. ITypeInfo **ppTInfo);
  4770. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  4771. IUpdateDownloader *This,
  4772. REFIID riid,
  4773. LPOLESTR *rgszNames,
  4774. UINT cNames,
  4775. LCID lcid,
  4776. DISPID *rgDispId);
  4777. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4778. IUpdateDownloader *This,
  4779. DISPID dispIdMember,
  4780. REFIID riid,
  4781. LCID lcid,
  4782. WORD wFlags,
  4783. DISPPARAMS *pDispParams,
  4784. VARIANT *pVarResult,
  4785. EXCEPINFO *pExcepInfo,
  4786. UINT *puArgErr);
  4787. /*** IUpdateDownloader methods ***/
  4788. HRESULT (STDMETHODCALLTYPE *get_ClientApplicationID)(
  4789. IUpdateDownloader *This,
  4790. BSTR *retval);
  4791. HRESULT (STDMETHODCALLTYPE *put_ClientApplicationID)(
  4792. IUpdateDownloader *This,
  4793. BSTR value);
  4794. HRESULT (STDMETHODCALLTYPE *get_IsForced)(
  4795. IUpdateDownloader *This,
  4796. VARIANT_BOOL *retval);
  4797. HRESULT (STDMETHODCALLTYPE *put_IsForced)(
  4798. IUpdateDownloader *This,
  4799. VARIANT_BOOL value);
  4800. HRESULT (STDMETHODCALLTYPE *get_Priority)(
  4801. IUpdateDownloader *This,
  4802. DownloadPriority *retval);
  4803. HRESULT (STDMETHODCALLTYPE *put_Priority)(
  4804. IUpdateDownloader *This,
  4805. DownloadPriority value);
  4806. HRESULT (STDMETHODCALLTYPE *get_Updates)(
  4807. IUpdateDownloader *This,
  4808. IUpdateCollection **retval);
  4809. HRESULT (STDMETHODCALLTYPE *put_Updates)(
  4810. IUpdateDownloader *This,
  4811. IUpdateCollection *value);
  4812. HRESULT (STDMETHODCALLTYPE *BeginDownload)(
  4813. IUpdateDownloader *This,
  4814. IUnknown *onProgressChanged,
  4815. IUnknown *onCompleted,
  4816. VARIANT state,
  4817. IDownloadJob **retval);
  4818. HRESULT (STDMETHODCALLTYPE *Download)(
  4819. IUpdateDownloader *This,
  4820. IDownloadResult **retval);
  4821. HRESULT (STDMETHODCALLTYPE *EndDownload)(
  4822. IUpdateDownloader *This,
  4823. IDownloadJob *value,
  4824. IDownloadResult **retval);
  4825. END_INTERFACE
  4826. } IUpdateDownloaderVtbl;
  4827. interface IUpdateDownloader {
  4828. CONST_VTBL IUpdateDownloaderVtbl* lpVtbl;
  4829. };
  4830. #ifdef COBJMACROS
  4831. #ifndef WIDL_C_INLINE_WRAPPERS
  4832. /*** IUnknown methods ***/
  4833. #define IUpdateDownloader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4834. #define IUpdateDownloader_AddRef(This) (This)->lpVtbl->AddRef(This)
  4835. #define IUpdateDownloader_Release(This) (This)->lpVtbl->Release(This)
  4836. /*** IDispatch methods ***/
  4837. #define IUpdateDownloader_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  4838. #define IUpdateDownloader_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4839. #define IUpdateDownloader_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4840. #define IUpdateDownloader_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4841. /*** IUpdateDownloader methods ***/
  4842. #define IUpdateDownloader_get_ClientApplicationID(This,retval) (This)->lpVtbl->get_ClientApplicationID(This,retval)
  4843. #define IUpdateDownloader_put_ClientApplicationID(This,value) (This)->lpVtbl->put_ClientApplicationID(This,value)
  4844. #define IUpdateDownloader_get_IsForced(This,retval) (This)->lpVtbl->get_IsForced(This,retval)
  4845. #define IUpdateDownloader_put_IsForced(This,value) (This)->lpVtbl->put_IsForced(This,value)
  4846. #define IUpdateDownloader_get_Priority(This,retval) (This)->lpVtbl->get_Priority(This,retval)
  4847. #define IUpdateDownloader_put_Priority(This,value) (This)->lpVtbl->put_Priority(This,value)
  4848. #define IUpdateDownloader_get_Updates(This,retval) (This)->lpVtbl->get_Updates(This,retval)
  4849. #define IUpdateDownloader_put_Updates(This,value) (This)->lpVtbl->put_Updates(This,value)
  4850. #define IUpdateDownloader_BeginDownload(This,onProgressChanged,onCompleted,state,retval) (This)->lpVtbl->BeginDownload(This,onProgressChanged,onCompleted,state,retval)
  4851. #define IUpdateDownloader_Download(This,retval) (This)->lpVtbl->Download(This,retval)
  4852. #define IUpdateDownloader_EndDownload(This,value,retval) (This)->lpVtbl->EndDownload(This,value,retval)
  4853. #else
  4854. /*** IUnknown methods ***/
  4855. static FORCEINLINE HRESULT IUpdateDownloader_QueryInterface(IUpdateDownloader* This,REFIID riid,void **ppvObject) {
  4856. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4857. }
  4858. static FORCEINLINE ULONG IUpdateDownloader_AddRef(IUpdateDownloader* This) {
  4859. return This->lpVtbl->AddRef(This);
  4860. }
  4861. static FORCEINLINE ULONG IUpdateDownloader_Release(IUpdateDownloader* This) {
  4862. return This->lpVtbl->Release(This);
  4863. }
  4864. /*** IDispatch methods ***/
  4865. static FORCEINLINE HRESULT IUpdateDownloader_GetTypeInfoCount(IUpdateDownloader* This,UINT *pctinfo) {
  4866. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  4867. }
  4868. static FORCEINLINE HRESULT IUpdateDownloader_GetTypeInfo(IUpdateDownloader* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  4869. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  4870. }
  4871. static FORCEINLINE HRESULT IUpdateDownloader_GetIDsOfNames(IUpdateDownloader* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  4872. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  4873. }
  4874. static FORCEINLINE HRESULT IUpdateDownloader_Invoke(IUpdateDownloader* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  4875. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  4876. }
  4877. /*** IUpdateDownloader methods ***/
  4878. static FORCEINLINE HRESULT IUpdateDownloader_get_ClientApplicationID(IUpdateDownloader* This,BSTR *retval) {
  4879. return This->lpVtbl->get_ClientApplicationID(This,retval);
  4880. }
  4881. static FORCEINLINE HRESULT IUpdateDownloader_put_ClientApplicationID(IUpdateDownloader* This,BSTR value) {
  4882. return This->lpVtbl->put_ClientApplicationID(This,value);
  4883. }
  4884. static FORCEINLINE HRESULT IUpdateDownloader_get_IsForced(IUpdateDownloader* This,VARIANT_BOOL *retval) {
  4885. return This->lpVtbl->get_IsForced(This,retval);
  4886. }
  4887. static FORCEINLINE HRESULT IUpdateDownloader_put_IsForced(IUpdateDownloader* This,VARIANT_BOOL value) {
  4888. return This->lpVtbl->put_IsForced(This,value);
  4889. }
  4890. static FORCEINLINE HRESULT IUpdateDownloader_get_Priority(IUpdateDownloader* This,DownloadPriority *retval) {
  4891. return This->lpVtbl->get_Priority(This,retval);
  4892. }
  4893. static FORCEINLINE HRESULT IUpdateDownloader_put_Priority(IUpdateDownloader* This,DownloadPriority value) {
  4894. return This->lpVtbl->put_Priority(This,value);
  4895. }
  4896. static FORCEINLINE HRESULT IUpdateDownloader_get_Updates(IUpdateDownloader* This,IUpdateCollection **retval) {
  4897. return This->lpVtbl->get_Updates(This,retval);
  4898. }
  4899. static FORCEINLINE HRESULT IUpdateDownloader_put_Updates(IUpdateDownloader* This,IUpdateCollection *value) {
  4900. return This->lpVtbl->put_Updates(This,value);
  4901. }
  4902. static FORCEINLINE HRESULT IUpdateDownloader_BeginDownload(IUpdateDownloader* This,IUnknown *onProgressChanged,IUnknown *onCompleted,VARIANT state,IDownloadJob **retval) {
  4903. return This->lpVtbl->BeginDownload(This,onProgressChanged,onCompleted,state,retval);
  4904. }
  4905. static FORCEINLINE HRESULT IUpdateDownloader_Download(IUpdateDownloader* This,IDownloadResult **retval) {
  4906. return This->lpVtbl->Download(This,retval);
  4907. }
  4908. static FORCEINLINE HRESULT IUpdateDownloader_EndDownload(IUpdateDownloader* This,IDownloadJob *value,IDownloadResult **retval) {
  4909. return This->lpVtbl->EndDownload(This,value,retval);
  4910. }
  4911. #endif
  4912. #endif
  4913. #endif
  4914. #endif /* __IUpdateDownloader_INTERFACE_DEFINED__ */
  4915. /*****************************************************************************
  4916. * IUpdateInstallationResult interface
  4917. */
  4918. #ifndef __IUpdateInstallationResult_INTERFACE_DEFINED__
  4919. #define __IUpdateInstallationResult_INTERFACE_DEFINED__
  4920. DEFINE_GUID(IID_IUpdateInstallationResult, 0xd940f0f8, 0x3cbb, 0x4fd0, 0x99,0x3f, 0x47,0x1e,0x7f,0x23,0x28,0xad);
  4921. #if defined(__cplusplus) && !defined(CINTERFACE)
  4922. MIDL_INTERFACE("d940f0f8-3cbb-4fd0-993f-471e7f2328ad")
  4923. IUpdateInstallationResult : public IDispatch
  4924. {
  4925. virtual HRESULT STDMETHODCALLTYPE get_HResult(
  4926. LONG *retval) = 0;
  4927. virtual HRESULT STDMETHODCALLTYPE get_RebootRequired(
  4928. VARIANT_BOOL *retval) = 0;
  4929. virtual HRESULT STDMETHODCALLTYPE get_ResultCode(
  4930. OperationResultCode *retval) = 0;
  4931. };
  4932. #ifdef __CRT_UUID_DECL
  4933. __CRT_UUID_DECL(IUpdateInstallationResult, 0xd940f0f8, 0x3cbb, 0x4fd0, 0x99,0x3f, 0x47,0x1e,0x7f,0x23,0x28,0xad)
  4934. #endif
  4935. #else
  4936. typedef struct IUpdateInstallationResultVtbl {
  4937. BEGIN_INTERFACE
  4938. /*** IUnknown methods ***/
  4939. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4940. IUpdateInstallationResult *This,
  4941. REFIID riid,
  4942. void **ppvObject);
  4943. ULONG (STDMETHODCALLTYPE *AddRef)(
  4944. IUpdateInstallationResult *This);
  4945. ULONG (STDMETHODCALLTYPE *Release)(
  4946. IUpdateInstallationResult *This);
  4947. /*** IDispatch methods ***/
  4948. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  4949. IUpdateInstallationResult *This,
  4950. UINT *pctinfo);
  4951. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  4952. IUpdateInstallationResult *This,
  4953. UINT iTInfo,
  4954. LCID lcid,
  4955. ITypeInfo **ppTInfo);
  4956. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  4957. IUpdateInstallationResult *This,
  4958. REFIID riid,
  4959. LPOLESTR *rgszNames,
  4960. UINT cNames,
  4961. LCID lcid,
  4962. DISPID *rgDispId);
  4963. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4964. IUpdateInstallationResult *This,
  4965. DISPID dispIdMember,
  4966. REFIID riid,
  4967. LCID lcid,
  4968. WORD wFlags,
  4969. DISPPARAMS *pDispParams,
  4970. VARIANT *pVarResult,
  4971. EXCEPINFO *pExcepInfo,
  4972. UINT *puArgErr);
  4973. /*** IUpdateInstallationResult methods ***/
  4974. HRESULT (STDMETHODCALLTYPE *get_HResult)(
  4975. IUpdateInstallationResult *This,
  4976. LONG *retval);
  4977. HRESULT (STDMETHODCALLTYPE *get_RebootRequired)(
  4978. IUpdateInstallationResult *This,
  4979. VARIANT_BOOL *retval);
  4980. HRESULT (STDMETHODCALLTYPE *get_ResultCode)(
  4981. IUpdateInstallationResult *This,
  4982. OperationResultCode *retval);
  4983. END_INTERFACE
  4984. } IUpdateInstallationResultVtbl;
  4985. interface IUpdateInstallationResult {
  4986. CONST_VTBL IUpdateInstallationResultVtbl* lpVtbl;
  4987. };
  4988. #ifdef COBJMACROS
  4989. #ifndef WIDL_C_INLINE_WRAPPERS
  4990. /*** IUnknown methods ***/
  4991. #define IUpdateInstallationResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4992. #define IUpdateInstallationResult_AddRef(This) (This)->lpVtbl->AddRef(This)
  4993. #define IUpdateInstallationResult_Release(This) (This)->lpVtbl->Release(This)
  4994. /*** IDispatch methods ***/
  4995. #define IUpdateInstallationResult_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  4996. #define IUpdateInstallationResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4997. #define IUpdateInstallationResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4998. #define IUpdateInstallationResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4999. /*** IUpdateInstallationResult methods ***/
  5000. #define IUpdateInstallationResult_get_HResult(This,retval) (This)->lpVtbl->get_HResult(This,retval)
  5001. #define IUpdateInstallationResult_get_RebootRequired(This,retval) (This)->lpVtbl->get_RebootRequired(This,retval)
  5002. #define IUpdateInstallationResult_get_ResultCode(This,retval) (This)->lpVtbl->get_ResultCode(This,retval)
  5003. #else
  5004. /*** IUnknown methods ***/
  5005. static FORCEINLINE HRESULT IUpdateInstallationResult_QueryInterface(IUpdateInstallationResult* This,REFIID riid,void **ppvObject) {
  5006. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5007. }
  5008. static FORCEINLINE ULONG IUpdateInstallationResult_AddRef(IUpdateInstallationResult* This) {
  5009. return This->lpVtbl->AddRef(This);
  5010. }
  5011. static FORCEINLINE ULONG IUpdateInstallationResult_Release(IUpdateInstallationResult* This) {
  5012. return This->lpVtbl->Release(This);
  5013. }
  5014. /*** IDispatch methods ***/
  5015. static FORCEINLINE HRESULT IUpdateInstallationResult_GetTypeInfoCount(IUpdateInstallationResult* This,UINT *pctinfo) {
  5016. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  5017. }
  5018. static FORCEINLINE HRESULT IUpdateInstallationResult_GetTypeInfo(IUpdateInstallationResult* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  5019. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  5020. }
  5021. static FORCEINLINE HRESULT IUpdateInstallationResult_GetIDsOfNames(IUpdateInstallationResult* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  5022. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  5023. }
  5024. static FORCEINLINE HRESULT IUpdateInstallationResult_Invoke(IUpdateInstallationResult* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  5025. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  5026. }
  5027. /*** IUpdateInstallationResult methods ***/
  5028. static FORCEINLINE HRESULT IUpdateInstallationResult_get_HResult(IUpdateInstallationResult* This,LONG *retval) {
  5029. return This->lpVtbl->get_HResult(This,retval);
  5030. }
  5031. static FORCEINLINE HRESULT IUpdateInstallationResult_get_RebootRequired(IUpdateInstallationResult* This,VARIANT_BOOL *retval) {
  5032. return This->lpVtbl->get_RebootRequired(This,retval);
  5033. }
  5034. static FORCEINLINE HRESULT IUpdateInstallationResult_get_ResultCode(IUpdateInstallationResult* This,OperationResultCode *retval) {
  5035. return This->lpVtbl->get_ResultCode(This,retval);
  5036. }
  5037. #endif
  5038. #endif
  5039. #endif
  5040. #endif /* __IUpdateInstallationResult_INTERFACE_DEFINED__ */
  5041. /*****************************************************************************
  5042. * IInstallationProgress interface
  5043. */
  5044. #ifndef __IInstallationProgress_INTERFACE_DEFINED__
  5045. #define __IInstallationProgress_INTERFACE_DEFINED__
  5046. DEFINE_GUID(IID_IInstallationProgress, 0x345c8244, 0x43a3, 0x4e32, 0xa3,0x68, 0x65,0xf0,0x73,0xb7,0x6f,0x36);
  5047. #if defined(__cplusplus) && !defined(CINTERFACE)
  5048. MIDL_INTERFACE("345c8244-43a3-4e32-a368-65f073b76f36")
  5049. IInstallationProgress : public IDispatch
  5050. {
  5051. virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdateIndex(
  5052. LONG *retval) = 0;
  5053. virtual HRESULT STDMETHODCALLTYPE get_CurrentUpdatePercentComplete(
  5054. LONG *retval) = 0;
  5055. virtual HRESULT STDMETHODCALLTYPE get_PercentComplete(
  5056. LONG *retval) = 0;
  5057. virtual HRESULT STDMETHODCALLTYPE GetUpdateResult(
  5058. LONG updateIndex,
  5059. IUpdateInstallationResult **retval) = 0;
  5060. };
  5061. #ifdef __CRT_UUID_DECL
  5062. __CRT_UUID_DECL(IInstallationProgress, 0x345c8244, 0x43a3, 0x4e32, 0xa3,0x68, 0x65,0xf0,0x73,0xb7,0x6f,0x36)
  5063. #endif
  5064. #else
  5065. typedef struct IInstallationProgressVtbl {
  5066. BEGIN_INTERFACE
  5067. /*** IUnknown methods ***/
  5068. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5069. IInstallationProgress *This,
  5070. REFIID riid,
  5071. void **ppvObject);
  5072. ULONG (STDMETHODCALLTYPE *AddRef)(
  5073. IInstallationProgress *This);
  5074. ULONG (STDMETHODCALLTYPE *Release)(
  5075. IInstallationProgress *This);
  5076. /*** IDispatch methods ***/
  5077. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  5078. IInstallationProgress *This,
  5079. UINT *pctinfo);
  5080. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  5081. IInstallationProgress *This,
  5082. UINT iTInfo,
  5083. LCID lcid,
  5084. ITypeInfo **ppTInfo);
  5085. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  5086. IInstallationProgress *This,
  5087. REFIID riid,
  5088. LPOLESTR *rgszNames,
  5089. UINT cNames,
  5090. LCID lcid,
  5091. DISPID *rgDispId);
  5092. HRESULT (STDMETHODCALLTYPE *Invoke)(
  5093. IInstallationProgress *This,
  5094. DISPID dispIdMember,
  5095. REFIID riid,
  5096. LCID lcid,
  5097. WORD wFlags,
  5098. DISPPARAMS *pDispParams,
  5099. VARIANT *pVarResult,
  5100. EXCEPINFO *pExcepInfo,
  5101. UINT *puArgErr);
  5102. /*** IInstallationProgress methods ***/
  5103. HRESULT (STDMETHODCALLTYPE *get_CurrentUpdateIndex)(
  5104. IInstallationProgress *This,
  5105. LONG *retval);
  5106. HRESULT (STDMETHODCALLTYPE *get_CurrentUpdatePercentComplete)(
  5107. IInstallationProgress *This,
  5108. LONG *retval);
  5109. HRESULT (STDMETHODCALLTYPE *get_PercentComplete)(
  5110. IInstallationProgress *This,
  5111. LONG *retval);
  5112. HRESULT (STDMETHODCALLTYPE *GetUpdateResult)(
  5113. IInstallationProgress *This,
  5114. LONG updateIndex,
  5115. IUpdateInstallationResult **retval);
  5116. END_INTERFACE
  5117. } IInstallationProgressVtbl;
  5118. interface IInstallationProgress {
  5119. CONST_VTBL IInstallationProgressVtbl* lpVtbl;
  5120. };
  5121. #ifdef COBJMACROS
  5122. #ifndef WIDL_C_INLINE_WRAPPERS
  5123. /*** IUnknown methods ***/
  5124. #define IInstallationProgress_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5125. #define IInstallationProgress_AddRef(This) (This)->lpVtbl->AddRef(This)
  5126. #define IInstallationProgress_Release(This) (This)->lpVtbl->Release(This)
  5127. /*** IDispatch methods ***/
  5128. #define IInstallationProgress_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  5129. #define IInstallationProgress_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5130. #define IInstallationProgress_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5131. #define IInstallationProgress_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5132. /*** IInstallationProgress methods ***/
  5133. #define IInstallationProgress_get_CurrentUpdateIndex(This,retval) (This)->lpVtbl->get_CurrentUpdateIndex(This,retval)
  5134. #define IInstallationProgress_get_CurrentUpdatePercentComplete(This,retval) (This)->lpVtbl->get_CurrentUpdatePercentComplete(This,retval)
  5135. #define IInstallationProgress_get_PercentComplete(This,retval) (This)->lpVtbl->get_PercentComplete(This,retval)
  5136. #define IInstallationProgress_GetUpdateResult(This,updateIndex,retval) (This)->lpVtbl->GetUpdateResult(This,updateIndex,retval)
  5137. #else
  5138. /*** IUnknown methods ***/
  5139. static FORCEINLINE HRESULT IInstallationProgress_QueryInterface(IInstallationProgress* This,REFIID riid,void **ppvObject) {
  5140. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5141. }
  5142. static FORCEINLINE ULONG IInstallationProgress_AddRef(IInstallationProgress* This) {
  5143. return This->lpVtbl->AddRef(This);
  5144. }
  5145. static FORCEINLINE ULONG IInstallationProgress_Release(IInstallationProgress* This) {
  5146. return This->lpVtbl->Release(This);
  5147. }
  5148. /*** IDispatch methods ***/
  5149. static FORCEINLINE HRESULT IInstallationProgress_GetTypeInfoCount(IInstallationProgress* This,UINT *pctinfo) {
  5150. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  5151. }
  5152. static FORCEINLINE HRESULT IInstallationProgress_GetTypeInfo(IInstallationProgress* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  5153. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  5154. }
  5155. static FORCEINLINE HRESULT IInstallationProgress_GetIDsOfNames(IInstallationProgress* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  5156. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  5157. }
  5158. static FORCEINLINE HRESULT IInstallationProgress_Invoke(IInstallationProgress* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  5159. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  5160. }
  5161. /*** IInstallationProgress methods ***/
  5162. static FORCEINLINE HRESULT IInstallationProgress_get_CurrentUpdateIndex(IInstallationProgress* This,LONG *retval) {
  5163. return This->lpVtbl->get_CurrentUpdateIndex(This,retval);
  5164. }
  5165. static FORCEINLINE HRESULT IInstallationProgress_get_CurrentUpdatePercentComplete(IInstallationProgress* This,LONG *retval) {
  5166. return This->lpVtbl->get_CurrentUpdatePercentComplete(This,retval);
  5167. }
  5168. static FORCEINLINE HRESULT IInstallationProgress_get_PercentComplete(IInstallationProgress* This,LONG *retval) {
  5169. return This->lpVtbl->get_PercentComplete(This,retval);
  5170. }
  5171. static FORCEINLINE HRESULT IInstallationProgress_GetUpdateResult(IInstallationProgress* This,LONG updateIndex,IUpdateInstallationResult **retval) {
  5172. return This->lpVtbl->GetUpdateResult(This,updateIndex,retval);
  5173. }
  5174. #endif
  5175. #endif
  5176. #endif
  5177. #endif /* __IInstallationProgress_INTERFACE_DEFINED__ */
  5178. /*****************************************************************************
  5179. * IInstallationJob interface
  5180. */
  5181. #ifndef __IInstallationJob_INTERFACE_DEFINED__
  5182. #define __IInstallationJob_INTERFACE_DEFINED__
  5183. DEFINE_GUID(IID_IInstallationJob, 0x5c209f0b, 0xbad5, 0x432a, 0x95,0x56, 0x46,0x99,0xbe,0xd2,0x63,0x8a);
  5184. #if defined(__cplusplus) && !defined(CINTERFACE)
  5185. MIDL_INTERFACE("5c209f0b-bad5-432a-9556-4699bed2638a")
  5186. IInstallationJob : public IDispatch
  5187. {
  5188. virtual HRESULT STDMETHODCALLTYPE get_AsyncState(
  5189. VARIANT *retval) = 0;
  5190. virtual HRESULT STDMETHODCALLTYPE get_IsCompleted(
  5191. VARIANT_BOOL *retval) = 0;
  5192. virtual HRESULT STDMETHODCALLTYPE get_Updates(
  5193. IUpdateCollection **retval) = 0;
  5194. virtual HRESULT STDMETHODCALLTYPE CleanUp(
  5195. ) = 0;
  5196. virtual HRESULT STDMETHODCALLTYPE GetProgress(
  5197. IInstallationProgress **retval) = 0;
  5198. virtual HRESULT STDMETHODCALLTYPE RequestAbort(
  5199. ) = 0;
  5200. };
  5201. #ifdef __CRT_UUID_DECL
  5202. __CRT_UUID_DECL(IInstallationJob, 0x5c209f0b, 0xbad5, 0x432a, 0x95,0x56, 0x46,0x99,0xbe,0xd2,0x63,0x8a)
  5203. #endif
  5204. #else
  5205. typedef struct IInstallationJobVtbl {
  5206. BEGIN_INTERFACE
  5207. /*** IUnknown methods ***/
  5208. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5209. IInstallationJob *This,
  5210. REFIID riid,
  5211. void **ppvObject);
  5212. ULONG (STDMETHODCALLTYPE *AddRef)(
  5213. IInstallationJob *This);
  5214. ULONG (STDMETHODCALLTYPE *Release)(
  5215. IInstallationJob *This);
  5216. /*** IDispatch methods ***/
  5217. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  5218. IInstallationJob *This,
  5219. UINT *pctinfo);
  5220. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  5221. IInstallationJob *This,
  5222. UINT iTInfo,
  5223. LCID lcid,
  5224. ITypeInfo **ppTInfo);
  5225. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  5226. IInstallationJob *This,
  5227. REFIID riid,
  5228. LPOLESTR *rgszNames,
  5229. UINT cNames,
  5230. LCID lcid,
  5231. DISPID *rgDispId);
  5232. HRESULT (STDMETHODCALLTYPE *Invoke)(
  5233. IInstallationJob *This,
  5234. DISPID dispIdMember,
  5235. REFIID riid,
  5236. LCID lcid,
  5237. WORD wFlags,
  5238. DISPPARAMS *pDispParams,
  5239. VARIANT *pVarResult,
  5240. EXCEPINFO *pExcepInfo,
  5241. UINT *puArgErr);
  5242. /*** IInstallationJob methods ***/
  5243. HRESULT (STDMETHODCALLTYPE *get_AsyncState)(
  5244. IInstallationJob *This,
  5245. VARIANT *retval);
  5246. HRESULT (STDMETHODCALLTYPE *get_IsCompleted)(
  5247. IInstallationJob *This,
  5248. VARIANT_BOOL *retval);
  5249. HRESULT (STDMETHODCALLTYPE *get_Updates)(
  5250. IInstallationJob *This,
  5251. IUpdateCollection **retval);
  5252. HRESULT (STDMETHODCALLTYPE *CleanUp)(
  5253. IInstallationJob *This);
  5254. HRESULT (STDMETHODCALLTYPE *GetProgress)(
  5255. IInstallationJob *This,
  5256. IInstallationProgress **retval);
  5257. HRESULT (STDMETHODCALLTYPE *RequestAbort)(
  5258. IInstallationJob *This);
  5259. END_INTERFACE
  5260. } IInstallationJobVtbl;
  5261. interface IInstallationJob {
  5262. CONST_VTBL IInstallationJobVtbl* lpVtbl;
  5263. };
  5264. #ifdef COBJMACROS
  5265. #ifndef WIDL_C_INLINE_WRAPPERS
  5266. /*** IUnknown methods ***/
  5267. #define IInstallationJob_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5268. #define IInstallationJob_AddRef(This) (This)->lpVtbl->AddRef(This)
  5269. #define IInstallationJob_Release(This) (This)->lpVtbl->Release(This)
  5270. /*** IDispatch methods ***/
  5271. #define IInstallationJob_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  5272. #define IInstallationJob_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5273. #define IInstallationJob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5274. #define IInstallationJob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5275. /*** IInstallationJob methods ***/
  5276. #define IInstallationJob_get_AsyncState(This,retval) (This)->lpVtbl->get_AsyncState(This,retval)
  5277. #define IInstallationJob_get_IsCompleted(This,retval) (This)->lpVtbl->get_IsCompleted(This,retval)
  5278. #define IInstallationJob_get_Updates(This,retval) (This)->lpVtbl->get_Updates(This,retval)
  5279. #define IInstallationJob_CleanUp(This) (This)->lpVtbl->CleanUp(This)
  5280. #define IInstallationJob_GetProgress(This,retval) (This)->lpVtbl->GetProgress(This,retval)
  5281. #define IInstallationJob_RequestAbort(This) (This)->lpVtbl->RequestAbort(This)
  5282. #else
  5283. /*** IUnknown methods ***/
  5284. static FORCEINLINE HRESULT IInstallationJob_QueryInterface(IInstallationJob* This,REFIID riid,void **ppvObject) {
  5285. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5286. }
  5287. static FORCEINLINE ULONG IInstallationJob_AddRef(IInstallationJob* This) {
  5288. return This->lpVtbl->AddRef(This);
  5289. }
  5290. static FORCEINLINE ULONG IInstallationJob_Release(IInstallationJob* This) {
  5291. return This->lpVtbl->Release(This);
  5292. }
  5293. /*** IDispatch methods ***/
  5294. static FORCEINLINE HRESULT IInstallationJob_GetTypeInfoCount(IInstallationJob* This,UINT *pctinfo) {
  5295. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  5296. }
  5297. static FORCEINLINE HRESULT IInstallationJob_GetTypeInfo(IInstallationJob* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  5298. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  5299. }
  5300. static FORCEINLINE HRESULT IInstallationJob_GetIDsOfNames(IInstallationJob* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  5301. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  5302. }
  5303. static FORCEINLINE HRESULT IInstallationJob_Invoke(IInstallationJob* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  5304. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  5305. }
  5306. /*** IInstallationJob methods ***/
  5307. static FORCEINLINE HRESULT IInstallationJob_get_AsyncState(IInstallationJob* This,VARIANT *retval) {
  5308. return This->lpVtbl->get_AsyncState(This,retval);
  5309. }
  5310. static FORCEINLINE HRESULT IInstallationJob_get_IsCompleted(IInstallationJob* This,VARIANT_BOOL *retval) {
  5311. return This->lpVtbl->get_IsCompleted(This,retval);
  5312. }
  5313. static FORCEINLINE HRESULT IInstallationJob_get_Updates(IInstallationJob* This,IUpdateCollection **retval) {
  5314. return This->lpVtbl->get_Updates(This,retval);
  5315. }
  5316. static FORCEINLINE HRESULT IInstallationJob_CleanUp(IInstallationJob* This) {
  5317. return This->lpVtbl->CleanUp(This);
  5318. }
  5319. static FORCEINLINE HRESULT IInstallationJob_GetProgress(IInstallationJob* This,IInstallationProgress **retval) {
  5320. return This->lpVtbl->GetProgress(This,retval);
  5321. }
  5322. static FORCEINLINE HRESULT IInstallationJob_RequestAbort(IInstallationJob* This) {
  5323. return This->lpVtbl->RequestAbort(This);
  5324. }
  5325. #endif
  5326. #endif
  5327. #endif
  5328. #endif /* __IInstallationJob_INTERFACE_DEFINED__ */
  5329. /*****************************************************************************
  5330. * IInstallationResult interface
  5331. */
  5332. #ifndef __IInstallationResult_INTERFACE_DEFINED__
  5333. #define __IInstallationResult_INTERFACE_DEFINED__
  5334. DEFINE_GUID(IID_IInstallationResult, 0xa43c56d6, 0x7451, 0x48d4, 0xaf,0x96, 0xb6,0xcd,0x2d,0x0d,0x9b,0x7a);
  5335. #if defined(__cplusplus) && !defined(CINTERFACE)
  5336. MIDL_INTERFACE("a43c56d6-7451-48d4-af96-b6cd2d0d9b7a")
  5337. IInstallationResult : public IDispatch
  5338. {
  5339. virtual HRESULT STDMETHODCALLTYPE get_HResult(
  5340. LONG *retval) = 0;
  5341. virtual HRESULT STDMETHODCALLTYPE get_RebootRequired(
  5342. VARIANT_BOOL *retval) = 0;
  5343. virtual HRESULT STDMETHODCALLTYPE get_ResultCode(
  5344. OperationResultCode *retval) = 0;
  5345. virtual HRESULT STDMETHODCALLTYPE GetUpdateResult(
  5346. LONG updateIndex,
  5347. IUpdateInstallationResult **retval) = 0;
  5348. };
  5349. #ifdef __CRT_UUID_DECL
  5350. __CRT_UUID_DECL(IInstallationResult, 0xa43c56d6, 0x7451, 0x48d4, 0xaf,0x96, 0xb6,0xcd,0x2d,0x0d,0x9b,0x7a)
  5351. #endif
  5352. #else
  5353. typedef struct IInstallationResultVtbl {
  5354. BEGIN_INTERFACE
  5355. /*** IUnknown methods ***/
  5356. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5357. IInstallationResult *This,
  5358. REFIID riid,
  5359. void **ppvObject);
  5360. ULONG (STDMETHODCALLTYPE *AddRef)(
  5361. IInstallationResult *This);
  5362. ULONG (STDMETHODCALLTYPE *Release)(
  5363. IInstallationResult *This);
  5364. /*** IDispatch methods ***/
  5365. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  5366. IInstallationResult *This,
  5367. UINT *pctinfo);
  5368. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  5369. IInstallationResult *This,
  5370. UINT iTInfo,
  5371. LCID lcid,
  5372. ITypeInfo **ppTInfo);
  5373. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  5374. IInstallationResult *This,
  5375. REFIID riid,
  5376. LPOLESTR *rgszNames,
  5377. UINT cNames,
  5378. LCID lcid,
  5379. DISPID *rgDispId);
  5380. HRESULT (STDMETHODCALLTYPE *Invoke)(
  5381. IInstallationResult *This,
  5382. DISPID dispIdMember,
  5383. REFIID riid,
  5384. LCID lcid,
  5385. WORD wFlags,
  5386. DISPPARAMS *pDispParams,
  5387. VARIANT *pVarResult,
  5388. EXCEPINFO *pExcepInfo,
  5389. UINT *puArgErr);
  5390. /*** IInstallationResult methods ***/
  5391. HRESULT (STDMETHODCALLTYPE *get_HResult)(
  5392. IInstallationResult *This,
  5393. LONG *retval);
  5394. HRESULT (STDMETHODCALLTYPE *get_RebootRequired)(
  5395. IInstallationResult *This,
  5396. VARIANT_BOOL *retval);
  5397. HRESULT (STDMETHODCALLTYPE *get_ResultCode)(
  5398. IInstallationResult *This,
  5399. OperationResultCode *retval);
  5400. HRESULT (STDMETHODCALLTYPE *GetUpdateResult)(
  5401. IInstallationResult *This,
  5402. LONG updateIndex,
  5403. IUpdateInstallationResult **retval);
  5404. END_INTERFACE
  5405. } IInstallationResultVtbl;
  5406. interface IInstallationResult {
  5407. CONST_VTBL IInstallationResultVtbl* lpVtbl;
  5408. };
  5409. #ifdef COBJMACROS
  5410. #ifndef WIDL_C_INLINE_WRAPPERS
  5411. /*** IUnknown methods ***/
  5412. #define IInstallationResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5413. #define IInstallationResult_AddRef(This) (This)->lpVtbl->AddRef(This)
  5414. #define IInstallationResult_Release(This) (This)->lpVtbl->Release(This)
  5415. /*** IDispatch methods ***/
  5416. #define IInstallationResult_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  5417. #define IInstallationResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5418. #define IInstallationResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5419. #define IInstallationResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5420. /*** IInstallationResult methods ***/
  5421. #define IInstallationResult_get_HResult(This,retval) (This)->lpVtbl->get_HResult(This,retval)
  5422. #define IInstallationResult_get_RebootRequired(This,retval) (This)->lpVtbl->get_RebootRequired(This,retval)
  5423. #define IInstallationResult_get_ResultCode(This,retval) (This)->lpVtbl->get_ResultCode(This,retval)
  5424. #define IInstallationResult_GetUpdateResult(This,updateIndex,retval) (This)->lpVtbl->GetUpdateResult(This,updateIndex,retval)
  5425. #else
  5426. /*** IUnknown methods ***/
  5427. static FORCEINLINE HRESULT IInstallationResult_QueryInterface(IInstallationResult* This,REFIID riid,void **ppvObject) {
  5428. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5429. }
  5430. static FORCEINLINE ULONG IInstallationResult_AddRef(IInstallationResult* This) {
  5431. return This->lpVtbl->AddRef(This);
  5432. }
  5433. static FORCEINLINE ULONG IInstallationResult_Release(IInstallationResult* This) {
  5434. return This->lpVtbl->Release(This);
  5435. }
  5436. /*** IDispatch methods ***/
  5437. static FORCEINLINE HRESULT IInstallationResult_GetTypeInfoCount(IInstallationResult* This,UINT *pctinfo) {
  5438. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  5439. }
  5440. static FORCEINLINE HRESULT IInstallationResult_GetTypeInfo(IInstallationResult* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  5441. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  5442. }
  5443. static FORCEINLINE HRESULT IInstallationResult_GetIDsOfNames(IInstallationResult* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  5444. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  5445. }
  5446. static FORCEINLINE HRESULT IInstallationResult_Invoke(IInstallationResult* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  5447. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  5448. }
  5449. /*** IInstallationResult methods ***/
  5450. static FORCEINLINE HRESULT IInstallationResult_get_HResult(IInstallationResult* This,LONG *retval) {
  5451. return This->lpVtbl->get_HResult(This,retval);
  5452. }
  5453. static FORCEINLINE HRESULT IInstallationResult_get_RebootRequired(IInstallationResult* This,VARIANT_BOOL *retval) {
  5454. return This->lpVtbl->get_RebootRequired(This,retval);
  5455. }
  5456. static FORCEINLINE HRESULT IInstallationResult_get_ResultCode(IInstallationResult* This,OperationResultCode *retval) {
  5457. return This->lpVtbl->get_ResultCode(This,retval);
  5458. }
  5459. static FORCEINLINE HRESULT IInstallationResult_GetUpdateResult(IInstallationResult* This,LONG updateIndex,IUpdateInstallationResult **retval) {
  5460. return This->lpVtbl->GetUpdateResult(This,updateIndex,retval);
  5461. }
  5462. #endif
  5463. #endif
  5464. #endif
  5465. #endif /* __IInstallationResult_INTERFACE_DEFINED__ */
  5466. /*****************************************************************************
  5467. * IUpdateInstaller interface
  5468. */
  5469. #ifndef __IUpdateInstaller_INTERFACE_DEFINED__
  5470. #define __IUpdateInstaller_INTERFACE_DEFINED__
  5471. DEFINE_GUID(IID_IUpdateInstaller, 0x7b929c68, 0xccdc, 0x4226, 0x96,0xb1, 0x87,0x24,0x60,0x0b,0x54,0xc2);
  5472. #if defined(__cplusplus) && !defined(CINTERFACE)
  5473. MIDL_INTERFACE("7b929c68-ccdc-4226-96b1-8724600b54c2")
  5474. IUpdateInstaller : public IDispatch
  5475. {
  5476. virtual HRESULT STDMETHODCALLTYPE get_ClientApplicationID(
  5477. BSTR *retval) = 0;
  5478. virtual HRESULT STDMETHODCALLTYPE put_ClientApplicationID(
  5479. BSTR value) = 0;
  5480. virtual HRESULT STDMETHODCALLTYPE get_IsForced(
  5481. VARIANT_BOOL *retval) = 0;
  5482. virtual HRESULT STDMETHODCALLTYPE put_IsForced(
  5483. VARIANT_BOOL value) = 0;
  5484. virtual HRESULT STDMETHODCALLTYPE get_ParentHwnd(
  5485. HWND *retval) = 0;
  5486. virtual HRESULT STDMETHODCALLTYPE put_ParentHwnd(
  5487. HWND value) = 0;
  5488. virtual HRESULT STDMETHODCALLTYPE put_ParentWindow(
  5489. IUnknown *value) = 0;
  5490. virtual HRESULT STDMETHODCALLTYPE get_ParentWindow(
  5491. IUnknown **retval) = 0;
  5492. virtual HRESULT STDMETHODCALLTYPE get_Updates(
  5493. IUpdateCollection **retval) = 0;
  5494. virtual HRESULT STDMETHODCALLTYPE put_Updates(
  5495. IUpdateCollection *value) = 0;
  5496. virtual HRESULT STDMETHODCALLTYPE BeginInstall(
  5497. IUnknown *onProgressChanged,
  5498. IUnknown *onCompleted,
  5499. VARIANT state,
  5500. IInstallationJob **retval) = 0;
  5501. virtual HRESULT STDMETHODCALLTYPE BeginUninstall(
  5502. IUnknown *onProgressChanged,
  5503. IUnknown *onCompleted,
  5504. VARIANT state,
  5505. IInstallationJob **retval) = 0;
  5506. virtual HRESULT STDMETHODCALLTYPE EndInstall(
  5507. IInstallationJob *value,
  5508. IInstallationResult **retval) = 0;
  5509. virtual HRESULT STDMETHODCALLTYPE EndUninstall(
  5510. IInstallationJob *value,
  5511. IInstallationResult **retval) = 0;
  5512. virtual HRESULT STDMETHODCALLTYPE Install(
  5513. IInstallationResult **retval) = 0;
  5514. virtual HRESULT STDMETHODCALLTYPE RunWizard(
  5515. BSTR dialogTitle,
  5516. IInstallationResult **retval) = 0;
  5517. virtual HRESULT STDMETHODCALLTYPE get_IsBusy(
  5518. VARIANT_BOOL *retval) = 0;
  5519. virtual HRESULT STDMETHODCALLTYPE Uninstall(
  5520. IInstallationResult **retval) = 0;
  5521. virtual HRESULT STDMETHODCALLTYPE get_AllowSourcePrompts(
  5522. VARIANT_BOOL *retval) = 0;
  5523. virtual HRESULT STDMETHODCALLTYPE put_AllowSourcePrompts(
  5524. VARIANT_BOOL value) = 0;
  5525. virtual HRESULT STDMETHODCALLTYPE get_RebootRequiredBeforeInstallation(
  5526. VARIANT_BOOL *retval) = 0;
  5527. };
  5528. #ifdef __CRT_UUID_DECL
  5529. __CRT_UUID_DECL(IUpdateInstaller, 0x7b929c68, 0xccdc, 0x4226, 0x96,0xb1, 0x87,0x24,0x60,0x0b,0x54,0xc2)
  5530. #endif
  5531. #else
  5532. typedef struct IUpdateInstallerVtbl {
  5533. BEGIN_INTERFACE
  5534. /*** IUnknown methods ***/
  5535. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5536. IUpdateInstaller *This,
  5537. REFIID riid,
  5538. void **ppvObject);
  5539. ULONG (STDMETHODCALLTYPE *AddRef)(
  5540. IUpdateInstaller *This);
  5541. ULONG (STDMETHODCALLTYPE *Release)(
  5542. IUpdateInstaller *This);
  5543. /*** IDispatch methods ***/
  5544. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  5545. IUpdateInstaller *This,
  5546. UINT *pctinfo);
  5547. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  5548. IUpdateInstaller *This,
  5549. UINT iTInfo,
  5550. LCID lcid,
  5551. ITypeInfo **ppTInfo);
  5552. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  5553. IUpdateInstaller *This,
  5554. REFIID riid,
  5555. LPOLESTR *rgszNames,
  5556. UINT cNames,
  5557. LCID lcid,
  5558. DISPID *rgDispId);
  5559. HRESULT (STDMETHODCALLTYPE *Invoke)(
  5560. IUpdateInstaller *This,
  5561. DISPID dispIdMember,
  5562. REFIID riid,
  5563. LCID lcid,
  5564. WORD wFlags,
  5565. DISPPARAMS *pDispParams,
  5566. VARIANT *pVarResult,
  5567. EXCEPINFO *pExcepInfo,
  5568. UINT *puArgErr);
  5569. /*** IUpdateInstaller methods ***/
  5570. HRESULT (STDMETHODCALLTYPE *get_ClientApplicationID)(
  5571. IUpdateInstaller *This,
  5572. BSTR *retval);
  5573. HRESULT (STDMETHODCALLTYPE *put_ClientApplicationID)(
  5574. IUpdateInstaller *This,
  5575. BSTR value);
  5576. HRESULT (STDMETHODCALLTYPE *get_IsForced)(
  5577. IUpdateInstaller *This,
  5578. VARIANT_BOOL *retval);
  5579. HRESULT (STDMETHODCALLTYPE *put_IsForced)(
  5580. IUpdateInstaller *This,
  5581. VARIANT_BOOL value);
  5582. HRESULT (STDMETHODCALLTYPE *get_ParentHwnd)(
  5583. IUpdateInstaller *This,
  5584. HWND *retval);
  5585. HRESULT (STDMETHODCALLTYPE *put_ParentHwnd)(
  5586. IUpdateInstaller *This,
  5587. HWND value);
  5588. HRESULT (STDMETHODCALLTYPE *put_ParentWindow)(
  5589. IUpdateInstaller *This,
  5590. IUnknown *value);
  5591. HRESULT (STDMETHODCALLTYPE *get_ParentWindow)(
  5592. IUpdateInstaller *This,
  5593. IUnknown **retval);
  5594. HRESULT (STDMETHODCALLTYPE *get_Updates)(
  5595. IUpdateInstaller *This,
  5596. IUpdateCollection **retval);
  5597. HRESULT (STDMETHODCALLTYPE *put_Updates)(
  5598. IUpdateInstaller *This,
  5599. IUpdateCollection *value);
  5600. HRESULT (STDMETHODCALLTYPE *BeginInstall)(
  5601. IUpdateInstaller *This,
  5602. IUnknown *onProgressChanged,
  5603. IUnknown *onCompleted,
  5604. VARIANT state,
  5605. IInstallationJob **retval);
  5606. HRESULT (STDMETHODCALLTYPE *BeginUninstall)(
  5607. IUpdateInstaller *This,
  5608. IUnknown *onProgressChanged,
  5609. IUnknown *onCompleted,
  5610. VARIANT state,
  5611. IInstallationJob **retval);
  5612. HRESULT (STDMETHODCALLTYPE *EndInstall)(
  5613. IUpdateInstaller *This,
  5614. IInstallationJob *value,
  5615. IInstallationResult **retval);
  5616. HRESULT (STDMETHODCALLTYPE *EndUninstall)(
  5617. IUpdateInstaller *This,
  5618. IInstallationJob *value,
  5619. IInstallationResult **retval);
  5620. HRESULT (STDMETHODCALLTYPE *Install)(
  5621. IUpdateInstaller *This,
  5622. IInstallationResult **retval);
  5623. HRESULT (STDMETHODCALLTYPE *RunWizard)(
  5624. IUpdateInstaller *This,
  5625. BSTR dialogTitle,
  5626. IInstallationResult **retval);
  5627. HRESULT (STDMETHODCALLTYPE *get_IsBusy)(
  5628. IUpdateInstaller *This,
  5629. VARIANT_BOOL *retval);
  5630. HRESULT (STDMETHODCALLTYPE *Uninstall)(
  5631. IUpdateInstaller *This,
  5632. IInstallationResult **retval);
  5633. HRESULT (STDMETHODCALLTYPE *get_AllowSourcePrompts)(
  5634. IUpdateInstaller *This,
  5635. VARIANT_BOOL *retval);
  5636. HRESULT (STDMETHODCALLTYPE *put_AllowSourcePrompts)(
  5637. IUpdateInstaller *This,
  5638. VARIANT_BOOL value);
  5639. HRESULT (STDMETHODCALLTYPE *get_RebootRequiredBeforeInstallation)(
  5640. IUpdateInstaller *This,
  5641. VARIANT_BOOL *retval);
  5642. END_INTERFACE
  5643. } IUpdateInstallerVtbl;
  5644. interface IUpdateInstaller {
  5645. CONST_VTBL IUpdateInstallerVtbl* lpVtbl;
  5646. };
  5647. #ifdef COBJMACROS
  5648. #ifndef WIDL_C_INLINE_WRAPPERS
  5649. /*** IUnknown methods ***/
  5650. #define IUpdateInstaller_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5651. #define IUpdateInstaller_AddRef(This) (This)->lpVtbl->AddRef(This)
  5652. #define IUpdateInstaller_Release(This) (This)->lpVtbl->Release(This)
  5653. /*** IDispatch methods ***/
  5654. #define IUpdateInstaller_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  5655. #define IUpdateInstaller_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5656. #define IUpdateInstaller_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5657. #define IUpdateInstaller_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5658. /*** IUpdateInstaller methods ***/
  5659. #define IUpdateInstaller_get_ClientApplicationID(This,retval) (This)->lpVtbl->get_ClientApplicationID(This,retval)
  5660. #define IUpdateInstaller_put_ClientApplicationID(This,value) (This)->lpVtbl->put_ClientApplicationID(This,value)
  5661. #define IUpdateInstaller_get_IsForced(This,retval) (This)->lpVtbl->get_IsForced(This,retval)
  5662. #define IUpdateInstaller_put_IsForced(This,value) (This)->lpVtbl->put_IsForced(This,value)
  5663. #define IUpdateInstaller_get_ParentHwnd(This,retval) (This)->lpVtbl->get_ParentHwnd(This,retval)
  5664. #define IUpdateInstaller_put_ParentHwnd(This,value) (This)->lpVtbl->put_ParentHwnd(This,value)
  5665. #define IUpdateInstaller_put_ParentWindow(This,value) (This)->lpVtbl->put_ParentWindow(This,value)
  5666. #define IUpdateInstaller_get_ParentWindow(This,retval) (This)->lpVtbl->get_ParentWindow(This,retval)
  5667. #define IUpdateInstaller_get_Updates(This,retval) (This)->lpVtbl->get_Updates(This,retval)
  5668. #define IUpdateInstaller_put_Updates(This,value) (This)->lpVtbl->put_Updates(This,value)
  5669. #define IUpdateInstaller_BeginInstall(This,onProgressChanged,onCompleted,state,retval) (This)->lpVtbl->BeginInstall(This,onProgressChanged,onCompleted,state,retval)
  5670. #define IUpdateInstaller_BeginUninstall(This,onProgressChanged,onCompleted,state,retval) (This)->lpVtbl->BeginUninstall(This,onProgressChanged,onCompleted,state,retval)
  5671. #define IUpdateInstaller_EndInstall(This,value,retval) (This)->lpVtbl->EndInstall(This,value,retval)
  5672. #define IUpdateInstaller_EndUninstall(This,value,retval) (This)->lpVtbl->EndUninstall(This,value,retval)
  5673. #define IUpdateInstaller_Install(This,retval) (This)->lpVtbl->Install(This,retval)
  5674. #define IUpdateInstaller_RunWizard(This,dialogTitle,retval) (This)->lpVtbl->RunWizard(This,dialogTitle,retval)
  5675. #define IUpdateInstaller_get_IsBusy(This,retval) (This)->lpVtbl->get_IsBusy(This,retval)
  5676. #define IUpdateInstaller_Uninstall(This,retval) (This)->lpVtbl->Uninstall(This,retval)
  5677. #define IUpdateInstaller_get_AllowSourcePrompts(This,retval) (This)->lpVtbl->get_AllowSourcePrompts(This,retval)
  5678. #define IUpdateInstaller_put_AllowSourcePrompts(This,value) (This)->lpVtbl->put_AllowSourcePrompts(This,value)
  5679. #define IUpdateInstaller_get_RebootRequiredBeforeInstallation(This,retval) (This)->lpVtbl->get_RebootRequiredBeforeInstallation(This,retval)
  5680. #else
  5681. /*** IUnknown methods ***/
  5682. static FORCEINLINE HRESULT IUpdateInstaller_QueryInterface(IUpdateInstaller* This,REFIID riid,void **ppvObject) {
  5683. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5684. }
  5685. static FORCEINLINE ULONG IUpdateInstaller_AddRef(IUpdateInstaller* This) {
  5686. return This->lpVtbl->AddRef(This);
  5687. }
  5688. static FORCEINLINE ULONG IUpdateInstaller_Release(IUpdateInstaller* This) {
  5689. return This->lpVtbl->Release(This);
  5690. }
  5691. /*** IDispatch methods ***/
  5692. static FORCEINLINE HRESULT IUpdateInstaller_GetTypeInfoCount(IUpdateInstaller* This,UINT *pctinfo) {
  5693. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  5694. }
  5695. static FORCEINLINE HRESULT IUpdateInstaller_GetTypeInfo(IUpdateInstaller* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  5696. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  5697. }
  5698. static FORCEINLINE HRESULT IUpdateInstaller_GetIDsOfNames(IUpdateInstaller* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  5699. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  5700. }
  5701. static FORCEINLINE HRESULT IUpdateInstaller_Invoke(IUpdateInstaller* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  5702. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  5703. }
  5704. /*** IUpdateInstaller methods ***/
  5705. static FORCEINLINE HRESULT IUpdateInstaller_get_ClientApplicationID(IUpdateInstaller* This,BSTR *retval) {
  5706. return This->lpVtbl->get_ClientApplicationID(This,retval);
  5707. }
  5708. static FORCEINLINE HRESULT IUpdateInstaller_put_ClientApplicationID(IUpdateInstaller* This,BSTR value) {
  5709. return This->lpVtbl->put_ClientApplicationID(This,value);
  5710. }
  5711. static FORCEINLINE HRESULT IUpdateInstaller_get_IsForced(IUpdateInstaller* This,VARIANT_BOOL *retval) {
  5712. return This->lpVtbl->get_IsForced(This,retval);
  5713. }
  5714. static FORCEINLINE HRESULT IUpdateInstaller_put_IsForced(IUpdateInstaller* This,VARIANT_BOOL value) {
  5715. return This->lpVtbl->put_IsForced(This,value);
  5716. }
  5717. static FORCEINLINE HRESULT IUpdateInstaller_get_ParentHwnd(IUpdateInstaller* This,HWND *retval) {
  5718. return This->lpVtbl->get_ParentHwnd(This,retval);
  5719. }
  5720. static FORCEINLINE HRESULT IUpdateInstaller_put_ParentHwnd(IUpdateInstaller* This,HWND value) {
  5721. return This->lpVtbl->put_ParentHwnd(This,value);
  5722. }
  5723. static FORCEINLINE HRESULT IUpdateInstaller_put_ParentWindow(IUpdateInstaller* This,IUnknown *value) {
  5724. return This->lpVtbl->put_ParentWindow(This,value);
  5725. }
  5726. static FORCEINLINE HRESULT IUpdateInstaller_get_ParentWindow(IUpdateInstaller* This,IUnknown **retval) {
  5727. return This->lpVtbl->get_ParentWindow(This,retval);
  5728. }
  5729. static FORCEINLINE HRESULT IUpdateInstaller_get_Updates(IUpdateInstaller* This,IUpdateCollection **retval) {
  5730. return This->lpVtbl->get_Updates(This,retval);
  5731. }
  5732. static FORCEINLINE HRESULT IUpdateInstaller_put_Updates(IUpdateInstaller* This,IUpdateCollection *value) {
  5733. return This->lpVtbl->put_Updates(This,value);
  5734. }
  5735. static FORCEINLINE HRESULT IUpdateInstaller_BeginInstall(IUpdateInstaller* This,IUnknown *onProgressChanged,IUnknown *onCompleted,VARIANT state,IInstallationJob **retval) {
  5736. return This->lpVtbl->BeginInstall(This,onProgressChanged,onCompleted,state,retval);
  5737. }
  5738. static FORCEINLINE HRESULT IUpdateInstaller_BeginUninstall(IUpdateInstaller* This,IUnknown *onProgressChanged,IUnknown *onCompleted,VARIANT state,IInstallationJob **retval) {
  5739. return This->lpVtbl->BeginUninstall(This,onProgressChanged,onCompleted,state,retval);
  5740. }
  5741. static FORCEINLINE HRESULT IUpdateInstaller_EndInstall(IUpdateInstaller* This,IInstallationJob *value,IInstallationResult **retval) {
  5742. return This->lpVtbl->EndInstall(This,value,retval);
  5743. }
  5744. static FORCEINLINE HRESULT IUpdateInstaller_EndUninstall(IUpdateInstaller* This,IInstallationJob *value,IInstallationResult **retval) {
  5745. return This->lpVtbl->EndUninstall(This,value,retval);
  5746. }
  5747. static FORCEINLINE HRESULT IUpdateInstaller_Install(IUpdateInstaller* This,IInstallationResult **retval) {
  5748. return This->lpVtbl->Install(This,retval);
  5749. }
  5750. static FORCEINLINE HRESULT IUpdateInstaller_RunWizard(IUpdateInstaller* This,BSTR dialogTitle,IInstallationResult **retval) {
  5751. return This->lpVtbl->RunWizard(This,dialogTitle,retval);
  5752. }
  5753. static FORCEINLINE HRESULT IUpdateInstaller_get_IsBusy(IUpdateInstaller* This,VARIANT_BOOL *retval) {
  5754. return This->lpVtbl->get_IsBusy(This,retval);
  5755. }
  5756. static FORCEINLINE HRESULT IUpdateInstaller_Uninstall(IUpdateInstaller* This,IInstallationResult **retval) {
  5757. return This->lpVtbl->Uninstall(This,retval);
  5758. }
  5759. static FORCEINLINE HRESULT IUpdateInstaller_get_AllowSourcePrompts(IUpdateInstaller* This,VARIANT_BOOL *retval) {
  5760. return This->lpVtbl->get_AllowSourcePrompts(This,retval);
  5761. }
  5762. static FORCEINLINE HRESULT IUpdateInstaller_put_AllowSourcePrompts(IUpdateInstaller* This,VARIANT_BOOL value) {
  5763. return This->lpVtbl->put_AllowSourcePrompts(This,value);
  5764. }
  5765. static FORCEINLINE HRESULT IUpdateInstaller_get_RebootRequiredBeforeInstallation(IUpdateInstaller* This,VARIANT_BOOL *retval) {
  5766. return This->lpVtbl->get_RebootRequiredBeforeInstallation(This,retval);
  5767. }
  5768. #endif
  5769. #endif
  5770. #endif
  5771. #endif /* __IUpdateInstaller_INTERFACE_DEFINED__ */
  5772. /*****************************************************************************
  5773. * ISystemInformation interface
  5774. */
  5775. #ifndef __ISystemInformation_INTERFACE_DEFINED__
  5776. #define __ISystemInformation_INTERFACE_DEFINED__
  5777. DEFINE_GUID(IID_ISystemInformation, 0xade87bf7, 0x7b56, 0x4275, 0x8f,0xab, 0xb9,0xb0,0xe5,0x91,0x84,0x4b);
  5778. #if defined(__cplusplus) && !defined(CINTERFACE)
  5779. MIDL_INTERFACE("ade87bf7-7b56-4275-8fab-b9b0e591844b")
  5780. ISystemInformation : public IDispatch
  5781. {
  5782. virtual HRESULT STDMETHODCALLTYPE get_OemHardwareSupportLink(
  5783. BSTR *retval) = 0;
  5784. virtual HRESULT STDMETHODCALLTYPE get_RebootRequired(
  5785. VARIANT_BOOL *retval) = 0;
  5786. };
  5787. #ifdef __CRT_UUID_DECL
  5788. __CRT_UUID_DECL(ISystemInformation, 0xade87bf7, 0x7b56, 0x4275, 0x8f,0xab, 0xb9,0xb0,0xe5,0x91,0x84,0x4b)
  5789. #endif
  5790. #else
  5791. typedef struct ISystemInformationVtbl {
  5792. BEGIN_INTERFACE
  5793. /*** IUnknown methods ***/
  5794. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5795. ISystemInformation *This,
  5796. REFIID riid,
  5797. void **ppvObject);
  5798. ULONG (STDMETHODCALLTYPE *AddRef)(
  5799. ISystemInformation *This);
  5800. ULONG (STDMETHODCALLTYPE *Release)(
  5801. ISystemInformation *This);
  5802. /*** IDispatch methods ***/
  5803. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  5804. ISystemInformation *This,
  5805. UINT *pctinfo);
  5806. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  5807. ISystemInformation *This,
  5808. UINT iTInfo,
  5809. LCID lcid,
  5810. ITypeInfo **ppTInfo);
  5811. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  5812. ISystemInformation *This,
  5813. REFIID riid,
  5814. LPOLESTR *rgszNames,
  5815. UINT cNames,
  5816. LCID lcid,
  5817. DISPID *rgDispId);
  5818. HRESULT (STDMETHODCALLTYPE *Invoke)(
  5819. ISystemInformation *This,
  5820. DISPID dispIdMember,
  5821. REFIID riid,
  5822. LCID lcid,
  5823. WORD wFlags,
  5824. DISPPARAMS *pDispParams,
  5825. VARIANT *pVarResult,
  5826. EXCEPINFO *pExcepInfo,
  5827. UINT *puArgErr);
  5828. /*** ISystemInformation methods ***/
  5829. HRESULT (STDMETHODCALLTYPE *get_OemHardwareSupportLink)(
  5830. ISystemInformation *This,
  5831. BSTR *retval);
  5832. HRESULT (STDMETHODCALLTYPE *get_RebootRequired)(
  5833. ISystemInformation *This,
  5834. VARIANT_BOOL *retval);
  5835. END_INTERFACE
  5836. } ISystemInformationVtbl;
  5837. interface ISystemInformation {
  5838. CONST_VTBL ISystemInformationVtbl* lpVtbl;
  5839. };
  5840. #ifdef COBJMACROS
  5841. #ifndef WIDL_C_INLINE_WRAPPERS
  5842. /*** IUnknown methods ***/
  5843. #define ISystemInformation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5844. #define ISystemInformation_AddRef(This) (This)->lpVtbl->AddRef(This)
  5845. #define ISystemInformation_Release(This) (This)->lpVtbl->Release(This)
  5846. /*** IDispatch methods ***/
  5847. #define ISystemInformation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  5848. #define ISystemInformation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5849. #define ISystemInformation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5850. #define ISystemInformation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5851. /*** ISystemInformation methods ***/
  5852. #define ISystemInformation_get_OemHardwareSupportLink(This,retval) (This)->lpVtbl->get_OemHardwareSupportLink(This,retval)
  5853. #define ISystemInformation_get_RebootRequired(This,retval) (This)->lpVtbl->get_RebootRequired(This,retval)
  5854. #else
  5855. /*** IUnknown methods ***/
  5856. static FORCEINLINE HRESULT ISystemInformation_QueryInterface(ISystemInformation* This,REFIID riid,void **ppvObject) {
  5857. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5858. }
  5859. static FORCEINLINE ULONG ISystemInformation_AddRef(ISystemInformation* This) {
  5860. return This->lpVtbl->AddRef(This);
  5861. }
  5862. static FORCEINLINE ULONG ISystemInformation_Release(ISystemInformation* This) {
  5863. return This->lpVtbl->Release(This);
  5864. }
  5865. /*** IDispatch methods ***/
  5866. static FORCEINLINE HRESULT ISystemInformation_GetTypeInfoCount(ISystemInformation* This,UINT *pctinfo) {
  5867. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  5868. }
  5869. static FORCEINLINE HRESULT ISystemInformation_GetTypeInfo(ISystemInformation* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  5870. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  5871. }
  5872. static FORCEINLINE HRESULT ISystemInformation_GetIDsOfNames(ISystemInformation* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  5873. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  5874. }
  5875. static FORCEINLINE HRESULT ISystemInformation_Invoke(ISystemInformation* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  5876. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  5877. }
  5878. /*** ISystemInformation methods ***/
  5879. static FORCEINLINE HRESULT ISystemInformation_get_OemHardwareSupportLink(ISystemInformation* This,BSTR *retval) {
  5880. return This->lpVtbl->get_OemHardwareSupportLink(This,retval);
  5881. }
  5882. static FORCEINLINE HRESULT ISystemInformation_get_RebootRequired(ISystemInformation* This,VARIANT_BOOL *retval) {
  5883. return This->lpVtbl->get_RebootRequired(This,retval);
  5884. }
  5885. #endif
  5886. #endif
  5887. #endif
  5888. #endif /* __ISystemInformation_INTERFACE_DEFINED__ */
  5889. /*****************************************************************************
  5890. * IWindowsUpdateAgentInfo interface
  5891. */
  5892. #ifndef __IWindowsUpdateAgentInfo_INTERFACE_DEFINED__
  5893. #define __IWindowsUpdateAgentInfo_INTERFACE_DEFINED__
  5894. DEFINE_GUID(IID_IWindowsUpdateAgentInfo, 0x85713fa1, 0x7796, 0x4fa2, 0xbe,0x3b, 0xe2,0xd6,0x12,0x4d,0xd3,0x73);
  5895. #if defined(__cplusplus) && !defined(CINTERFACE)
  5896. MIDL_INTERFACE("85713fa1-7796-4fa2-be3b-e2d6124dd373")
  5897. IWindowsUpdateAgentInfo : public IDispatch
  5898. {
  5899. virtual HRESULT STDMETHODCALLTYPE GetInfo(
  5900. VARIANT varInfoIdentifier,
  5901. VARIANT *retval) = 0;
  5902. };
  5903. #ifdef __CRT_UUID_DECL
  5904. __CRT_UUID_DECL(IWindowsUpdateAgentInfo, 0x85713fa1, 0x7796, 0x4fa2, 0xbe,0x3b, 0xe2,0xd6,0x12,0x4d,0xd3,0x73)
  5905. #endif
  5906. #else
  5907. typedef struct IWindowsUpdateAgentInfoVtbl {
  5908. BEGIN_INTERFACE
  5909. /*** IUnknown methods ***/
  5910. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5911. IWindowsUpdateAgentInfo *This,
  5912. REFIID riid,
  5913. void **ppvObject);
  5914. ULONG (STDMETHODCALLTYPE *AddRef)(
  5915. IWindowsUpdateAgentInfo *This);
  5916. ULONG (STDMETHODCALLTYPE *Release)(
  5917. IWindowsUpdateAgentInfo *This);
  5918. /*** IDispatch methods ***/
  5919. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  5920. IWindowsUpdateAgentInfo *This,
  5921. UINT *pctinfo);
  5922. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  5923. IWindowsUpdateAgentInfo *This,
  5924. UINT iTInfo,
  5925. LCID lcid,
  5926. ITypeInfo **ppTInfo);
  5927. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  5928. IWindowsUpdateAgentInfo *This,
  5929. REFIID riid,
  5930. LPOLESTR *rgszNames,
  5931. UINT cNames,
  5932. LCID lcid,
  5933. DISPID *rgDispId);
  5934. HRESULT (STDMETHODCALLTYPE *Invoke)(
  5935. IWindowsUpdateAgentInfo *This,
  5936. DISPID dispIdMember,
  5937. REFIID riid,
  5938. LCID lcid,
  5939. WORD wFlags,
  5940. DISPPARAMS *pDispParams,
  5941. VARIANT *pVarResult,
  5942. EXCEPINFO *pExcepInfo,
  5943. UINT *puArgErr);
  5944. /*** IWindowsUpdateAgentInfo methods ***/
  5945. HRESULT (STDMETHODCALLTYPE *GetInfo)(
  5946. IWindowsUpdateAgentInfo *This,
  5947. VARIANT varInfoIdentifier,
  5948. VARIANT *retval);
  5949. END_INTERFACE
  5950. } IWindowsUpdateAgentInfoVtbl;
  5951. interface IWindowsUpdateAgentInfo {
  5952. CONST_VTBL IWindowsUpdateAgentInfoVtbl* lpVtbl;
  5953. };
  5954. #ifdef COBJMACROS
  5955. #ifndef WIDL_C_INLINE_WRAPPERS
  5956. /*** IUnknown methods ***/
  5957. #define IWindowsUpdateAgentInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5958. #define IWindowsUpdateAgentInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
  5959. #define IWindowsUpdateAgentInfo_Release(This) (This)->lpVtbl->Release(This)
  5960. /*** IDispatch methods ***/
  5961. #define IWindowsUpdateAgentInfo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  5962. #define IWindowsUpdateAgentInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5963. #define IWindowsUpdateAgentInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5964. #define IWindowsUpdateAgentInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5965. /*** IWindowsUpdateAgentInfo methods ***/
  5966. #define IWindowsUpdateAgentInfo_GetInfo(This,varInfoIdentifier,retval) (This)->lpVtbl->GetInfo(This,varInfoIdentifier,retval)
  5967. #else
  5968. /*** IUnknown methods ***/
  5969. static FORCEINLINE HRESULT IWindowsUpdateAgentInfo_QueryInterface(IWindowsUpdateAgentInfo* This,REFIID riid,void **ppvObject) {
  5970. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5971. }
  5972. static FORCEINLINE ULONG IWindowsUpdateAgentInfo_AddRef(IWindowsUpdateAgentInfo* This) {
  5973. return This->lpVtbl->AddRef(This);
  5974. }
  5975. static FORCEINLINE ULONG IWindowsUpdateAgentInfo_Release(IWindowsUpdateAgentInfo* This) {
  5976. return This->lpVtbl->Release(This);
  5977. }
  5978. /*** IDispatch methods ***/
  5979. static FORCEINLINE HRESULT IWindowsUpdateAgentInfo_GetTypeInfoCount(IWindowsUpdateAgentInfo* This,UINT *pctinfo) {
  5980. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  5981. }
  5982. static FORCEINLINE HRESULT IWindowsUpdateAgentInfo_GetTypeInfo(IWindowsUpdateAgentInfo* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  5983. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  5984. }
  5985. static FORCEINLINE HRESULT IWindowsUpdateAgentInfo_GetIDsOfNames(IWindowsUpdateAgentInfo* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  5986. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  5987. }
  5988. static FORCEINLINE HRESULT IWindowsUpdateAgentInfo_Invoke(IWindowsUpdateAgentInfo* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  5989. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  5990. }
  5991. /*** IWindowsUpdateAgentInfo methods ***/
  5992. static FORCEINLINE HRESULT IWindowsUpdateAgentInfo_GetInfo(IWindowsUpdateAgentInfo* This,VARIANT varInfoIdentifier,VARIANT *retval) {
  5993. return This->lpVtbl->GetInfo(This,varInfoIdentifier,retval);
  5994. }
  5995. #endif
  5996. #endif
  5997. #endif
  5998. #endif /* __IWindowsUpdateAgentInfo_INTERFACE_DEFINED__ */
  5999. /*****************************************************************************
  6000. * AutomaticUpdates coclass
  6001. */
  6002. DEFINE_GUID(CLSID_AutomaticUpdates, 0xbfe18e9c, 0x6d87, 0x4450, 0xb3,0x7c, 0xe0,0x2f,0x0b,0x37,0x38,0x03);
  6003. #ifdef __cplusplus
  6004. class DECLSPEC_UUID("bfe18e9c-6d87-4450-b37c-e02f0b373803") AutomaticUpdates;
  6005. #ifdef __CRT_UUID_DECL
  6006. __CRT_UUID_DECL(AutomaticUpdates, 0xbfe18e9c, 0x6d87, 0x4450, 0xb3,0x7c, 0xe0,0x2f,0x0b,0x37,0x38,0x03)
  6007. #endif
  6008. #endif
  6009. /*****************************************************************************
  6010. * UpdateInstaller coclass
  6011. */
  6012. DEFINE_GUID(CLSID_UpdateInstaller, 0xd2e0fe7f, 0xd23e, 0x48e1, 0x93,0xc0, 0x6f,0xa8,0xcc,0x34,0x64,0x74);
  6013. #ifdef __cplusplus
  6014. class DECLSPEC_UUID("d2e0fe7f-d23e-48e1-93c0-6fa8cc346474") UpdateInstaller;
  6015. #ifdef __CRT_UUID_DECL
  6016. __CRT_UUID_DECL(UpdateInstaller, 0xd2e0fe7f, 0xd23e, 0x48e1, 0x93,0xc0, 0x6f,0xa8,0xcc,0x34,0x64,0x74)
  6017. #endif
  6018. #endif
  6019. /*****************************************************************************
  6020. * UpdateSession coclass
  6021. */
  6022. DEFINE_GUID(CLSID_UpdateSession, 0x4cb43d7f, 0x7eee, 0x4906, 0x86,0x98, 0x60,0xda,0x1c,0x38,0xf2,0xfe);
  6023. #ifdef __cplusplus
  6024. class DECLSPEC_UUID("4cb43d7f-7eee-4906-8698-60da1c38f2fe") UpdateSession;
  6025. #ifdef __CRT_UUID_DECL
  6026. __CRT_UUID_DECL(UpdateSession, 0x4cb43d7f, 0x7eee, 0x4906, 0x86,0x98, 0x60,0xda,0x1c,0x38,0xf2,0xfe)
  6027. #endif
  6028. #endif
  6029. /*****************************************************************************
  6030. * SystemInformation coclass
  6031. */
  6032. DEFINE_GUID(CLSID_SystemInformation, 0xc01b9ba0, 0xbea7, 0x41ba, 0xb6,0x04, 0xd0,0xa3,0x6f,0x46,0x91,0x33);
  6033. #ifdef __cplusplus
  6034. class DECLSPEC_UUID("c01b9ba0-bea7-41ba-b604-d0a36f469133") SystemInformation;
  6035. #ifdef __CRT_UUID_DECL
  6036. __CRT_UUID_DECL(SystemInformation, 0xc01b9ba0, 0xbea7, 0x41ba, 0xb6,0x04, 0xd0,0xa3,0x6f,0x46,0x91,0x33)
  6037. #endif
  6038. #endif
  6039. /*****************************************************************************
  6040. * WindowsUpdateAgentInfo coclass
  6041. */
  6042. DEFINE_GUID(CLSID_WindowsUpdateAgentInfo, 0xc2e88c2f, 0x6f5b, 0x4aaa, 0x89,0x4b, 0x55,0xc8,0x47,0xad,0x3a,0x2d);
  6043. #ifdef __cplusplus
  6044. class DECLSPEC_UUID("c2e88c2f-6f5b-4aaa-894b-55c847ad3a2d") WindowsUpdateAgentInfo;
  6045. #ifdef __CRT_UUID_DECL
  6046. __CRT_UUID_DECL(WindowsUpdateAgentInfo, 0xc2e88c2f, 0x6f5b, 0x4aaa, 0x89,0x4b, 0x55,0xc8,0x47,0xad,0x3a,0x2d)
  6047. #endif
  6048. #endif
  6049. #endif /* __WUApiLib_LIBRARY_DEFINED__ */
  6050. /* Begin additional prototypes for all interfaces */
  6051. ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
  6052. unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
  6053. unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
  6054. void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
  6055. ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *);
  6056. unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *);
  6057. unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
  6058. void __RPC_USER HWND_UserFree (ULONG *, HWND *);
  6059. ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *);
  6060. unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *);
  6061. unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
  6062. void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *);
  6063. /* End additional prototypes */
  6064. #ifdef __cplusplus
  6065. }
  6066. #endif
  6067. #endif /* __wuapi_h__ */