AgtSvr.h 492 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440
  1. /**************************************************************************
  2. * *
  3. * AgtSvr.h - Microsoft Agent Server *
  4. * *
  5. * Copyright (c) 1996-1999, Microsoft Corp. All rights reserved. *
  6. * *
  7. **************************************************************************/
  8. #if _MSC_VER < 1200
  9. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  10. /* File created by MIDL compiler version 3.01.75 */
  11. /* at Mon Aug 31 17:00:38 1998
  12. */
  13. /* Compiler settings for AgentServer.idl:
  14. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  15. error checks: none
  16. */
  17. //@@MIDL_FILE_HEADING( )
  18. #include "rpc.h"
  19. #include "rpcndr.h"
  20. #ifndef COM_NO_WINDOWS_H
  21. #include "windows.h"
  22. #include "ole2.h"
  23. #endif /*COM_NO_WINDOWS_H*/
  24. #ifndef __AgtSvrV5_h__
  25. #define __AgtSvrV5_h__
  26. #ifdef __cplusplus
  27. extern "C"{
  28. #endif
  29. /* Forward Declarations */
  30. #ifndef __IAgentUserInput_FWD_DEFINED__
  31. #define __IAgentUserInput_FWD_DEFINED__
  32. typedef interface IAgentUserInput IAgentUserInput;
  33. #endif /* __IAgentUserInput_FWD_DEFINED__ */
  34. #ifndef __IAgentCommand_FWD_DEFINED__
  35. #define __IAgentCommand_FWD_DEFINED__
  36. typedef interface IAgentCommand IAgentCommand;
  37. #endif /* __IAgentCommand_FWD_DEFINED__ */
  38. #ifndef __IAgentCommandEx_FWD_DEFINED__
  39. #define __IAgentCommandEx_FWD_DEFINED__
  40. typedef interface IAgentCommandEx IAgentCommandEx;
  41. #endif /* __IAgentCommandEx_FWD_DEFINED__ */
  42. #ifndef __IAgentCommands_FWD_DEFINED__
  43. #define __IAgentCommands_FWD_DEFINED__
  44. typedef interface IAgentCommands IAgentCommands;
  45. #endif /* __IAgentCommands_FWD_DEFINED__ */
  46. #ifndef __IAgentCommandsEx_FWD_DEFINED__
  47. #define __IAgentCommandsEx_FWD_DEFINED__
  48. typedef interface IAgentCommandsEx IAgentCommandsEx;
  49. #endif /* __IAgentCommandsEx_FWD_DEFINED__ */
  50. #ifndef __IAgentCommandWindow_FWD_DEFINED__
  51. #define __IAgentCommandWindow_FWD_DEFINED__
  52. typedef interface IAgentCommandWindow IAgentCommandWindow;
  53. #endif /* __IAgentCommandWindow_FWD_DEFINED__ */
  54. #ifndef __IAgentSpeechInputProperties_FWD_DEFINED__
  55. #define __IAgentSpeechInputProperties_FWD_DEFINED__
  56. typedef interface IAgentSpeechInputProperties IAgentSpeechInputProperties;
  57. #endif /* __IAgentSpeechInputProperties_FWD_DEFINED__ */
  58. #ifndef __IAgentAudioOutputProperties_FWD_DEFINED__
  59. #define __IAgentAudioOutputProperties_FWD_DEFINED__
  60. typedef interface IAgentAudioOutputProperties IAgentAudioOutputProperties;
  61. #endif /* __IAgentAudioOutputProperties_FWD_DEFINED__ */
  62. #ifndef __IAgentAudioOutputPropertiesEx_FWD_DEFINED__
  63. #define __IAgentAudioOutputPropertiesEx_FWD_DEFINED__
  64. typedef interface IAgentAudioOutputPropertiesEx IAgentAudioOutputPropertiesEx;
  65. #endif /* __IAgentAudioOutputPropertiesEx_FWD_DEFINED__ */
  66. #ifndef __IAgentPropertySheet_FWD_DEFINED__
  67. #define __IAgentPropertySheet_FWD_DEFINED__
  68. typedef interface IAgentPropertySheet IAgentPropertySheet;
  69. #endif /* __IAgentPropertySheet_FWD_DEFINED__ */
  70. #ifndef __IAgentBalloon_FWD_DEFINED__
  71. #define __IAgentBalloon_FWD_DEFINED__
  72. typedef interface IAgentBalloon IAgentBalloon;
  73. #endif /* __IAgentBalloon_FWD_DEFINED__ */
  74. #ifndef __IAgentBalloonEx_FWD_DEFINED__
  75. #define __IAgentBalloonEx_FWD_DEFINED__
  76. typedef interface IAgentBalloonEx IAgentBalloonEx;
  77. #endif /* __IAgentBalloonEx_FWD_DEFINED__ */
  78. #ifndef __IAgentCharacter_FWD_DEFINED__
  79. #define __IAgentCharacter_FWD_DEFINED__
  80. typedef interface IAgentCharacter IAgentCharacter;
  81. #endif /* __IAgentCharacter_FWD_DEFINED__ */
  82. #ifndef __IAgentCharacterEx_FWD_DEFINED__
  83. #define __IAgentCharacterEx_FWD_DEFINED__
  84. typedef interface IAgentCharacterEx IAgentCharacterEx;
  85. #endif /* __IAgentCharacterEx_FWD_DEFINED__ */
  86. #ifndef __IAgent_FWD_DEFINED__
  87. #define __IAgent_FWD_DEFINED__
  88. typedef interface IAgent IAgent;
  89. #endif /* __IAgent_FWD_DEFINED__ */
  90. #ifndef __IAgentEx_FWD_DEFINED__
  91. #define __IAgentEx_FWD_DEFINED__
  92. typedef interface IAgentEx IAgentEx;
  93. #endif /* __IAgentEx_FWD_DEFINED__ */
  94. #ifndef __IAgentNotifySink_FWD_DEFINED__
  95. #define __IAgentNotifySink_FWD_DEFINED__
  96. typedef interface IAgentNotifySink IAgentNotifySink;
  97. #endif /* __IAgentNotifySink_FWD_DEFINED__ */
  98. #ifndef __IAgentNotifySinkEx_FWD_DEFINED__
  99. #define __IAgentNotifySinkEx_FWD_DEFINED__
  100. typedef interface IAgentNotifySinkEx IAgentNotifySinkEx;
  101. #endif /* __IAgentNotifySinkEx_FWD_DEFINED__ */
  102. #ifndef __IAgentPrivateNotifySink_FWD_DEFINED__
  103. #define __IAgentPrivateNotifySink_FWD_DEFINED__
  104. typedef interface IAgentPrivateNotifySink IAgentPrivateNotifySink;
  105. #endif /* __IAgentPrivateNotifySink_FWD_DEFINED__ */
  106. #ifndef __IAgentCustomMarshalMaker_FWD_DEFINED__
  107. #define __IAgentCustomMarshalMaker_FWD_DEFINED__
  108. typedef interface IAgentCustomMarshalMaker IAgentCustomMarshalMaker;
  109. #endif /* __IAgentCustomMarshalMaker_FWD_DEFINED__ */
  110. #ifndef __IAgentClientStatus_FWD_DEFINED__
  111. #define __IAgentClientStatus_FWD_DEFINED__
  112. typedef interface IAgentClientStatus IAgentClientStatus;
  113. #endif /* __IAgentClientStatus_FWD_DEFINED__ */
  114. #ifndef __AgentServer_FWD_DEFINED__
  115. #define __AgentServer_FWD_DEFINED__
  116. #ifdef __cplusplus
  117. typedef class AgentServer AgentServer;
  118. #else
  119. typedef struct AgentServer AgentServer;
  120. #endif /* __cplusplus */
  121. #endif /* __AgentServer_FWD_DEFINED__ */
  122. #ifndef __IAgentUserInput_FWD_DEFINED__
  123. #define __IAgentUserInput_FWD_DEFINED__
  124. typedef interface IAgentUserInput IAgentUserInput;
  125. #endif /* __IAgentUserInput_FWD_DEFINED__ */
  126. #ifndef __IAgentCommand_FWD_DEFINED__
  127. #define __IAgentCommand_FWD_DEFINED__
  128. typedef interface IAgentCommand IAgentCommand;
  129. #endif /* __IAgentCommand_FWD_DEFINED__ */
  130. #ifndef __IAgentCommandEx_FWD_DEFINED__
  131. #define __IAgentCommandEx_FWD_DEFINED__
  132. typedef interface IAgentCommandEx IAgentCommandEx;
  133. #endif /* __IAgentCommandEx_FWD_DEFINED__ */
  134. #ifndef __IAgentCommands_FWD_DEFINED__
  135. #define __IAgentCommands_FWD_DEFINED__
  136. typedef interface IAgentCommands IAgentCommands;
  137. #endif /* __IAgentCommands_FWD_DEFINED__ */
  138. #ifndef __IAgentCommandsEx_FWD_DEFINED__
  139. #define __IAgentCommandsEx_FWD_DEFINED__
  140. typedef interface IAgentCommandsEx IAgentCommandsEx;
  141. #endif /* __IAgentCommandsEx_FWD_DEFINED__ */
  142. #ifndef __IAgentSpeechInputProperties_FWD_DEFINED__
  143. #define __IAgentSpeechInputProperties_FWD_DEFINED__
  144. typedef interface IAgentSpeechInputProperties IAgentSpeechInputProperties;
  145. #endif /* __IAgentSpeechInputProperties_FWD_DEFINED__ */
  146. #ifndef __IAgentAudioOutputProperties_FWD_DEFINED__
  147. #define __IAgentAudioOutputProperties_FWD_DEFINED__
  148. typedef interface IAgentAudioOutputProperties IAgentAudioOutputProperties;
  149. #endif /* __IAgentAudioOutputProperties_FWD_DEFINED__ */
  150. #ifndef __IAgentAudioOutputPropertiesEx_FWD_DEFINED__
  151. #define __IAgentAudioOutputPropertiesEx_FWD_DEFINED__
  152. typedef interface IAgentAudioOutputPropertiesEx IAgentAudioOutputPropertiesEx;
  153. #endif /* __IAgentAudioOutputPropertiesEx_FWD_DEFINED__ */
  154. #ifndef __IAgentPropertySheet_FWD_DEFINED__
  155. #define __IAgentPropertySheet_FWD_DEFINED__
  156. typedef interface IAgentPropertySheet IAgentPropertySheet;
  157. #endif /* __IAgentPropertySheet_FWD_DEFINED__ */
  158. #ifndef __IAgentBalloon_FWD_DEFINED__
  159. #define __IAgentBalloon_FWD_DEFINED__
  160. typedef interface IAgentBalloon IAgentBalloon;
  161. #endif /* __IAgentBalloon_FWD_DEFINED__ */
  162. #ifndef __IAgentBalloonEx_FWD_DEFINED__
  163. #define __IAgentBalloonEx_FWD_DEFINED__
  164. typedef interface IAgentBalloonEx IAgentBalloonEx;
  165. #endif /* __IAgentBalloonEx_FWD_DEFINED__ */
  166. #ifndef __IAgentCharacter_FWD_DEFINED__
  167. #define __IAgentCharacter_FWD_DEFINED__
  168. typedef interface IAgentCharacter IAgentCharacter;
  169. #endif /* __IAgentCharacter_FWD_DEFINED__ */
  170. #ifndef __IAgentCharacterEx_FWD_DEFINED__
  171. #define __IAgentCharacterEx_FWD_DEFINED__
  172. typedef interface IAgentCharacterEx IAgentCharacterEx;
  173. #endif /* __IAgentCharacterEx_FWD_DEFINED__ */
  174. #ifndef __IAgent_FWD_DEFINED__
  175. #define __IAgent_FWD_DEFINED__
  176. typedef interface IAgent IAgent;
  177. #endif /* __IAgent_FWD_DEFINED__ */
  178. #ifndef __IAgentEx_FWD_DEFINED__
  179. #define __IAgentEx_FWD_DEFINED__
  180. typedef interface IAgentEx IAgentEx;
  181. #endif /* __IAgentEx_FWD_DEFINED__ */
  182. #ifndef __IAgentNotifySink_FWD_DEFINED__
  183. #define __IAgentNotifySink_FWD_DEFINED__
  184. typedef interface IAgentNotifySink IAgentNotifySink;
  185. #endif /* __IAgentNotifySink_FWD_DEFINED__ */
  186. #ifndef __IAgentNotifySinkEx_FWD_DEFINED__
  187. #define __IAgentNotifySinkEx_FWD_DEFINED__
  188. typedef interface IAgentNotifySinkEx IAgentNotifySinkEx;
  189. #endif /* __IAgentNotifySinkEx_FWD_DEFINED__ */
  190. #ifndef __IAgentCommandWindow_FWD_DEFINED__
  191. #define __IAgentCommandWindow_FWD_DEFINED__
  192. typedef interface IAgentCommandWindow IAgentCommandWindow;
  193. #endif /* __IAgentCommandWindow_FWD_DEFINED__ */
  194. /* header files for imported files */
  195. #include "oaidl.h"
  196. #include "ocidl.h"
  197. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  198. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  199. /****************************************
  200. * Generated header for interface: __MIDL_itf_AgentServer_0000
  201. * at Mon Aug 31 17:00:38 1998
  202. * using MIDL 3.01.75
  203. ****************************************/
  204. /* [local] */
  205. #define NeverMoved ( 0 )
  206. #define UserMoved ( 1 )
  207. #define ProgramMoved ( 2 )
  208. #define OtherProgramMoved ( 3 )
  209. #define SystemMoved ( 4 )
  210. #define NeverShown ( 0 )
  211. #define UserHid ( 1 )
  212. #define UserShowed ( 2 )
  213. #define ProgramHid ( 3 )
  214. #define ProgramShowed ( 4 )
  215. #define OtherProgramHid ( 5 )
  216. #define OtherProgramShowed ( 6 )
  217. #define UserHidViaCharacterMenu ( 7 )
  218. #define UserHidViaTaskbarIcon ( UserHid )
  219. #define CSHELPCAUSE_COMMAND ( 1 )
  220. #define CSHELPCAUSE_OTHERPROGRAM ( 2 )
  221. #define CSHELPCAUSE_OPENCOMMANDSWINDOW ( 3 )
  222. #define CSHELPCAUSE_CLOSECOMMANDSWINDOW ( 4 )
  223. #define CSHELPCAUSE_SHOWCHARACTER ( 5 )
  224. #define CSHELPCAUSE_HIDECHARACTER ( 6 )
  225. #define CSHELPCAUSE_CHARACTER ( 7 )
  226. #define ACTIVATE_NOTTOPMOST ( 0 )
  227. #define ACTIVATE_TOPMOST ( 1 )
  228. #define ACTIVATE_NOTACTIVE ( 0 )
  229. #define ACTIVATE_ACTIVE ( 1 )
  230. #define ACTIVATE_INPUTACTIVE ( 2 )
  231. #define PREPARE_ANIMATION ( 0 )
  232. #define PREPARE_STATE ( 1 )
  233. #define PREPARE_WAVE ( 2 )
  234. #define STOP_TYPE_PLAY ( 0x1 )
  235. #define STOP_TYPE_MOVE ( 0x2 )
  236. #define STOP_TYPE_SPEAK ( 0x4 )
  237. #define STOP_TYPE_PREPARE ( 0x8 )
  238. #define STOP_TYPE_NONQUEUEDPREPARE ( 0x10 )
  239. #define STOP_TYPE_VISIBLE ( 0x20 )
  240. #define STOP_TYPE_ALL ( 0xffffffff )
  241. #define BALLOON_STYLE_BALLOON_ON ( 0x1 )
  242. #define BALLOON_STYLE_SIZETOTEXT ( 0x2 )
  243. #define BALLOON_STYLE_AUTOHIDE ( 0x4 )
  244. #define BALLOON_STYLE_AUTOPACE ( 0x8 )
  245. #define AUDIO_STATUS_AVAILABLE ( 0 )
  246. #define AUDIO_STATUS_NOAUDIO ( 1 )
  247. #define AUDIO_STATUS_CANTOPENAUDIO ( 2 )
  248. #define AUDIO_STATUS_USERSPEAKING ( 3 )
  249. #define AUDIO_STATUS_CHARACTERSPEAKING ( 4 )
  250. #define AUDIO_STATUS_SROVERRIDEABLE ( 5 )
  251. #define AUDIO_STATUS_ERROR ( 6 )
  252. #define LISTEN_STATUS_CANLISTEN ( 0 )
  253. #define LISTEN_STATUS_NOAUDIO ( 1 )
  254. #define LISTEN_STATUS_NOTACTIVE ( 2 )
  255. #define LISTEN_STATUS_CANTOPENAUDIO ( 3 )
  256. #define LISTEN_STATUS_COULDNTINITIALIZESPEECH ( 4 )
  257. #define LISTEN_STATUS_SPEECHDISABLED ( 5 )
  258. #define LISTEN_STATUS_ERROR ( 6 )
  259. #define MK_ICON ( 0x1000 )
  260. #define LSCOMPLETE_CAUSE_PROGRAMDISABLED ( 1 )
  261. #define LSCOMPLETE_CAUSE_PROGRAMTIMEDOUT ( 2 )
  262. #define LSCOMPLETE_CAUSE_USERTIMEDOUT ( 3 )
  263. #define LSCOMPLETE_CAUSE_USERRELEASEDKEY ( 4 )
  264. #define LSCOMPLETE_CAUSE_USERUTTERANCEENDED ( 5 )
  265. #define LSCOMPLETE_CAUSE_CLIENTDEACTIVATED ( 6 )
  266. #define LSCOMPLETE_CAUSE_DEFAULTCHARCHANGE ( 7 )
  267. #define LSCOMPLETE_CAUSE_USERDISABLED ( 8 )
  268. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0000_v0_0_c_ifspec;
  269. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0000_v0_0_s_ifspec;
  270. #ifndef __IAgentUserInput_INTERFACE_DEFINED__
  271. #define __IAgentUserInput_INTERFACE_DEFINED__
  272. /****************************************
  273. * Generated header for interface: IAgentUserInput
  274. * at Mon Aug 31 17:00:38 1998
  275. * using MIDL 3.01.75
  276. ****************************************/
  277. /* [unique][helpstring][dual][uuid][object] */
  278. EXTERN_C const IID IID_IAgentUserInput;
  279. #if defined(__cplusplus) && !defined(CINTERFACE)
  280. interface DECLSPEC_UUID("A7B93C80-7B81-11D0-AC5F-00C04FD97575")
  281. IAgentUserInput : public IDispatch
  282. {
  283. public:
  284. virtual HRESULT STDMETHODCALLTYPE GetCount(
  285. /* [out] */ long __RPC_FAR *pdwCount) = 0;
  286. virtual HRESULT STDMETHODCALLTYPE GetItemID(
  287. /* [in] */ long dwItemIndex,
  288. /* [out] */ long __RPC_FAR *pdwCommandID) = 0;
  289. virtual HRESULT STDMETHODCALLTYPE GetItemConfidence(
  290. /* [in] */ long dwItemIndex,
  291. /* [out] */ long __RPC_FAR *plConfidence) = 0;
  292. virtual HRESULT STDMETHODCALLTYPE GetItemText(
  293. /* [in] */ long dwItemIndex,
  294. /* [out] */ BSTR __RPC_FAR *pbszText) = 0;
  295. virtual HRESULT STDMETHODCALLTYPE GetAllItemData(
  296. /* [out] */ VARIANT __RPC_FAR *pdwItemIndices,
  297. /* [out] */ VARIANT __RPC_FAR *plConfidences,
  298. /* [out] */ VARIANT __RPC_FAR *pbszText) = 0;
  299. };
  300. #else /* C style interface */
  301. typedef struct IAgentUserInputVtbl
  302. {
  303. BEGIN_INTERFACE
  304. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  305. IAgentUserInput __RPC_FAR * This,
  306. /* [in] */ REFIID riid,
  307. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  308. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  309. IAgentUserInput __RPC_FAR * This);
  310. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  311. IAgentUserInput __RPC_FAR * This);
  312. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  313. IAgentUserInput __RPC_FAR * This,
  314. /* [out] */ UINT __RPC_FAR *pctinfo);
  315. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  316. IAgentUserInput __RPC_FAR * This,
  317. /* [in] */ UINT iTInfo,
  318. /* [in] */ LCID lcid,
  319. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  320. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  321. IAgentUserInput __RPC_FAR * This,
  322. /* [in] */ REFIID riid,
  323. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  324. /* [in] */ UINT cNames,
  325. /* [in] */ LCID lcid,
  326. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  327. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  328. IAgentUserInput __RPC_FAR * This,
  329. /* [in] */ DISPID dispIdMember,
  330. /* [in] */ REFIID riid,
  331. /* [in] */ LCID lcid,
  332. /* [in] */ WORD wFlags,
  333. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  334. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  335. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  336. /* [out] */ UINT __RPC_FAR *puArgErr);
  337. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )(
  338. IAgentUserInput __RPC_FAR * This,
  339. /* [out] */ long __RPC_FAR *pdwCount);
  340. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemID )(
  341. IAgentUserInput __RPC_FAR * This,
  342. /* [in] */ long dwItemIndex,
  343. /* [out] */ long __RPC_FAR *pdwCommandID);
  344. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemConfidence )(
  345. IAgentUserInput __RPC_FAR * This,
  346. /* [in] */ long dwItemIndex,
  347. /* [out] */ long __RPC_FAR *plConfidence);
  348. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemText )(
  349. IAgentUserInput __RPC_FAR * This,
  350. /* [in] */ long dwItemIndex,
  351. /* [out] */ BSTR __RPC_FAR *pbszText);
  352. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAllItemData )(
  353. IAgentUserInput __RPC_FAR * This,
  354. /* [out] */ VARIANT __RPC_FAR *pdwItemIndices,
  355. /* [out] */ VARIANT __RPC_FAR *plConfidences,
  356. /* [out] */ VARIANT __RPC_FAR *pbszText);
  357. END_INTERFACE
  358. } IAgentUserInputVtbl;
  359. interface IAgentUserInput
  360. {
  361. CONST_VTBL struct IAgentUserInputVtbl __RPC_FAR *lpVtbl;
  362. };
  363. #ifdef COBJMACROS
  364. #define IAgentUserInput_QueryInterface(This,riid,ppvObject) \
  365. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  366. #define IAgentUserInput_AddRef(This) \
  367. (This)->lpVtbl -> AddRef(This)
  368. #define IAgentUserInput_Release(This) \
  369. (This)->lpVtbl -> Release(This)
  370. #define IAgentUserInput_GetTypeInfoCount(This,pctinfo) \
  371. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  372. #define IAgentUserInput_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  373. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  374. #define IAgentUserInput_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  375. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  376. #define IAgentUserInput_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  377. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  378. #define IAgentUserInput_GetCount(This,pdwCount) \
  379. (This)->lpVtbl -> GetCount(This,pdwCount)
  380. #define IAgentUserInput_GetItemID(This,dwItemIndex,pdwCommandID) \
  381. (This)->lpVtbl -> GetItemID(This,dwItemIndex,pdwCommandID)
  382. #define IAgentUserInput_GetItemConfidence(This,dwItemIndex,plConfidence) \
  383. (This)->lpVtbl -> GetItemConfidence(This,dwItemIndex,plConfidence)
  384. #define IAgentUserInput_GetItemText(This,dwItemIndex,pbszText) \
  385. (This)->lpVtbl -> GetItemText(This,dwItemIndex,pbszText)
  386. #define IAgentUserInput_GetAllItemData(This,pdwItemIndices,plConfidences,pbszText) \
  387. (This)->lpVtbl -> GetAllItemData(This,pdwItemIndices,plConfidences,pbszText)
  388. #endif /* COBJMACROS */
  389. #endif /* C style interface */
  390. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetCount_Proxy(
  391. IAgentUserInput __RPC_FAR * This,
  392. /* [out] */ long __RPC_FAR *pdwCount);
  393. void __RPC_STUB IAgentUserInput_GetCount_Stub(
  394. IRpcStubBuffer *This,
  395. IRpcChannelBuffer *_pRpcChannelBuffer,
  396. PRPC_MESSAGE _pRpcMessage,
  397. DWORD *_pdwStubPhase);
  398. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetItemID_Proxy(
  399. IAgentUserInput __RPC_FAR * This,
  400. /* [in] */ long dwItemIndex,
  401. /* [out] */ long __RPC_FAR *pdwCommandID);
  402. void __RPC_STUB IAgentUserInput_GetItemID_Stub(
  403. IRpcStubBuffer *This,
  404. IRpcChannelBuffer *_pRpcChannelBuffer,
  405. PRPC_MESSAGE _pRpcMessage,
  406. DWORD *_pdwStubPhase);
  407. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetItemConfidence_Proxy(
  408. IAgentUserInput __RPC_FAR * This,
  409. /* [in] */ long dwItemIndex,
  410. /* [out] */ long __RPC_FAR *plConfidence);
  411. void __RPC_STUB IAgentUserInput_GetItemConfidence_Stub(
  412. IRpcStubBuffer *This,
  413. IRpcChannelBuffer *_pRpcChannelBuffer,
  414. PRPC_MESSAGE _pRpcMessage,
  415. DWORD *_pdwStubPhase);
  416. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetItemText_Proxy(
  417. IAgentUserInput __RPC_FAR * This,
  418. /* [in] */ long dwItemIndex,
  419. /* [out] */ BSTR __RPC_FAR *pbszText);
  420. void __RPC_STUB IAgentUserInput_GetItemText_Stub(
  421. IRpcStubBuffer *This,
  422. IRpcChannelBuffer *_pRpcChannelBuffer,
  423. PRPC_MESSAGE _pRpcMessage,
  424. DWORD *_pdwStubPhase);
  425. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetAllItemData_Proxy(
  426. IAgentUserInput __RPC_FAR * This,
  427. /* [out] */ VARIANT __RPC_FAR *pdwItemIndices,
  428. /* [out] */ VARIANT __RPC_FAR *plConfidences,
  429. /* [out] */ VARIANT __RPC_FAR *pbszText);
  430. void __RPC_STUB IAgentUserInput_GetAllItemData_Stub(
  431. IRpcStubBuffer *This,
  432. IRpcChannelBuffer *_pRpcChannelBuffer,
  433. PRPC_MESSAGE _pRpcMessage,
  434. DWORD *_pdwStubPhase);
  435. #endif /* __IAgentUserInput_INTERFACE_DEFINED__ */
  436. #ifndef __IAgentCommand_INTERFACE_DEFINED__
  437. #define __IAgentCommand_INTERFACE_DEFINED__
  438. /****************************************
  439. * Generated header for interface: IAgentCommand
  440. * at Mon Aug 31 17:00:38 1998
  441. * using MIDL 3.01.75
  442. ****************************************/
  443. /* [unique][helpstring][dual][uuid][object] */
  444. EXTERN_C const IID IID_IAgentCommand;
  445. #if defined(__cplusplus) && !defined(CINTERFACE)
  446. interface DECLSPEC_UUID("A7B93C83-7B81-11D0-AC5F-00C04FD97575")
  447. IAgentCommand : public IDispatch
  448. {
  449. public:
  450. virtual HRESULT STDMETHODCALLTYPE SetCaption(
  451. /* [in] */ BSTR bszCaption) = 0;
  452. virtual HRESULT STDMETHODCALLTYPE GetCaption(
  453. /* [out] */ BSTR __RPC_FAR *pbszCaption) = 0;
  454. virtual HRESULT STDMETHODCALLTYPE SetVoice(
  455. /* [in] */ BSTR bszVoice) = 0;
  456. virtual HRESULT STDMETHODCALLTYPE GetVoice(
  457. /* [out] */ BSTR __RPC_FAR *pbszVoice) = 0;
  458. virtual HRESULT STDMETHODCALLTYPE SetEnabled(
  459. /* [in] */ long bEnabled) = 0;
  460. virtual HRESULT STDMETHODCALLTYPE GetEnabled(
  461. /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  462. virtual HRESULT STDMETHODCALLTYPE SetVisible(
  463. /* [in] */ long bVisible) = 0;
  464. virtual HRESULT STDMETHODCALLTYPE GetVisible(
  465. /* [out] */ long __RPC_FAR *pbVisible) = 0;
  466. virtual HRESULT STDMETHODCALLTYPE SetConfidenceThreshold(
  467. /* [in] */ long lThreshold) = 0;
  468. virtual HRESULT STDMETHODCALLTYPE GetConfidenceThreshold(
  469. /* [out] */ long __RPC_FAR *plThreshold) = 0;
  470. virtual HRESULT STDMETHODCALLTYPE SetConfidenceText(
  471. /* [in] */ BSTR bszTipText) = 0;
  472. virtual HRESULT STDMETHODCALLTYPE GetConfidenceText(
  473. /* [out] */ BSTR __RPC_FAR *pbszTipText) = 0;
  474. virtual HRESULT STDMETHODCALLTYPE GetID(
  475. /* [out] */ long __RPC_FAR *pdwID) = 0;
  476. };
  477. #else /* C style interface */
  478. typedef struct IAgentCommandVtbl
  479. {
  480. BEGIN_INTERFACE
  481. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  482. IAgentCommand __RPC_FAR * This,
  483. /* [in] */ REFIID riid,
  484. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  485. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  486. IAgentCommand __RPC_FAR * This);
  487. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  488. IAgentCommand __RPC_FAR * This);
  489. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  490. IAgentCommand __RPC_FAR * This,
  491. /* [out] */ UINT __RPC_FAR *pctinfo);
  492. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  493. IAgentCommand __RPC_FAR * This,
  494. /* [in] */ UINT iTInfo,
  495. /* [in] */ LCID lcid,
  496. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  497. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  498. IAgentCommand __RPC_FAR * This,
  499. /* [in] */ REFIID riid,
  500. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  501. /* [in] */ UINT cNames,
  502. /* [in] */ LCID lcid,
  503. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  504. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  505. IAgentCommand __RPC_FAR * This,
  506. /* [in] */ DISPID dispIdMember,
  507. /* [in] */ REFIID riid,
  508. /* [in] */ LCID lcid,
  509. /* [in] */ WORD wFlags,
  510. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  511. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  512. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  513. /* [out] */ UINT __RPC_FAR *puArgErr);
  514. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )(
  515. IAgentCommand __RPC_FAR * This,
  516. /* [in] */ BSTR bszCaption);
  517. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )(
  518. IAgentCommand __RPC_FAR * This,
  519. /* [out] */ BSTR __RPC_FAR *pbszCaption);
  520. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )(
  521. IAgentCommand __RPC_FAR * This,
  522. /* [in] */ BSTR bszVoice);
  523. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )(
  524. IAgentCommand __RPC_FAR * This,
  525. /* [out] */ BSTR __RPC_FAR *pbszVoice);
  526. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEnabled )(
  527. IAgentCommand __RPC_FAR * This,
  528. /* [in] */ long bEnabled);
  529. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  530. IAgentCommand __RPC_FAR * This,
  531. /* [out] */ long __RPC_FAR *pbEnabled);
  532. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  533. IAgentCommand __RPC_FAR * This,
  534. /* [in] */ long bVisible);
  535. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  536. IAgentCommand __RPC_FAR * This,
  537. /* [out] */ long __RPC_FAR *pbVisible);
  538. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceThreshold )(
  539. IAgentCommand __RPC_FAR * This,
  540. /* [in] */ long lThreshold);
  541. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceThreshold )(
  542. IAgentCommand __RPC_FAR * This,
  543. /* [out] */ long __RPC_FAR *plThreshold);
  544. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceText )(
  545. IAgentCommand __RPC_FAR * This,
  546. /* [in] */ BSTR bszTipText);
  547. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceText )(
  548. IAgentCommand __RPC_FAR * This,
  549. /* [out] */ BSTR __RPC_FAR *pbszTipText);
  550. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetID )(
  551. IAgentCommand __RPC_FAR * This,
  552. /* [out] */ long __RPC_FAR *pdwID);
  553. END_INTERFACE
  554. } IAgentCommandVtbl;
  555. interface IAgentCommand
  556. {
  557. CONST_VTBL struct IAgentCommandVtbl __RPC_FAR *lpVtbl;
  558. };
  559. #ifdef COBJMACROS
  560. #define IAgentCommand_QueryInterface(This,riid,ppvObject) \
  561. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  562. #define IAgentCommand_AddRef(This) \
  563. (This)->lpVtbl -> AddRef(This)
  564. #define IAgentCommand_Release(This) \
  565. (This)->lpVtbl -> Release(This)
  566. #define IAgentCommand_GetTypeInfoCount(This,pctinfo) \
  567. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  568. #define IAgentCommand_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  569. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  570. #define IAgentCommand_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  571. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  572. #define IAgentCommand_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  573. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  574. #define IAgentCommand_SetCaption(This,bszCaption) \
  575. (This)->lpVtbl -> SetCaption(This,bszCaption)
  576. #define IAgentCommand_GetCaption(This,pbszCaption) \
  577. (This)->lpVtbl -> GetCaption(This,pbszCaption)
  578. #define IAgentCommand_SetVoice(This,bszVoice) \
  579. (This)->lpVtbl -> SetVoice(This,bszVoice)
  580. #define IAgentCommand_GetVoice(This,pbszVoice) \
  581. (This)->lpVtbl -> GetVoice(This,pbszVoice)
  582. #define IAgentCommand_SetEnabled(This,bEnabled) \
  583. (This)->lpVtbl -> SetEnabled(This,bEnabled)
  584. #define IAgentCommand_GetEnabled(This,pbEnabled) \
  585. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  586. #define IAgentCommand_SetVisible(This,bVisible) \
  587. (This)->lpVtbl -> SetVisible(This,bVisible)
  588. #define IAgentCommand_GetVisible(This,pbVisible) \
  589. (This)->lpVtbl -> GetVisible(This,pbVisible)
  590. #define IAgentCommand_SetConfidenceThreshold(This,lThreshold) \
  591. (This)->lpVtbl -> SetConfidenceThreshold(This,lThreshold)
  592. #define IAgentCommand_GetConfidenceThreshold(This,plThreshold) \
  593. (This)->lpVtbl -> GetConfidenceThreshold(This,plThreshold)
  594. #define IAgentCommand_SetConfidenceText(This,bszTipText) \
  595. (This)->lpVtbl -> SetConfidenceText(This,bszTipText)
  596. #define IAgentCommand_GetConfidenceText(This,pbszTipText) \
  597. (This)->lpVtbl -> GetConfidenceText(This,pbszTipText)
  598. #define IAgentCommand_GetID(This,pdwID) \
  599. (This)->lpVtbl -> GetID(This,pdwID)
  600. #endif /* COBJMACROS */
  601. #endif /* C style interface */
  602. HRESULT STDMETHODCALLTYPE IAgentCommand_SetCaption_Proxy(
  603. IAgentCommand __RPC_FAR * This,
  604. /* [in] */ BSTR bszCaption);
  605. void __RPC_STUB IAgentCommand_SetCaption_Stub(
  606. IRpcStubBuffer *This,
  607. IRpcChannelBuffer *_pRpcChannelBuffer,
  608. PRPC_MESSAGE _pRpcMessage,
  609. DWORD *_pdwStubPhase);
  610. HRESULT STDMETHODCALLTYPE IAgentCommand_GetCaption_Proxy(
  611. IAgentCommand __RPC_FAR * This,
  612. /* [out] */ BSTR __RPC_FAR *pbszCaption);
  613. void __RPC_STUB IAgentCommand_GetCaption_Stub(
  614. IRpcStubBuffer *This,
  615. IRpcChannelBuffer *_pRpcChannelBuffer,
  616. PRPC_MESSAGE _pRpcMessage,
  617. DWORD *_pdwStubPhase);
  618. HRESULT STDMETHODCALLTYPE IAgentCommand_SetVoice_Proxy(
  619. IAgentCommand __RPC_FAR * This,
  620. /* [in] */ BSTR bszVoice);
  621. void __RPC_STUB IAgentCommand_SetVoice_Stub(
  622. IRpcStubBuffer *This,
  623. IRpcChannelBuffer *_pRpcChannelBuffer,
  624. PRPC_MESSAGE _pRpcMessage,
  625. DWORD *_pdwStubPhase);
  626. HRESULT STDMETHODCALLTYPE IAgentCommand_GetVoice_Proxy(
  627. IAgentCommand __RPC_FAR * This,
  628. /* [out] */ BSTR __RPC_FAR *pbszVoice);
  629. void __RPC_STUB IAgentCommand_GetVoice_Stub(
  630. IRpcStubBuffer *This,
  631. IRpcChannelBuffer *_pRpcChannelBuffer,
  632. PRPC_MESSAGE _pRpcMessage,
  633. DWORD *_pdwStubPhase);
  634. HRESULT STDMETHODCALLTYPE IAgentCommand_SetEnabled_Proxy(
  635. IAgentCommand __RPC_FAR * This,
  636. /* [in] */ long bEnabled);
  637. void __RPC_STUB IAgentCommand_SetEnabled_Stub(
  638. IRpcStubBuffer *This,
  639. IRpcChannelBuffer *_pRpcChannelBuffer,
  640. PRPC_MESSAGE _pRpcMessage,
  641. DWORD *_pdwStubPhase);
  642. HRESULT STDMETHODCALLTYPE IAgentCommand_GetEnabled_Proxy(
  643. IAgentCommand __RPC_FAR * This,
  644. /* [out] */ long __RPC_FAR *pbEnabled);
  645. void __RPC_STUB IAgentCommand_GetEnabled_Stub(
  646. IRpcStubBuffer *This,
  647. IRpcChannelBuffer *_pRpcChannelBuffer,
  648. PRPC_MESSAGE _pRpcMessage,
  649. DWORD *_pdwStubPhase);
  650. HRESULT STDMETHODCALLTYPE IAgentCommand_SetVisible_Proxy(
  651. IAgentCommand __RPC_FAR * This,
  652. /* [in] */ long bVisible);
  653. void __RPC_STUB IAgentCommand_SetVisible_Stub(
  654. IRpcStubBuffer *This,
  655. IRpcChannelBuffer *_pRpcChannelBuffer,
  656. PRPC_MESSAGE _pRpcMessage,
  657. DWORD *_pdwStubPhase);
  658. HRESULT STDMETHODCALLTYPE IAgentCommand_GetVisible_Proxy(
  659. IAgentCommand __RPC_FAR * This,
  660. /* [out] */ long __RPC_FAR *pbVisible);
  661. void __RPC_STUB IAgentCommand_GetVisible_Stub(
  662. IRpcStubBuffer *This,
  663. IRpcChannelBuffer *_pRpcChannelBuffer,
  664. PRPC_MESSAGE _pRpcMessage,
  665. DWORD *_pdwStubPhase);
  666. HRESULT STDMETHODCALLTYPE IAgentCommand_SetConfidenceThreshold_Proxy(
  667. IAgentCommand __RPC_FAR * This,
  668. /* [in] */ long lThreshold);
  669. void __RPC_STUB IAgentCommand_SetConfidenceThreshold_Stub(
  670. IRpcStubBuffer *This,
  671. IRpcChannelBuffer *_pRpcChannelBuffer,
  672. PRPC_MESSAGE _pRpcMessage,
  673. DWORD *_pdwStubPhase);
  674. HRESULT STDMETHODCALLTYPE IAgentCommand_GetConfidenceThreshold_Proxy(
  675. IAgentCommand __RPC_FAR * This,
  676. /* [out] */ long __RPC_FAR *plThreshold);
  677. void __RPC_STUB IAgentCommand_GetConfidenceThreshold_Stub(
  678. IRpcStubBuffer *This,
  679. IRpcChannelBuffer *_pRpcChannelBuffer,
  680. PRPC_MESSAGE _pRpcMessage,
  681. DWORD *_pdwStubPhase);
  682. HRESULT STDMETHODCALLTYPE IAgentCommand_SetConfidenceText_Proxy(
  683. IAgentCommand __RPC_FAR * This,
  684. /* [in] */ BSTR bszTipText);
  685. void __RPC_STUB IAgentCommand_SetConfidenceText_Stub(
  686. IRpcStubBuffer *This,
  687. IRpcChannelBuffer *_pRpcChannelBuffer,
  688. PRPC_MESSAGE _pRpcMessage,
  689. DWORD *_pdwStubPhase);
  690. HRESULT STDMETHODCALLTYPE IAgentCommand_GetConfidenceText_Proxy(
  691. IAgentCommand __RPC_FAR * This,
  692. /* [out] */ BSTR __RPC_FAR *pbszTipText);
  693. void __RPC_STUB IAgentCommand_GetConfidenceText_Stub(
  694. IRpcStubBuffer *This,
  695. IRpcChannelBuffer *_pRpcChannelBuffer,
  696. PRPC_MESSAGE _pRpcMessage,
  697. DWORD *_pdwStubPhase);
  698. HRESULT STDMETHODCALLTYPE IAgentCommand_GetID_Proxy(
  699. IAgentCommand __RPC_FAR * This,
  700. /* [out] */ long __RPC_FAR *pdwID);
  701. void __RPC_STUB IAgentCommand_GetID_Stub(
  702. IRpcStubBuffer *This,
  703. IRpcChannelBuffer *_pRpcChannelBuffer,
  704. PRPC_MESSAGE _pRpcMessage,
  705. DWORD *_pdwStubPhase);
  706. #endif /* __IAgentCommand_INTERFACE_DEFINED__ */
  707. #ifndef __IAgentCommandEx_INTERFACE_DEFINED__
  708. #define __IAgentCommandEx_INTERFACE_DEFINED__
  709. /****************************************
  710. * Generated header for interface: IAgentCommandEx
  711. * at Mon Aug 31 17:00:38 1998
  712. * using MIDL 3.01.75
  713. ****************************************/
  714. /* [unique][helpstring][dual][uuid][object] */
  715. EXTERN_C const IID IID_IAgentCommandEx;
  716. #if defined(__cplusplus) && !defined(CINTERFACE)
  717. interface DECLSPEC_UUID("B0913412-3B44-11d1-ACBA-00C04FD97575")
  718. IAgentCommandEx : public IAgentCommand
  719. {
  720. public:
  721. virtual HRESULT STDMETHODCALLTYPE SetHelpContextID(
  722. /* [in] */ long ulID) = 0;
  723. virtual HRESULT STDMETHODCALLTYPE GetHelpContextID(
  724. /* [out] */ long __RPC_FAR *pulID) = 0;
  725. virtual HRESULT STDMETHODCALLTYPE SetVoiceCaption(
  726. /* [in] */ BSTR bszVoiceCaption) = 0;
  727. virtual HRESULT STDMETHODCALLTYPE GetVoiceCaption(
  728. /* [out] */ BSTR __RPC_FAR *pbszVoiceCaption) = 0;
  729. };
  730. #else /* C style interface */
  731. typedef struct IAgentCommandExVtbl
  732. {
  733. BEGIN_INTERFACE
  734. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  735. IAgentCommandEx __RPC_FAR * This,
  736. /* [in] */ REFIID riid,
  737. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  738. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  739. IAgentCommandEx __RPC_FAR * This);
  740. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  741. IAgentCommandEx __RPC_FAR * This);
  742. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  743. IAgentCommandEx __RPC_FAR * This,
  744. /* [out] */ UINT __RPC_FAR *pctinfo);
  745. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  746. IAgentCommandEx __RPC_FAR * This,
  747. /* [in] */ UINT iTInfo,
  748. /* [in] */ LCID lcid,
  749. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  750. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  751. IAgentCommandEx __RPC_FAR * This,
  752. /* [in] */ REFIID riid,
  753. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  754. /* [in] */ UINT cNames,
  755. /* [in] */ LCID lcid,
  756. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  757. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  758. IAgentCommandEx __RPC_FAR * This,
  759. /* [in] */ DISPID dispIdMember,
  760. /* [in] */ REFIID riid,
  761. /* [in] */ LCID lcid,
  762. /* [in] */ WORD wFlags,
  763. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  764. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  765. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  766. /* [out] */ UINT __RPC_FAR *puArgErr);
  767. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )(
  768. IAgentCommandEx __RPC_FAR * This,
  769. /* [in] */ BSTR bszCaption);
  770. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )(
  771. IAgentCommandEx __RPC_FAR * This,
  772. /* [out] */ BSTR __RPC_FAR *pbszCaption);
  773. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )(
  774. IAgentCommandEx __RPC_FAR * This,
  775. /* [in] */ BSTR bszVoice);
  776. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )(
  777. IAgentCommandEx __RPC_FAR * This,
  778. /* [out] */ BSTR __RPC_FAR *pbszVoice);
  779. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEnabled )(
  780. IAgentCommandEx __RPC_FAR * This,
  781. /* [in] */ long bEnabled);
  782. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  783. IAgentCommandEx __RPC_FAR * This,
  784. /* [out] */ long __RPC_FAR *pbEnabled);
  785. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  786. IAgentCommandEx __RPC_FAR * This,
  787. /* [in] */ long bVisible);
  788. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  789. IAgentCommandEx __RPC_FAR * This,
  790. /* [out] */ long __RPC_FAR *pbVisible);
  791. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceThreshold )(
  792. IAgentCommandEx __RPC_FAR * This,
  793. /* [in] */ long lThreshold);
  794. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceThreshold )(
  795. IAgentCommandEx __RPC_FAR * This,
  796. /* [out] */ long __RPC_FAR *plThreshold);
  797. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceText )(
  798. IAgentCommandEx __RPC_FAR * This,
  799. /* [in] */ BSTR bszTipText);
  800. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceText )(
  801. IAgentCommandEx __RPC_FAR * This,
  802. /* [out] */ BSTR __RPC_FAR *pbszTipText);
  803. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetID )(
  804. IAgentCommandEx __RPC_FAR * This,
  805. /* [out] */ long __RPC_FAR *pdwID);
  806. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpContextID )(
  807. IAgentCommandEx __RPC_FAR * This,
  808. /* [in] */ long ulID);
  809. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpContextID )(
  810. IAgentCommandEx __RPC_FAR * This,
  811. /* [out] */ long __RPC_FAR *pulID);
  812. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoiceCaption )(
  813. IAgentCommandEx __RPC_FAR * This,
  814. /* [in] */ BSTR bszVoiceCaption);
  815. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoiceCaption )(
  816. IAgentCommandEx __RPC_FAR * This,
  817. /* [out] */ BSTR __RPC_FAR *pbszVoiceCaption);
  818. END_INTERFACE
  819. } IAgentCommandExVtbl;
  820. interface IAgentCommandEx
  821. {
  822. CONST_VTBL struct IAgentCommandExVtbl __RPC_FAR *lpVtbl;
  823. };
  824. #ifdef COBJMACROS
  825. #define IAgentCommandEx_QueryInterface(This,riid,ppvObject) \
  826. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  827. #define IAgentCommandEx_AddRef(This) \
  828. (This)->lpVtbl -> AddRef(This)
  829. #define IAgentCommandEx_Release(This) \
  830. (This)->lpVtbl -> Release(This)
  831. #define IAgentCommandEx_GetTypeInfoCount(This,pctinfo) \
  832. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  833. #define IAgentCommandEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  834. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  835. #define IAgentCommandEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  836. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  837. #define IAgentCommandEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  838. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  839. #define IAgentCommandEx_SetCaption(This,bszCaption) \
  840. (This)->lpVtbl -> SetCaption(This,bszCaption)
  841. #define IAgentCommandEx_GetCaption(This,pbszCaption) \
  842. (This)->lpVtbl -> GetCaption(This,pbszCaption)
  843. #define IAgentCommandEx_SetVoice(This,bszVoice) \
  844. (This)->lpVtbl -> SetVoice(This,bszVoice)
  845. #define IAgentCommandEx_GetVoice(This,pbszVoice) \
  846. (This)->lpVtbl -> GetVoice(This,pbszVoice)
  847. #define IAgentCommandEx_SetEnabled(This,bEnabled) \
  848. (This)->lpVtbl -> SetEnabled(This,bEnabled)
  849. #define IAgentCommandEx_GetEnabled(This,pbEnabled) \
  850. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  851. #define IAgentCommandEx_SetVisible(This,bVisible) \
  852. (This)->lpVtbl -> SetVisible(This,bVisible)
  853. #define IAgentCommandEx_GetVisible(This,pbVisible) \
  854. (This)->lpVtbl -> GetVisible(This,pbVisible)
  855. #define IAgentCommandEx_SetConfidenceThreshold(This,lThreshold) \
  856. (This)->lpVtbl -> SetConfidenceThreshold(This,lThreshold)
  857. #define IAgentCommandEx_GetConfidenceThreshold(This,plThreshold) \
  858. (This)->lpVtbl -> GetConfidenceThreshold(This,plThreshold)
  859. #define IAgentCommandEx_SetConfidenceText(This,bszTipText) \
  860. (This)->lpVtbl -> SetConfidenceText(This,bszTipText)
  861. #define IAgentCommandEx_GetConfidenceText(This,pbszTipText) \
  862. (This)->lpVtbl -> GetConfidenceText(This,pbszTipText)
  863. #define IAgentCommandEx_GetID(This,pdwID) \
  864. (This)->lpVtbl -> GetID(This,pdwID)
  865. #define IAgentCommandEx_SetHelpContextID(This,ulID) \
  866. (This)->lpVtbl -> SetHelpContextID(This,ulID)
  867. #define IAgentCommandEx_GetHelpContextID(This,pulID) \
  868. (This)->lpVtbl -> GetHelpContextID(This,pulID)
  869. #define IAgentCommandEx_SetVoiceCaption(This,bszVoiceCaption) \
  870. (This)->lpVtbl -> SetVoiceCaption(This,bszVoiceCaption)
  871. #define IAgentCommandEx_GetVoiceCaption(This,pbszVoiceCaption) \
  872. (This)->lpVtbl -> GetVoiceCaption(This,pbszVoiceCaption)
  873. #endif /* COBJMACROS */
  874. #endif /* C style interface */
  875. HRESULT STDMETHODCALLTYPE IAgentCommandEx_SetHelpContextID_Proxy(
  876. IAgentCommandEx __RPC_FAR * This,
  877. /* [in] */ long ulID);
  878. void __RPC_STUB IAgentCommandEx_SetHelpContextID_Stub(
  879. IRpcStubBuffer *This,
  880. IRpcChannelBuffer *_pRpcChannelBuffer,
  881. PRPC_MESSAGE _pRpcMessage,
  882. DWORD *_pdwStubPhase);
  883. HRESULT STDMETHODCALLTYPE IAgentCommandEx_GetHelpContextID_Proxy(
  884. IAgentCommandEx __RPC_FAR * This,
  885. /* [out] */ long __RPC_FAR *pulID);
  886. void __RPC_STUB IAgentCommandEx_GetHelpContextID_Stub(
  887. IRpcStubBuffer *This,
  888. IRpcChannelBuffer *_pRpcChannelBuffer,
  889. PRPC_MESSAGE _pRpcMessage,
  890. DWORD *_pdwStubPhase);
  891. HRESULT STDMETHODCALLTYPE IAgentCommandEx_SetVoiceCaption_Proxy(
  892. IAgentCommandEx __RPC_FAR * This,
  893. /* [in] */ BSTR bszVoiceCaption);
  894. void __RPC_STUB IAgentCommandEx_SetVoiceCaption_Stub(
  895. IRpcStubBuffer *This,
  896. IRpcChannelBuffer *_pRpcChannelBuffer,
  897. PRPC_MESSAGE _pRpcMessage,
  898. DWORD *_pdwStubPhase);
  899. HRESULT STDMETHODCALLTYPE IAgentCommandEx_GetVoiceCaption_Proxy(
  900. IAgentCommandEx __RPC_FAR * This,
  901. /* [out] */ BSTR __RPC_FAR *pbszVoiceCaption);
  902. void __RPC_STUB IAgentCommandEx_GetVoiceCaption_Stub(
  903. IRpcStubBuffer *This,
  904. IRpcChannelBuffer *_pRpcChannelBuffer,
  905. PRPC_MESSAGE _pRpcMessage,
  906. DWORD *_pdwStubPhase);
  907. #endif /* __IAgentCommandEx_INTERFACE_DEFINED__ */
  908. #ifndef __IAgentCommands_INTERFACE_DEFINED__
  909. #define __IAgentCommands_INTERFACE_DEFINED__
  910. /****************************************
  911. * Generated header for interface: IAgentCommands
  912. * at Mon Aug 31 17:00:38 1998
  913. * using MIDL 3.01.75
  914. ****************************************/
  915. /* [unique][helpstring][dual][uuid][object] */
  916. EXTERN_C const IID IID_IAgentCommands;
  917. #if defined(__cplusplus) && !defined(CINTERFACE)
  918. interface DECLSPEC_UUID("A7B93C85-7B81-11D0-AC5F-00C04FD97575")
  919. IAgentCommands : public IDispatch
  920. {
  921. public:
  922. virtual HRESULT STDMETHODCALLTYPE GetCommand(
  923. /* [in] */ long dwCommandID,
  924. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand) = 0;
  925. virtual HRESULT STDMETHODCALLTYPE GetCount(
  926. /* [out] */ long __RPC_FAR *pdwCount) = 0;
  927. virtual HRESULT STDMETHODCALLTYPE SetCaption(
  928. /* [in] */ BSTR bszCaption) = 0;
  929. virtual HRESULT STDMETHODCALLTYPE GetCaption(
  930. /* [out] */ BSTR __RPC_FAR *pbszCaption) = 0;
  931. virtual HRESULT STDMETHODCALLTYPE SetVoice(
  932. /* [in] */ BSTR bszVoice) = 0;
  933. virtual HRESULT STDMETHODCALLTYPE GetVoice(
  934. /* [out] */ BSTR __RPC_FAR *pbszVoice) = 0;
  935. virtual HRESULT STDMETHODCALLTYPE SetVisible(
  936. /* [in] */ long bVisible) = 0;
  937. virtual HRESULT STDMETHODCALLTYPE GetVisible(
  938. /* [out] */ long __RPC_FAR *pbVisible) = 0;
  939. virtual HRESULT STDMETHODCALLTYPE Add(
  940. /* [in] */ BSTR bszCaption,
  941. /* [in] */ BSTR bszVoice,
  942. /* [in] */ long bEnabled,
  943. /* [in] */ long bVisible,
  944. /* [out] */ long __RPC_FAR *pdwID) = 0;
  945. virtual HRESULT STDMETHODCALLTYPE Insert(
  946. /* [in] */ BSTR bszCaption,
  947. /* [in] */ BSTR bszVoice,
  948. /* [in] */ long bEnabled,
  949. /* [in] */ long bVisible,
  950. /* [in] */ long dwRefID,
  951. /* [in] */ long bBefore,
  952. /* [out] */ long __RPC_FAR *pdwID) = 0;
  953. virtual HRESULT STDMETHODCALLTYPE Remove(
  954. /* [in] */ long dwID) = 0;
  955. virtual HRESULT STDMETHODCALLTYPE RemoveAll( void) = 0;
  956. };
  957. #else /* C style interface */
  958. typedef struct IAgentCommandsVtbl
  959. {
  960. BEGIN_INTERFACE
  961. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  962. IAgentCommands __RPC_FAR * This,
  963. /* [in] */ REFIID riid,
  964. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  965. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  966. IAgentCommands __RPC_FAR * This);
  967. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  968. IAgentCommands __RPC_FAR * This);
  969. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  970. IAgentCommands __RPC_FAR * This,
  971. /* [out] */ UINT __RPC_FAR *pctinfo);
  972. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  973. IAgentCommands __RPC_FAR * This,
  974. /* [in] */ UINT iTInfo,
  975. /* [in] */ LCID lcid,
  976. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  977. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  978. IAgentCommands __RPC_FAR * This,
  979. /* [in] */ REFIID riid,
  980. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  981. /* [in] */ UINT cNames,
  982. /* [in] */ LCID lcid,
  983. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  984. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  985. IAgentCommands __RPC_FAR * This,
  986. /* [in] */ DISPID dispIdMember,
  987. /* [in] */ REFIID riid,
  988. /* [in] */ LCID lcid,
  989. /* [in] */ WORD wFlags,
  990. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  991. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  992. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  993. /* [out] */ UINT __RPC_FAR *puArgErr);
  994. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCommand )(
  995. IAgentCommands __RPC_FAR * This,
  996. /* [in] */ long dwCommandID,
  997. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand);
  998. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )(
  999. IAgentCommands __RPC_FAR * This,
  1000. /* [out] */ long __RPC_FAR *pdwCount);
  1001. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )(
  1002. IAgentCommands __RPC_FAR * This,
  1003. /* [in] */ BSTR bszCaption);
  1004. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )(
  1005. IAgentCommands __RPC_FAR * This,
  1006. /* [out] */ BSTR __RPC_FAR *pbszCaption);
  1007. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )(
  1008. IAgentCommands __RPC_FAR * This,
  1009. /* [in] */ BSTR bszVoice);
  1010. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )(
  1011. IAgentCommands __RPC_FAR * This,
  1012. /* [out] */ BSTR __RPC_FAR *pbszVoice);
  1013. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  1014. IAgentCommands __RPC_FAR * This,
  1015. /* [in] */ long bVisible);
  1016. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  1017. IAgentCommands __RPC_FAR * This,
  1018. /* [out] */ long __RPC_FAR *pbVisible);
  1019. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )(
  1020. IAgentCommands __RPC_FAR * This,
  1021. /* [in] */ BSTR bszCaption,
  1022. /* [in] */ BSTR bszVoice,
  1023. /* [in] */ long bEnabled,
  1024. /* [in] */ long bVisible,
  1025. /* [out] */ long __RPC_FAR *pdwID);
  1026. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Insert )(
  1027. IAgentCommands __RPC_FAR * This,
  1028. /* [in] */ BSTR bszCaption,
  1029. /* [in] */ BSTR bszVoice,
  1030. /* [in] */ long bEnabled,
  1031. /* [in] */ long bVisible,
  1032. /* [in] */ long dwRefID,
  1033. /* [in] */ long bBefore,
  1034. /* [out] */ long __RPC_FAR *pdwID);
  1035. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Remove )(
  1036. IAgentCommands __RPC_FAR * This,
  1037. /* [in] */ long dwID);
  1038. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveAll )(
  1039. IAgentCommands __RPC_FAR * This);
  1040. END_INTERFACE
  1041. } IAgentCommandsVtbl;
  1042. interface IAgentCommands
  1043. {
  1044. CONST_VTBL struct IAgentCommandsVtbl __RPC_FAR *lpVtbl;
  1045. };
  1046. #ifdef COBJMACROS
  1047. #define IAgentCommands_QueryInterface(This,riid,ppvObject) \
  1048. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1049. #define IAgentCommands_AddRef(This) \
  1050. (This)->lpVtbl -> AddRef(This)
  1051. #define IAgentCommands_Release(This) \
  1052. (This)->lpVtbl -> Release(This)
  1053. #define IAgentCommands_GetTypeInfoCount(This,pctinfo) \
  1054. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1055. #define IAgentCommands_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1056. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1057. #define IAgentCommands_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1058. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1059. #define IAgentCommands_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1060. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1061. #define IAgentCommands_GetCommand(This,dwCommandID,ppunkCommand) \
  1062. (This)->lpVtbl -> GetCommand(This,dwCommandID,ppunkCommand)
  1063. #define IAgentCommands_GetCount(This,pdwCount) \
  1064. (This)->lpVtbl -> GetCount(This,pdwCount)
  1065. #define IAgentCommands_SetCaption(This,bszCaption) \
  1066. (This)->lpVtbl -> SetCaption(This,bszCaption)
  1067. #define IAgentCommands_GetCaption(This,pbszCaption) \
  1068. (This)->lpVtbl -> GetCaption(This,pbszCaption)
  1069. #define IAgentCommands_SetVoice(This,bszVoice) \
  1070. (This)->lpVtbl -> SetVoice(This,bszVoice)
  1071. #define IAgentCommands_GetVoice(This,pbszVoice) \
  1072. (This)->lpVtbl -> GetVoice(This,pbszVoice)
  1073. #define IAgentCommands_SetVisible(This,bVisible) \
  1074. (This)->lpVtbl -> SetVisible(This,bVisible)
  1075. #define IAgentCommands_GetVisible(This,pbVisible) \
  1076. (This)->lpVtbl -> GetVisible(This,pbVisible)
  1077. #define IAgentCommands_Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID) \
  1078. (This)->lpVtbl -> Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID)
  1079. #define IAgentCommands_Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID) \
  1080. (This)->lpVtbl -> Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID)
  1081. #define IAgentCommands_Remove(This,dwID) \
  1082. (This)->lpVtbl -> Remove(This,dwID)
  1083. #define IAgentCommands_RemoveAll(This) \
  1084. (This)->lpVtbl -> RemoveAll(This)
  1085. #endif /* COBJMACROS */
  1086. #endif /* C style interface */
  1087. HRESULT STDMETHODCALLTYPE IAgentCommands_GetCommand_Proxy(
  1088. IAgentCommands __RPC_FAR * This,
  1089. /* [in] */ long dwCommandID,
  1090. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand);
  1091. void __RPC_STUB IAgentCommands_GetCommand_Stub(
  1092. IRpcStubBuffer *This,
  1093. IRpcChannelBuffer *_pRpcChannelBuffer,
  1094. PRPC_MESSAGE _pRpcMessage,
  1095. DWORD *_pdwStubPhase);
  1096. HRESULT STDMETHODCALLTYPE IAgentCommands_GetCount_Proxy(
  1097. IAgentCommands __RPC_FAR * This,
  1098. /* [out] */ long __RPC_FAR *pdwCount);
  1099. void __RPC_STUB IAgentCommands_GetCount_Stub(
  1100. IRpcStubBuffer *This,
  1101. IRpcChannelBuffer *_pRpcChannelBuffer,
  1102. PRPC_MESSAGE _pRpcMessage,
  1103. DWORD *_pdwStubPhase);
  1104. HRESULT STDMETHODCALLTYPE IAgentCommands_SetCaption_Proxy(
  1105. IAgentCommands __RPC_FAR * This,
  1106. /* [in] */ BSTR bszCaption);
  1107. void __RPC_STUB IAgentCommands_SetCaption_Stub(
  1108. IRpcStubBuffer *This,
  1109. IRpcChannelBuffer *_pRpcChannelBuffer,
  1110. PRPC_MESSAGE _pRpcMessage,
  1111. DWORD *_pdwStubPhase);
  1112. HRESULT STDMETHODCALLTYPE IAgentCommands_GetCaption_Proxy(
  1113. IAgentCommands __RPC_FAR * This,
  1114. /* [out] */ BSTR __RPC_FAR *pbszCaption);
  1115. void __RPC_STUB IAgentCommands_GetCaption_Stub(
  1116. IRpcStubBuffer *This,
  1117. IRpcChannelBuffer *_pRpcChannelBuffer,
  1118. PRPC_MESSAGE _pRpcMessage,
  1119. DWORD *_pdwStubPhase);
  1120. HRESULT STDMETHODCALLTYPE IAgentCommands_SetVoice_Proxy(
  1121. IAgentCommands __RPC_FAR * This,
  1122. /* [in] */ BSTR bszVoice);
  1123. void __RPC_STUB IAgentCommands_SetVoice_Stub(
  1124. IRpcStubBuffer *This,
  1125. IRpcChannelBuffer *_pRpcChannelBuffer,
  1126. PRPC_MESSAGE _pRpcMessage,
  1127. DWORD *_pdwStubPhase);
  1128. HRESULT STDMETHODCALLTYPE IAgentCommands_GetVoice_Proxy(
  1129. IAgentCommands __RPC_FAR * This,
  1130. /* [out] */ BSTR __RPC_FAR *pbszVoice);
  1131. void __RPC_STUB IAgentCommands_GetVoice_Stub(
  1132. IRpcStubBuffer *This,
  1133. IRpcChannelBuffer *_pRpcChannelBuffer,
  1134. PRPC_MESSAGE _pRpcMessage,
  1135. DWORD *_pdwStubPhase);
  1136. HRESULT STDMETHODCALLTYPE IAgentCommands_SetVisible_Proxy(
  1137. IAgentCommands __RPC_FAR * This,
  1138. /* [in] */ long bVisible);
  1139. void __RPC_STUB IAgentCommands_SetVisible_Stub(
  1140. IRpcStubBuffer *This,
  1141. IRpcChannelBuffer *_pRpcChannelBuffer,
  1142. PRPC_MESSAGE _pRpcMessage,
  1143. DWORD *_pdwStubPhase);
  1144. HRESULT STDMETHODCALLTYPE IAgentCommands_GetVisible_Proxy(
  1145. IAgentCommands __RPC_FAR * This,
  1146. /* [out] */ long __RPC_FAR *pbVisible);
  1147. void __RPC_STUB IAgentCommands_GetVisible_Stub(
  1148. IRpcStubBuffer *This,
  1149. IRpcChannelBuffer *_pRpcChannelBuffer,
  1150. PRPC_MESSAGE _pRpcMessage,
  1151. DWORD *_pdwStubPhase);
  1152. HRESULT STDMETHODCALLTYPE IAgentCommands_Add_Proxy(
  1153. IAgentCommands __RPC_FAR * This,
  1154. /* [in] */ BSTR bszCaption,
  1155. /* [in] */ BSTR bszVoice,
  1156. /* [in] */ long bEnabled,
  1157. /* [in] */ long bVisible,
  1158. /* [out] */ long __RPC_FAR *pdwID);
  1159. void __RPC_STUB IAgentCommands_Add_Stub(
  1160. IRpcStubBuffer *This,
  1161. IRpcChannelBuffer *_pRpcChannelBuffer,
  1162. PRPC_MESSAGE _pRpcMessage,
  1163. DWORD *_pdwStubPhase);
  1164. HRESULT STDMETHODCALLTYPE IAgentCommands_Insert_Proxy(
  1165. IAgentCommands __RPC_FAR * This,
  1166. /* [in] */ BSTR bszCaption,
  1167. /* [in] */ BSTR bszVoice,
  1168. /* [in] */ long bEnabled,
  1169. /* [in] */ long bVisible,
  1170. /* [in] */ long dwRefID,
  1171. /* [in] */ long bBefore,
  1172. /* [out] */ long __RPC_FAR *pdwID);
  1173. void __RPC_STUB IAgentCommands_Insert_Stub(
  1174. IRpcStubBuffer *This,
  1175. IRpcChannelBuffer *_pRpcChannelBuffer,
  1176. PRPC_MESSAGE _pRpcMessage,
  1177. DWORD *_pdwStubPhase);
  1178. HRESULT STDMETHODCALLTYPE IAgentCommands_Remove_Proxy(
  1179. IAgentCommands __RPC_FAR * This,
  1180. /* [in] */ long dwID);
  1181. void __RPC_STUB IAgentCommands_Remove_Stub(
  1182. IRpcStubBuffer *This,
  1183. IRpcChannelBuffer *_pRpcChannelBuffer,
  1184. PRPC_MESSAGE _pRpcMessage,
  1185. DWORD *_pdwStubPhase);
  1186. HRESULT STDMETHODCALLTYPE IAgentCommands_RemoveAll_Proxy(
  1187. IAgentCommands __RPC_FAR * This);
  1188. void __RPC_STUB IAgentCommands_RemoveAll_Stub(
  1189. IRpcStubBuffer *This,
  1190. IRpcChannelBuffer *_pRpcChannelBuffer,
  1191. PRPC_MESSAGE _pRpcMessage,
  1192. DWORD *_pdwStubPhase);
  1193. #endif /* __IAgentCommands_INTERFACE_DEFINED__ */
  1194. #ifndef __IAgentCommandsEx_INTERFACE_DEFINED__
  1195. #define __IAgentCommandsEx_INTERFACE_DEFINED__
  1196. /****************************************
  1197. * Generated header for interface: IAgentCommandsEx
  1198. * at Mon Aug 31 17:00:38 1998
  1199. * using MIDL 3.01.75
  1200. ****************************************/
  1201. /* [unique][helpstring][dual][uuid][object] */
  1202. EXTERN_C const IID IID_IAgentCommandsEx;
  1203. #if defined(__cplusplus) && !defined(CINTERFACE)
  1204. interface DECLSPEC_UUID("6BA90C00-3910-11d1-ACB3-00C04FD97575")
  1205. IAgentCommandsEx : public IAgentCommands
  1206. {
  1207. public:
  1208. virtual HRESULT STDMETHODCALLTYPE GetCommandEx(
  1209. /* [in] */ long dwCommandID,
  1210. /* [out] */ IAgentCommandEx __RPC_FAR *__RPC_FAR *ppCommandEx) = 0;
  1211. virtual HRESULT STDMETHODCALLTYPE SetDefaultID(
  1212. /* [in] */ long dwID) = 0;
  1213. virtual HRESULT STDMETHODCALLTYPE GetDefaultID(
  1214. /* [out] */ long __RPC_FAR *pdwID) = 0;
  1215. virtual HRESULT STDMETHODCALLTYPE SetHelpContextID(
  1216. /* [in] */ long ulHelpID) = 0;
  1217. virtual HRESULT STDMETHODCALLTYPE GetHelpContextID(
  1218. /* [out] */ long __RPC_FAR *pulHelpID) = 0;
  1219. virtual HRESULT STDMETHODCALLTYPE SetFontName(
  1220. /* [in] */ BSTR bszFontName) = 0;
  1221. virtual HRESULT STDMETHODCALLTYPE GetFontName(
  1222. /* [out] */ BSTR __RPC_FAR *pbszFontName) = 0;
  1223. virtual HRESULT STDMETHODCALLTYPE SetFontSize(
  1224. /* [in] */ long lFontSize) = 0;
  1225. virtual HRESULT STDMETHODCALLTYPE GetFontSize(
  1226. /* [out] */ long __RPC_FAR *lFontSize) = 0;
  1227. virtual HRESULT STDMETHODCALLTYPE SetVoiceCaption(
  1228. /* [in] */ BSTR bszVoiceCaption) = 0;
  1229. virtual HRESULT STDMETHODCALLTYPE GetVoiceCaption(
  1230. /* [out] */ BSTR __RPC_FAR *bszVoiceCaption) = 0;
  1231. virtual HRESULT STDMETHODCALLTYPE AddEx(
  1232. /* [in] */ BSTR bszCaption,
  1233. /* [in] */ BSTR bszVoice,
  1234. /* [in] */ BSTR bszVoiceCaption,
  1235. /* [in] */ long bEnabled,
  1236. /* [in] */ long bVisible,
  1237. /* [in] */ long ulHelpId,
  1238. /* [out] */ long __RPC_FAR *pdwID) = 0;
  1239. virtual HRESULT STDMETHODCALLTYPE InsertEx(
  1240. /* [in] */ BSTR bszCaption,
  1241. /* [in] */ BSTR bszVoice,
  1242. /* [in] */ BSTR bszVoiceCaption,
  1243. /* [in] */ long bEnabled,
  1244. /* [in] */ long bVisible,
  1245. /* [in] */ long ulHelpId,
  1246. /* [in] */ long dwRefID,
  1247. /* [in] */ long bBefore,
  1248. /* [out] */ long __RPC_FAR *pdwID) = 0;
  1249. virtual HRESULT STDMETHODCALLTYPE SetGlobalVoiceCommandsEnabled(
  1250. /* [in] */ long bEnable) = 0;
  1251. virtual HRESULT STDMETHODCALLTYPE GetGlobalVoiceCommandsEnabled(
  1252. /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  1253. };
  1254. #else /* C style interface */
  1255. typedef struct IAgentCommandsExVtbl
  1256. {
  1257. BEGIN_INTERFACE
  1258. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1259. IAgentCommandsEx __RPC_FAR * This,
  1260. /* [in] */ REFIID riid,
  1261. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1262. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1263. IAgentCommandsEx __RPC_FAR * This);
  1264. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1265. IAgentCommandsEx __RPC_FAR * This);
  1266. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1267. IAgentCommandsEx __RPC_FAR * This,
  1268. /* [out] */ UINT __RPC_FAR *pctinfo);
  1269. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1270. IAgentCommandsEx __RPC_FAR * This,
  1271. /* [in] */ UINT iTInfo,
  1272. /* [in] */ LCID lcid,
  1273. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1274. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1275. IAgentCommandsEx __RPC_FAR * This,
  1276. /* [in] */ REFIID riid,
  1277. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1278. /* [in] */ UINT cNames,
  1279. /* [in] */ LCID lcid,
  1280. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1281. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1282. IAgentCommandsEx __RPC_FAR * This,
  1283. /* [in] */ DISPID dispIdMember,
  1284. /* [in] */ REFIID riid,
  1285. /* [in] */ LCID lcid,
  1286. /* [in] */ WORD wFlags,
  1287. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1288. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1289. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1290. /* [out] */ UINT __RPC_FAR *puArgErr);
  1291. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCommand )(
  1292. IAgentCommandsEx __RPC_FAR * This,
  1293. /* [in] */ long dwCommandID,
  1294. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand);
  1295. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )(
  1296. IAgentCommandsEx __RPC_FAR * This,
  1297. /* [out] */ long __RPC_FAR *pdwCount);
  1298. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )(
  1299. IAgentCommandsEx __RPC_FAR * This,
  1300. /* [in] */ BSTR bszCaption);
  1301. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )(
  1302. IAgentCommandsEx __RPC_FAR * This,
  1303. /* [out] */ BSTR __RPC_FAR *pbszCaption);
  1304. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )(
  1305. IAgentCommandsEx __RPC_FAR * This,
  1306. /* [in] */ BSTR bszVoice);
  1307. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )(
  1308. IAgentCommandsEx __RPC_FAR * This,
  1309. /* [out] */ BSTR __RPC_FAR *pbszVoice);
  1310. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  1311. IAgentCommandsEx __RPC_FAR * This,
  1312. /* [in] */ long bVisible);
  1313. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  1314. IAgentCommandsEx __RPC_FAR * This,
  1315. /* [out] */ long __RPC_FAR *pbVisible);
  1316. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )(
  1317. IAgentCommandsEx __RPC_FAR * This,
  1318. /* [in] */ BSTR bszCaption,
  1319. /* [in] */ BSTR bszVoice,
  1320. /* [in] */ long bEnabled,
  1321. /* [in] */ long bVisible,
  1322. /* [out] */ long __RPC_FAR *pdwID);
  1323. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Insert )(
  1324. IAgentCommandsEx __RPC_FAR * This,
  1325. /* [in] */ BSTR bszCaption,
  1326. /* [in] */ BSTR bszVoice,
  1327. /* [in] */ long bEnabled,
  1328. /* [in] */ long bVisible,
  1329. /* [in] */ long dwRefID,
  1330. /* [in] */ long bBefore,
  1331. /* [out] */ long __RPC_FAR *pdwID);
  1332. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Remove )(
  1333. IAgentCommandsEx __RPC_FAR * This,
  1334. /* [in] */ long dwID);
  1335. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveAll )(
  1336. IAgentCommandsEx __RPC_FAR * This);
  1337. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCommandEx )(
  1338. IAgentCommandsEx __RPC_FAR * This,
  1339. /* [in] */ long dwCommandID,
  1340. /* [out] */ IAgentCommandEx __RPC_FAR *__RPC_FAR *ppCommandEx);
  1341. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDefaultID )(
  1342. IAgentCommandsEx __RPC_FAR * This,
  1343. /* [in] */ long dwID);
  1344. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDefaultID )(
  1345. IAgentCommandsEx __RPC_FAR * This,
  1346. /* [out] */ long __RPC_FAR *pdwID);
  1347. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpContextID )(
  1348. IAgentCommandsEx __RPC_FAR * This,
  1349. /* [in] */ long ulHelpID);
  1350. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpContextID )(
  1351. IAgentCommandsEx __RPC_FAR * This,
  1352. /* [out] */ long __RPC_FAR *pulHelpID);
  1353. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontName )(
  1354. IAgentCommandsEx __RPC_FAR * This,
  1355. /* [in] */ BSTR bszFontName);
  1356. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontName )(
  1357. IAgentCommandsEx __RPC_FAR * This,
  1358. /* [out] */ BSTR __RPC_FAR *pbszFontName);
  1359. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontSize )(
  1360. IAgentCommandsEx __RPC_FAR * This,
  1361. /* [in] */ long lFontSize);
  1362. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontSize )(
  1363. IAgentCommandsEx __RPC_FAR * This,
  1364. /* [out] */ long __RPC_FAR *lFontSize);
  1365. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoiceCaption )(
  1366. IAgentCommandsEx __RPC_FAR * This,
  1367. /* [in] */ BSTR bszVoiceCaption);
  1368. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoiceCaption )(
  1369. IAgentCommandsEx __RPC_FAR * This,
  1370. /* [out] */ BSTR __RPC_FAR *bszVoiceCaption);
  1371. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddEx )(
  1372. IAgentCommandsEx __RPC_FAR * This,
  1373. /* [in] */ BSTR bszCaption,
  1374. /* [in] */ BSTR bszVoice,
  1375. /* [in] */ BSTR bszVoiceCaption,
  1376. /* [in] */ long bEnabled,
  1377. /* [in] */ long bVisible,
  1378. /* [in] */ long ulHelpId,
  1379. /* [out] */ long __RPC_FAR *pdwID);
  1380. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InsertEx )(
  1381. IAgentCommandsEx __RPC_FAR * This,
  1382. /* [in] */ BSTR bszCaption,
  1383. /* [in] */ BSTR bszVoice,
  1384. /* [in] */ BSTR bszVoiceCaption,
  1385. /* [in] */ long bEnabled,
  1386. /* [in] */ long bVisible,
  1387. /* [in] */ long ulHelpId,
  1388. /* [in] */ long dwRefID,
  1389. /* [in] */ long bBefore,
  1390. /* [out] */ long __RPC_FAR *pdwID);
  1391. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetGlobalVoiceCommandsEnabled )(
  1392. IAgentCommandsEx __RPC_FAR * This,
  1393. /* [in] */ long bEnable);
  1394. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetGlobalVoiceCommandsEnabled )(
  1395. IAgentCommandsEx __RPC_FAR * This,
  1396. /* [out] */ long __RPC_FAR *pbEnabled);
  1397. END_INTERFACE
  1398. } IAgentCommandsExVtbl;
  1399. interface IAgentCommandsEx
  1400. {
  1401. CONST_VTBL struct IAgentCommandsExVtbl __RPC_FAR *lpVtbl;
  1402. };
  1403. #ifdef COBJMACROS
  1404. #define IAgentCommandsEx_QueryInterface(This,riid,ppvObject) \
  1405. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1406. #define IAgentCommandsEx_AddRef(This) \
  1407. (This)->lpVtbl -> AddRef(This)
  1408. #define IAgentCommandsEx_Release(This) \
  1409. (This)->lpVtbl -> Release(This)
  1410. #define IAgentCommandsEx_GetTypeInfoCount(This,pctinfo) \
  1411. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1412. #define IAgentCommandsEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1413. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1414. #define IAgentCommandsEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1415. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1416. #define IAgentCommandsEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1417. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1418. #define IAgentCommandsEx_GetCommand(This,dwCommandID,ppunkCommand) \
  1419. (This)->lpVtbl -> GetCommand(This,dwCommandID,ppunkCommand)
  1420. #define IAgentCommandsEx_GetCount(This,pdwCount) \
  1421. (This)->lpVtbl -> GetCount(This,pdwCount)
  1422. #define IAgentCommandsEx_SetCaption(This,bszCaption) \
  1423. (This)->lpVtbl -> SetCaption(This,bszCaption)
  1424. #define IAgentCommandsEx_GetCaption(This,pbszCaption) \
  1425. (This)->lpVtbl -> GetCaption(This,pbszCaption)
  1426. #define IAgentCommandsEx_SetVoice(This,bszVoice) \
  1427. (This)->lpVtbl -> SetVoice(This,bszVoice)
  1428. #define IAgentCommandsEx_GetVoice(This,pbszVoice) \
  1429. (This)->lpVtbl -> GetVoice(This,pbszVoice)
  1430. #define IAgentCommandsEx_SetVisible(This,bVisible) \
  1431. (This)->lpVtbl -> SetVisible(This,bVisible)
  1432. #define IAgentCommandsEx_GetVisible(This,pbVisible) \
  1433. (This)->lpVtbl -> GetVisible(This,pbVisible)
  1434. #define IAgentCommandsEx_Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID) \
  1435. (This)->lpVtbl -> Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID)
  1436. #define IAgentCommandsEx_Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID) \
  1437. (This)->lpVtbl -> Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID)
  1438. #define IAgentCommandsEx_Remove(This,dwID) \
  1439. (This)->lpVtbl -> Remove(This,dwID)
  1440. #define IAgentCommandsEx_RemoveAll(This) \
  1441. (This)->lpVtbl -> RemoveAll(This)
  1442. #define IAgentCommandsEx_GetCommandEx(This,dwCommandID,ppCommandEx) \
  1443. (This)->lpVtbl -> GetCommandEx(This,dwCommandID,ppCommandEx)
  1444. #define IAgentCommandsEx_SetDefaultID(This,dwID) \
  1445. (This)->lpVtbl -> SetDefaultID(This,dwID)
  1446. #define IAgentCommandsEx_GetDefaultID(This,pdwID) \
  1447. (This)->lpVtbl -> GetDefaultID(This,pdwID)
  1448. #define IAgentCommandsEx_SetHelpContextID(This,ulHelpID) \
  1449. (This)->lpVtbl -> SetHelpContextID(This,ulHelpID)
  1450. #define IAgentCommandsEx_GetHelpContextID(This,pulHelpID) \
  1451. (This)->lpVtbl -> GetHelpContextID(This,pulHelpID)
  1452. #define IAgentCommandsEx_SetFontName(This,bszFontName) \
  1453. (This)->lpVtbl -> SetFontName(This,bszFontName)
  1454. #define IAgentCommandsEx_GetFontName(This,pbszFontName) \
  1455. (This)->lpVtbl -> GetFontName(This,pbszFontName)
  1456. #define IAgentCommandsEx_SetFontSize(This,lFontSize) \
  1457. (This)->lpVtbl -> SetFontSize(This,lFontSize)
  1458. #define IAgentCommandsEx_GetFontSize(This,lFontSize) \
  1459. (This)->lpVtbl -> GetFontSize(This,lFontSize)
  1460. #define IAgentCommandsEx_SetVoiceCaption(This,bszVoiceCaption) \
  1461. (This)->lpVtbl -> SetVoiceCaption(This,bszVoiceCaption)
  1462. #define IAgentCommandsEx_GetVoiceCaption(This,bszVoiceCaption) \
  1463. (This)->lpVtbl -> GetVoiceCaption(This,bszVoiceCaption)
  1464. #define IAgentCommandsEx_AddEx(This,bszCaption,bszVoice,bszVoiceCaption,bEnabled,bVisible,ulHelpId,pdwID) \
  1465. (This)->lpVtbl -> AddEx(This,bszCaption,bszVoice,bszVoiceCaption,bEnabled,bVisible,ulHelpId,pdwID)
  1466. #define IAgentCommandsEx_InsertEx(This,bszCaption,bszVoice,bszVoiceCaption,bEnabled,bVisible,ulHelpId,dwRefID,bBefore,pdwID) \
  1467. (This)->lpVtbl -> InsertEx(This,bszCaption,bszVoice,bszVoiceCaption,bEnabled,bVisible,ulHelpId,dwRefID,bBefore,pdwID)
  1468. #define IAgentCommandsEx_SetGlobalVoiceCommandsEnabled(This,bEnable) \
  1469. (This)->lpVtbl -> SetGlobalVoiceCommandsEnabled(This,bEnable)
  1470. #define IAgentCommandsEx_GetGlobalVoiceCommandsEnabled(This,pbEnabled) \
  1471. (This)->lpVtbl -> GetGlobalVoiceCommandsEnabled(This,pbEnabled)
  1472. #endif /* COBJMACROS */
  1473. #endif /* C style interface */
  1474. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetCommandEx_Proxy(
  1475. IAgentCommandsEx __RPC_FAR * This,
  1476. /* [in] */ long dwCommandID,
  1477. /* [out] */ IAgentCommandEx __RPC_FAR *__RPC_FAR *ppCommandEx);
  1478. void __RPC_STUB IAgentCommandsEx_GetCommandEx_Stub(
  1479. IRpcStubBuffer *This,
  1480. IRpcChannelBuffer *_pRpcChannelBuffer,
  1481. PRPC_MESSAGE _pRpcMessage,
  1482. DWORD *_pdwStubPhase);
  1483. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetDefaultID_Proxy(
  1484. IAgentCommandsEx __RPC_FAR * This,
  1485. /* [in] */ long dwID);
  1486. void __RPC_STUB IAgentCommandsEx_SetDefaultID_Stub(
  1487. IRpcStubBuffer *This,
  1488. IRpcChannelBuffer *_pRpcChannelBuffer,
  1489. PRPC_MESSAGE _pRpcMessage,
  1490. DWORD *_pdwStubPhase);
  1491. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetDefaultID_Proxy(
  1492. IAgentCommandsEx __RPC_FAR * This,
  1493. /* [out] */ long __RPC_FAR *pdwID);
  1494. void __RPC_STUB IAgentCommandsEx_GetDefaultID_Stub(
  1495. IRpcStubBuffer *This,
  1496. IRpcChannelBuffer *_pRpcChannelBuffer,
  1497. PRPC_MESSAGE _pRpcMessage,
  1498. DWORD *_pdwStubPhase);
  1499. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetHelpContextID_Proxy(
  1500. IAgentCommandsEx __RPC_FAR * This,
  1501. /* [in] */ long ulHelpID);
  1502. void __RPC_STUB IAgentCommandsEx_SetHelpContextID_Stub(
  1503. IRpcStubBuffer *This,
  1504. IRpcChannelBuffer *_pRpcChannelBuffer,
  1505. PRPC_MESSAGE _pRpcMessage,
  1506. DWORD *_pdwStubPhase);
  1507. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetHelpContextID_Proxy(
  1508. IAgentCommandsEx __RPC_FAR * This,
  1509. /* [out] */ long __RPC_FAR *pulHelpID);
  1510. void __RPC_STUB IAgentCommandsEx_GetHelpContextID_Stub(
  1511. IRpcStubBuffer *This,
  1512. IRpcChannelBuffer *_pRpcChannelBuffer,
  1513. PRPC_MESSAGE _pRpcMessage,
  1514. DWORD *_pdwStubPhase);
  1515. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetFontName_Proxy(
  1516. IAgentCommandsEx __RPC_FAR * This,
  1517. /* [in] */ BSTR bszFontName);
  1518. void __RPC_STUB IAgentCommandsEx_SetFontName_Stub(
  1519. IRpcStubBuffer *This,
  1520. IRpcChannelBuffer *_pRpcChannelBuffer,
  1521. PRPC_MESSAGE _pRpcMessage,
  1522. DWORD *_pdwStubPhase);
  1523. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetFontName_Proxy(
  1524. IAgentCommandsEx __RPC_FAR * This,
  1525. /* [out] */ BSTR __RPC_FAR *pbszFontName);
  1526. void __RPC_STUB IAgentCommandsEx_GetFontName_Stub(
  1527. IRpcStubBuffer *This,
  1528. IRpcChannelBuffer *_pRpcChannelBuffer,
  1529. PRPC_MESSAGE _pRpcMessage,
  1530. DWORD *_pdwStubPhase);
  1531. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetFontSize_Proxy(
  1532. IAgentCommandsEx __RPC_FAR * This,
  1533. /* [in] */ long lFontSize);
  1534. void __RPC_STUB IAgentCommandsEx_SetFontSize_Stub(
  1535. IRpcStubBuffer *This,
  1536. IRpcChannelBuffer *_pRpcChannelBuffer,
  1537. PRPC_MESSAGE _pRpcMessage,
  1538. DWORD *_pdwStubPhase);
  1539. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetFontSize_Proxy(
  1540. IAgentCommandsEx __RPC_FAR * This,
  1541. /* [out] */ long __RPC_FAR *lFontSize);
  1542. void __RPC_STUB IAgentCommandsEx_GetFontSize_Stub(
  1543. IRpcStubBuffer *This,
  1544. IRpcChannelBuffer *_pRpcChannelBuffer,
  1545. PRPC_MESSAGE _pRpcMessage,
  1546. DWORD *_pdwStubPhase);
  1547. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetVoiceCaption_Proxy(
  1548. IAgentCommandsEx __RPC_FAR * This,
  1549. /* [in] */ BSTR bszVoiceCaption);
  1550. void __RPC_STUB IAgentCommandsEx_SetVoiceCaption_Stub(
  1551. IRpcStubBuffer *This,
  1552. IRpcChannelBuffer *_pRpcChannelBuffer,
  1553. PRPC_MESSAGE _pRpcMessage,
  1554. DWORD *_pdwStubPhase);
  1555. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetVoiceCaption_Proxy(
  1556. IAgentCommandsEx __RPC_FAR * This,
  1557. /* [out] */ BSTR __RPC_FAR *bszVoiceCaption);
  1558. void __RPC_STUB IAgentCommandsEx_GetVoiceCaption_Stub(
  1559. IRpcStubBuffer *This,
  1560. IRpcChannelBuffer *_pRpcChannelBuffer,
  1561. PRPC_MESSAGE _pRpcMessage,
  1562. DWORD *_pdwStubPhase);
  1563. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_AddEx_Proxy(
  1564. IAgentCommandsEx __RPC_FAR * This,
  1565. /* [in] */ BSTR bszCaption,
  1566. /* [in] */ BSTR bszVoice,
  1567. /* [in] */ BSTR bszVoiceCaption,
  1568. /* [in] */ long bEnabled,
  1569. /* [in] */ long bVisible,
  1570. /* [in] */ long ulHelpId,
  1571. /* [out] */ long __RPC_FAR *pdwID);
  1572. void __RPC_STUB IAgentCommandsEx_AddEx_Stub(
  1573. IRpcStubBuffer *This,
  1574. IRpcChannelBuffer *_pRpcChannelBuffer,
  1575. PRPC_MESSAGE _pRpcMessage,
  1576. DWORD *_pdwStubPhase);
  1577. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_InsertEx_Proxy(
  1578. IAgentCommandsEx __RPC_FAR * This,
  1579. /* [in] */ BSTR bszCaption,
  1580. /* [in] */ BSTR bszVoice,
  1581. /* [in] */ BSTR bszVoiceCaption,
  1582. /* [in] */ long bEnabled,
  1583. /* [in] */ long bVisible,
  1584. /* [in] */ long ulHelpId,
  1585. /* [in] */ long dwRefID,
  1586. /* [in] */ long bBefore,
  1587. /* [out] */ long __RPC_FAR *pdwID);
  1588. void __RPC_STUB IAgentCommandsEx_InsertEx_Stub(
  1589. IRpcStubBuffer *This,
  1590. IRpcChannelBuffer *_pRpcChannelBuffer,
  1591. PRPC_MESSAGE _pRpcMessage,
  1592. DWORD *_pdwStubPhase);
  1593. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetGlobalVoiceCommandsEnabled_Proxy(
  1594. IAgentCommandsEx __RPC_FAR * This,
  1595. /* [in] */ long bEnable);
  1596. void __RPC_STUB IAgentCommandsEx_SetGlobalVoiceCommandsEnabled_Stub(
  1597. IRpcStubBuffer *This,
  1598. IRpcChannelBuffer *_pRpcChannelBuffer,
  1599. PRPC_MESSAGE _pRpcMessage,
  1600. DWORD *_pdwStubPhase);
  1601. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetGlobalVoiceCommandsEnabled_Proxy(
  1602. IAgentCommandsEx __RPC_FAR * This,
  1603. /* [out] */ long __RPC_FAR *pbEnabled);
  1604. void __RPC_STUB IAgentCommandsEx_GetGlobalVoiceCommandsEnabled_Stub(
  1605. IRpcStubBuffer *This,
  1606. IRpcChannelBuffer *_pRpcChannelBuffer,
  1607. PRPC_MESSAGE _pRpcMessage,
  1608. DWORD *_pdwStubPhase);
  1609. #endif /* __IAgentCommandsEx_INTERFACE_DEFINED__ */
  1610. #ifndef __IAgentCommandWindow_INTERFACE_DEFINED__
  1611. #define __IAgentCommandWindow_INTERFACE_DEFINED__
  1612. /****************************************
  1613. * Generated header for interface: IAgentCommandWindow
  1614. * at Mon Aug 31 17:00:38 1998
  1615. * using MIDL 3.01.75
  1616. ****************************************/
  1617. /* [unique][helpstring][dual][uuid][object] */
  1618. EXTERN_C const IID IID_IAgentCommandWindow;
  1619. #if defined(__cplusplus) && !defined(CINTERFACE)
  1620. interface DECLSPEC_UUID("6D0ECB23-9968-11D0-AC6E-00C04FD97575")
  1621. IAgentCommandWindow : public IDispatch
  1622. {
  1623. public:
  1624. virtual HRESULT STDMETHODCALLTYPE SetVisible(
  1625. /* [in] */ long bVisible) = 0;
  1626. virtual HRESULT STDMETHODCALLTYPE GetVisible(
  1627. /* [out] */ long __RPC_FAR *pbVisible) = 0;
  1628. virtual HRESULT STDMETHODCALLTYPE GetPosition(
  1629. /* [out] */ long __RPC_FAR *plLeft,
  1630. /* [out] */ long __RPC_FAR *plTop) = 0;
  1631. virtual HRESULT STDMETHODCALLTYPE GetSize(
  1632. /* [out] */ long __RPC_FAR *plWidth,
  1633. /* [out] */ long __RPC_FAR *plHeight) = 0;
  1634. };
  1635. #else /* C style interface */
  1636. typedef struct IAgentCommandWindowVtbl
  1637. {
  1638. BEGIN_INTERFACE
  1639. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1640. IAgentCommandWindow __RPC_FAR * This,
  1641. /* [in] */ REFIID riid,
  1642. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1643. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1644. IAgentCommandWindow __RPC_FAR * This);
  1645. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1646. IAgentCommandWindow __RPC_FAR * This);
  1647. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1648. IAgentCommandWindow __RPC_FAR * This,
  1649. /* [out] */ UINT __RPC_FAR *pctinfo);
  1650. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1651. IAgentCommandWindow __RPC_FAR * This,
  1652. /* [in] */ UINT iTInfo,
  1653. /* [in] */ LCID lcid,
  1654. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1655. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1656. IAgentCommandWindow __RPC_FAR * This,
  1657. /* [in] */ REFIID riid,
  1658. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1659. /* [in] */ UINT cNames,
  1660. /* [in] */ LCID lcid,
  1661. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1662. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1663. IAgentCommandWindow __RPC_FAR * This,
  1664. /* [in] */ DISPID dispIdMember,
  1665. /* [in] */ REFIID riid,
  1666. /* [in] */ LCID lcid,
  1667. /* [in] */ WORD wFlags,
  1668. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1669. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1670. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1671. /* [out] */ UINT __RPC_FAR *puArgErr);
  1672. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  1673. IAgentCommandWindow __RPC_FAR * This,
  1674. /* [in] */ long bVisible);
  1675. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  1676. IAgentCommandWindow __RPC_FAR * This,
  1677. /* [out] */ long __RPC_FAR *pbVisible);
  1678. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )(
  1679. IAgentCommandWindow __RPC_FAR * This,
  1680. /* [out] */ long __RPC_FAR *plLeft,
  1681. /* [out] */ long __RPC_FAR *plTop);
  1682. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )(
  1683. IAgentCommandWindow __RPC_FAR * This,
  1684. /* [out] */ long __RPC_FAR *plWidth,
  1685. /* [out] */ long __RPC_FAR *plHeight);
  1686. END_INTERFACE
  1687. } IAgentCommandWindowVtbl;
  1688. interface IAgentCommandWindow
  1689. {
  1690. CONST_VTBL struct IAgentCommandWindowVtbl __RPC_FAR *lpVtbl;
  1691. };
  1692. #ifdef COBJMACROS
  1693. #define IAgentCommandWindow_QueryInterface(This,riid,ppvObject) \
  1694. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1695. #define IAgentCommandWindow_AddRef(This) \
  1696. (This)->lpVtbl -> AddRef(This)
  1697. #define IAgentCommandWindow_Release(This) \
  1698. (This)->lpVtbl -> Release(This)
  1699. #define IAgentCommandWindow_GetTypeInfoCount(This,pctinfo) \
  1700. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1701. #define IAgentCommandWindow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1702. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1703. #define IAgentCommandWindow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1704. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1705. #define IAgentCommandWindow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1706. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1707. #define IAgentCommandWindow_SetVisible(This,bVisible) \
  1708. (This)->lpVtbl -> SetVisible(This,bVisible)
  1709. #define IAgentCommandWindow_GetVisible(This,pbVisible) \
  1710. (This)->lpVtbl -> GetVisible(This,pbVisible)
  1711. #define IAgentCommandWindow_GetPosition(This,plLeft,plTop) \
  1712. (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  1713. #define IAgentCommandWindow_GetSize(This,plWidth,plHeight) \
  1714. (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  1715. #endif /* COBJMACROS */
  1716. #endif /* C style interface */
  1717. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_SetVisible_Proxy(
  1718. IAgentCommandWindow __RPC_FAR * This,
  1719. /* [in] */ long bVisible);
  1720. void __RPC_STUB IAgentCommandWindow_SetVisible_Stub(
  1721. IRpcStubBuffer *This,
  1722. IRpcChannelBuffer *_pRpcChannelBuffer,
  1723. PRPC_MESSAGE _pRpcMessage,
  1724. DWORD *_pdwStubPhase);
  1725. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_GetVisible_Proxy(
  1726. IAgentCommandWindow __RPC_FAR * This,
  1727. /* [out] */ long __RPC_FAR *pbVisible);
  1728. void __RPC_STUB IAgentCommandWindow_GetVisible_Stub(
  1729. IRpcStubBuffer *This,
  1730. IRpcChannelBuffer *_pRpcChannelBuffer,
  1731. PRPC_MESSAGE _pRpcMessage,
  1732. DWORD *_pdwStubPhase);
  1733. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_GetPosition_Proxy(
  1734. IAgentCommandWindow __RPC_FAR * This,
  1735. /* [out] */ long __RPC_FAR *plLeft,
  1736. /* [out] */ long __RPC_FAR *plTop);
  1737. void __RPC_STUB IAgentCommandWindow_GetPosition_Stub(
  1738. IRpcStubBuffer *This,
  1739. IRpcChannelBuffer *_pRpcChannelBuffer,
  1740. PRPC_MESSAGE _pRpcMessage,
  1741. DWORD *_pdwStubPhase);
  1742. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_GetSize_Proxy(
  1743. IAgentCommandWindow __RPC_FAR * This,
  1744. /* [out] */ long __RPC_FAR *plWidth,
  1745. /* [out] */ long __RPC_FAR *plHeight);
  1746. void __RPC_STUB IAgentCommandWindow_GetSize_Stub(
  1747. IRpcStubBuffer *This,
  1748. IRpcChannelBuffer *_pRpcChannelBuffer,
  1749. PRPC_MESSAGE _pRpcMessage,
  1750. DWORD *_pdwStubPhase);
  1751. #endif /* __IAgentCommandWindow_INTERFACE_DEFINED__ */
  1752. #ifndef __IAgentSpeechInputProperties_INTERFACE_DEFINED__
  1753. #define __IAgentSpeechInputProperties_INTERFACE_DEFINED__
  1754. /****************************************
  1755. * Generated header for interface: IAgentSpeechInputProperties
  1756. * at Mon Aug 31 17:00:38 1998
  1757. * using MIDL 3.01.75
  1758. ****************************************/
  1759. /* [unique][helpstring][dual][uuid][object] */
  1760. EXTERN_C const IID IID_IAgentSpeechInputProperties;
  1761. #if defined(__cplusplus) && !defined(CINTERFACE)
  1762. interface DECLSPEC_UUID("A7B93C87-7B81-11D0-AC5F-00C04FD97575")
  1763. IAgentSpeechInputProperties : public IDispatch
  1764. {
  1765. public:
  1766. virtual HRESULT STDMETHODCALLTYPE GetInstalled(
  1767. /* [out] */ long __RPC_FAR *pbInstalled) = 0;
  1768. virtual HRESULT STDMETHODCALLTYPE GetEnabled(
  1769. /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  1770. virtual HRESULT STDMETHODCALLTYPE GetHotKey(
  1771. /* [out] */ BSTR __RPC_FAR *pbszHotCharKey) = 0;
  1772. virtual HRESULT STDMETHODCALLTYPE GetLCID(
  1773. /* [out] */ LCID __RPC_FAR *plcidCurrent) = 0;
  1774. virtual HRESULT STDMETHODCALLTYPE GetEngine(
  1775. /* [out] */ BSTR __RPC_FAR *pbszEngine) = 0;
  1776. virtual HRESULT STDMETHODCALLTYPE SetEngine(
  1777. /* [in] */ BSTR bszEngine) = 0;
  1778. virtual HRESULT STDMETHODCALLTYPE GetListeningTip(
  1779. /* [out] */ long __RPC_FAR *pbListeningTip) = 0;
  1780. };
  1781. #else /* C style interface */
  1782. typedef struct IAgentSpeechInputPropertiesVtbl
  1783. {
  1784. BEGIN_INTERFACE
  1785. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1786. IAgentSpeechInputProperties __RPC_FAR * This,
  1787. /* [in] */ REFIID riid,
  1788. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1789. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1790. IAgentSpeechInputProperties __RPC_FAR * This);
  1791. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1792. IAgentSpeechInputProperties __RPC_FAR * This);
  1793. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1794. IAgentSpeechInputProperties __RPC_FAR * This,
  1795. /* [out] */ UINT __RPC_FAR *pctinfo);
  1796. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1797. IAgentSpeechInputProperties __RPC_FAR * This,
  1798. /* [in] */ UINT iTInfo,
  1799. /* [in] */ LCID lcid,
  1800. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1801. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1802. IAgentSpeechInputProperties __RPC_FAR * This,
  1803. /* [in] */ REFIID riid,
  1804. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1805. /* [in] */ UINT cNames,
  1806. /* [in] */ LCID lcid,
  1807. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1808. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1809. IAgentSpeechInputProperties __RPC_FAR * This,
  1810. /* [in] */ DISPID dispIdMember,
  1811. /* [in] */ REFIID riid,
  1812. /* [in] */ LCID lcid,
  1813. /* [in] */ WORD wFlags,
  1814. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1815. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1816. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1817. /* [out] */ UINT __RPC_FAR *puArgErr);
  1818. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetInstalled )(
  1819. IAgentSpeechInputProperties __RPC_FAR * This,
  1820. /* [out] */ long __RPC_FAR *pbInstalled);
  1821. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  1822. IAgentSpeechInputProperties __RPC_FAR * This,
  1823. /* [out] */ long __RPC_FAR *pbEnabled);
  1824. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHotKey )(
  1825. IAgentSpeechInputProperties __RPC_FAR * This,
  1826. /* [out] */ BSTR __RPC_FAR *pbszHotCharKey);
  1827. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLCID )(
  1828. IAgentSpeechInputProperties __RPC_FAR * This,
  1829. /* [out] */ LCID __RPC_FAR *plcidCurrent);
  1830. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEngine )(
  1831. IAgentSpeechInputProperties __RPC_FAR * This,
  1832. /* [out] */ BSTR __RPC_FAR *pbszEngine);
  1833. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEngine )(
  1834. IAgentSpeechInputProperties __RPC_FAR * This,
  1835. /* [in] */ BSTR bszEngine);
  1836. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetListeningTip )(
  1837. IAgentSpeechInputProperties __RPC_FAR * This,
  1838. /* [out] */ long __RPC_FAR *pbListeningTip);
  1839. END_INTERFACE
  1840. } IAgentSpeechInputPropertiesVtbl;
  1841. interface IAgentSpeechInputProperties
  1842. {
  1843. CONST_VTBL struct IAgentSpeechInputPropertiesVtbl __RPC_FAR *lpVtbl;
  1844. };
  1845. #ifdef COBJMACROS
  1846. #define IAgentSpeechInputProperties_QueryInterface(This,riid,ppvObject) \
  1847. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1848. #define IAgentSpeechInputProperties_AddRef(This) \
  1849. (This)->lpVtbl -> AddRef(This)
  1850. #define IAgentSpeechInputProperties_Release(This) \
  1851. (This)->lpVtbl -> Release(This)
  1852. #define IAgentSpeechInputProperties_GetTypeInfoCount(This,pctinfo) \
  1853. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1854. #define IAgentSpeechInputProperties_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1855. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1856. #define IAgentSpeechInputProperties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1857. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1858. #define IAgentSpeechInputProperties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1859. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1860. #define IAgentSpeechInputProperties_GetInstalled(This,pbInstalled) \
  1861. (This)->lpVtbl -> GetInstalled(This,pbInstalled)
  1862. #define IAgentSpeechInputProperties_GetEnabled(This,pbEnabled) \
  1863. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  1864. #define IAgentSpeechInputProperties_GetHotKey(This,pbszHotCharKey) \
  1865. (This)->lpVtbl -> GetHotKey(This,pbszHotCharKey)
  1866. #define IAgentSpeechInputProperties_GetLCID(This,plcidCurrent) \
  1867. (This)->lpVtbl -> GetLCID(This,plcidCurrent)
  1868. #define IAgentSpeechInputProperties_GetEngine(This,pbszEngine) \
  1869. (This)->lpVtbl -> GetEngine(This,pbszEngine)
  1870. #define IAgentSpeechInputProperties_SetEngine(This,bszEngine) \
  1871. (This)->lpVtbl -> SetEngine(This,bszEngine)
  1872. #define IAgentSpeechInputProperties_GetListeningTip(This,pbListeningTip) \
  1873. (This)->lpVtbl -> GetListeningTip(This,pbListeningTip)
  1874. #endif /* COBJMACROS */
  1875. #endif /* C style interface */
  1876. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetInstalled_Proxy(
  1877. IAgentSpeechInputProperties __RPC_FAR * This,
  1878. /* [out] */ long __RPC_FAR *pbInstalled);
  1879. void __RPC_STUB IAgentSpeechInputProperties_GetInstalled_Stub(
  1880. IRpcStubBuffer *This,
  1881. IRpcChannelBuffer *_pRpcChannelBuffer,
  1882. PRPC_MESSAGE _pRpcMessage,
  1883. DWORD *_pdwStubPhase);
  1884. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetEnabled_Proxy(
  1885. IAgentSpeechInputProperties __RPC_FAR * This,
  1886. /* [out] */ long __RPC_FAR *pbEnabled);
  1887. void __RPC_STUB IAgentSpeechInputProperties_GetEnabled_Stub(
  1888. IRpcStubBuffer *This,
  1889. IRpcChannelBuffer *_pRpcChannelBuffer,
  1890. PRPC_MESSAGE _pRpcMessage,
  1891. DWORD *_pdwStubPhase);
  1892. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetHotKey_Proxy(
  1893. IAgentSpeechInputProperties __RPC_FAR * This,
  1894. /* [out] */ BSTR __RPC_FAR *pbszHotCharKey);
  1895. void __RPC_STUB IAgentSpeechInputProperties_GetHotKey_Stub(
  1896. IRpcStubBuffer *This,
  1897. IRpcChannelBuffer *_pRpcChannelBuffer,
  1898. PRPC_MESSAGE _pRpcMessage,
  1899. DWORD *_pdwStubPhase);
  1900. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetLCID_Proxy(
  1901. IAgentSpeechInputProperties __RPC_FAR * This,
  1902. /* [out] */ LCID __RPC_FAR *plcidCurrent);
  1903. void __RPC_STUB IAgentSpeechInputProperties_GetLCID_Stub(
  1904. IRpcStubBuffer *This,
  1905. IRpcChannelBuffer *_pRpcChannelBuffer,
  1906. PRPC_MESSAGE _pRpcMessage,
  1907. DWORD *_pdwStubPhase);
  1908. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetEngine_Proxy(
  1909. IAgentSpeechInputProperties __RPC_FAR * This,
  1910. /* [out] */ BSTR __RPC_FAR *pbszEngine);
  1911. void __RPC_STUB IAgentSpeechInputProperties_GetEngine_Stub(
  1912. IRpcStubBuffer *This,
  1913. IRpcChannelBuffer *_pRpcChannelBuffer,
  1914. PRPC_MESSAGE _pRpcMessage,
  1915. DWORD *_pdwStubPhase);
  1916. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_SetEngine_Proxy(
  1917. IAgentSpeechInputProperties __RPC_FAR * This,
  1918. /* [in] */ BSTR bszEngine);
  1919. void __RPC_STUB IAgentSpeechInputProperties_SetEngine_Stub(
  1920. IRpcStubBuffer *This,
  1921. IRpcChannelBuffer *_pRpcChannelBuffer,
  1922. PRPC_MESSAGE _pRpcMessage,
  1923. DWORD *_pdwStubPhase);
  1924. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetListeningTip_Proxy(
  1925. IAgentSpeechInputProperties __RPC_FAR * This,
  1926. /* [out] */ long __RPC_FAR *pbListeningTip);
  1927. void __RPC_STUB IAgentSpeechInputProperties_GetListeningTip_Stub(
  1928. IRpcStubBuffer *This,
  1929. IRpcChannelBuffer *_pRpcChannelBuffer,
  1930. PRPC_MESSAGE _pRpcMessage,
  1931. DWORD *_pdwStubPhase);
  1932. #endif /* __IAgentSpeechInputProperties_INTERFACE_DEFINED__ */
  1933. #ifndef __IAgentAudioOutputProperties_INTERFACE_DEFINED__
  1934. #define __IAgentAudioOutputProperties_INTERFACE_DEFINED__
  1935. /****************************************
  1936. * Generated header for interface: IAgentAudioOutputProperties
  1937. * at Mon Aug 31 17:00:38 1998
  1938. * using MIDL 3.01.75
  1939. ****************************************/
  1940. /* [unique][helpstring][dual][uuid][object] */
  1941. EXTERN_C const IID IID_IAgentAudioOutputProperties;
  1942. #if defined(__cplusplus) && !defined(CINTERFACE)
  1943. interface DECLSPEC_UUID("A7B93C89-7B81-11D0-AC5F-00C04FD97575")
  1944. IAgentAudioOutputProperties : public IDispatch
  1945. {
  1946. public:
  1947. virtual HRESULT STDMETHODCALLTYPE GetEnabled(
  1948. /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  1949. virtual HRESULT STDMETHODCALLTYPE GetUsingSoundEffects(
  1950. /* [out] */ long __RPC_FAR *pbUsingSoundEffects) = 0;
  1951. };
  1952. #else /* C style interface */
  1953. typedef struct IAgentAudioOutputPropertiesVtbl
  1954. {
  1955. BEGIN_INTERFACE
  1956. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1957. IAgentAudioOutputProperties __RPC_FAR * This,
  1958. /* [in] */ REFIID riid,
  1959. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1960. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1961. IAgentAudioOutputProperties __RPC_FAR * This);
  1962. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1963. IAgentAudioOutputProperties __RPC_FAR * This);
  1964. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1965. IAgentAudioOutputProperties __RPC_FAR * This,
  1966. /* [out] */ UINT __RPC_FAR *pctinfo);
  1967. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1968. IAgentAudioOutputProperties __RPC_FAR * This,
  1969. /* [in] */ UINT iTInfo,
  1970. /* [in] */ LCID lcid,
  1971. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1972. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1973. IAgentAudioOutputProperties __RPC_FAR * This,
  1974. /* [in] */ REFIID riid,
  1975. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1976. /* [in] */ UINT cNames,
  1977. /* [in] */ LCID lcid,
  1978. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1979. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1980. IAgentAudioOutputProperties __RPC_FAR * This,
  1981. /* [in] */ DISPID dispIdMember,
  1982. /* [in] */ REFIID riid,
  1983. /* [in] */ LCID lcid,
  1984. /* [in] */ WORD wFlags,
  1985. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1986. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1987. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1988. /* [out] */ UINT __RPC_FAR *puArgErr);
  1989. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  1990. IAgentAudioOutputProperties __RPC_FAR * This,
  1991. /* [out] */ long __RPC_FAR *pbEnabled);
  1992. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUsingSoundEffects )(
  1993. IAgentAudioOutputProperties __RPC_FAR * This,
  1994. /* [out] */ long __RPC_FAR *pbUsingSoundEffects);
  1995. END_INTERFACE
  1996. } IAgentAudioOutputPropertiesVtbl;
  1997. interface IAgentAudioOutputProperties
  1998. {
  1999. CONST_VTBL struct IAgentAudioOutputPropertiesVtbl __RPC_FAR *lpVtbl;
  2000. };
  2001. #ifdef COBJMACROS
  2002. #define IAgentAudioOutputProperties_QueryInterface(This,riid,ppvObject) \
  2003. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2004. #define IAgentAudioOutputProperties_AddRef(This) \
  2005. (This)->lpVtbl -> AddRef(This)
  2006. #define IAgentAudioOutputProperties_Release(This) \
  2007. (This)->lpVtbl -> Release(This)
  2008. #define IAgentAudioOutputProperties_GetTypeInfoCount(This,pctinfo) \
  2009. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2010. #define IAgentAudioOutputProperties_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2011. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2012. #define IAgentAudioOutputProperties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2013. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2014. #define IAgentAudioOutputProperties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2015. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2016. #define IAgentAudioOutputProperties_GetEnabled(This,pbEnabled) \
  2017. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  2018. #define IAgentAudioOutputProperties_GetUsingSoundEffects(This,pbUsingSoundEffects) \
  2019. (This)->lpVtbl -> GetUsingSoundEffects(This,pbUsingSoundEffects)
  2020. #endif /* COBJMACROS */
  2021. #endif /* C style interface */
  2022. HRESULT STDMETHODCALLTYPE IAgentAudioOutputProperties_GetEnabled_Proxy(
  2023. IAgentAudioOutputProperties __RPC_FAR * This,
  2024. /* [out] */ long __RPC_FAR *pbEnabled);
  2025. void __RPC_STUB IAgentAudioOutputProperties_GetEnabled_Stub(
  2026. IRpcStubBuffer *This,
  2027. IRpcChannelBuffer *_pRpcChannelBuffer,
  2028. PRPC_MESSAGE _pRpcMessage,
  2029. DWORD *_pdwStubPhase);
  2030. HRESULT STDMETHODCALLTYPE IAgentAudioOutputProperties_GetUsingSoundEffects_Proxy(
  2031. IAgentAudioOutputProperties __RPC_FAR * This,
  2032. /* [out] */ long __RPC_FAR *pbUsingSoundEffects);
  2033. void __RPC_STUB IAgentAudioOutputProperties_GetUsingSoundEffects_Stub(
  2034. IRpcStubBuffer *This,
  2035. IRpcChannelBuffer *_pRpcChannelBuffer,
  2036. PRPC_MESSAGE _pRpcMessage,
  2037. DWORD *_pdwStubPhase);
  2038. #endif /* __IAgentAudioOutputProperties_INTERFACE_DEFINED__ */
  2039. #ifndef __IAgentAudioOutputPropertiesEx_INTERFACE_DEFINED__
  2040. #define __IAgentAudioOutputPropertiesEx_INTERFACE_DEFINED__
  2041. /****************************************
  2042. * Generated header for interface: IAgentAudioOutputPropertiesEx
  2043. * at Mon Aug 31 17:00:38 1998
  2044. * using MIDL 3.01.75
  2045. ****************************************/
  2046. /* [unique][helpstring][dual][uuid][object] */
  2047. EXTERN_C const IID IID_IAgentAudioOutputPropertiesEx;
  2048. #if defined(__cplusplus) && !defined(CINTERFACE)
  2049. interface DECLSPEC_UUID("A7B93CA0-7B81-11D0-AC5F-00C04FD97575")
  2050. IAgentAudioOutputPropertiesEx : public IAgentAudioOutputProperties
  2051. {
  2052. public:
  2053. virtual HRESULT STDMETHODCALLTYPE GetStatus(
  2054. /* [out] */ long __RPC_FAR *plStatus) = 0;
  2055. };
  2056. #else /* C style interface */
  2057. typedef struct IAgentAudioOutputPropertiesExVtbl
  2058. {
  2059. BEGIN_INTERFACE
  2060. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2061. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2062. /* [in] */ REFIID riid,
  2063. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2064. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2065. IAgentAudioOutputPropertiesEx __RPC_FAR * This);
  2066. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2067. IAgentAudioOutputPropertiesEx __RPC_FAR * This);
  2068. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2069. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2070. /* [out] */ UINT __RPC_FAR *pctinfo);
  2071. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2072. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2073. /* [in] */ UINT iTInfo,
  2074. /* [in] */ LCID lcid,
  2075. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2076. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2077. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2078. /* [in] */ REFIID riid,
  2079. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2080. /* [in] */ UINT cNames,
  2081. /* [in] */ LCID lcid,
  2082. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2083. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2084. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2085. /* [in] */ DISPID dispIdMember,
  2086. /* [in] */ REFIID riid,
  2087. /* [in] */ LCID lcid,
  2088. /* [in] */ WORD wFlags,
  2089. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2090. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2091. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2092. /* [out] */ UINT __RPC_FAR *puArgErr);
  2093. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  2094. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2095. /* [out] */ long __RPC_FAR *pbEnabled);
  2096. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUsingSoundEffects )(
  2097. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2098. /* [out] */ long __RPC_FAR *pbUsingSoundEffects);
  2099. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStatus )(
  2100. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2101. /* [out] */ long __RPC_FAR *plStatus);
  2102. END_INTERFACE
  2103. } IAgentAudioOutputPropertiesExVtbl;
  2104. interface IAgentAudioOutputPropertiesEx
  2105. {
  2106. CONST_VTBL struct IAgentAudioOutputPropertiesExVtbl __RPC_FAR *lpVtbl;
  2107. };
  2108. #ifdef COBJMACROS
  2109. #define IAgentAudioOutputPropertiesEx_QueryInterface(This,riid,ppvObject) \
  2110. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2111. #define IAgentAudioOutputPropertiesEx_AddRef(This) \
  2112. (This)->lpVtbl -> AddRef(This)
  2113. #define IAgentAudioOutputPropertiesEx_Release(This) \
  2114. (This)->lpVtbl -> Release(This)
  2115. #define IAgentAudioOutputPropertiesEx_GetTypeInfoCount(This,pctinfo) \
  2116. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2117. #define IAgentAudioOutputPropertiesEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2118. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2119. #define IAgentAudioOutputPropertiesEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2120. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2121. #define IAgentAudioOutputPropertiesEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2122. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2123. #define IAgentAudioOutputPropertiesEx_GetEnabled(This,pbEnabled) \
  2124. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  2125. #define IAgentAudioOutputPropertiesEx_GetUsingSoundEffects(This,pbUsingSoundEffects) \
  2126. (This)->lpVtbl -> GetUsingSoundEffects(This,pbUsingSoundEffects)
  2127. #define IAgentAudioOutputPropertiesEx_GetStatus(This,plStatus) \
  2128. (This)->lpVtbl -> GetStatus(This,plStatus)
  2129. #endif /* COBJMACROS */
  2130. #endif /* C style interface */
  2131. HRESULT STDMETHODCALLTYPE IAgentAudioOutputPropertiesEx_GetStatus_Proxy(
  2132. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2133. /* [out] */ long __RPC_FAR *plStatus);
  2134. void __RPC_STUB IAgentAudioOutputPropertiesEx_GetStatus_Stub(
  2135. IRpcStubBuffer *This,
  2136. IRpcChannelBuffer *_pRpcChannelBuffer,
  2137. PRPC_MESSAGE _pRpcMessage,
  2138. DWORD *_pdwStubPhase);
  2139. #endif /* __IAgentAudioOutputPropertiesEx_INTERFACE_DEFINED__ */
  2140. #ifndef __IAgentPropertySheet_INTERFACE_DEFINED__
  2141. #define __IAgentPropertySheet_INTERFACE_DEFINED__
  2142. /****************************************
  2143. * Generated header for interface: IAgentPropertySheet
  2144. * at Mon Aug 31 17:00:38 1998
  2145. * using MIDL 3.01.75
  2146. ****************************************/
  2147. /* [unique][helpstring][dual][uuid][object] */
  2148. EXTERN_C const IID IID_IAgentPropertySheet;
  2149. #if defined(__cplusplus) && !defined(CINTERFACE)
  2150. interface DECLSPEC_UUID("A7B93C8B-7B81-11D0-AC5F-00C04FD97575")
  2151. IAgentPropertySheet : public IDispatch
  2152. {
  2153. public:
  2154. virtual HRESULT STDMETHODCALLTYPE GetVisible(
  2155. /* [out] */ long __RPC_FAR *pbVisible) = 0;
  2156. virtual HRESULT STDMETHODCALLTYPE SetVisible(
  2157. /* [in] */ long bVisible) = 0;
  2158. virtual HRESULT STDMETHODCALLTYPE GetPosition(
  2159. /* [out] */ long __RPC_FAR *plLeft,
  2160. /* [out] */ long __RPC_FAR *plTop) = 0;
  2161. virtual HRESULT STDMETHODCALLTYPE GetSize(
  2162. /* [out] */ long __RPC_FAR *plWidth,
  2163. /* [out] */ long __RPC_FAR *plHeight) = 0;
  2164. virtual HRESULT STDMETHODCALLTYPE GetPage(
  2165. /* [out] */ BSTR __RPC_FAR *pbszPage) = 0;
  2166. virtual HRESULT STDMETHODCALLTYPE SetPage(
  2167. /* [in] */ BSTR bszPage) = 0;
  2168. };
  2169. #else /* C style interface */
  2170. typedef struct IAgentPropertySheetVtbl
  2171. {
  2172. BEGIN_INTERFACE
  2173. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2174. IAgentPropertySheet __RPC_FAR * This,
  2175. /* [in] */ REFIID riid,
  2176. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2177. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2178. IAgentPropertySheet __RPC_FAR * This);
  2179. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2180. IAgentPropertySheet __RPC_FAR * This);
  2181. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2182. IAgentPropertySheet __RPC_FAR * This,
  2183. /* [out] */ UINT __RPC_FAR *pctinfo);
  2184. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2185. IAgentPropertySheet __RPC_FAR * This,
  2186. /* [in] */ UINT iTInfo,
  2187. /* [in] */ LCID lcid,
  2188. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2189. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2190. IAgentPropertySheet __RPC_FAR * This,
  2191. /* [in] */ REFIID riid,
  2192. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2193. /* [in] */ UINT cNames,
  2194. /* [in] */ LCID lcid,
  2195. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2196. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2197. IAgentPropertySheet __RPC_FAR * This,
  2198. /* [in] */ DISPID dispIdMember,
  2199. /* [in] */ REFIID riid,
  2200. /* [in] */ LCID lcid,
  2201. /* [in] */ WORD wFlags,
  2202. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2203. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2204. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2205. /* [out] */ UINT __RPC_FAR *puArgErr);
  2206. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  2207. IAgentPropertySheet __RPC_FAR * This,
  2208. /* [out] */ long __RPC_FAR *pbVisible);
  2209. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  2210. IAgentPropertySheet __RPC_FAR * This,
  2211. /* [in] */ long bVisible);
  2212. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )(
  2213. IAgentPropertySheet __RPC_FAR * This,
  2214. /* [out] */ long __RPC_FAR *plLeft,
  2215. /* [out] */ long __RPC_FAR *plTop);
  2216. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )(
  2217. IAgentPropertySheet __RPC_FAR * This,
  2218. /* [out] */ long __RPC_FAR *plWidth,
  2219. /* [out] */ long __RPC_FAR *plHeight);
  2220. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPage )(
  2221. IAgentPropertySheet __RPC_FAR * This,
  2222. /* [out] */ BSTR __RPC_FAR *pbszPage);
  2223. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPage )(
  2224. IAgentPropertySheet __RPC_FAR * This,
  2225. /* [in] */ BSTR bszPage);
  2226. END_INTERFACE
  2227. } IAgentPropertySheetVtbl;
  2228. interface IAgentPropertySheet
  2229. {
  2230. CONST_VTBL struct IAgentPropertySheetVtbl __RPC_FAR *lpVtbl;
  2231. };
  2232. #ifdef COBJMACROS
  2233. #define IAgentPropertySheet_QueryInterface(This,riid,ppvObject) \
  2234. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2235. #define IAgentPropertySheet_AddRef(This) \
  2236. (This)->lpVtbl -> AddRef(This)
  2237. #define IAgentPropertySheet_Release(This) \
  2238. (This)->lpVtbl -> Release(This)
  2239. #define IAgentPropertySheet_GetTypeInfoCount(This,pctinfo) \
  2240. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2241. #define IAgentPropertySheet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2242. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2243. #define IAgentPropertySheet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2244. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2245. #define IAgentPropertySheet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2246. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2247. #define IAgentPropertySheet_GetVisible(This,pbVisible) \
  2248. (This)->lpVtbl -> GetVisible(This,pbVisible)
  2249. #define IAgentPropertySheet_SetVisible(This,bVisible) \
  2250. (This)->lpVtbl -> SetVisible(This,bVisible)
  2251. #define IAgentPropertySheet_GetPosition(This,plLeft,plTop) \
  2252. (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  2253. #define IAgentPropertySheet_GetSize(This,plWidth,plHeight) \
  2254. (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  2255. #define IAgentPropertySheet_GetPage(This,pbszPage) \
  2256. (This)->lpVtbl -> GetPage(This,pbszPage)
  2257. #define IAgentPropertySheet_SetPage(This,bszPage) \
  2258. (This)->lpVtbl -> SetPage(This,bszPage)
  2259. #endif /* COBJMACROS */
  2260. #endif /* C style interface */
  2261. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetVisible_Proxy(
  2262. IAgentPropertySheet __RPC_FAR * This,
  2263. /* [out] */ long __RPC_FAR *pbVisible);
  2264. void __RPC_STUB IAgentPropertySheet_GetVisible_Stub(
  2265. IRpcStubBuffer *This,
  2266. IRpcChannelBuffer *_pRpcChannelBuffer,
  2267. PRPC_MESSAGE _pRpcMessage,
  2268. DWORD *_pdwStubPhase);
  2269. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_SetVisible_Proxy(
  2270. IAgentPropertySheet __RPC_FAR * This,
  2271. /* [in] */ long bVisible);
  2272. void __RPC_STUB IAgentPropertySheet_SetVisible_Stub(
  2273. IRpcStubBuffer *This,
  2274. IRpcChannelBuffer *_pRpcChannelBuffer,
  2275. PRPC_MESSAGE _pRpcMessage,
  2276. DWORD *_pdwStubPhase);
  2277. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetPosition_Proxy(
  2278. IAgentPropertySheet __RPC_FAR * This,
  2279. /* [out] */ long __RPC_FAR *plLeft,
  2280. /* [out] */ long __RPC_FAR *plTop);
  2281. void __RPC_STUB IAgentPropertySheet_GetPosition_Stub(
  2282. IRpcStubBuffer *This,
  2283. IRpcChannelBuffer *_pRpcChannelBuffer,
  2284. PRPC_MESSAGE _pRpcMessage,
  2285. DWORD *_pdwStubPhase);
  2286. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetSize_Proxy(
  2287. IAgentPropertySheet __RPC_FAR * This,
  2288. /* [out] */ long __RPC_FAR *plWidth,
  2289. /* [out] */ long __RPC_FAR *plHeight);
  2290. void __RPC_STUB IAgentPropertySheet_GetSize_Stub(
  2291. IRpcStubBuffer *This,
  2292. IRpcChannelBuffer *_pRpcChannelBuffer,
  2293. PRPC_MESSAGE _pRpcMessage,
  2294. DWORD *_pdwStubPhase);
  2295. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetPage_Proxy(
  2296. IAgentPropertySheet __RPC_FAR * This,
  2297. /* [out] */ BSTR __RPC_FAR *pbszPage);
  2298. void __RPC_STUB IAgentPropertySheet_GetPage_Stub(
  2299. IRpcStubBuffer *This,
  2300. IRpcChannelBuffer *_pRpcChannelBuffer,
  2301. PRPC_MESSAGE _pRpcMessage,
  2302. DWORD *_pdwStubPhase);
  2303. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_SetPage_Proxy(
  2304. IAgentPropertySheet __RPC_FAR * This,
  2305. /* [in] */ BSTR bszPage);
  2306. void __RPC_STUB IAgentPropertySheet_SetPage_Stub(
  2307. IRpcStubBuffer *This,
  2308. IRpcChannelBuffer *_pRpcChannelBuffer,
  2309. PRPC_MESSAGE _pRpcMessage,
  2310. DWORD *_pdwStubPhase);
  2311. #endif /* __IAgentPropertySheet_INTERFACE_DEFINED__ */
  2312. #ifndef __IAgentBalloon_INTERFACE_DEFINED__
  2313. #define __IAgentBalloon_INTERFACE_DEFINED__
  2314. /****************************************
  2315. * Generated header for interface: IAgentBalloon
  2316. * at Mon Aug 31 17:00:38 1998
  2317. * using MIDL 3.01.75
  2318. ****************************************/
  2319. /* [unique][helpstring][dual][uuid][object] */
  2320. EXTERN_C const IID IID_IAgentBalloon;
  2321. #if defined(__cplusplus) && !defined(CINTERFACE)
  2322. interface DECLSPEC_UUID("A7B93C8D-7B81-11D0-AC5F-00C04FD97575")
  2323. IAgentBalloon : public IDispatch
  2324. {
  2325. public:
  2326. virtual HRESULT STDMETHODCALLTYPE GetEnabled(
  2327. /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  2328. virtual HRESULT STDMETHODCALLTYPE GetNumLines(
  2329. /* [out] */ long __RPC_FAR *plLines) = 0;
  2330. virtual HRESULT STDMETHODCALLTYPE GetNumCharsPerLine(
  2331. /* [out] */ long __RPC_FAR *plCharsPerLine) = 0;
  2332. virtual HRESULT STDMETHODCALLTYPE GetFontName(
  2333. /* [out] */ BSTR __RPC_FAR *pbszFontName) = 0;
  2334. virtual HRESULT STDMETHODCALLTYPE GetFontSize(
  2335. /* [out] */ long __RPC_FAR *plFontSize) = 0;
  2336. virtual HRESULT STDMETHODCALLTYPE GetFontBold(
  2337. /* [out] */ long __RPC_FAR *pbFontBold) = 0;
  2338. virtual HRESULT STDMETHODCALLTYPE GetFontItalic(
  2339. /* [out] */ long __RPC_FAR *pbFontItalic) = 0;
  2340. virtual HRESULT STDMETHODCALLTYPE GetFontStrikethru(
  2341. /* [out] */ long __RPC_FAR *pbFontStrikethru) = 0;
  2342. virtual HRESULT STDMETHODCALLTYPE GetFontUnderline(
  2343. /* [out] */ long __RPC_FAR *pbFontUnderline) = 0;
  2344. virtual HRESULT STDMETHODCALLTYPE GetForeColor(
  2345. /* [out] */ long __RPC_FAR *plFGColor) = 0;
  2346. virtual HRESULT STDMETHODCALLTYPE GetBackColor(
  2347. /* [out] */ long __RPC_FAR *plBGColor) = 0;
  2348. virtual HRESULT STDMETHODCALLTYPE GetBorderColor(
  2349. /* [out] */ long __RPC_FAR *plBorderColor) = 0;
  2350. virtual HRESULT STDMETHODCALLTYPE SetVisible(
  2351. /* [in] */ long bVisible) = 0;
  2352. virtual HRESULT STDMETHODCALLTYPE GetVisible(
  2353. /* [out] */ long __RPC_FAR *pbVisible) = 0;
  2354. virtual HRESULT STDMETHODCALLTYPE SetFontName(
  2355. /* [in] */ BSTR bszFontName) = 0;
  2356. virtual HRESULT STDMETHODCALLTYPE SetFontSize(
  2357. /* [in] */ long lFontSize) = 0;
  2358. virtual HRESULT STDMETHODCALLTYPE SetFontCharSet(
  2359. /* [in] */ short sFontCharSet) = 0;
  2360. virtual HRESULT STDMETHODCALLTYPE GetFontCharSet(
  2361. /* [out] */ short __RPC_FAR *psFontCharSet) = 0;
  2362. };
  2363. #else /* C style interface */
  2364. typedef struct IAgentBalloonVtbl
  2365. {
  2366. BEGIN_INTERFACE
  2367. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2368. IAgentBalloon __RPC_FAR * This,
  2369. /* [in] */ REFIID riid,
  2370. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2371. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2372. IAgentBalloon __RPC_FAR * This);
  2373. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2374. IAgentBalloon __RPC_FAR * This);
  2375. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2376. IAgentBalloon __RPC_FAR * This,
  2377. /* [out] */ UINT __RPC_FAR *pctinfo);
  2378. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2379. IAgentBalloon __RPC_FAR * This,
  2380. /* [in] */ UINT iTInfo,
  2381. /* [in] */ LCID lcid,
  2382. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2383. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2384. IAgentBalloon __RPC_FAR * This,
  2385. /* [in] */ REFIID riid,
  2386. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2387. /* [in] */ UINT cNames,
  2388. /* [in] */ LCID lcid,
  2389. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2390. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2391. IAgentBalloon __RPC_FAR * This,
  2392. /* [in] */ DISPID dispIdMember,
  2393. /* [in] */ REFIID riid,
  2394. /* [in] */ LCID lcid,
  2395. /* [in] */ WORD wFlags,
  2396. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2397. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2398. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2399. /* [out] */ UINT __RPC_FAR *puArgErr);
  2400. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  2401. IAgentBalloon __RPC_FAR * This,
  2402. /* [out] */ long __RPC_FAR *pbEnabled);
  2403. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumLines )(
  2404. IAgentBalloon __RPC_FAR * This,
  2405. /* [out] */ long __RPC_FAR *plLines);
  2406. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumCharsPerLine )(
  2407. IAgentBalloon __RPC_FAR * This,
  2408. /* [out] */ long __RPC_FAR *plCharsPerLine);
  2409. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontName )(
  2410. IAgentBalloon __RPC_FAR * This,
  2411. /* [out] */ BSTR __RPC_FAR *pbszFontName);
  2412. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontSize )(
  2413. IAgentBalloon __RPC_FAR * This,
  2414. /* [out] */ long __RPC_FAR *plFontSize);
  2415. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontBold )(
  2416. IAgentBalloon __RPC_FAR * This,
  2417. /* [out] */ long __RPC_FAR *pbFontBold);
  2418. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontItalic )(
  2419. IAgentBalloon __RPC_FAR * This,
  2420. /* [out] */ long __RPC_FAR *pbFontItalic);
  2421. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontStrikethru )(
  2422. IAgentBalloon __RPC_FAR * This,
  2423. /* [out] */ long __RPC_FAR *pbFontStrikethru);
  2424. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontUnderline )(
  2425. IAgentBalloon __RPC_FAR * This,
  2426. /* [out] */ long __RPC_FAR *pbFontUnderline);
  2427. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetForeColor )(
  2428. IAgentBalloon __RPC_FAR * This,
  2429. /* [out] */ long __RPC_FAR *plFGColor);
  2430. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBackColor )(
  2431. IAgentBalloon __RPC_FAR * This,
  2432. /* [out] */ long __RPC_FAR *plBGColor);
  2433. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBorderColor )(
  2434. IAgentBalloon __RPC_FAR * This,
  2435. /* [out] */ long __RPC_FAR *plBorderColor);
  2436. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  2437. IAgentBalloon __RPC_FAR * This,
  2438. /* [in] */ long bVisible);
  2439. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  2440. IAgentBalloon __RPC_FAR * This,
  2441. /* [out] */ long __RPC_FAR *pbVisible);
  2442. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontName )(
  2443. IAgentBalloon __RPC_FAR * This,
  2444. /* [in] */ BSTR bszFontName);
  2445. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontSize )(
  2446. IAgentBalloon __RPC_FAR * This,
  2447. /* [in] */ long lFontSize);
  2448. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontCharSet )(
  2449. IAgentBalloon __RPC_FAR * This,
  2450. /* [in] */ short sFontCharSet);
  2451. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontCharSet )(
  2452. IAgentBalloon __RPC_FAR * This,
  2453. /* [out] */ short __RPC_FAR *psFontCharSet);
  2454. END_INTERFACE
  2455. } IAgentBalloonVtbl;
  2456. interface IAgentBalloon
  2457. {
  2458. CONST_VTBL struct IAgentBalloonVtbl __RPC_FAR *lpVtbl;
  2459. };
  2460. #ifdef COBJMACROS
  2461. #define IAgentBalloon_QueryInterface(This,riid,ppvObject) \
  2462. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2463. #define IAgentBalloon_AddRef(This) \
  2464. (This)->lpVtbl -> AddRef(This)
  2465. #define IAgentBalloon_Release(This) \
  2466. (This)->lpVtbl -> Release(This)
  2467. #define IAgentBalloon_GetTypeInfoCount(This,pctinfo) \
  2468. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2469. #define IAgentBalloon_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2470. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2471. #define IAgentBalloon_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2472. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2473. #define IAgentBalloon_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2474. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2475. #define IAgentBalloon_GetEnabled(This,pbEnabled) \
  2476. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  2477. #define IAgentBalloon_GetNumLines(This,plLines) \
  2478. (This)->lpVtbl -> GetNumLines(This,plLines)
  2479. #define IAgentBalloon_GetNumCharsPerLine(This,plCharsPerLine) \
  2480. (This)->lpVtbl -> GetNumCharsPerLine(This,plCharsPerLine)
  2481. #define IAgentBalloon_GetFontName(This,pbszFontName) \
  2482. (This)->lpVtbl -> GetFontName(This,pbszFontName)
  2483. #define IAgentBalloon_GetFontSize(This,plFontSize) \
  2484. (This)->lpVtbl -> GetFontSize(This,plFontSize)
  2485. #define IAgentBalloon_GetFontBold(This,pbFontBold) \
  2486. (This)->lpVtbl -> GetFontBold(This,pbFontBold)
  2487. #define IAgentBalloon_GetFontItalic(This,pbFontItalic) \
  2488. (This)->lpVtbl -> GetFontItalic(This,pbFontItalic)
  2489. #define IAgentBalloon_GetFontStrikethru(This,pbFontStrikethru) \
  2490. (This)->lpVtbl -> GetFontStrikethru(This,pbFontStrikethru)
  2491. #define IAgentBalloon_GetFontUnderline(This,pbFontUnderline) \
  2492. (This)->lpVtbl -> GetFontUnderline(This,pbFontUnderline)
  2493. #define IAgentBalloon_GetForeColor(This,plFGColor) \
  2494. (This)->lpVtbl -> GetForeColor(This,plFGColor)
  2495. #define IAgentBalloon_GetBackColor(This,plBGColor) \
  2496. (This)->lpVtbl -> GetBackColor(This,plBGColor)
  2497. #define IAgentBalloon_GetBorderColor(This,plBorderColor) \
  2498. (This)->lpVtbl -> GetBorderColor(This,plBorderColor)
  2499. #define IAgentBalloon_SetVisible(This,bVisible) \
  2500. (This)->lpVtbl -> SetVisible(This,bVisible)
  2501. #define IAgentBalloon_GetVisible(This,pbVisible) \
  2502. (This)->lpVtbl -> GetVisible(This,pbVisible)
  2503. #define IAgentBalloon_SetFontName(This,bszFontName) \
  2504. (This)->lpVtbl -> SetFontName(This,bszFontName)
  2505. #define IAgentBalloon_SetFontSize(This,lFontSize) \
  2506. (This)->lpVtbl -> SetFontSize(This,lFontSize)
  2507. #define IAgentBalloon_SetFontCharSet(This,sFontCharSet) \
  2508. (This)->lpVtbl -> SetFontCharSet(This,sFontCharSet)
  2509. #define IAgentBalloon_GetFontCharSet(This,psFontCharSet) \
  2510. (This)->lpVtbl -> GetFontCharSet(This,psFontCharSet)
  2511. #endif /* COBJMACROS */
  2512. #endif /* C style interface */
  2513. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetEnabled_Proxy(
  2514. IAgentBalloon __RPC_FAR * This,
  2515. /* [out] */ long __RPC_FAR *pbEnabled);
  2516. void __RPC_STUB IAgentBalloon_GetEnabled_Stub(
  2517. IRpcStubBuffer *This,
  2518. IRpcChannelBuffer *_pRpcChannelBuffer,
  2519. PRPC_MESSAGE _pRpcMessage,
  2520. DWORD *_pdwStubPhase);
  2521. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetNumLines_Proxy(
  2522. IAgentBalloon __RPC_FAR * This,
  2523. /* [out] */ long __RPC_FAR *plLines);
  2524. void __RPC_STUB IAgentBalloon_GetNumLines_Stub(
  2525. IRpcStubBuffer *This,
  2526. IRpcChannelBuffer *_pRpcChannelBuffer,
  2527. PRPC_MESSAGE _pRpcMessage,
  2528. DWORD *_pdwStubPhase);
  2529. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetNumCharsPerLine_Proxy(
  2530. IAgentBalloon __RPC_FAR * This,
  2531. /* [out] */ long __RPC_FAR *plCharsPerLine);
  2532. void __RPC_STUB IAgentBalloon_GetNumCharsPerLine_Stub(
  2533. IRpcStubBuffer *This,
  2534. IRpcChannelBuffer *_pRpcChannelBuffer,
  2535. PRPC_MESSAGE _pRpcMessage,
  2536. DWORD *_pdwStubPhase);
  2537. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontName_Proxy(
  2538. IAgentBalloon __RPC_FAR * This,
  2539. /* [out] */ BSTR __RPC_FAR *pbszFontName);
  2540. void __RPC_STUB IAgentBalloon_GetFontName_Stub(
  2541. IRpcStubBuffer *This,
  2542. IRpcChannelBuffer *_pRpcChannelBuffer,
  2543. PRPC_MESSAGE _pRpcMessage,
  2544. DWORD *_pdwStubPhase);
  2545. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontSize_Proxy(
  2546. IAgentBalloon __RPC_FAR * This,
  2547. /* [out] */ long __RPC_FAR *plFontSize);
  2548. void __RPC_STUB IAgentBalloon_GetFontSize_Stub(
  2549. IRpcStubBuffer *This,
  2550. IRpcChannelBuffer *_pRpcChannelBuffer,
  2551. PRPC_MESSAGE _pRpcMessage,
  2552. DWORD *_pdwStubPhase);
  2553. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontBold_Proxy(
  2554. IAgentBalloon __RPC_FAR * This,
  2555. /* [out] */ long __RPC_FAR *pbFontBold);
  2556. void __RPC_STUB IAgentBalloon_GetFontBold_Stub(
  2557. IRpcStubBuffer *This,
  2558. IRpcChannelBuffer *_pRpcChannelBuffer,
  2559. PRPC_MESSAGE _pRpcMessage,
  2560. DWORD *_pdwStubPhase);
  2561. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontItalic_Proxy(
  2562. IAgentBalloon __RPC_FAR * This,
  2563. /* [out] */ long __RPC_FAR *pbFontItalic);
  2564. void __RPC_STUB IAgentBalloon_GetFontItalic_Stub(
  2565. IRpcStubBuffer *This,
  2566. IRpcChannelBuffer *_pRpcChannelBuffer,
  2567. PRPC_MESSAGE _pRpcMessage,
  2568. DWORD *_pdwStubPhase);
  2569. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontStrikethru_Proxy(
  2570. IAgentBalloon __RPC_FAR * This,
  2571. /* [out] */ long __RPC_FAR *pbFontStrikethru);
  2572. void __RPC_STUB IAgentBalloon_GetFontStrikethru_Stub(
  2573. IRpcStubBuffer *This,
  2574. IRpcChannelBuffer *_pRpcChannelBuffer,
  2575. PRPC_MESSAGE _pRpcMessage,
  2576. DWORD *_pdwStubPhase);
  2577. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontUnderline_Proxy(
  2578. IAgentBalloon __RPC_FAR * This,
  2579. /* [out] */ long __RPC_FAR *pbFontUnderline);
  2580. void __RPC_STUB IAgentBalloon_GetFontUnderline_Stub(
  2581. IRpcStubBuffer *This,
  2582. IRpcChannelBuffer *_pRpcChannelBuffer,
  2583. PRPC_MESSAGE _pRpcMessage,
  2584. DWORD *_pdwStubPhase);
  2585. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetForeColor_Proxy(
  2586. IAgentBalloon __RPC_FAR * This,
  2587. /* [out] */ long __RPC_FAR *plFGColor);
  2588. void __RPC_STUB IAgentBalloon_GetForeColor_Stub(
  2589. IRpcStubBuffer *This,
  2590. IRpcChannelBuffer *_pRpcChannelBuffer,
  2591. PRPC_MESSAGE _pRpcMessage,
  2592. DWORD *_pdwStubPhase);
  2593. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetBackColor_Proxy(
  2594. IAgentBalloon __RPC_FAR * This,
  2595. /* [out] */ long __RPC_FAR *plBGColor);
  2596. void __RPC_STUB IAgentBalloon_GetBackColor_Stub(
  2597. IRpcStubBuffer *This,
  2598. IRpcChannelBuffer *_pRpcChannelBuffer,
  2599. PRPC_MESSAGE _pRpcMessage,
  2600. DWORD *_pdwStubPhase);
  2601. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetBorderColor_Proxy(
  2602. IAgentBalloon __RPC_FAR * This,
  2603. /* [out] */ long __RPC_FAR *plBorderColor);
  2604. void __RPC_STUB IAgentBalloon_GetBorderColor_Stub(
  2605. IRpcStubBuffer *This,
  2606. IRpcChannelBuffer *_pRpcChannelBuffer,
  2607. PRPC_MESSAGE _pRpcMessage,
  2608. DWORD *_pdwStubPhase);
  2609. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetVisible_Proxy(
  2610. IAgentBalloon __RPC_FAR * This,
  2611. /* [in] */ long bVisible);
  2612. void __RPC_STUB IAgentBalloon_SetVisible_Stub(
  2613. IRpcStubBuffer *This,
  2614. IRpcChannelBuffer *_pRpcChannelBuffer,
  2615. PRPC_MESSAGE _pRpcMessage,
  2616. DWORD *_pdwStubPhase);
  2617. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetVisible_Proxy(
  2618. IAgentBalloon __RPC_FAR * This,
  2619. /* [out] */ long __RPC_FAR *pbVisible);
  2620. void __RPC_STUB IAgentBalloon_GetVisible_Stub(
  2621. IRpcStubBuffer *This,
  2622. IRpcChannelBuffer *_pRpcChannelBuffer,
  2623. PRPC_MESSAGE _pRpcMessage,
  2624. DWORD *_pdwStubPhase);
  2625. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetFontName_Proxy(
  2626. IAgentBalloon __RPC_FAR * This,
  2627. /* [in] */ BSTR bszFontName);
  2628. void __RPC_STUB IAgentBalloon_SetFontName_Stub(
  2629. IRpcStubBuffer *This,
  2630. IRpcChannelBuffer *_pRpcChannelBuffer,
  2631. PRPC_MESSAGE _pRpcMessage,
  2632. DWORD *_pdwStubPhase);
  2633. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetFontSize_Proxy(
  2634. IAgentBalloon __RPC_FAR * This,
  2635. /* [in] */ long lFontSize);
  2636. void __RPC_STUB IAgentBalloon_SetFontSize_Stub(
  2637. IRpcStubBuffer *This,
  2638. IRpcChannelBuffer *_pRpcChannelBuffer,
  2639. PRPC_MESSAGE _pRpcMessage,
  2640. DWORD *_pdwStubPhase);
  2641. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetFontCharSet_Proxy(
  2642. IAgentBalloon __RPC_FAR * This,
  2643. /* [in] */ short sFontCharSet);
  2644. void __RPC_STUB IAgentBalloon_SetFontCharSet_Stub(
  2645. IRpcStubBuffer *This,
  2646. IRpcChannelBuffer *_pRpcChannelBuffer,
  2647. PRPC_MESSAGE _pRpcMessage,
  2648. DWORD *_pdwStubPhase);
  2649. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontCharSet_Proxy(
  2650. IAgentBalloon __RPC_FAR * This,
  2651. /* [out] */ short __RPC_FAR *psFontCharSet);
  2652. void __RPC_STUB IAgentBalloon_GetFontCharSet_Stub(
  2653. IRpcStubBuffer *This,
  2654. IRpcChannelBuffer *_pRpcChannelBuffer,
  2655. PRPC_MESSAGE _pRpcMessage,
  2656. DWORD *_pdwStubPhase);
  2657. #endif /* __IAgentBalloon_INTERFACE_DEFINED__ */
  2658. #ifndef __IAgentBalloonEx_INTERFACE_DEFINED__
  2659. #define __IAgentBalloonEx_INTERFACE_DEFINED__
  2660. /****************************************
  2661. * Generated header for interface: IAgentBalloonEx
  2662. * at Mon Aug 31 17:00:38 1998
  2663. * using MIDL 3.01.75
  2664. ****************************************/
  2665. /* [unique][helpstring][dual][uuid][object] */
  2666. EXTERN_C const IID IID_IAgentBalloonEx;
  2667. #if defined(__cplusplus) && !defined(CINTERFACE)
  2668. interface DECLSPEC_UUID("D7A6D440-8872-11d1-9EC6-00C04FD7081F")
  2669. IAgentBalloonEx : public IAgentBalloon
  2670. {
  2671. public:
  2672. virtual HRESULT STDMETHODCALLTYPE SetStyle(
  2673. /* [in] */ long lStyle) = 0;
  2674. virtual HRESULT STDMETHODCALLTYPE GetStyle(
  2675. /* [out] */ long __RPC_FAR *plStyle) = 0;
  2676. virtual HRESULT STDMETHODCALLTYPE SetNumLines(
  2677. /* [in] */ long lLines) = 0;
  2678. virtual HRESULT STDMETHODCALLTYPE SetNumCharsPerLine(
  2679. /* [in] */ long lCharsPerLine) = 0;
  2680. };
  2681. #else /* C style interface */
  2682. typedef struct IAgentBalloonExVtbl
  2683. {
  2684. BEGIN_INTERFACE
  2685. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2686. IAgentBalloonEx __RPC_FAR * This,
  2687. /* [in] */ REFIID riid,
  2688. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2689. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2690. IAgentBalloonEx __RPC_FAR * This);
  2691. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2692. IAgentBalloonEx __RPC_FAR * This);
  2693. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2694. IAgentBalloonEx __RPC_FAR * This,
  2695. /* [out] */ UINT __RPC_FAR *pctinfo);
  2696. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2697. IAgentBalloonEx __RPC_FAR * This,
  2698. /* [in] */ UINT iTInfo,
  2699. /* [in] */ LCID lcid,
  2700. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2701. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2702. IAgentBalloonEx __RPC_FAR * This,
  2703. /* [in] */ REFIID riid,
  2704. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2705. /* [in] */ UINT cNames,
  2706. /* [in] */ LCID lcid,
  2707. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2708. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2709. IAgentBalloonEx __RPC_FAR * This,
  2710. /* [in] */ DISPID dispIdMember,
  2711. /* [in] */ REFIID riid,
  2712. /* [in] */ LCID lcid,
  2713. /* [in] */ WORD wFlags,
  2714. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2715. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2716. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2717. /* [out] */ UINT __RPC_FAR *puArgErr);
  2718. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  2719. IAgentBalloonEx __RPC_FAR * This,
  2720. /* [out] */ long __RPC_FAR *pbEnabled);
  2721. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumLines )(
  2722. IAgentBalloonEx __RPC_FAR * This,
  2723. /* [out] */ long __RPC_FAR *plLines);
  2724. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumCharsPerLine )(
  2725. IAgentBalloonEx __RPC_FAR * This,
  2726. /* [out] */ long __RPC_FAR *plCharsPerLine);
  2727. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontName )(
  2728. IAgentBalloonEx __RPC_FAR * This,
  2729. /* [out] */ BSTR __RPC_FAR *pbszFontName);
  2730. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontSize )(
  2731. IAgentBalloonEx __RPC_FAR * This,
  2732. /* [out] */ long __RPC_FAR *plFontSize);
  2733. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontBold )(
  2734. IAgentBalloonEx __RPC_FAR * This,
  2735. /* [out] */ long __RPC_FAR *pbFontBold);
  2736. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontItalic )(
  2737. IAgentBalloonEx __RPC_FAR * This,
  2738. /* [out] */ long __RPC_FAR *pbFontItalic);
  2739. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontStrikethru )(
  2740. IAgentBalloonEx __RPC_FAR * This,
  2741. /* [out] */ long __RPC_FAR *pbFontStrikethru);
  2742. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontUnderline )(
  2743. IAgentBalloonEx __RPC_FAR * This,
  2744. /* [out] */ long __RPC_FAR *pbFontUnderline);
  2745. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetForeColor )(
  2746. IAgentBalloonEx __RPC_FAR * This,
  2747. /* [out] */ long __RPC_FAR *plFGColor);
  2748. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBackColor )(
  2749. IAgentBalloonEx __RPC_FAR * This,
  2750. /* [out] */ long __RPC_FAR *plBGColor);
  2751. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBorderColor )(
  2752. IAgentBalloonEx __RPC_FAR * This,
  2753. /* [out] */ long __RPC_FAR *plBorderColor);
  2754. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  2755. IAgentBalloonEx __RPC_FAR * This,
  2756. /* [in] */ long bVisible);
  2757. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  2758. IAgentBalloonEx __RPC_FAR * This,
  2759. /* [out] */ long __RPC_FAR *pbVisible);
  2760. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontName )(
  2761. IAgentBalloonEx __RPC_FAR * This,
  2762. /* [in] */ BSTR bszFontName);
  2763. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontSize )(
  2764. IAgentBalloonEx __RPC_FAR * This,
  2765. /* [in] */ long lFontSize);
  2766. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontCharSet )(
  2767. IAgentBalloonEx __RPC_FAR * This,
  2768. /* [in] */ short sFontCharSet);
  2769. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontCharSet )(
  2770. IAgentBalloonEx __RPC_FAR * This,
  2771. /* [out] */ short __RPC_FAR *psFontCharSet);
  2772. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStyle )(
  2773. IAgentBalloonEx __RPC_FAR * This,
  2774. /* [in] */ long lStyle);
  2775. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStyle )(
  2776. IAgentBalloonEx __RPC_FAR * This,
  2777. /* [out] */ long __RPC_FAR *plStyle);
  2778. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNumLines )(
  2779. IAgentBalloonEx __RPC_FAR * This,
  2780. /* [in] */ long lLines);
  2781. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNumCharsPerLine )(
  2782. IAgentBalloonEx __RPC_FAR * This,
  2783. /* [in] */ long lCharsPerLine);
  2784. END_INTERFACE
  2785. } IAgentBalloonExVtbl;
  2786. interface IAgentBalloonEx
  2787. {
  2788. CONST_VTBL struct IAgentBalloonExVtbl __RPC_FAR *lpVtbl;
  2789. };
  2790. #ifdef COBJMACROS
  2791. #define IAgentBalloonEx_QueryInterface(This,riid,ppvObject) \
  2792. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2793. #define IAgentBalloonEx_AddRef(This) \
  2794. (This)->lpVtbl -> AddRef(This)
  2795. #define IAgentBalloonEx_Release(This) \
  2796. (This)->lpVtbl -> Release(This)
  2797. #define IAgentBalloonEx_GetTypeInfoCount(This,pctinfo) \
  2798. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2799. #define IAgentBalloonEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2800. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2801. #define IAgentBalloonEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2802. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2803. #define IAgentBalloonEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2804. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2805. #define IAgentBalloonEx_GetEnabled(This,pbEnabled) \
  2806. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  2807. #define IAgentBalloonEx_GetNumLines(This,plLines) \
  2808. (This)->lpVtbl -> GetNumLines(This,plLines)
  2809. #define IAgentBalloonEx_GetNumCharsPerLine(This,plCharsPerLine) \
  2810. (This)->lpVtbl -> GetNumCharsPerLine(This,plCharsPerLine)
  2811. #define IAgentBalloonEx_GetFontName(This,pbszFontName) \
  2812. (This)->lpVtbl -> GetFontName(This,pbszFontName)
  2813. #define IAgentBalloonEx_GetFontSize(This,plFontSize) \
  2814. (This)->lpVtbl -> GetFontSize(This,plFontSize)
  2815. #define IAgentBalloonEx_GetFontBold(This,pbFontBold) \
  2816. (This)->lpVtbl -> GetFontBold(This,pbFontBold)
  2817. #define IAgentBalloonEx_GetFontItalic(This,pbFontItalic) \
  2818. (This)->lpVtbl -> GetFontItalic(This,pbFontItalic)
  2819. #define IAgentBalloonEx_GetFontStrikethru(This,pbFontStrikethru) \
  2820. (This)->lpVtbl -> GetFontStrikethru(This,pbFontStrikethru)
  2821. #define IAgentBalloonEx_GetFontUnderline(This,pbFontUnderline) \
  2822. (This)->lpVtbl -> GetFontUnderline(This,pbFontUnderline)
  2823. #define IAgentBalloonEx_GetForeColor(This,plFGColor) \
  2824. (This)->lpVtbl -> GetForeColor(This,plFGColor)
  2825. #define IAgentBalloonEx_GetBackColor(This,plBGColor) \
  2826. (This)->lpVtbl -> GetBackColor(This,plBGColor)
  2827. #define IAgentBalloonEx_GetBorderColor(This,plBorderColor) \
  2828. (This)->lpVtbl -> GetBorderColor(This,plBorderColor)
  2829. #define IAgentBalloonEx_SetVisible(This,bVisible) \
  2830. (This)->lpVtbl -> SetVisible(This,bVisible)
  2831. #define IAgentBalloonEx_GetVisible(This,pbVisible) \
  2832. (This)->lpVtbl -> GetVisible(This,pbVisible)
  2833. #define IAgentBalloonEx_SetFontName(This,bszFontName) \
  2834. (This)->lpVtbl -> SetFontName(This,bszFontName)
  2835. #define IAgentBalloonEx_SetFontSize(This,lFontSize) \
  2836. (This)->lpVtbl -> SetFontSize(This,lFontSize)
  2837. #define IAgentBalloonEx_SetFontCharSet(This,sFontCharSet) \
  2838. (This)->lpVtbl -> SetFontCharSet(This,sFontCharSet)
  2839. #define IAgentBalloonEx_GetFontCharSet(This,psFontCharSet) \
  2840. (This)->lpVtbl -> GetFontCharSet(This,psFontCharSet)
  2841. #define IAgentBalloonEx_SetStyle(This,lStyle) \
  2842. (This)->lpVtbl -> SetStyle(This,lStyle)
  2843. #define IAgentBalloonEx_GetStyle(This,plStyle) \
  2844. (This)->lpVtbl -> GetStyle(This,plStyle)
  2845. #define IAgentBalloonEx_SetNumLines(This,lLines) \
  2846. (This)->lpVtbl -> SetNumLines(This,lLines)
  2847. #define IAgentBalloonEx_SetNumCharsPerLine(This,lCharsPerLine) \
  2848. (This)->lpVtbl -> SetNumCharsPerLine(This,lCharsPerLine)
  2849. #endif /* COBJMACROS */
  2850. #endif /* C style interface */
  2851. HRESULT STDMETHODCALLTYPE IAgentBalloonEx_SetStyle_Proxy(
  2852. IAgentBalloonEx __RPC_FAR * This,
  2853. /* [in] */ long lStyle);
  2854. void __RPC_STUB IAgentBalloonEx_SetStyle_Stub(
  2855. IRpcStubBuffer *This,
  2856. IRpcChannelBuffer *_pRpcChannelBuffer,
  2857. PRPC_MESSAGE _pRpcMessage,
  2858. DWORD *_pdwStubPhase);
  2859. HRESULT STDMETHODCALLTYPE IAgentBalloonEx_GetStyle_Proxy(
  2860. IAgentBalloonEx __RPC_FAR * This,
  2861. /* [out] */ long __RPC_FAR *plStyle);
  2862. void __RPC_STUB IAgentBalloonEx_GetStyle_Stub(
  2863. IRpcStubBuffer *This,
  2864. IRpcChannelBuffer *_pRpcChannelBuffer,
  2865. PRPC_MESSAGE _pRpcMessage,
  2866. DWORD *_pdwStubPhase);
  2867. HRESULT STDMETHODCALLTYPE IAgentBalloonEx_SetNumLines_Proxy(
  2868. IAgentBalloonEx __RPC_FAR * This,
  2869. /* [in] */ long lLines);
  2870. void __RPC_STUB IAgentBalloonEx_SetNumLines_Stub(
  2871. IRpcStubBuffer *This,
  2872. IRpcChannelBuffer *_pRpcChannelBuffer,
  2873. PRPC_MESSAGE _pRpcMessage,
  2874. DWORD *_pdwStubPhase);
  2875. HRESULT STDMETHODCALLTYPE IAgentBalloonEx_SetNumCharsPerLine_Proxy(
  2876. IAgentBalloonEx __RPC_FAR * This,
  2877. /* [in] */ long lCharsPerLine);
  2878. void __RPC_STUB IAgentBalloonEx_SetNumCharsPerLine_Stub(
  2879. IRpcStubBuffer *This,
  2880. IRpcChannelBuffer *_pRpcChannelBuffer,
  2881. PRPC_MESSAGE _pRpcMessage,
  2882. DWORD *_pdwStubPhase);
  2883. #endif /* __IAgentBalloonEx_INTERFACE_DEFINED__ */
  2884. #ifndef __IAgentCharacter_INTERFACE_DEFINED__
  2885. #define __IAgentCharacter_INTERFACE_DEFINED__
  2886. /****************************************
  2887. * Generated header for interface: IAgentCharacter
  2888. * at Mon Aug 31 17:00:38 1998
  2889. * using MIDL 3.01.75
  2890. ****************************************/
  2891. /* [unique][helpstring][dual][uuid][object] */
  2892. EXTERN_C const IID IID_IAgentCharacter;
  2893. #if defined(__cplusplus) && !defined(CINTERFACE)
  2894. interface DECLSPEC_UUID("A7B93C8F-7B81-11D0-AC5F-00C04FD97575")
  2895. IAgentCharacter : public IDispatch
  2896. {
  2897. public:
  2898. virtual HRESULT STDMETHODCALLTYPE GetVisible(
  2899. /* [out] */ long __RPC_FAR *pbVisible) = 0;
  2900. virtual HRESULT STDMETHODCALLTYPE SetPosition(
  2901. /* [in] */ long lLeft,
  2902. /* [in] */ long lTop) = 0;
  2903. virtual HRESULT STDMETHODCALLTYPE GetPosition(
  2904. /* [out] */ long __RPC_FAR *plLeft,
  2905. /* [out] */ long __RPC_FAR *plTop) = 0;
  2906. virtual HRESULT STDMETHODCALLTYPE SetSize(
  2907. /* [in] */ long lWidth,
  2908. /* [in] */ long lHeight) = 0;
  2909. virtual HRESULT STDMETHODCALLTYPE GetSize(
  2910. /* [out] */ long __RPC_FAR *plWidth,
  2911. /* [out] */ long __RPC_FAR *plHeight) = 0;
  2912. virtual HRESULT STDMETHODCALLTYPE GetName(
  2913. /* [out] */ BSTR __RPC_FAR *pbszName) = 0;
  2914. virtual HRESULT STDMETHODCALLTYPE GetDescription(
  2915. /* [out] */ BSTR __RPC_FAR *pbszDescription) = 0;
  2916. virtual HRESULT STDMETHODCALLTYPE GetTTSSpeed(
  2917. /* [out] */ long __RPC_FAR *pdwSpeed) = 0;
  2918. virtual HRESULT STDMETHODCALLTYPE GetTTSPitch(
  2919. /* [out] */ short __RPC_FAR *pwPitch) = 0;
  2920. virtual HRESULT STDMETHODCALLTYPE Activate(
  2921. /* [in] */ short sState) = 0;
  2922. virtual HRESULT STDMETHODCALLTYPE SetIdleOn(
  2923. /* [in] */ long bOn) = 0;
  2924. virtual HRESULT STDMETHODCALLTYPE GetIdleOn(
  2925. /* [out] */ long __RPC_FAR *pbOn) = 0;
  2926. virtual HRESULT STDMETHODCALLTYPE Prepare(
  2927. /* [in] */ long dwType,
  2928. /* [in] */ BSTR bszName,
  2929. /* [in] */ long bQueue,
  2930. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2931. virtual HRESULT STDMETHODCALLTYPE Play(
  2932. /* [in] */ BSTR bszAnimation,
  2933. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2934. virtual HRESULT STDMETHODCALLTYPE Stop(
  2935. /* [in] */ long dwReqID) = 0;
  2936. virtual HRESULT STDMETHODCALLTYPE StopAll(
  2937. /* [in] */ long lTypes) = 0;
  2938. virtual HRESULT STDMETHODCALLTYPE Wait(
  2939. /* [in] */ long dwReqID,
  2940. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2941. virtual HRESULT STDMETHODCALLTYPE Interrupt(
  2942. /* [in] */ long dwReqID,
  2943. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2944. virtual HRESULT STDMETHODCALLTYPE Show(
  2945. /* [in] */ long bFast,
  2946. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2947. virtual HRESULT STDMETHODCALLTYPE Hide(
  2948. /* [in] */ long bFast,
  2949. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2950. virtual HRESULT STDMETHODCALLTYPE Speak(
  2951. /* [in] */ BSTR bszText,
  2952. /* [in] */ BSTR bszUrl,
  2953. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2954. virtual HRESULT STDMETHODCALLTYPE MoveTo(
  2955. /* [in] */ short x,
  2956. /* [in] */ short y,
  2957. /* [in] */ long lSpeed,
  2958. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2959. virtual HRESULT STDMETHODCALLTYPE GestureAt(
  2960. /* [in] */ short x,
  2961. /* [in] */ short y,
  2962. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2963. virtual HRESULT STDMETHODCALLTYPE GetMoveCause(
  2964. /* [out] */ long __RPC_FAR *pdwCause) = 0;
  2965. virtual HRESULT STDMETHODCALLTYPE GetVisibilityCause(
  2966. /* [out] */ long __RPC_FAR *pdwCause) = 0;
  2967. virtual HRESULT STDMETHODCALLTYPE HasOtherClients(
  2968. /* [out] */ long __RPC_FAR *plNumOtherClients) = 0;
  2969. virtual HRESULT STDMETHODCALLTYPE SetSoundEffectsOn(
  2970. /* [in] */ long bOn) = 0;
  2971. virtual HRESULT STDMETHODCALLTYPE GetSoundEffectsOn(
  2972. /* [out] */ long __RPC_FAR *pbOn) = 0;
  2973. virtual HRESULT STDMETHODCALLTYPE SetName(
  2974. /* [in] */ BSTR bszName) = 0;
  2975. virtual HRESULT STDMETHODCALLTYPE SetDescription(
  2976. /* [in] */ BSTR bszDescription) = 0;
  2977. virtual HRESULT STDMETHODCALLTYPE GetExtraData(
  2978. /* [out] */ BSTR __RPC_FAR *pbszExtraData) = 0;
  2979. };
  2980. #else /* C style interface */
  2981. typedef struct IAgentCharacterVtbl
  2982. {
  2983. BEGIN_INTERFACE
  2984. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2985. IAgentCharacter __RPC_FAR * This,
  2986. /* [in] */ REFIID riid,
  2987. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2988. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2989. IAgentCharacter __RPC_FAR * This);
  2990. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2991. IAgentCharacter __RPC_FAR * This);
  2992. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2993. IAgentCharacter __RPC_FAR * This,
  2994. /* [out] */ UINT __RPC_FAR *pctinfo);
  2995. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2996. IAgentCharacter __RPC_FAR * This,
  2997. /* [in] */ UINT iTInfo,
  2998. /* [in] */ LCID lcid,
  2999. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3000. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3001. IAgentCharacter __RPC_FAR * This,
  3002. /* [in] */ REFIID riid,
  3003. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3004. /* [in] */ UINT cNames,
  3005. /* [in] */ LCID lcid,
  3006. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3007. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3008. IAgentCharacter __RPC_FAR * This,
  3009. /* [in] */ DISPID dispIdMember,
  3010. /* [in] */ REFIID riid,
  3011. /* [in] */ LCID lcid,
  3012. /* [in] */ WORD wFlags,
  3013. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3014. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3015. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3016. /* [out] */ UINT __RPC_FAR *puArgErr);
  3017. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  3018. IAgentCharacter __RPC_FAR * This,
  3019. /* [out] */ long __RPC_FAR *pbVisible);
  3020. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPosition )(
  3021. IAgentCharacter __RPC_FAR * This,
  3022. /* [in] */ long lLeft,
  3023. /* [in] */ long lTop);
  3024. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )(
  3025. IAgentCharacter __RPC_FAR * This,
  3026. /* [out] */ long __RPC_FAR *plLeft,
  3027. /* [out] */ long __RPC_FAR *plTop);
  3028. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSize )(
  3029. IAgentCharacter __RPC_FAR * This,
  3030. /* [in] */ long lWidth,
  3031. /* [in] */ long lHeight);
  3032. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )(
  3033. IAgentCharacter __RPC_FAR * This,
  3034. /* [out] */ long __RPC_FAR *plWidth,
  3035. /* [out] */ long __RPC_FAR *plHeight);
  3036. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
  3037. IAgentCharacter __RPC_FAR * This,
  3038. /* [out] */ BSTR __RPC_FAR *pbszName);
  3039. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDescription )(
  3040. IAgentCharacter __RPC_FAR * This,
  3041. /* [out] */ BSTR __RPC_FAR *pbszDescription);
  3042. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSSpeed )(
  3043. IAgentCharacter __RPC_FAR * This,
  3044. /* [out] */ long __RPC_FAR *pdwSpeed);
  3045. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSPitch )(
  3046. IAgentCharacter __RPC_FAR * This,
  3047. /* [out] */ short __RPC_FAR *pwPitch);
  3048. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Activate )(
  3049. IAgentCharacter __RPC_FAR * This,
  3050. /* [in] */ short sState);
  3051. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIdleOn )(
  3052. IAgentCharacter __RPC_FAR * This,
  3053. /* [in] */ long bOn);
  3054. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIdleOn )(
  3055. IAgentCharacter __RPC_FAR * This,
  3056. /* [out] */ long __RPC_FAR *pbOn);
  3057. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Prepare )(
  3058. IAgentCharacter __RPC_FAR * This,
  3059. /* [in] */ long dwType,
  3060. /* [in] */ BSTR bszName,
  3061. /* [in] */ long bQueue,
  3062. /* [out] */ long __RPC_FAR *pdwReqID);
  3063. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Play )(
  3064. IAgentCharacter __RPC_FAR * This,
  3065. /* [in] */ BSTR bszAnimation,
  3066. /* [out] */ long __RPC_FAR *pdwReqID);
  3067. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Stop )(
  3068. IAgentCharacter __RPC_FAR * This,
  3069. /* [in] */ long dwReqID);
  3070. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StopAll )(
  3071. IAgentCharacter __RPC_FAR * This,
  3072. /* [in] */ long lTypes);
  3073. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Wait )(
  3074. IAgentCharacter __RPC_FAR * This,
  3075. /* [in] */ long dwReqID,
  3076. /* [out] */ long __RPC_FAR *pdwReqID);
  3077. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Interrupt )(
  3078. IAgentCharacter __RPC_FAR * This,
  3079. /* [in] */ long dwReqID,
  3080. /* [out] */ long __RPC_FAR *pdwReqID);
  3081. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Show )(
  3082. IAgentCharacter __RPC_FAR * This,
  3083. /* [in] */ long bFast,
  3084. /* [out] */ long __RPC_FAR *pdwReqID);
  3085. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Hide )(
  3086. IAgentCharacter __RPC_FAR * This,
  3087. /* [in] */ long bFast,
  3088. /* [out] */ long __RPC_FAR *pdwReqID);
  3089. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Speak )(
  3090. IAgentCharacter __RPC_FAR * This,
  3091. /* [in] */ BSTR bszText,
  3092. /* [in] */ BSTR bszUrl,
  3093. /* [out] */ long __RPC_FAR *pdwReqID);
  3094. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveTo )(
  3095. IAgentCharacter __RPC_FAR * This,
  3096. /* [in] */ short x,
  3097. /* [in] */ short y,
  3098. /* [in] */ long lSpeed,
  3099. /* [out] */ long __RPC_FAR *pdwReqID);
  3100. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GestureAt )(
  3101. IAgentCharacter __RPC_FAR * This,
  3102. /* [in] */ short x,
  3103. /* [in] */ short y,
  3104. /* [out] */ long __RPC_FAR *pdwReqID);
  3105. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMoveCause )(
  3106. IAgentCharacter __RPC_FAR * This,
  3107. /* [out] */ long __RPC_FAR *pdwCause);
  3108. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisibilityCause )(
  3109. IAgentCharacter __RPC_FAR * This,
  3110. /* [out] */ long __RPC_FAR *pdwCause);
  3111. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HasOtherClients )(
  3112. IAgentCharacter __RPC_FAR * This,
  3113. /* [out] */ long __RPC_FAR *plNumOtherClients);
  3114. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSoundEffectsOn )(
  3115. IAgentCharacter __RPC_FAR * This,
  3116. /* [in] */ long bOn);
  3117. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSoundEffectsOn )(
  3118. IAgentCharacter __RPC_FAR * This,
  3119. /* [out] */ long __RPC_FAR *pbOn);
  3120. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetName )(
  3121. IAgentCharacter __RPC_FAR * This,
  3122. /* [in] */ BSTR bszName);
  3123. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDescription )(
  3124. IAgentCharacter __RPC_FAR * This,
  3125. /* [in] */ BSTR bszDescription);
  3126. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetExtraData )(
  3127. IAgentCharacter __RPC_FAR * This,
  3128. /* [out] */ BSTR __RPC_FAR *pbszExtraData);
  3129. END_INTERFACE
  3130. } IAgentCharacterVtbl;
  3131. interface IAgentCharacter
  3132. {
  3133. CONST_VTBL struct IAgentCharacterVtbl __RPC_FAR *lpVtbl;
  3134. };
  3135. #ifdef COBJMACROS
  3136. #define IAgentCharacter_QueryInterface(This,riid,ppvObject) \
  3137. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3138. #define IAgentCharacter_AddRef(This) \
  3139. (This)->lpVtbl -> AddRef(This)
  3140. #define IAgentCharacter_Release(This) \
  3141. (This)->lpVtbl -> Release(This)
  3142. #define IAgentCharacter_GetTypeInfoCount(This,pctinfo) \
  3143. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3144. #define IAgentCharacter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3145. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3146. #define IAgentCharacter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3147. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3148. #define IAgentCharacter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3149. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3150. #define IAgentCharacter_GetVisible(This,pbVisible) \
  3151. (This)->lpVtbl -> GetVisible(This,pbVisible)
  3152. #define IAgentCharacter_SetPosition(This,lLeft,lTop) \
  3153. (This)->lpVtbl -> SetPosition(This,lLeft,lTop)
  3154. #define IAgentCharacter_GetPosition(This,plLeft,plTop) \
  3155. (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  3156. #define IAgentCharacter_SetSize(This,lWidth,lHeight) \
  3157. (This)->lpVtbl -> SetSize(This,lWidth,lHeight)
  3158. #define IAgentCharacter_GetSize(This,plWidth,plHeight) \
  3159. (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  3160. #define IAgentCharacter_GetName(This,pbszName) \
  3161. (This)->lpVtbl -> GetName(This,pbszName)
  3162. #define IAgentCharacter_GetDescription(This,pbszDescription) \
  3163. (This)->lpVtbl -> GetDescription(This,pbszDescription)
  3164. #define IAgentCharacter_GetTTSSpeed(This,pdwSpeed) \
  3165. (This)->lpVtbl -> GetTTSSpeed(This,pdwSpeed)
  3166. #define IAgentCharacter_GetTTSPitch(This,pwPitch) \
  3167. (This)->lpVtbl -> GetTTSPitch(This,pwPitch)
  3168. #define IAgentCharacter_Activate(This,sState) \
  3169. (This)->lpVtbl -> Activate(This,sState)
  3170. #define IAgentCharacter_SetIdleOn(This,bOn) \
  3171. (This)->lpVtbl -> SetIdleOn(This,bOn)
  3172. #define IAgentCharacter_GetIdleOn(This,pbOn) \
  3173. (This)->lpVtbl -> GetIdleOn(This,pbOn)
  3174. #define IAgentCharacter_Prepare(This,dwType,bszName,bQueue,pdwReqID) \
  3175. (This)->lpVtbl -> Prepare(This,dwType,bszName,bQueue,pdwReqID)
  3176. #define IAgentCharacter_Play(This,bszAnimation,pdwReqID) \
  3177. (This)->lpVtbl -> Play(This,bszAnimation,pdwReqID)
  3178. #define IAgentCharacter_Stop(This,dwReqID) \
  3179. (This)->lpVtbl -> Stop(This,dwReqID)
  3180. #define IAgentCharacter_StopAll(This,lTypes) \
  3181. (This)->lpVtbl -> StopAll(This,lTypes)
  3182. #define IAgentCharacter_Wait(This,dwReqID,pdwReqID) \
  3183. (This)->lpVtbl -> Wait(This,dwReqID,pdwReqID)
  3184. #define IAgentCharacter_Interrupt(This,dwReqID,pdwReqID) \
  3185. (This)->lpVtbl -> Interrupt(This,dwReqID,pdwReqID)
  3186. #define IAgentCharacter_Show(This,bFast,pdwReqID) \
  3187. (This)->lpVtbl -> Show(This,bFast,pdwReqID)
  3188. #define IAgentCharacter_Hide(This,bFast,pdwReqID) \
  3189. (This)->lpVtbl -> Hide(This,bFast,pdwReqID)
  3190. #define IAgentCharacter_Speak(This,bszText,bszUrl,pdwReqID) \
  3191. (This)->lpVtbl -> Speak(This,bszText,bszUrl,pdwReqID)
  3192. #define IAgentCharacter_MoveTo(This,x,y,lSpeed,pdwReqID) \
  3193. (This)->lpVtbl -> MoveTo(This,x,y,lSpeed,pdwReqID)
  3194. #define IAgentCharacter_GestureAt(This,x,y,pdwReqID) \
  3195. (This)->lpVtbl -> GestureAt(This,x,y,pdwReqID)
  3196. #define IAgentCharacter_GetMoveCause(This,pdwCause) \
  3197. (This)->lpVtbl -> GetMoveCause(This,pdwCause)
  3198. #define IAgentCharacter_GetVisibilityCause(This,pdwCause) \
  3199. (This)->lpVtbl -> GetVisibilityCause(This,pdwCause)
  3200. #define IAgentCharacter_HasOtherClients(This,plNumOtherClients) \
  3201. (This)->lpVtbl -> HasOtherClients(This,plNumOtherClients)
  3202. #define IAgentCharacter_SetSoundEffectsOn(This,bOn) \
  3203. (This)->lpVtbl -> SetSoundEffectsOn(This,bOn)
  3204. #define IAgentCharacter_GetSoundEffectsOn(This,pbOn) \
  3205. (This)->lpVtbl -> GetSoundEffectsOn(This,pbOn)
  3206. #define IAgentCharacter_SetName(This,bszName) \
  3207. (This)->lpVtbl -> SetName(This,bszName)
  3208. #define IAgentCharacter_SetDescription(This,bszDescription) \
  3209. (This)->lpVtbl -> SetDescription(This,bszDescription)
  3210. #define IAgentCharacter_GetExtraData(This,pbszExtraData) \
  3211. (This)->lpVtbl -> GetExtraData(This,pbszExtraData)
  3212. #endif /* COBJMACROS */
  3213. #endif /* C style interface */
  3214. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetVisible_Proxy(
  3215. IAgentCharacter __RPC_FAR * This,
  3216. /* [out] */ long __RPC_FAR *pbVisible);
  3217. void __RPC_STUB IAgentCharacter_GetVisible_Stub(
  3218. IRpcStubBuffer *This,
  3219. IRpcChannelBuffer *_pRpcChannelBuffer,
  3220. PRPC_MESSAGE _pRpcMessage,
  3221. DWORD *_pdwStubPhase);
  3222. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetPosition_Proxy(
  3223. IAgentCharacter __RPC_FAR * This,
  3224. /* [in] */ long lLeft,
  3225. /* [in] */ long lTop);
  3226. void __RPC_STUB IAgentCharacter_SetPosition_Stub(
  3227. IRpcStubBuffer *This,
  3228. IRpcChannelBuffer *_pRpcChannelBuffer,
  3229. PRPC_MESSAGE _pRpcMessage,
  3230. DWORD *_pdwStubPhase);
  3231. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetPosition_Proxy(
  3232. IAgentCharacter __RPC_FAR * This,
  3233. /* [out] */ long __RPC_FAR *plLeft,
  3234. /* [out] */ long __RPC_FAR *plTop);
  3235. void __RPC_STUB IAgentCharacter_GetPosition_Stub(
  3236. IRpcStubBuffer *This,
  3237. IRpcChannelBuffer *_pRpcChannelBuffer,
  3238. PRPC_MESSAGE _pRpcMessage,
  3239. DWORD *_pdwStubPhase);
  3240. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetSize_Proxy(
  3241. IAgentCharacter __RPC_FAR * This,
  3242. /* [in] */ long lWidth,
  3243. /* [in] */ long lHeight);
  3244. void __RPC_STUB IAgentCharacter_SetSize_Stub(
  3245. IRpcStubBuffer *This,
  3246. IRpcChannelBuffer *_pRpcChannelBuffer,
  3247. PRPC_MESSAGE _pRpcMessage,
  3248. DWORD *_pdwStubPhase);
  3249. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetSize_Proxy(
  3250. IAgentCharacter __RPC_FAR * This,
  3251. /* [out] */ long __RPC_FAR *plWidth,
  3252. /* [out] */ long __RPC_FAR *plHeight);
  3253. void __RPC_STUB IAgentCharacter_GetSize_Stub(
  3254. IRpcStubBuffer *This,
  3255. IRpcChannelBuffer *_pRpcChannelBuffer,
  3256. PRPC_MESSAGE _pRpcMessage,
  3257. DWORD *_pdwStubPhase);
  3258. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetName_Proxy(
  3259. IAgentCharacter __RPC_FAR * This,
  3260. /* [out] */ BSTR __RPC_FAR *pbszName);
  3261. void __RPC_STUB IAgentCharacter_GetName_Stub(
  3262. IRpcStubBuffer *This,
  3263. IRpcChannelBuffer *_pRpcChannelBuffer,
  3264. PRPC_MESSAGE _pRpcMessage,
  3265. DWORD *_pdwStubPhase);
  3266. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetDescription_Proxy(
  3267. IAgentCharacter __RPC_FAR * This,
  3268. /* [out] */ BSTR __RPC_FAR *pbszDescription);
  3269. void __RPC_STUB IAgentCharacter_GetDescription_Stub(
  3270. IRpcStubBuffer *This,
  3271. IRpcChannelBuffer *_pRpcChannelBuffer,
  3272. PRPC_MESSAGE _pRpcMessage,
  3273. DWORD *_pdwStubPhase);
  3274. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetTTSSpeed_Proxy(
  3275. IAgentCharacter __RPC_FAR * This,
  3276. /* [out] */ long __RPC_FAR *pdwSpeed);
  3277. void __RPC_STUB IAgentCharacter_GetTTSSpeed_Stub(
  3278. IRpcStubBuffer *This,
  3279. IRpcChannelBuffer *_pRpcChannelBuffer,
  3280. PRPC_MESSAGE _pRpcMessage,
  3281. DWORD *_pdwStubPhase);
  3282. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetTTSPitch_Proxy(
  3283. IAgentCharacter __RPC_FAR * This,
  3284. /* [out] */ short __RPC_FAR *pwPitch);
  3285. void __RPC_STUB IAgentCharacter_GetTTSPitch_Stub(
  3286. IRpcStubBuffer *This,
  3287. IRpcChannelBuffer *_pRpcChannelBuffer,
  3288. PRPC_MESSAGE _pRpcMessage,
  3289. DWORD *_pdwStubPhase);
  3290. HRESULT STDMETHODCALLTYPE IAgentCharacter_Activate_Proxy(
  3291. IAgentCharacter __RPC_FAR * This,
  3292. /* [in] */ short sState);
  3293. void __RPC_STUB IAgentCharacter_Activate_Stub(
  3294. IRpcStubBuffer *This,
  3295. IRpcChannelBuffer *_pRpcChannelBuffer,
  3296. PRPC_MESSAGE _pRpcMessage,
  3297. DWORD *_pdwStubPhase);
  3298. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetIdleOn_Proxy(
  3299. IAgentCharacter __RPC_FAR * This,
  3300. /* [in] */ long bOn);
  3301. void __RPC_STUB IAgentCharacter_SetIdleOn_Stub(
  3302. IRpcStubBuffer *This,
  3303. IRpcChannelBuffer *_pRpcChannelBuffer,
  3304. PRPC_MESSAGE _pRpcMessage,
  3305. DWORD *_pdwStubPhase);
  3306. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetIdleOn_Proxy(
  3307. IAgentCharacter __RPC_FAR * This,
  3308. /* [out] */ long __RPC_FAR *pbOn);
  3309. void __RPC_STUB IAgentCharacter_GetIdleOn_Stub(
  3310. IRpcStubBuffer *This,
  3311. IRpcChannelBuffer *_pRpcChannelBuffer,
  3312. PRPC_MESSAGE _pRpcMessage,
  3313. DWORD *_pdwStubPhase);
  3314. HRESULT STDMETHODCALLTYPE IAgentCharacter_Prepare_Proxy(
  3315. IAgentCharacter __RPC_FAR * This,
  3316. /* [in] */ long dwType,
  3317. /* [in] */ BSTR bszName,
  3318. /* [in] */ long bQueue,
  3319. /* [out] */ long __RPC_FAR *pdwReqID);
  3320. void __RPC_STUB IAgentCharacter_Prepare_Stub(
  3321. IRpcStubBuffer *This,
  3322. IRpcChannelBuffer *_pRpcChannelBuffer,
  3323. PRPC_MESSAGE _pRpcMessage,
  3324. DWORD *_pdwStubPhase);
  3325. HRESULT STDMETHODCALLTYPE IAgentCharacter_Play_Proxy(
  3326. IAgentCharacter __RPC_FAR * This,
  3327. /* [in] */ BSTR bszAnimation,
  3328. /* [out] */ long __RPC_FAR *pdwReqID);
  3329. void __RPC_STUB IAgentCharacter_Play_Stub(
  3330. IRpcStubBuffer *This,
  3331. IRpcChannelBuffer *_pRpcChannelBuffer,
  3332. PRPC_MESSAGE _pRpcMessage,
  3333. DWORD *_pdwStubPhase);
  3334. HRESULT STDMETHODCALLTYPE IAgentCharacter_Stop_Proxy(
  3335. IAgentCharacter __RPC_FAR * This,
  3336. /* [in] */ long dwReqID);
  3337. void __RPC_STUB IAgentCharacter_Stop_Stub(
  3338. IRpcStubBuffer *This,
  3339. IRpcChannelBuffer *_pRpcChannelBuffer,
  3340. PRPC_MESSAGE _pRpcMessage,
  3341. DWORD *_pdwStubPhase);
  3342. HRESULT STDMETHODCALLTYPE IAgentCharacter_StopAll_Proxy(
  3343. IAgentCharacter __RPC_FAR * This,
  3344. /* [in] */ long lTypes);
  3345. void __RPC_STUB IAgentCharacter_StopAll_Stub(
  3346. IRpcStubBuffer *This,
  3347. IRpcChannelBuffer *_pRpcChannelBuffer,
  3348. PRPC_MESSAGE _pRpcMessage,
  3349. DWORD *_pdwStubPhase);
  3350. HRESULT STDMETHODCALLTYPE IAgentCharacter_Wait_Proxy(
  3351. IAgentCharacter __RPC_FAR * This,
  3352. /* [in] */ long dwReqID,
  3353. /* [out] */ long __RPC_FAR *pdwReqID);
  3354. void __RPC_STUB IAgentCharacter_Wait_Stub(
  3355. IRpcStubBuffer *This,
  3356. IRpcChannelBuffer *_pRpcChannelBuffer,
  3357. PRPC_MESSAGE _pRpcMessage,
  3358. DWORD *_pdwStubPhase);
  3359. HRESULT STDMETHODCALLTYPE IAgentCharacter_Interrupt_Proxy(
  3360. IAgentCharacter __RPC_FAR * This,
  3361. /* [in] */ long dwReqID,
  3362. /* [out] */ long __RPC_FAR *pdwReqID);
  3363. void __RPC_STUB IAgentCharacter_Interrupt_Stub(
  3364. IRpcStubBuffer *This,
  3365. IRpcChannelBuffer *_pRpcChannelBuffer,
  3366. PRPC_MESSAGE _pRpcMessage,
  3367. DWORD *_pdwStubPhase);
  3368. HRESULT STDMETHODCALLTYPE IAgentCharacter_Show_Proxy(
  3369. IAgentCharacter __RPC_FAR * This,
  3370. /* [in] */ long bFast,
  3371. /* [out] */ long __RPC_FAR *pdwReqID);
  3372. void __RPC_STUB IAgentCharacter_Show_Stub(
  3373. IRpcStubBuffer *This,
  3374. IRpcChannelBuffer *_pRpcChannelBuffer,
  3375. PRPC_MESSAGE _pRpcMessage,
  3376. DWORD *_pdwStubPhase);
  3377. HRESULT STDMETHODCALLTYPE IAgentCharacter_Hide_Proxy(
  3378. IAgentCharacter __RPC_FAR * This,
  3379. /* [in] */ long bFast,
  3380. /* [out] */ long __RPC_FAR *pdwReqID);
  3381. void __RPC_STUB IAgentCharacter_Hide_Stub(
  3382. IRpcStubBuffer *This,
  3383. IRpcChannelBuffer *_pRpcChannelBuffer,
  3384. PRPC_MESSAGE _pRpcMessage,
  3385. DWORD *_pdwStubPhase);
  3386. HRESULT STDMETHODCALLTYPE IAgentCharacter_Speak_Proxy(
  3387. IAgentCharacter __RPC_FAR * This,
  3388. /* [in] */ BSTR bszText,
  3389. /* [in] */ BSTR bszUrl,
  3390. /* [out] */ long __RPC_FAR *pdwReqID);
  3391. void __RPC_STUB IAgentCharacter_Speak_Stub(
  3392. IRpcStubBuffer *This,
  3393. IRpcChannelBuffer *_pRpcChannelBuffer,
  3394. PRPC_MESSAGE _pRpcMessage,
  3395. DWORD *_pdwStubPhase);
  3396. HRESULT STDMETHODCALLTYPE IAgentCharacter_MoveTo_Proxy(
  3397. IAgentCharacter __RPC_FAR * This,
  3398. /* [in] */ short x,
  3399. /* [in] */ short y,
  3400. /* [in] */ long lSpeed,
  3401. /* [out] */ long __RPC_FAR *pdwReqID);
  3402. void __RPC_STUB IAgentCharacter_MoveTo_Stub(
  3403. IRpcStubBuffer *This,
  3404. IRpcChannelBuffer *_pRpcChannelBuffer,
  3405. PRPC_MESSAGE _pRpcMessage,
  3406. DWORD *_pdwStubPhase);
  3407. HRESULT STDMETHODCALLTYPE IAgentCharacter_GestureAt_Proxy(
  3408. IAgentCharacter __RPC_FAR * This,
  3409. /* [in] */ short x,
  3410. /* [in] */ short y,
  3411. /* [out] */ long __RPC_FAR *pdwReqID);
  3412. void __RPC_STUB IAgentCharacter_GestureAt_Stub(
  3413. IRpcStubBuffer *This,
  3414. IRpcChannelBuffer *_pRpcChannelBuffer,
  3415. PRPC_MESSAGE _pRpcMessage,
  3416. DWORD *_pdwStubPhase);
  3417. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetMoveCause_Proxy(
  3418. IAgentCharacter __RPC_FAR * This,
  3419. /* [out] */ long __RPC_FAR *pdwCause);
  3420. void __RPC_STUB IAgentCharacter_GetMoveCause_Stub(
  3421. IRpcStubBuffer *This,
  3422. IRpcChannelBuffer *_pRpcChannelBuffer,
  3423. PRPC_MESSAGE _pRpcMessage,
  3424. DWORD *_pdwStubPhase);
  3425. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetVisibilityCause_Proxy(
  3426. IAgentCharacter __RPC_FAR * This,
  3427. /* [out] */ long __RPC_FAR *pdwCause);
  3428. void __RPC_STUB IAgentCharacter_GetVisibilityCause_Stub(
  3429. IRpcStubBuffer *This,
  3430. IRpcChannelBuffer *_pRpcChannelBuffer,
  3431. PRPC_MESSAGE _pRpcMessage,
  3432. DWORD *_pdwStubPhase);
  3433. HRESULT STDMETHODCALLTYPE IAgentCharacter_HasOtherClients_Proxy(
  3434. IAgentCharacter __RPC_FAR * This,
  3435. /* [out] */ long __RPC_FAR *plNumOtherClients);
  3436. void __RPC_STUB IAgentCharacter_HasOtherClients_Stub(
  3437. IRpcStubBuffer *This,
  3438. IRpcChannelBuffer *_pRpcChannelBuffer,
  3439. PRPC_MESSAGE _pRpcMessage,
  3440. DWORD *_pdwStubPhase);
  3441. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetSoundEffectsOn_Proxy(
  3442. IAgentCharacter __RPC_FAR * This,
  3443. /* [in] */ long bOn);
  3444. void __RPC_STUB IAgentCharacter_SetSoundEffectsOn_Stub(
  3445. IRpcStubBuffer *This,
  3446. IRpcChannelBuffer *_pRpcChannelBuffer,
  3447. PRPC_MESSAGE _pRpcMessage,
  3448. DWORD *_pdwStubPhase);
  3449. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetSoundEffectsOn_Proxy(
  3450. IAgentCharacter __RPC_FAR * This,
  3451. /* [out] */ long __RPC_FAR *pbOn);
  3452. void __RPC_STUB IAgentCharacter_GetSoundEffectsOn_Stub(
  3453. IRpcStubBuffer *This,
  3454. IRpcChannelBuffer *_pRpcChannelBuffer,
  3455. PRPC_MESSAGE _pRpcMessage,
  3456. DWORD *_pdwStubPhase);
  3457. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetName_Proxy(
  3458. IAgentCharacter __RPC_FAR * This,
  3459. /* [in] */ BSTR bszName);
  3460. void __RPC_STUB IAgentCharacter_SetName_Stub(
  3461. IRpcStubBuffer *This,
  3462. IRpcChannelBuffer *_pRpcChannelBuffer,
  3463. PRPC_MESSAGE _pRpcMessage,
  3464. DWORD *_pdwStubPhase);
  3465. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetDescription_Proxy(
  3466. IAgentCharacter __RPC_FAR * This,
  3467. /* [in] */ BSTR bszDescription);
  3468. void __RPC_STUB IAgentCharacter_SetDescription_Stub(
  3469. IRpcStubBuffer *This,
  3470. IRpcChannelBuffer *_pRpcChannelBuffer,
  3471. PRPC_MESSAGE _pRpcMessage,
  3472. DWORD *_pdwStubPhase);
  3473. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetExtraData_Proxy(
  3474. IAgentCharacter __RPC_FAR * This,
  3475. /* [out] */ BSTR __RPC_FAR *pbszExtraData);
  3476. void __RPC_STUB IAgentCharacter_GetExtraData_Stub(
  3477. IRpcStubBuffer *This,
  3478. IRpcChannelBuffer *_pRpcChannelBuffer,
  3479. PRPC_MESSAGE _pRpcMessage,
  3480. DWORD *_pdwStubPhase);
  3481. #endif /* __IAgentCharacter_INTERFACE_DEFINED__ */
  3482. #ifndef __IAgentCharacterEx_INTERFACE_DEFINED__
  3483. #define __IAgentCharacterEx_INTERFACE_DEFINED__
  3484. /****************************************
  3485. * Generated header for interface: IAgentCharacterEx
  3486. * at Mon Aug 31 17:00:38 1998
  3487. * using MIDL 3.01.75
  3488. ****************************************/
  3489. /* [unique][helpstring][dual][uuid][object] */
  3490. EXTERN_C const IID IID_IAgentCharacterEx;
  3491. #if defined(__cplusplus) && !defined(CINTERFACE)
  3492. interface DECLSPEC_UUID("98BBE491-2EED-11d1-ACAC-00C04FD97575")
  3493. IAgentCharacterEx : public IAgentCharacter
  3494. {
  3495. public:
  3496. virtual HRESULT STDMETHODCALLTYPE ShowPopupMenu(
  3497. /* [in] */ short x,
  3498. /* [in] */ short y) = 0;
  3499. virtual HRESULT STDMETHODCALLTYPE SetAutoPopupMenu(
  3500. /* [in] */ long bAutoPopupMenu) = 0;
  3501. virtual HRESULT STDMETHODCALLTYPE GetAutoPopupMenu(
  3502. /* [out] */ long __RPC_FAR *pbAutoPopupMenu) = 0;
  3503. virtual HRESULT STDMETHODCALLTYPE GetHelpFileName(
  3504. /* [out] */ BSTR __RPC_FAR *pbszName) = 0;
  3505. virtual HRESULT STDMETHODCALLTYPE SetHelpFileName(
  3506. /* [in] */ BSTR bszName) = 0;
  3507. virtual HRESULT STDMETHODCALLTYPE SetHelpModeOn(
  3508. /* [in] */ long bHelpModeOn) = 0;
  3509. virtual HRESULT STDMETHODCALLTYPE GetHelpModeOn(
  3510. /* [out] */ long __RPC_FAR *pbHelpModeOn) = 0;
  3511. virtual HRESULT STDMETHODCALLTYPE SetHelpContextID(
  3512. /* [in] */ long ulID) = 0;
  3513. virtual HRESULT STDMETHODCALLTYPE GetHelpContextID(
  3514. /* [out] */ long __RPC_FAR *pulID) = 0;
  3515. virtual HRESULT STDMETHODCALLTYPE GetActive(
  3516. /* [out] */ short __RPC_FAR *psState) = 0;
  3517. virtual HRESULT STDMETHODCALLTYPE Listen(
  3518. /* [in] */ long bListen) = 0;
  3519. virtual HRESULT STDMETHODCALLTYPE SetLanguageID(
  3520. /* [in] */ long langid) = 0;
  3521. virtual HRESULT STDMETHODCALLTYPE GetLanguageID(
  3522. /* [out] */ long __RPC_FAR *plangid) = 0;
  3523. virtual HRESULT STDMETHODCALLTYPE GetTTSModeID(
  3524. /* [out] */ BSTR __RPC_FAR *pbszModeID) = 0;
  3525. virtual HRESULT STDMETHODCALLTYPE SetTTSModeID(
  3526. /* [in] */ BSTR bszModeID) = 0;
  3527. virtual HRESULT STDMETHODCALLTYPE GetSRModeID(
  3528. /* [out] */ BSTR __RPC_FAR *pbszModeID) = 0;
  3529. virtual HRESULT STDMETHODCALLTYPE SetSRModeID(
  3530. /* [in] */ BSTR bszModeID) = 0;
  3531. virtual HRESULT STDMETHODCALLTYPE GetGUID(
  3532. /* [out] */ BSTR __RPC_FAR *pbszID) = 0;
  3533. virtual HRESULT STDMETHODCALLTYPE GetOriginalSize(
  3534. /* [out] */ long __RPC_FAR *plWidth,
  3535. /* [out] */ long __RPC_FAR *plHeight) = 0;
  3536. virtual HRESULT STDMETHODCALLTYPE Think(
  3537. /* [in] */ BSTR bszText,
  3538. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  3539. virtual HRESULT STDMETHODCALLTYPE GetVersion(
  3540. /* [out] */ short __RPC_FAR *psMajor,
  3541. /* [out] */ short __RPC_FAR *psMinor) = 0;
  3542. virtual HRESULT STDMETHODCALLTYPE GetAnimationNames(
  3543. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *punkEnum) = 0;
  3544. virtual HRESULT STDMETHODCALLTYPE GetSRStatus(
  3545. /* [out] */ long __RPC_FAR *plStatus) = 0;
  3546. };
  3547. #else /* C style interface */
  3548. typedef struct IAgentCharacterExVtbl
  3549. {
  3550. BEGIN_INTERFACE
  3551. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3552. IAgentCharacterEx __RPC_FAR * This,
  3553. /* [in] */ REFIID riid,
  3554. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3555. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3556. IAgentCharacterEx __RPC_FAR * This);
  3557. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3558. IAgentCharacterEx __RPC_FAR * This);
  3559. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3560. IAgentCharacterEx __RPC_FAR * This,
  3561. /* [out] */ UINT __RPC_FAR *pctinfo);
  3562. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3563. IAgentCharacterEx __RPC_FAR * This,
  3564. /* [in] */ UINT iTInfo,
  3565. /* [in] */ LCID lcid,
  3566. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3567. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3568. IAgentCharacterEx __RPC_FAR * This,
  3569. /* [in] */ REFIID riid,
  3570. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3571. /* [in] */ UINT cNames,
  3572. /* [in] */ LCID lcid,
  3573. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3574. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3575. IAgentCharacterEx __RPC_FAR * This,
  3576. /* [in] */ DISPID dispIdMember,
  3577. /* [in] */ REFIID riid,
  3578. /* [in] */ LCID lcid,
  3579. /* [in] */ WORD wFlags,
  3580. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3581. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3582. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3583. /* [out] */ UINT __RPC_FAR *puArgErr);
  3584. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  3585. IAgentCharacterEx __RPC_FAR * This,
  3586. /* [out] */ long __RPC_FAR *pbVisible);
  3587. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPosition )(
  3588. IAgentCharacterEx __RPC_FAR * This,
  3589. /* [in] */ long lLeft,
  3590. /* [in] */ long lTop);
  3591. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )(
  3592. IAgentCharacterEx __RPC_FAR * This,
  3593. /* [out] */ long __RPC_FAR *plLeft,
  3594. /* [out] */ long __RPC_FAR *plTop);
  3595. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSize )(
  3596. IAgentCharacterEx __RPC_FAR * This,
  3597. /* [in] */ long lWidth,
  3598. /* [in] */ long lHeight);
  3599. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )(
  3600. IAgentCharacterEx __RPC_FAR * This,
  3601. /* [out] */ long __RPC_FAR *plWidth,
  3602. /* [out] */ long __RPC_FAR *plHeight);
  3603. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
  3604. IAgentCharacterEx __RPC_FAR * This,
  3605. /* [out] */ BSTR __RPC_FAR *pbszName);
  3606. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDescription )(
  3607. IAgentCharacterEx __RPC_FAR * This,
  3608. /* [out] */ BSTR __RPC_FAR *pbszDescription);
  3609. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSSpeed )(
  3610. IAgentCharacterEx __RPC_FAR * This,
  3611. /* [out] */ long __RPC_FAR *pdwSpeed);
  3612. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSPitch )(
  3613. IAgentCharacterEx __RPC_FAR * This,
  3614. /* [out] */ short __RPC_FAR *pwPitch);
  3615. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Activate )(
  3616. IAgentCharacterEx __RPC_FAR * This,
  3617. /* [in] */ short sState);
  3618. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIdleOn )(
  3619. IAgentCharacterEx __RPC_FAR * This,
  3620. /* [in] */ long bOn);
  3621. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIdleOn )(
  3622. IAgentCharacterEx __RPC_FAR * This,
  3623. /* [out] */ long __RPC_FAR *pbOn);
  3624. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Prepare )(
  3625. IAgentCharacterEx __RPC_FAR * This,
  3626. /* [in] */ long dwType,
  3627. /* [in] */ BSTR bszName,
  3628. /* [in] */ long bQueue,
  3629. /* [out] */ long __RPC_FAR *pdwReqID);
  3630. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Play )(
  3631. IAgentCharacterEx __RPC_FAR * This,
  3632. /* [in] */ BSTR bszAnimation,
  3633. /* [out] */ long __RPC_FAR *pdwReqID);
  3634. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Stop )(
  3635. IAgentCharacterEx __RPC_FAR * This,
  3636. /* [in] */ long dwReqID);
  3637. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StopAll )(
  3638. IAgentCharacterEx __RPC_FAR * This,
  3639. /* [in] */ long lTypes);
  3640. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Wait )(
  3641. IAgentCharacterEx __RPC_FAR * This,
  3642. /* [in] */ long dwReqID,
  3643. /* [out] */ long __RPC_FAR *pdwReqID);
  3644. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Interrupt )(
  3645. IAgentCharacterEx __RPC_FAR * This,
  3646. /* [in] */ long dwReqID,
  3647. /* [out] */ long __RPC_FAR *pdwReqID);
  3648. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Show )(
  3649. IAgentCharacterEx __RPC_FAR * This,
  3650. /* [in] */ long bFast,
  3651. /* [out] */ long __RPC_FAR *pdwReqID);
  3652. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Hide )(
  3653. IAgentCharacterEx __RPC_FAR * This,
  3654. /* [in] */ long bFast,
  3655. /* [out] */ long __RPC_FAR *pdwReqID);
  3656. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Speak )(
  3657. IAgentCharacterEx __RPC_FAR * This,
  3658. /* [in] */ BSTR bszText,
  3659. /* [in] */ BSTR bszUrl,
  3660. /* [out] */ long __RPC_FAR *pdwReqID);
  3661. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveTo )(
  3662. IAgentCharacterEx __RPC_FAR * This,
  3663. /* [in] */ short x,
  3664. /* [in] */ short y,
  3665. /* [in] */ long lSpeed,
  3666. /* [out] */ long __RPC_FAR *pdwReqID);
  3667. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GestureAt )(
  3668. IAgentCharacterEx __RPC_FAR * This,
  3669. /* [in] */ short x,
  3670. /* [in] */ short y,
  3671. /* [out] */ long __RPC_FAR *pdwReqID);
  3672. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMoveCause )(
  3673. IAgentCharacterEx __RPC_FAR * This,
  3674. /* [out] */ long __RPC_FAR *pdwCause);
  3675. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisibilityCause )(
  3676. IAgentCharacterEx __RPC_FAR * This,
  3677. /* [out] */ long __RPC_FAR *pdwCause);
  3678. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HasOtherClients )(
  3679. IAgentCharacterEx __RPC_FAR * This,
  3680. /* [out] */ long __RPC_FAR *plNumOtherClients);
  3681. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSoundEffectsOn )(
  3682. IAgentCharacterEx __RPC_FAR * This,
  3683. /* [in] */ long bOn);
  3684. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSoundEffectsOn )(
  3685. IAgentCharacterEx __RPC_FAR * This,
  3686. /* [out] */ long __RPC_FAR *pbOn);
  3687. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetName )(
  3688. IAgentCharacterEx __RPC_FAR * This,
  3689. /* [in] */ BSTR bszName);
  3690. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDescription )(
  3691. IAgentCharacterEx __RPC_FAR * This,
  3692. /* [in] */ BSTR bszDescription);
  3693. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetExtraData )(
  3694. IAgentCharacterEx __RPC_FAR * This,
  3695. /* [out] */ BSTR __RPC_FAR *pbszExtraData);
  3696. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowPopupMenu )(
  3697. IAgentCharacterEx __RPC_FAR * This,
  3698. /* [in] */ short x,
  3699. /* [in] */ short y);
  3700. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAutoPopupMenu )(
  3701. IAgentCharacterEx __RPC_FAR * This,
  3702. /* [in] */ long bAutoPopupMenu);
  3703. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAutoPopupMenu )(
  3704. IAgentCharacterEx __RPC_FAR * This,
  3705. /* [out] */ long __RPC_FAR *pbAutoPopupMenu);
  3706. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpFileName )(
  3707. IAgentCharacterEx __RPC_FAR * This,
  3708. /* [out] */ BSTR __RPC_FAR *pbszName);
  3709. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpFileName )(
  3710. IAgentCharacterEx __RPC_FAR * This,
  3711. /* [in] */ BSTR bszName);
  3712. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpModeOn )(
  3713. IAgentCharacterEx __RPC_FAR * This,
  3714. /* [in] */ long bHelpModeOn);
  3715. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpModeOn )(
  3716. IAgentCharacterEx __RPC_FAR * This,
  3717. /* [out] */ long __RPC_FAR *pbHelpModeOn);
  3718. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpContextID )(
  3719. IAgentCharacterEx __RPC_FAR * This,
  3720. /* [in] */ long ulID);
  3721. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpContextID )(
  3722. IAgentCharacterEx __RPC_FAR * This,
  3723. /* [out] */ long __RPC_FAR *pulID);
  3724. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetActive )(
  3725. IAgentCharacterEx __RPC_FAR * This,
  3726. /* [out] */ short __RPC_FAR *psState);
  3727. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Listen )(
  3728. IAgentCharacterEx __RPC_FAR * This,
  3729. /* [in] */ long bListen);
  3730. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLanguageID )(
  3731. IAgentCharacterEx __RPC_FAR * This,
  3732. /* [in] */ long langid);
  3733. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLanguageID )(
  3734. IAgentCharacterEx __RPC_FAR * This,
  3735. /* [out] */ long __RPC_FAR *plangid);
  3736. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSModeID )(
  3737. IAgentCharacterEx __RPC_FAR * This,
  3738. /* [out] */ BSTR __RPC_FAR *pbszModeID);
  3739. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetTTSModeID )(
  3740. IAgentCharacterEx __RPC_FAR * This,
  3741. /* [in] */ BSTR bszModeID);
  3742. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSRModeID )(
  3743. IAgentCharacterEx __RPC_FAR * This,
  3744. /* [out] */ BSTR __RPC_FAR *pbszModeID);
  3745. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSRModeID )(
  3746. IAgentCharacterEx __RPC_FAR * This,
  3747. /* [in] */ BSTR bszModeID);
  3748. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetGUID )(
  3749. IAgentCharacterEx __RPC_FAR * This,
  3750. /* [out] */ BSTR __RPC_FAR *pbszID);
  3751. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetOriginalSize )(
  3752. IAgentCharacterEx __RPC_FAR * This,
  3753. /* [out] */ long __RPC_FAR *plWidth,
  3754. /* [out] */ long __RPC_FAR *plHeight);
  3755. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Think )(
  3756. IAgentCharacterEx __RPC_FAR * This,
  3757. /* [in] */ BSTR bszText,
  3758. /* [out] */ long __RPC_FAR *pdwReqID);
  3759. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVersion )(
  3760. IAgentCharacterEx __RPC_FAR * This,
  3761. /* [out] */ short __RPC_FAR *psMajor,
  3762. /* [out] */ short __RPC_FAR *psMinor);
  3763. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAnimationNames )(
  3764. IAgentCharacterEx __RPC_FAR * This,
  3765. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *punkEnum);
  3766. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSRStatus )(
  3767. IAgentCharacterEx __RPC_FAR * This,
  3768. /* [out] */ long __RPC_FAR *plStatus);
  3769. END_INTERFACE
  3770. } IAgentCharacterExVtbl;
  3771. interface IAgentCharacterEx
  3772. {
  3773. CONST_VTBL struct IAgentCharacterExVtbl __RPC_FAR *lpVtbl;
  3774. };
  3775. #ifdef COBJMACROS
  3776. #define IAgentCharacterEx_QueryInterface(This,riid,ppvObject) \
  3777. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3778. #define IAgentCharacterEx_AddRef(This) \
  3779. (This)->lpVtbl -> AddRef(This)
  3780. #define IAgentCharacterEx_Release(This) \
  3781. (This)->lpVtbl -> Release(This)
  3782. #define IAgentCharacterEx_GetTypeInfoCount(This,pctinfo) \
  3783. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3784. #define IAgentCharacterEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3785. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3786. #define IAgentCharacterEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3787. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3788. #define IAgentCharacterEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3789. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3790. #define IAgentCharacterEx_GetVisible(This,pbVisible) \
  3791. (This)->lpVtbl -> GetVisible(This,pbVisible)
  3792. #define IAgentCharacterEx_SetPosition(This,lLeft,lTop) \
  3793. (This)->lpVtbl -> SetPosition(This,lLeft,lTop)
  3794. #define IAgentCharacterEx_GetPosition(This,plLeft,plTop) \
  3795. (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  3796. #define IAgentCharacterEx_SetSize(This,lWidth,lHeight) \
  3797. (This)->lpVtbl -> SetSize(This,lWidth,lHeight)
  3798. #define IAgentCharacterEx_GetSize(This,plWidth,plHeight) \
  3799. (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  3800. #define IAgentCharacterEx_GetName(This,pbszName) \
  3801. (This)->lpVtbl -> GetName(This,pbszName)
  3802. #define IAgentCharacterEx_GetDescription(This,pbszDescription) \
  3803. (This)->lpVtbl -> GetDescription(This,pbszDescription)
  3804. #define IAgentCharacterEx_GetTTSSpeed(This,pdwSpeed) \
  3805. (This)->lpVtbl -> GetTTSSpeed(This,pdwSpeed)
  3806. #define IAgentCharacterEx_GetTTSPitch(This,pwPitch) \
  3807. (This)->lpVtbl -> GetTTSPitch(This,pwPitch)
  3808. #define IAgentCharacterEx_Activate(This,sState) \
  3809. (This)->lpVtbl -> Activate(This,sState)
  3810. #define IAgentCharacterEx_SetIdleOn(This,bOn) \
  3811. (This)->lpVtbl -> SetIdleOn(This,bOn)
  3812. #define IAgentCharacterEx_GetIdleOn(This,pbOn) \
  3813. (This)->lpVtbl -> GetIdleOn(This,pbOn)
  3814. #define IAgentCharacterEx_Prepare(This,dwType,bszName,bQueue,pdwReqID) \
  3815. (This)->lpVtbl -> Prepare(This,dwType,bszName,bQueue,pdwReqID)
  3816. #define IAgentCharacterEx_Play(This,bszAnimation,pdwReqID) \
  3817. (This)->lpVtbl -> Play(This,bszAnimation,pdwReqID)
  3818. #define IAgentCharacterEx_Stop(This,dwReqID) \
  3819. (This)->lpVtbl -> Stop(This,dwReqID)
  3820. #define IAgentCharacterEx_StopAll(This,lTypes) \
  3821. (This)->lpVtbl -> StopAll(This,lTypes)
  3822. #define IAgentCharacterEx_Wait(This,dwReqID,pdwReqID) \
  3823. (This)->lpVtbl -> Wait(This,dwReqID,pdwReqID)
  3824. #define IAgentCharacterEx_Interrupt(This,dwReqID,pdwReqID) \
  3825. (This)->lpVtbl -> Interrupt(This,dwReqID,pdwReqID)
  3826. #define IAgentCharacterEx_Show(This,bFast,pdwReqID) \
  3827. (This)->lpVtbl -> Show(This,bFast,pdwReqID)
  3828. #define IAgentCharacterEx_Hide(This,bFast,pdwReqID) \
  3829. (This)->lpVtbl -> Hide(This,bFast,pdwReqID)
  3830. #define IAgentCharacterEx_Speak(This,bszText,bszUrl,pdwReqID) \
  3831. (This)->lpVtbl -> Speak(This,bszText,bszUrl,pdwReqID)
  3832. #define IAgentCharacterEx_MoveTo(This,x,y,lSpeed,pdwReqID) \
  3833. (This)->lpVtbl -> MoveTo(This,x,y,lSpeed,pdwReqID)
  3834. #define IAgentCharacterEx_GestureAt(This,x,y,pdwReqID) \
  3835. (This)->lpVtbl -> GestureAt(This,x,y,pdwReqID)
  3836. #define IAgentCharacterEx_GetMoveCause(This,pdwCause) \
  3837. (This)->lpVtbl -> GetMoveCause(This,pdwCause)
  3838. #define IAgentCharacterEx_GetVisibilityCause(This,pdwCause) \
  3839. (This)->lpVtbl -> GetVisibilityCause(This,pdwCause)
  3840. #define IAgentCharacterEx_HasOtherClients(This,plNumOtherClients) \
  3841. (This)->lpVtbl -> HasOtherClients(This,plNumOtherClients)
  3842. #define IAgentCharacterEx_SetSoundEffectsOn(This,bOn) \
  3843. (This)->lpVtbl -> SetSoundEffectsOn(This,bOn)
  3844. #define IAgentCharacterEx_GetSoundEffectsOn(This,pbOn) \
  3845. (This)->lpVtbl -> GetSoundEffectsOn(This,pbOn)
  3846. #define IAgentCharacterEx_SetName(This,bszName) \
  3847. (This)->lpVtbl -> SetName(This,bszName)
  3848. #define IAgentCharacterEx_SetDescription(This,bszDescription) \
  3849. (This)->lpVtbl -> SetDescription(This,bszDescription)
  3850. #define IAgentCharacterEx_GetExtraData(This,pbszExtraData) \
  3851. (This)->lpVtbl -> GetExtraData(This,pbszExtraData)
  3852. #define IAgentCharacterEx_ShowPopupMenu(This,x,y) \
  3853. (This)->lpVtbl -> ShowPopupMenu(This,x,y)
  3854. #define IAgentCharacterEx_SetAutoPopupMenu(This,bAutoPopupMenu) \
  3855. (This)->lpVtbl -> SetAutoPopupMenu(This,bAutoPopupMenu)
  3856. #define IAgentCharacterEx_GetAutoPopupMenu(This,pbAutoPopupMenu) \
  3857. (This)->lpVtbl -> GetAutoPopupMenu(This,pbAutoPopupMenu)
  3858. #define IAgentCharacterEx_GetHelpFileName(This,pbszName) \
  3859. (This)->lpVtbl -> GetHelpFileName(This,pbszName)
  3860. #define IAgentCharacterEx_SetHelpFileName(This,bszName) \
  3861. (This)->lpVtbl -> SetHelpFileName(This,bszName)
  3862. #define IAgentCharacterEx_SetHelpModeOn(This,bHelpModeOn) \
  3863. (This)->lpVtbl -> SetHelpModeOn(This,bHelpModeOn)
  3864. #define IAgentCharacterEx_GetHelpModeOn(This,pbHelpModeOn) \
  3865. (This)->lpVtbl -> GetHelpModeOn(This,pbHelpModeOn)
  3866. #define IAgentCharacterEx_SetHelpContextID(This,ulID) \
  3867. (This)->lpVtbl -> SetHelpContextID(This,ulID)
  3868. #define IAgentCharacterEx_GetHelpContextID(This,pulID) \
  3869. (This)->lpVtbl -> GetHelpContextID(This,pulID)
  3870. #define IAgentCharacterEx_GetActive(This,psState) \
  3871. (This)->lpVtbl -> GetActive(This,psState)
  3872. #define IAgentCharacterEx_Listen(This,bListen) \
  3873. (This)->lpVtbl -> Listen(This,bListen)
  3874. #define IAgentCharacterEx_SetLanguageID(This,langid) \
  3875. (This)->lpVtbl -> SetLanguageID(This,langid)
  3876. #define IAgentCharacterEx_GetLanguageID(This,plangid) \
  3877. (This)->lpVtbl -> GetLanguageID(This,plangid)
  3878. #define IAgentCharacterEx_GetTTSModeID(This,pbszModeID) \
  3879. (This)->lpVtbl -> GetTTSModeID(This,pbszModeID)
  3880. #define IAgentCharacterEx_SetTTSModeID(This,bszModeID) \
  3881. (This)->lpVtbl -> SetTTSModeID(This,bszModeID)
  3882. #define IAgentCharacterEx_GetSRModeID(This,pbszModeID) \
  3883. (This)->lpVtbl -> GetSRModeID(This,pbszModeID)
  3884. #define IAgentCharacterEx_SetSRModeID(This,bszModeID) \
  3885. (This)->lpVtbl -> SetSRModeID(This,bszModeID)
  3886. #define IAgentCharacterEx_GetGUID(This,pbszID) \
  3887. (This)->lpVtbl -> GetGUID(This,pbszID)
  3888. #define IAgentCharacterEx_GetOriginalSize(This,plWidth,plHeight) \
  3889. (This)->lpVtbl -> GetOriginalSize(This,plWidth,plHeight)
  3890. #define IAgentCharacterEx_Think(This,bszText,pdwReqID) \
  3891. (This)->lpVtbl -> Think(This,bszText,pdwReqID)
  3892. #define IAgentCharacterEx_GetVersion(This,psMajor,psMinor) \
  3893. (This)->lpVtbl -> GetVersion(This,psMajor,psMinor)
  3894. #define IAgentCharacterEx_GetAnimationNames(This,punkEnum) \
  3895. (This)->lpVtbl -> GetAnimationNames(This,punkEnum)
  3896. #define IAgentCharacterEx_GetSRStatus(This,plStatus) \
  3897. (This)->lpVtbl -> GetSRStatus(This,plStatus)
  3898. #endif /* COBJMACROS */
  3899. #endif /* C style interface */
  3900. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_ShowPopupMenu_Proxy(
  3901. IAgentCharacterEx __RPC_FAR * This,
  3902. /* [in] */ short x,
  3903. /* [in] */ short y);
  3904. void __RPC_STUB IAgentCharacterEx_ShowPopupMenu_Stub(
  3905. IRpcStubBuffer *This,
  3906. IRpcChannelBuffer *_pRpcChannelBuffer,
  3907. PRPC_MESSAGE _pRpcMessage,
  3908. DWORD *_pdwStubPhase);
  3909. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetAutoPopupMenu_Proxy(
  3910. IAgentCharacterEx __RPC_FAR * This,
  3911. /* [in] */ long bAutoPopupMenu);
  3912. void __RPC_STUB IAgentCharacterEx_SetAutoPopupMenu_Stub(
  3913. IRpcStubBuffer *This,
  3914. IRpcChannelBuffer *_pRpcChannelBuffer,
  3915. PRPC_MESSAGE _pRpcMessage,
  3916. DWORD *_pdwStubPhase);
  3917. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetAutoPopupMenu_Proxy(
  3918. IAgentCharacterEx __RPC_FAR * This,
  3919. /* [out] */ long __RPC_FAR *pbAutoPopupMenu);
  3920. void __RPC_STUB IAgentCharacterEx_GetAutoPopupMenu_Stub(
  3921. IRpcStubBuffer *This,
  3922. IRpcChannelBuffer *_pRpcChannelBuffer,
  3923. PRPC_MESSAGE _pRpcMessage,
  3924. DWORD *_pdwStubPhase);
  3925. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetHelpFileName_Proxy(
  3926. IAgentCharacterEx __RPC_FAR * This,
  3927. /* [out] */ BSTR __RPC_FAR *pbszName);
  3928. void __RPC_STUB IAgentCharacterEx_GetHelpFileName_Stub(
  3929. IRpcStubBuffer *This,
  3930. IRpcChannelBuffer *_pRpcChannelBuffer,
  3931. PRPC_MESSAGE _pRpcMessage,
  3932. DWORD *_pdwStubPhase);
  3933. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetHelpFileName_Proxy(
  3934. IAgentCharacterEx __RPC_FAR * This,
  3935. /* [in] */ BSTR bszName);
  3936. void __RPC_STUB IAgentCharacterEx_SetHelpFileName_Stub(
  3937. IRpcStubBuffer *This,
  3938. IRpcChannelBuffer *_pRpcChannelBuffer,
  3939. PRPC_MESSAGE _pRpcMessage,
  3940. DWORD *_pdwStubPhase);
  3941. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetHelpModeOn_Proxy(
  3942. IAgentCharacterEx __RPC_FAR * This,
  3943. /* [in] */ long bHelpModeOn);
  3944. void __RPC_STUB IAgentCharacterEx_SetHelpModeOn_Stub(
  3945. IRpcStubBuffer *This,
  3946. IRpcChannelBuffer *_pRpcChannelBuffer,
  3947. PRPC_MESSAGE _pRpcMessage,
  3948. DWORD *_pdwStubPhase);
  3949. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetHelpModeOn_Proxy(
  3950. IAgentCharacterEx __RPC_FAR * This,
  3951. /* [out] */ long __RPC_FAR *pbHelpModeOn);
  3952. void __RPC_STUB IAgentCharacterEx_GetHelpModeOn_Stub(
  3953. IRpcStubBuffer *This,
  3954. IRpcChannelBuffer *_pRpcChannelBuffer,
  3955. PRPC_MESSAGE _pRpcMessage,
  3956. DWORD *_pdwStubPhase);
  3957. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetHelpContextID_Proxy(
  3958. IAgentCharacterEx __RPC_FAR * This,
  3959. /* [in] */ long ulID);
  3960. void __RPC_STUB IAgentCharacterEx_SetHelpContextID_Stub(
  3961. IRpcStubBuffer *This,
  3962. IRpcChannelBuffer *_pRpcChannelBuffer,
  3963. PRPC_MESSAGE _pRpcMessage,
  3964. DWORD *_pdwStubPhase);
  3965. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetHelpContextID_Proxy(
  3966. IAgentCharacterEx __RPC_FAR * This,
  3967. /* [out] */ long __RPC_FAR *pulID);
  3968. void __RPC_STUB IAgentCharacterEx_GetHelpContextID_Stub(
  3969. IRpcStubBuffer *This,
  3970. IRpcChannelBuffer *_pRpcChannelBuffer,
  3971. PRPC_MESSAGE _pRpcMessage,
  3972. DWORD *_pdwStubPhase);
  3973. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetActive_Proxy(
  3974. IAgentCharacterEx __RPC_FAR * This,
  3975. /* [out] */ short __RPC_FAR *psState);
  3976. void __RPC_STUB IAgentCharacterEx_GetActive_Stub(
  3977. IRpcStubBuffer *This,
  3978. IRpcChannelBuffer *_pRpcChannelBuffer,
  3979. PRPC_MESSAGE _pRpcMessage,
  3980. DWORD *_pdwStubPhase);
  3981. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_Listen_Proxy(
  3982. IAgentCharacterEx __RPC_FAR * This,
  3983. /* [in] */ long bListen);
  3984. void __RPC_STUB IAgentCharacterEx_Listen_Stub(
  3985. IRpcStubBuffer *This,
  3986. IRpcChannelBuffer *_pRpcChannelBuffer,
  3987. PRPC_MESSAGE _pRpcMessage,
  3988. DWORD *_pdwStubPhase);
  3989. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetLanguageID_Proxy(
  3990. IAgentCharacterEx __RPC_FAR * This,
  3991. /* [in] */ long langid);
  3992. void __RPC_STUB IAgentCharacterEx_SetLanguageID_Stub(
  3993. IRpcStubBuffer *This,
  3994. IRpcChannelBuffer *_pRpcChannelBuffer,
  3995. PRPC_MESSAGE _pRpcMessage,
  3996. DWORD *_pdwStubPhase);
  3997. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetLanguageID_Proxy(
  3998. IAgentCharacterEx __RPC_FAR * This,
  3999. /* [out] */ long __RPC_FAR *plangid);
  4000. void __RPC_STUB IAgentCharacterEx_GetLanguageID_Stub(
  4001. IRpcStubBuffer *This,
  4002. IRpcChannelBuffer *_pRpcChannelBuffer,
  4003. PRPC_MESSAGE _pRpcMessage,
  4004. DWORD *_pdwStubPhase);
  4005. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetTTSModeID_Proxy(
  4006. IAgentCharacterEx __RPC_FAR * This,
  4007. /* [out] */ BSTR __RPC_FAR *pbszModeID);
  4008. void __RPC_STUB IAgentCharacterEx_GetTTSModeID_Stub(
  4009. IRpcStubBuffer *This,
  4010. IRpcChannelBuffer *_pRpcChannelBuffer,
  4011. PRPC_MESSAGE _pRpcMessage,
  4012. DWORD *_pdwStubPhase);
  4013. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetTTSModeID_Proxy(
  4014. IAgentCharacterEx __RPC_FAR * This,
  4015. /* [in] */ BSTR bszModeID);
  4016. void __RPC_STUB IAgentCharacterEx_SetTTSModeID_Stub(
  4017. IRpcStubBuffer *This,
  4018. IRpcChannelBuffer *_pRpcChannelBuffer,
  4019. PRPC_MESSAGE _pRpcMessage,
  4020. DWORD *_pdwStubPhase);
  4021. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetSRModeID_Proxy(
  4022. IAgentCharacterEx __RPC_FAR * This,
  4023. /* [out] */ BSTR __RPC_FAR *pbszModeID);
  4024. void __RPC_STUB IAgentCharacterEx_GetSRModeID_Stub(
  4025. IRpcStubBuffer *This,
  4026. IRpcChannelBuffer *_pRpcChannelBuffer,
  4027. PRPC_MESSAGE _pRpcMessage,
  4028. DWORD *_pdwStubPhase);
  4029. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetSRModeID_Proxy(
  4030. IAgentCharacterEx __RPC_FAR * This,
  4031. /* [in] */ BSTR bszModeID);
  4032. void __RPC_STUB IAgentCharacterEx_SetSRModeID_Stub(
  4033. IRpcStubBuffer *This,
  4034. IRpcChannelBuffer *_pRpcChannelBuffer,
  4035. PRPC_MESSAGE _pRpcMessage,
  4036. DWORD *_pdwStubPhase);
  4037. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetGUID_Proxy(
  4038. IAgentCharacterEx __RPC_FAR * This,
  4039. /* [out] */ BSTR __RPC_FAR *pbszID);
  4040. void __RPC_STUB IAgentCharacterEx_GetGUID_Stub(
  4041. IRpcStubBuffer *This,
  4042. IRpcChannelBuffer *_pRpcChannelBuffer,
  4043. PRPC_MESSAGE _pRpcMessage,
  4044. DWORD *_pdwStubPhase);
  4045. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetOriginalSize_Proxy(
  4046. IAgentCharacterEx __RPC_FAR * This,
  4047. /* [out] */ long __RPC_FAR *plWidth,
  4048. /* [out] */ long __RPC_FAR *plHeight);
  4049. void __RPC_STUB IAgentCharacterEx_GetOriginalSize_Stub(
  4050. IRpcStubBuffer *This,
  4051. IRpcChannelBuffer *_pRpcChannelBuffer,
  4052. PRPC_MESSAGE _pRpcMessage,
  4053. DWORD *_pdwStubPhase);
  4054. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_Think_Proxy(
  4055. IAgentCharacterEx __RPC_FAR * This,
  4056. /* [in] */ BSTR bszText,
  4057. /* [out] */ long __RPC_FAR *pdwReqID);
  4058. void __RPC_STUB IAgentCharacterEx_Think_Stub(
  4059. IRpcStubBuffer *This,
  4060. IRpcChannelBuffer *_pRpcChannelBuffer,
  4061. PRPC_MESSAGE _pRpcMessage,
  4062. DWORD *_pdwStubPhase);
  4063. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetVersion_Proxy(
  4064. IAgentCharacterEx __RPC_FAR * This,
  4065. /* [out] */ short __RPC_FAR *psMajor,
  4066. /* [out] */ short __RPC_FAR *psMinor);
  4067. void __RPC_STUB IAgentCharacterEx_GetVersion_Stub(
  4068. IRpcStubBuffer *This,
  4069. IRpcChannelBuffer *_pRpcChannelBuffer,
  4070. PRPC_MESSAGE _pRpcMessage,
  4071. DWORD *_pdwStubPhase);
  4072. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetAnimationNames_Proxy(
  4073. IAgentCharacterEx __RPC_FAR * This,
  4074. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *punkEnum);
  4075. void __RPC_STUB IAgentCharacterEx_GetAnimationNames_Stub(
  4076. IRpcStubBuffer *This,
  4077. IRpcChannelBuffer *_pRpcChannelBuffer,
  4078. PRPC_MESSAGE _pRpcMessage,
  4079. DWORD *_pdwStubPhase);
  4080. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetSRStatus_Proxy(
  4081. IAgentCharacterEx __RPC_FAR * This,
  4082. /* [out] */ long __RPC_FAR *plStatus);
  4083. void __RPC_STUB IAgentCharacterEx_GetSRStatus_Stub(
  4084. IRpcStubBuffer *This,
  4085. IRpcChannelBuffer *_pRpcChannelBuffer,
  4086. PRPC_MESSAGE _pRpcMessage,
  4087. DWORD *_pdwStubPhase);
  4088. #endif /* __IAgentCharacterEx_INTERFACE_DEFINED__ */
  4089. #ifndef __IAgent_INTERFACE_DEFINED__
  4090. #define __IAgent_INTERFACE_DEFINED__
  4091. /****************************************
  4092. * Generated header for interface: IAgent
  4093. * at Mon Aug 31 17:00:38 1998
  4094. * using MIDL 3.01.75
  4095. ****************************************/
  4096. /* [unique][helpstring][dual][uuid][object] */
  4097. EXTERN_C const IID IID_IAgent;
  4098. #if defined(__cplusplus) && !defined(CINTERFACE)
  4099. interface DECLSPEC_UUID("A7B93C91-7B81-11D0-AC5F-00C04FD97575")
  4100. IAgent : public IDispatch
  4101. {
  4102. public:
  4103. virtual HRESULT STDMETHODCALLTYPE Load(
  4104. /* [in] */ VARIANT vLoadKey,
  4105. /* [out] */ long __RPC_FAR *pdwCharID,
  4106. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  4107. virtual HRESULT STDMETHODCALLTYPE Unload(
  4108. /* [in] */ long dwCharID) = 0;
  4109. virtual HRESULT STDMETHODCALLTYPE Register(
  4110. /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  4111. /* [out] */ long __RPC_FAR *pdwSinkID) = 0;
  4112. virtual HRESULT STDMETHODCALLTYPE Unregister(
  4113. /* [in] */ long dwSinkID) = 0;
  4114. virtual HRESULT STDMETHODCALLTYPE GetCharacter(
  4115. /* [in] */ long dwCharID,
  4116. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter) = 0;
  4117. virtual HRESULT STDMETHODCALLTYPE GetSuspended(
  4118. /* [out] */ long __RPC_FAR *pbSuspended) = 0;
  4119. };
  4120. #else /* C style interface */
  4121. typedef struct IAgentVtbl
  4122. {
  4123. BEGIN_INTERFACE
  4124. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4125. IAgent __RPC_FAR * This,
  4126. /* [in] */ REFIID riid,
  4127. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4128. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4129. IAgent __RPC_FAR * This);
  4130. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4131. IAgent __RPC_FAR * This);
  4132. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4133. IAgent __RPC_FAR * This,
  4134. /* [out] */ UINT __RPC_FAR *pctinfo);
  4135. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4136. IAgent __RPC_FAR * This,
  4137. /* [in] */ UINT iTInfo,
  4138. /* [in] */ LCID lcid,
  4139. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4140. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4141. IAgent __RPC_FAR * This,
  4142. /* [in] */ REFIID riid,
  4143. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4144. /* [in] */ UINT cNames,
  4145. /* [in] */ LCID lcid,
  4146. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4147. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4148. IAgent __RPC_FAR * This,
  4149. /* [in] */ DISPID dispIdMember,
  4150. /* [in] */ REFIID riid,
  4151. /* [in] */ LCID lcid,
  4152. /* [in] */ WORD wFlags,
  4153. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4154. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4155. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4156. /* [out] */ UINT __RPC_FAR *puArgErr);
  4157. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Load )(
  4158. IAgent __RPC_FAR * This,
  4159. /* [in] */ VARIANT vLoadKey,
  4160. /* [out] */ long __RPC_FAR *pdwCharID,
  4161. /* [out] */ long __RPC_FAR *pdwReqID);
  4162. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unload )(
  4163. IAgent __RPC_FAR * This,
  4164. /* [in] */ long dwCharID);
  4165. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Register )(
  4166. IAgent __RPC_FAR * This,
  4167. /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  4168. /* [out] */ long __RPC_FAR *pdwSinkID);
  4169. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unregister )(
  4170. IAgent __RPC_FAR * This,
  4171. /* [in] */ long dwSinkID);
  4172. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCharacter )(
  4173. IAgent __RPC_FAR * This,
  4174. /* [in] */ long dwCharID,
  4175. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter);
  4176. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSuspended )(
  4177. IAgent __RPC_FAR * This,
  4178. /* [out] */ long __RPC_FAR *pbSuspended);
  4179. END_INTERFACE
  4180. } IAgentVtbl;
  4181. interface IAgent
  4182. {
  4183. CONST_VTBL struct IAgentVtbl __RPC_FAR *lpVtbl;
  4184. };
  4185. #ifdef COBJMACROS
  4186. #define IAgent_QueryInterface(This,riid,ppvObject) \
  4187. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4188. #define IAgent_AddRef(This) \
  4189. (This)->lpVtbl -> AddRef(This)
  4190. #define IAgent_Release(This) \
  4191. (This)->lpVtbl -> Release(This)
  4192. #define IAgent_GetTypeInfoCount(This,pctinfo) \
  4193. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4194. #define IAgent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4195. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4196. #define IAgent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4197. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4198. #define IAgent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4199. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4200. #define IAgent_Load(This,vLoadKey,pdwCharID,pdwReqID) \
  4201. (This)->lpVtbl -> Load(This,vLoadKey,pdwCharID,pdwReqID)
  4202. #define IAgent_Unload(This,dwCharID) \
  4203. (This)->lpVtbl -> Unload(This,dwCharID)
  4204. #define IAgent_Register(This,punkNotifySink,pdwSinkID) \
  4205. (This)->lpVtbl -> Register(This,punkNotifySink,pdwSinkID)
  4206. #define IAgent_Unregister(This,dwSinkID) \
  4207. (This)->lpVtbl -> Unregister(This,dwSinkID)
  4208. #define IAgent_GetCharacter(This,dwCharID,ppunkCharacter) \
  4209. (This)->lpVtbl -> GetCharacter(This,dwCharID,ppunkCharacter)
  4210. #define IAgent_GetSuspended(This,pbSuspended) \
  4211. (This)->lpVtbl -> GetSuspended(This,pbSuspended)
  4212. #endif /* COBJMACROS */
  4213. #endif /* C style interface */
  4214. HRESULT STDMETHODCALLTYPE IAgent_Load_Proxy(
  4215. IAgent __RPC_FAR * This,
  4216. /* [in] */ VARIANT vLoadKey,
  4217. /* [out] */ long __RPC_FAR *pdwCharID,
  4218. /* [out] */ long __RPC_FAR *pdwReqID);
  4219. void __RPC_STUB IAgent_Load_Stub(
  4220. IRpcStubBuffer *This,
  4221. IRpcChannelBuffer *_pRpcChannelBuffer,
  4222. PRPC_MESSAGE _pRpcMessage,
  4223. DWORD *_pdwStubPhase);
  4224. HRESULT STDMETHODCALLTYPE IAgent_Unload_Proxy(
  4225. IAgent __RPC_FAR * This,
  4226. /* [in] */ long dwCharID);
  4227. void __RPC_STUB IAgent_Unload_Stub(
  4228. IRpcStubBuffer *This,
  4229. IRpcChannelBuffer *_pRpcChannelBuffer,
  4230. PRPC_MESSAGE _pRpcMessage,
  4231. DWORD *_pdwStubPhase);
  4232. HRESULT STDMETHODCALLTYPE IAgent_Register_Proxy(
  4233. IAgent __RPC_FAR * This,
  4234. /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  4235. /* [out] */ long __RPC_FAR *pdwSinkID);
  4236. void __RPC_STUB IAgent_Register_Stub(
  4237. IRpcStubBuffer *This,
  4238. IRpcChannelBuffer *_pRpcChannelBuffer,
  4239. PRPC_MESSAGE _pRpcMessage,
  4240. DWORD *_pdwStubPhase);
  4241. HRESULT STDMETHODCALLTYPE IAgent_Unregister_Proxy(
  4242. IAgent __RPC_FAR * This,
  4243. /* [in] */ long dwSinkID);
  4244. void __RPC_STUB IAgent_Unregister_Stub(
  4245. IRpcStubBuffer *This,
  4246. IRpcChannelBuffer *_pRpcChannelBuffer,
  4247. PRPC_MESSAGE _pRpcMessage,
  4248. DWORD *_pdwStubPhase);
  4249. HRESULT STDMETHODCALLTYPE IAgent_GetCharacter_Proxy(
  4250. IAgent __RPC_FAR * This,
  4251. /* [in] */ long dwCharID,
  4252. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter);
  4253. void __RPC_STUB IAgent_GetCharacter_Stub(
  4254. IRpcStubBuffer *This,
  4255. IRpcChannelBuffer *_pRpcChannelBuffer,
  4256. PRPC_MESSAGE _pRpcMessage,
  4257. DWORD *_pdwStubPhase);
  4258. HRESULT STDMETHODCALLTYPE IAgent_GetSuspended_Proxy(
  4259. IAgent __RPC_FAR * This,
  4260. /* [out] */ long __RPC_FAR *pbSuspended);
  4261. void __RPC_STUB IAgent_GetSuspended_Stub(
  4262. IRpcStubBuffer *This,
  4263. IRpcChannelBuffer *_pRpcChannelBuffer,
  4264. PRPC_MESSAGE _pRpcMessage,
  4265. DWORD *_pdwStubPhase);
  4266. #endif /* __IAgent_INTERFACE_DEFINED__ */
  4267. #ifndef __IAgentEx_INTERFACE_DEFINED__
  4268. #define __IAgentEx_INTERFACE_DEFINED__
  4269. /****************************************
  4270. * Generated header for interface: IAgentEx
  4271. * at Mon Aug 31 17:00:38 1998
  4272. * using MIDL 3.01.75
  4273. ****************************************/
  4274. /* [unique][helpstring][dual][uuid][object] */
  4275. EXTERN_C const IID IID_IAgentEx;
  4276. #if defined(__cplusplus) && !defined(CINTERFACE)
  4277. interface DECLSPEC_UUID("48D12BA0-5B77-11d1-9EC1-00C04FD7081F")
  4278. IAgentEx : public IAgent
  4279. {
  4280. public:
  4281. virtual HRESULT STDMETHODCALLTYPE GetCharacterEx(
  4282. /* [in] */ long dwCharID,
  4283. /* [out] */ IAgentCharacterEx __RPC_FAR *__RPC_FAR *ppCharacterEx) = 0;
  4284. virtual HRESULT STDMETHODCALLTYPE GetVersion(
  4285. /* [out] */ short __RPC_FAR *psMajor,
  4286. /* [out] */ short __RPC_FAR *psMinor) = 0;
  4287. virtual HRESULT STDMETHODCALLTYPE ShowDefaultCharacterProperties(
  4288. /* [in] */ short x,
  4289. /* [in] */ short y,
  4290. /* [in] */ long bUseDefaultPosition) = 0;
  4291. };
  4292. #else /* C style interface */
  4293. typedef struct IAgentExVtbl
  4294. {
  4295. BEGIN_INTERFACE
  4296. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4297. IAgentEx __RPC_FAR * This,
  4298. /* [in] */ REFIID riid,
  4299. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4300. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4301. IAgentEx __RPC_FAR * This);
  4302. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4303. IAgentEx __RPC_FAR * This);
  4304. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4305. IAgentEx __RPC_FAR * This,
  4306. /* [out] */ UINT __RPC_FAR *pctinfo);
  4307. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4308. IAgentEx __RPC_FAR * This,
  4309. /* [in] */ UINT iTInfo,
  4310. /* [in] */ LCID lcid,
  4311. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4312. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4313. IAgentEx __RPC_FAR * This,
  4314. /* [in] */ REFIID riid,
  4315. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4316. /* [in] */ UINT cNames,
  4317. /* [in] */ LCID lcid,
  4318. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4319. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4320. IAgentEx __RPC_FAR * This,
  4321. /* [in] */ DISPID dispIdMember,
  4322. /* [in] */ REFIID riid,
  4323. /* [in] */ LCID lcid,
  4324. /* [in] */ WORD wFlags,
  4325. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4326. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4327. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4328. /* [out] */ UINT __RPC_FAR *puArgErr);
  4329. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Load )(
  4330. IAgentEx __RPC_FAR * This,
  4331. /* [in] */ VARIANT vLoadKey,
  4332. /* [out] */ long __RPC_FAR *pdwCharID,
  4333. /* [out] */ long __RPC_FAR *pdwReqID);
  4334. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unload )(
  4335. IAgentEx __RPC_FAR * This,
  4336. /* [in] */ long dwCharID);
  4337. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Register )(
  4338. IAgentEx __RPC_FAR * This,
  4339. /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  4340. /* [out] */ long __RPC_FAR *pdwSinkID);
  4341. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unregister )(
  4342. IAgentEx __RPC_FAR * This,
  4343. /* [in] */ long dwSinkID);
  4344. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCharacter )(
  4345. IAgentEx __RPC_FAR * This,
  4346. /* [in] */ long dwCharID,
  4347. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter);
  4348. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSuspended )(
  4349. IAgentEx __RPC_FAR * This,
  4350. /* [out] */ long __RPC_FAR *pbSuspended);
  4351. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCharacterEx )(
  4352. IAgentEx __RPC_FAR * This,
  4353. /* [in] */ long dwCharID,
  4354. /* [out] */ IAgentCharacterEx __RPC_FAR *__RPC_FAR *ppCharacterEx);
  4355. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVersion )(
  4356. IAgentEx __RPC_FAR * This,
  4357. /* [out] */ short __RPC_FAR *psMajor,
  4358. /* [out] */ short __RPC_FAR *psMinor);
  4359. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowDefaultCharacterProperties )(
  4360. IAgentEx __RPC_FAR * This,
  4361. /* [in] */ short x,
  4362. /* [in] */ short y,
  4363. /* [in] */ long bUseDefaultPosition);
  4364. END_INTERFACE
  4365. } IAgentExVtbl;
  4366. interface IAgentEx
  4367. {
  4368. CONST_VTBL struct IAgentExVtbl __RPC_FAR *lpVtbl;
  4369. };
  4370. #ifdef COBJMACROS
  4371. #define IAgentEx_QueryInterface(This,riid,ppvObject) \
  4372. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4373. #define IAgentEx_AddRef(This) \
  4374. (This)->lpVtbl -> AddRef(This)
  4375. #define IAgentEx_Release(This) \
  4376. (This)->lpVtbl -> Release(This)
  4377. #define IAgentEx_GetTypeInfoCount(This,pctinfo) \
  4378. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4379. #define IAgentEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4380. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4381. #define IAgentEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4382. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4383. #define IAgentEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4384. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4385. #define IAgentEx_Load(This,vLoadKey,pdwCharID,pdwReqID) \
  4386. (This)->lpVtbl -> Load(This,vLoadKey,pdwCharID,pdwReqID)
  4387. #define IAgentEx_Unload(This,dwCharID) \
  4388. (This)->lpVtbl -> Unload(This,dwCharID)
  4389. #define IAgentEx_Register(This,punkNotifySink,pdwSinkID) \
  4390. (This)->lpVtbl -> Register(This,punkNotifySink,pdwSinkID)
  4391. #define IAgentEx_Unregister(This,dwSinkID) \
  4392. (This)->lpVtbl -> Unregister(This,dwSinkID)
  4393. #define IAgentEx_GetCharacter(This,dwCharID,ppunkCharacter) \
  4394. (This)->lpVtbl -> GetCharacter(This,dwCharID,ppunkCharacter)
  4395. #define IAgentEx_GetSuspended(This,pbSuspended) \
  4396. (This)->lpVtbl -> GetSuspended(This,pbSuspended)
  4397. #define IAgentEx_GetCharacterEx(This,dwCharID,ppCharacterEx) \
  4398. (This)->lpVtbl -> GetCharacterEx(This,dwCharID,ppCharacterEx)
  4399. #define IAgentEx_GetVersion(This,psMajor,psMinor) \
  4400. (This)->lpVtbl -> GetVersion(This,psMajor,psMinor)
  4401. #define IAgentEx_ShowDefaultCharacterProperties(This,x,y,bUseDefaultPosition) \
  4402. (This)->lpVtbl -> ShowDefaultCharacterProperties(This,x,y,bUseDefaultPosition)
  4403. #endif /* COBJMACROS */
  4404. #endif /* C style interface */
  4405. HRESULT STDMETHODCALLTYPE IAgentEx_GetCharacterEx_Proxy(
  4406. IAgentEx __RPC_FAR * This,
  4407. /* [in] */ long dwCharID,
  4408. /* [out] */ IAgentCharacterEx __RPC_FAR *__RPC_FAR *ppCharacterEx);
  4409. void __RPC_STUB IAgentEx_GetCharacterEx_Stub(
  4410. IRpcStubBuffer *This,
  4411. IRpcChannelBuffer *_pRpcChannelBuffer,
  4412. PRPC_MESSAGE _pRpcMessage,
  4413. DWORD *_pdwStubPhase);
  4414. HRESULT STDMETHODCALLTYPE IAgentEx_GetVersion_Proxy(
  4415. IAgentEx __RPC_FAR * This,
  4416. /* [out] */ short __RPC_FAR *psMajor,
  4417. /* [out] */ short __RPC_FAR *psMinor);
  4418. void __RPC_STUB IAgentEx_GetVersion_Stub(
  4419. IRpcStubBuffer *This,
  4420. IRpcChannelBuffer *_pRpcChannelBuffer,
  4421. PRPC_MESSAGE _pRpcMessage,
  4422. DWORD *_pdwStubPhase);
  4423. HRESULT STDMETHODCALLTYPE IAgentEx_ShowDefaultCharacterProperties_Proxy(
  4424. IAgentEx __RPC_FAR * This,
  4425. /* [in] */ short x,
  4426. /* [in] */ short y,
  4427. /* [in] */ long bUseDefaultPosition);
  4428. void __RPC_STUB IAgentEx_ShowDefaultCharacterProperties_Stub(
  4429. IRpcStubBuffer *This,
  4430. IRpcChannelBuffer *_pRpcChannelBuffer,
  4431. PRPC_MESSAGE _pRpcMessage,
  4432. DWORD *_pdwStubPhase);
  4433. #endif /* __IAgentEx_INTERFACE_DEFINED__ */
  4434. #ifndef __IAgentNotifySink_INTERFACE_DEFINED__
  4435. #define __IAgentNotifySink_INTERFACE_DEFINED__
  4436. /****************************************
  4437. * Generated header for interface: IAgentNotifySink
  4438. * at Mon Aug 31 17:00:38 1998
  4439. * using MIDL 3.01.75
  4440. ****************************************/
  4441. /* [unique][helpstring][dual][uuid][object] */
  4442. EXTERN_C const IID IID_IAgentNotifySink;
  4443. #if defined(__cplusplus) && !defined(CINTERFACE)
  4444. interface DECLSPEC_UUID("00D18159-8466-11D0-AC63-00C04FD97575")
  4445. IAgentNotifySink : public IDispatch
  4446. {
  4447. public:
  4448. virtual HRESULT STDMETHODCALLTYPE Command(
  4449. /* [in] */ long dwCommandID,
  4450. /* [in] */ IUnknown __RPC_FAR *punkUserInput) = 0;
  4451. virtual HRESULT STDMETHODCALLTYPE ActivateInputState(
  4452. /* [in] */ long dwCharID,
  4453. /* [in] */ long bActivated) = 0;
  4454. virtual HRESULT STDMETHODCALLTYPE Restart( void) = 0;
  4455. virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  4456. virtual HRESULT STDMETHODCALLTYPE VisibleState(
  4457. /* [in] */ long dwCharID,
  4458. /* [in] */ long bVisible,
  4459. /* [in] */ long dwCause) = 0;
  4460. virtual HRESULT STDMETHODCALLTYPE Click(
  4461. /* [in] */ long dwCharID,
  4462. /* [in] */ short fwKeys,
  4463. /* [in] */ long x,
  4464. /* [in] */ long y) = 0;
  4465. virtual HRESULT STDMETHODCALLTYPE DblClick(
  4466. /* [in] */ long dwCharID,
  4467. /* [in] */ short fwKeys,
  4468. /* [in] */ long x,
  4469. /* [in] */ long y) = 0;
  4470. virtual HRESULT STDMETHODCALLTYPE DragStart(
  4471. /* [in] */ long dwCharID,
  4472. /* [in] */ short fwKeys,
  4473. /* [in] */ long x,
  4474. /* [in] */ long y) = 0;
  4475. virtual HRESULT STDMETHODCALLTYPE DragComplete(
  4476. /* [in] */ long dwCharID,
  4477. /* [in] */ short fwKeys,
  4478. /* [in] */ long x,
  4479. /* [in] */ long y) = 0;
  4480. virtual HRESULT STDMETHODCALLTYPE RequestStart(
  4481. /* [in] */ long dwRequestID) = 0;
  4482. virtual HRESULT STDMETHODCALLTYPE RequestComplete(
  4483. /* [in] */ long dwRequestID,
  4484. /* [in] */ long hrStatus) = 0;
  4485. virtual HRESULT STDMETHODCALLTYPE BookMark(
  4486. /* [in] */ long dwBookMarkID) = 0;
  4487. virtual HRESULT STDMETHODCALLTYPE Idle(
  4488. /* [in] */ long dwCharID,
  4489. /* [in] */ long bStart) = 0;
  4490. virtual HRESULT STDMETHODCALLTYPE Move(
  4491. /* [in] */ long dwCharID,
  4492. /* [in] */ long x,
  4493. /* [in] */ long y,
  4494. /* [in] */ long dwCause) = 0;
  4495. virtual HRESULT STDMETHODCALLTYPE Size(
  4496. /* [in] */ long dwCharID,
  4497. /* [in] */ long lWidth,
  4498. /* [in] */ long lHeight) = 0;
  4499. virtual HRESULT STDMETHODCALLTYPE BalloonVisibleState(
  4500. /* [in] */ long dwCharID,
  4501. /* [in] */ long bVisible) = 0;
  4502. };
  4503. #else /* C style interface */
  4504. typedef struct IAgentNotifySinkVtbl
  4505. {
  4506. BEGIN_INTERFACE
  4507. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4508. IAgentNotifySink __RPC_FAR * This,
  4509. /* [in] */ REFIID riid,
  4510. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4511. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4512. IAgentNotifySink __RPC_FAR * This);
  4513. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4514. IAgentNotifySink __RPC_FAR * This);
  4515. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4516. IAgentNotifySink __RPC_FAR * This,
  4517. /* [out] */ UINT __RPC_FAR *pctinfo);
  4518. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4519. IAgentNotifySink __RPC_FAR * This,
  4520. /* [in] */ UINT iTInfo,
  4521. /* [in] */ LCID lcid,
  4522. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4523. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4524. IAgentNotifySink __RPC_FAR * This,
  4525. /* [in] */ REFIID riid,
  4526. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4527. /* [in] */ UINT cNames,
  4528. /* [in] */ LCID lcid,
  4529. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4530. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4531. IAgentNotifySink __RPC_FAR * This,
  4532. /* [in] */ DISPID dispIdMember,
  4533. /* [in] */ REFIID riid,
  4534. /* [in] */ LCID lcid,
  4535. /* [in] */ WORD wFlags,
  4536. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4537. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4538. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4539. /* [out] */ UINT __RPC_FAR *puArgErr);
  4540. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Command )(
  4541. IAgentNotifySink __RPC_FAR * This,
  4542. /* [in] */ long dwCommandID,
  4543. /* [in] */ IUnknown __RPC_FAR *punkUserInput);
  4544. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ActivateInputState )(
  4545. IAgentNotifySink __RPC_FAR * This,
  4546. /* [in] */ long dwCharID,
  4547. /* [in] */ long bActivated);
  4548. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Restart )(
  4549. IAgentNotifySink __RPC_FAR * This);
  4550. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Shutdown )(
  4551. IAgentNotifySink __RPC_FAR * This);
  4552. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *VisibleState )(
  4553. IAgentNotifySink __RPC_FAR * This,
  4554. /* [in] */ long dwCharID,
  4555. /* [in] */ long bVisible,
  4556. /* [in] */ long dwCause);
  4557. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Click )(
  4558. IAgentNotifySink __RPC_FAR * This,
  4559. /* [in] */ long dwCharID,
  4560. /* [in] */ short fwKeys,
  4561. /* [in] */ long x,
  4562. /* [in] */ long y);
  4563. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DblClick )(
  4564. IAgentNotifySink __RPC_FAR * This,
  4565. /* [in] */ long dwCharID,
  4566. /* [in] */ short fwKeys,
  4567. /* [in] */ long x,
  4568. /* [in] */ long y);
  4569. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragStart )(
  4570. IAgentNotifySink __RPC_FAR * This,
  4571. /* [in] */ long dwCharID,
  4572. /* [in] */ short fwKeys,
  4573. /* [in] */ long x,
  4574. /* [in] */ long y);
  4575. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragComplete )(
  4576. IAgentNotifySink __RPC_FAR * This,
  4577. /* [in] */ long dwCharID,
  4578. /* [in] */ short fwKeys,
  4579. /* [in] */ long x,
  4580. /* [in] */ long y);
  4581. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestStart )(
  4582. IAgentNotifySink __RPC_FAR * This,
  4583. /* [in] */ long dwRequestID);
  4584. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestComplete )(
  4585. IAgentNotifySink __RPC_FAR * This,
  4586. /* [in] */ long dwRequestID,
  4587. /* [in] */ long hrStatus);
  4588. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BookMark )(
  4589. IAgentNotifySink __RPC_FAR * This,
  4590. /* [in] */ long dwBookMarkID);
  4591. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Idle )(
  4592. IAgentNotifySink __RPC_FAR * This,
  4593. /* [in] */ long dwCharID,
  4594. /* [in] */ long bStart);
  4595. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
  4596. IAgentNotifySink __RPC_FAR * This,
  4597. /* [in] */ long dwCharID,
  4598. /* [in] */ long x,
  4599. /* [in] */ long y,
  4600. /* [in] */ long dwCause);
  4601. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Size )(
  4602. IAgentNotifySink __RPC_FAR * This,
  4603. /* [in] */ long dwCharID,
  4604. /* [in] */ long lWidth,
  4605. /* [in] */ long lHeight);
  4606. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BalloonVisibleState )(
  4607. IAgentNotifySink __RPC_FAR * This,
  4608. /* [in] */ long dwCharID,
  4609. /* [in] */ long bVisible);
  4610. END_INTERFACE
  4611. } IAgentNotifySinkVtbl;
  4612. interface IAgentNotifySink
  4613. {
  4614. CONST_VTBL struct IAgentNotifySinkVtbl __RPC_FAR *lpVtbl;
  4615. };
  4616. #ifdef COBJMACROS
  4617. #define IAgentNotifySink_QueryInterface(This,riid,ppvObject) \
  4618. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4619. #define IAgentNotifySink_AddRef(This) \
  4620. (This)->lpVtbl -> AddRef(This)
  4621. #define IAgentNotifySink_Release(This) \
  4622. (This)->lpVtbl -> Release(This)
  4623. #define IAgentNotifySink_GetTypeInfoCount(This,pctinfo) \
  4624. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4625. #define IAgentNotifySink_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4626. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4627. #define IAgentNotifySink_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4628. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4629. #define IAgentNotifySink_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4630. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4631. #define IAgentNotifySink_Command(This,dwCommandID,punkUserInput) \
  4632. (This)->lpVtbl -> Command(This,dwCommandID,punkUserInput)
  4633. #define IAgentNotifySink_ActivateInputState(This,dwCharID,bActivated) \
  4634. (This)->lpVtbl -> ActivateInputState(This,dwCharID,bActivated)
  4635. #define IAgentNotifySink_Restart(This) \
  4636. (This)->lpVtbl -> Restart(This)
  4637. #define IAgentNotifySink_Shutdown(This) \
  4638. (This)->lpVtbl -> Shutdown(This)
  4639. #define IAgentNotifySink_VisibleState(This,dwCharID,bVisible,dwCause) \
  4640. (This)->lpVtbl -> VisibleState(This,dwCharID,bVisible,dwCause)
  4641. #define IAgentNotifySink_Click(This,dwCharID,fwKeys,x,y) \
  4642. (This)->lpVtbl -> Click(This,dwCharID,fwKeys,x,y)
  4643. #define IAgentNotifySink_DblClick(This,dwCharID,fwKeys,x,y) \
  4644. (This)->lpVtbl -> DblClick(This,dwCharID,fwKeys,x,y)
  4645. #define IAgentNotifySink_DragStart(This,dwCharID,fwKeys,x,y) \
  4646. (This)->lpVtbl -> DragStart(This,dwCharID,fwKeys,x,y)
  4647. #define IAgentNotifySink_DragComplete(This,dwCharID,fwKeys,x,y) \
  4648. (This)->lpVtbl -> DragComplete(This,dwCharID,fwKeys,x,y)
  4649. #define IAgentNotifySink_RequestStart(This,dwRequestID) \
  4650. (This)->lpVtbl -> RequestStart(This,dwRequestID)
  4651. #define IAgentNotifySink_RequestComplete(This,dwRequestID,hrStatus) \
  4652. (This)->lpVtbl -> RequestComplete(This,dwRequestID,hrStatus)
  4653. #define IAgentNotifySink_BookMark(This,dwBookMarkID) \
  4654. (This)->lpVtbl -> BookMark(This,dwBookMarkID)
  4655. #define IAgentNotifySink_Idle(This,dwCharID,bStart) \
  4656. (This)->lpVtbl -> Idle(This,dwCharID,bStart)
  4657. #define IAgentNotifySink_Move(This,dwCharID,x,y,dwCause) \
  4658. (This)->lpVtbl -> Move(This,dwCharID,x,y,dwCause)
  4659. #define IAgentNotifySink_Size(This,dwCharID,lWidth,lHeight) \
  4660. (This)->lpVtbl -> Size(This,dwCharID,lWidth,lHeight)
  4661. #define IAgentNotifySink_BalloonVisibleState(This,dwCharID,bVisible) \
  4662. (This)->lpVtbl -> BalloonVisibleState(This,dwCharID,bVisible)
  4663. #endif /* COBJMACROS */
  4664. #endif /* C style interface */
  4665. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Command_Proxy(
  4666. IAgentNotifySink __RPC_FAR * This,
  4667. /* [in] */ long dwCommandID,
  4668. /* [in] */ IUnknown __RPC_FAR *punkUserInput);
  4669. void __RPC_STUB IAgentNotifySink_Command_Stub(
  4670. IRpcStubBuffer *This,
  4671. IRpcChannelBuffer *_pRpcChannelBuffer,
  4672. PRPC_MESSAGE _pRpcMessage,
  4673. DWORD *_pdwStubPhase);
  4674. HRESULT STDMETHODCALLTYPE IAgentNotifySink_ActivateInputState_Proxy(
  4675. IAgentNotifySink __RPC_FAR * This,
  4676. /* [in] */ long dwCharID,
  4677. /* [in] */ long bActivated);
  4678. void __RPC_STUB IAgentNotifySink_ActivateInputState_Stub(
  4679. IRpcStubBuffer *This,
  4680. IRpcChannelBuffer *_pRpcChannelBuffer,
  4681. PRPC_MESSAGE _pRpcMessage,
  4682. DWORD *_pdwStubPhase);
  4683. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Restart_Proxy(
  4684. IAgentNotifySink __RPC_FAR * This);
  4685. void __RPC_STUB IAgentNotifySink_Restart_Stub(
  4686. IRpcStubBuffer *This,
  4687. IRpcChannelBuffer *_pRpcChannelBuffer,
  4688. PRPC_MESSAGE _pRpcMessage,
  4689. DWORD *_pdwStubPhase);
  4690. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Shutdown_Proxy(
  4691. IAgentNotifySink __RPC_FAR * This);
  4692. void __RPC_STUB IAgentNotifySink_Shutdown_Stub(
  4693. IRpcStubBuffer *This,
  4694. IRpcChannelBuffer *_pRpcChannelBuffer,
  4695. PRPC_MESSAGE _pRpcMessage,
  4696. DWORD *_pdwStubPhase);
  4697. HRESULT STDMETHODCALLTYPE IAgentNotifySink_VisibleState_Proxy(
  4698. IAgentNotifySink __RPC_FAR * This,
  4699. /* [in] */ long dwCharID,
  4700. /* [in] */ long bVisible,
  4701. /* [in] */ long dwCause);
  4702. void __RPC_STUB IAgentNotifySink_VisibleState_Stub(
  4703. IRpcStubBuffer *This,
  4704. IRpcChannelBuffer *_pRpcChannelBuffer,
  4705. PRPC_MESSAGE _pRpcMessage,
  4706. DWORD *_pdwStubPhase);
  4707. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Click_Proxy(
  4708. IAgentNotifySink __RPC_FAR * This,
  4709. /* [in] */ long dwCharID,
  4710. /* [in] */ short fwKeys,
  4711. /* [in] */ long x,
  4712. /* [in] */ long y);
  4713. void __RPC_STUB IAgentNotifySink_Click_Stub(
  4714. IRpcStubBuffer *This,
  4715. IRpcChannelBuffer *_pRpcChannelBuffer,
  4716. PRPC_MESSAGE _pRpcMessage,
  4717. DWORD *_pdwStubPhase);
  4718. HRESULT STDMETHODCALLTYPE IAgentNotifySink_DblClick_Proxy(
  4719. IAgentNotifySink __RPC_FAR * This,
  4720. /* [in] */ long dwCharID,
  4721. /* [in] */ short fwKeys,
  4722. /* [in] */ long x,
  4723. /* [in] */ long y);
  4724. void __RPC_STUB IAgentNotifySink_DblClick_Stub(
  4725. IRpcStubBuffer *This,
  4726. IRpcChannelBuffer *_pRpcChannelBuffer,
  4727. PRPC_MESSAGE _pRpcMessage,
  4728. DWORD *_pdwStubPhase);
  4729. HRESULT STDMETHODCALLTYPE IAgentNotifySink_DragStart_Proxy(
  4730. IAgentNotifySink __RPC_FAR * This,
  4731. /* [in] */ long dwCharID,
  4732. /* [in] */ short fwKeys,
  4733. /* [in] */ long x,
  4734. /* [in] */ long y);
  4735. void __RPC_STUB IAgentNotifySink_DragStart_Stub(
  4736. IRpcStubBuffer *This,
  4737. IRpcChannelBuffer *_pRpcChannelBuffer,
  4738. PRPC_MESSAGE _pRpcMessage,
  4739. DWORD *_pdwStubPhase);
  4740. HRESULT STDMETHODCALLTYPE IAgentNotifySink_DragComplete_Proxy(
  4741. IAgentNotifySink __RPC_FAR * This,
  4742. /* [in] */ long dwCharID,
  4743. /* [in] */ short fwKeys,
  4744. /* [in] */ long x,
  4745. /* [in] */ long y);
  4746. void __RPC_STUB IAgentNotifySink_DragComplete_Stub(
  4747. IRpcStubBuffer *This,
  4748. IRpcChannelBuffer *_pRpcChannelBuffer,
  4749. PRPC_MESSAGE _pRpcMessage,
  4750. DWORD *_pdwStubPhase);
  4751. HRESULT STDMETHODCALLTYPE IAgentNotifySink_RequestStart_Proxy(
  4752. IAgentNotifySink __RPC_FAR * This,
  4753. /* [in] */ long dwRequestID);
  4754. void __RPC_STUB IAgentNotifySink_RequestStart_Stub(
  4755. IRpcStubBuffer *This,
  4756. IRpcChannelBuffer *_pRpcChannelBuffer,
  4757. PRPC_MESSAGE _pRpcMessage,
  4758. DWORD *_pdwStubPhase);
  4759. HRESULT STDMETHODCALLTYPE IAgentNotifySink_RequestComplete_Proxy(
  4760. IAgentNotifySink __RPC_FAR * This,
  4761. /* [in] */ long dwRequestID,
  4762. /* [in] */ long hrStatus);
  4763. void __RPC_STUB IAgentNotifySink_RequestComplete_Stub(
  4764. IRpcStubBuffer *This,
  4765. IRpcChannelBuffer *_pRpcChannelBuffer,
  4766. PRPC_MESSAGE _pRpcMessage,
  4767. DWORD *_pdwStubPhase);
  4768. HRESULT STDMETHODCALLTYPE IAgentNotifySink_BookMark_Proxy(
  4769. IAgentNotifySink __RPC_FAR * This,
  4770. /* [in] */ long dwBookMarkID);
  4771. void __RPC_STUB IAgentNotifySink_BookMark_Stub(
  4772. IRpcStubBuffer *This,
  4773. IRpcChannelBuffer *_pRpcChannelBuffer,
  4774. PRPC_MESSAGE _pRpcMessage,
  4775. DWORD *_pdwStubPhase);
  4776. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Idle_Proxy(
  4777. IAgentNotifySink __RPC_FAR * This,
  4778. /* [in] */ long dwCharID,
  4779. /* [in] */ long bStart);
  4780. void __RPC_STUB IAgentNotifySink_Idle_Stub(
  4781. IRpcStubBuffer *This,
  4782. IRpcChannelBuffer *_pRpcChannelBuffer,
  4783. PRPC_MESSAGE _pRpcMessage,
  4784. DWORD *_pdwStubPhase);
  4785. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Move_Proxy(
  4786. IAgentNotifySink __RPC_FAR * This,
  4787. /* [in] */ long dwCharID,
  4788. /* [in] */ long x,
  4789. /* [in] */ long y,
  4790. /* [in] */ long dwCause);
  4791. void __RPC_STUB IAgentNotifySink_Move_Stub(
  4792. IRpcStubBuffer *This,
  4793. IRpcChannelBuffer *_pRpcChannelBuffer,
  4794. PRPC_MESSAGE _pRpcMessage,
  4795. DWORD *_pdwStubPhase);
  4796. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Size_Proxy(
  4797. IAgentNotifySink __RPC_FAR * This,
  4798. /* [in] */ long dwCharID,
  4799. /* [in] */ long lWidth,
  4800. /* [in] */ long lHeight);
  4801. void __RPC_STUB IAgentNotifySink_Size_Stub(
  4802. IRpcStubBuffer *This,
  4803. IRpcChannelBuffer *_pRpcChannelBuffer,
  4804. PRPC_MESSAGE _pRpcMessage,
  4805. DWORD *_pdwStubPhase);
  4806. HRESULT STDMETHODCALLTYPE IAgentNotifySink_BalloonVisibleState_Proxy(
  4807. IAgentNotifySink __RPC_FAR * This,
  4808. /* [in] */ long dwCharID,
  4809. /* [in] */ long bVisible);
  4810. void __RPC_STUB IAgentNotifySink_BalloonVisibleState_Stub(
  4811. IRpcStubBuffer *This,
  4812. IRpcChannelBuffer *_pRpcChannelBuffer,
  4813. PRPC_MESSAGE _pRpcMessage,
  4814. DWORD *_pdwStubPhase);
  4815. #endif /* __IAgentNotifySink_INTERFACE_DEFINED__ */
  4816. #ifndef __IAgentNotifySinkEx_INTERFACE_DEFINED__
  4817. #define __IAgentNotifySinkEx_INTERFACE_DEFINED__
  4818. /****************************************
  4819. * Generated header for interface: IAgentNotifySinkEx
  4820. * at Mon Aug 31 17:00:38 1998
  4821. * using MIDL 3.01.75
  4822. ****************************************/
  4823. /* [unique][helpstring][dual][uuid][object] */
  4824. EXTERN_C const IID IID_IAgentNotifySinkEx;
  4825. #if defined(__cplusplus) && !defined(CINTERFACE)
  4826. interface DECLSPEC_UUID("08C75162-3C9C-11d1-91FE-00C04FD701A5")
  4827. IAgentNotifySinkEx : public IAgentNotifySink
  4828. {
  4829. public:
  4830. virtual HRESULT STDMETHODCALLTYPE HelpComplete(
  4831. /* [in] */ long dwCharID,
  4832. /* [in] */ long dwCommandID,
  4833. /* [in] */ long dwCause) = 0;
  4834. virtual HRESULT STDMETHODCALLTYPE ListeningState(
  4835. /* [in] */ long dwCharID,
  4836. /* [in] */ long bListening,
  4837. /* [in] */ long dwCause) = 0;
  4838. virtual HRESULT STDMETHODCALLTYPE DefaultCharacterChange(
  4839. /* [in] */ BSTR bszGUID) = 0;
  4840. virtual HRESULT STDMETHODCALLTYPE AgentPropertyChange( void) = 0;
  4841. virtual HRESULT STDMETHODCALLTYPE ActiveClientChange(
  4842. /* [in] */ long dwCharID,
  4843. /* [in] */ long lStatus) = 0;
  4844. };
  4845. #else /* C style interface */
  4846. typedef struct IAgentNotifySinkExVtbl
  4847. {
  4848. BEGIN_INTERFACE
  4849. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4850. IAgentNotifySinkEx __RPC_FAR * This,
  4851. /* [in] */ REFIID riid,
  4852. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4853. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4854. IAgentNotifySinkEx __RPC_FAR * This);
  4855. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4856. IAgentNotifySinkEx __RPC_FAR * This);
  4857. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4858. IAgentNotifySinkEx __RPC_FAR * This,
  4859. /* [out] */ UINT __RPC_FAR *pctinfo);
  4860. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4861. IAgentNotifySinkEx __RPC_FAR * This,
  4862. /* [in] */ UINT iTInfo,
  4863. /* [in] */ LCID lcid,
  4864. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4865. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4866. IAgentNotifySinkEx __RPC_FAR * This,
  4867. /* [in] */ REFIID riid,
  4868. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4869. /* [in] */ UINT cNames,
  4870. /* [in] */ LCID lcid,
  4871. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4872. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4873. IAgentNotifySinkEx __RPC_FAR * This,
  4874. /* [in] */ DISPID dispIdMember,
  4875. /* [in] */ REFIID riid,
  4876. /* [in] */ LCID lcid,
  4877. /* [in] */ WORD wFlags,
  4878. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4879. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4880. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4881. /* [out] */ UINT __RPC_FAR *puArgErr);
  4882. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Command )(
  4883. IAgentNotifySinkEx __RPC_FAR * This,
  4884. /* [in] */ long dwCommandID,
  4885. /* [in] */ IUnknown __RPC_FAR *punkUserInput);
  4886. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ActivateInputState )(
  4887. IAgentNotifySinkEx __RPC_FAR * This,
  4888. /* [in] */ long dwCharID,
  4889. /* [in] */ long bActivated);
  4890. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Restart )(
  4891. IAgentNotifySinkEx __RPC_FAR * This);
  4892. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Shutdown )(
  4893. IAgentNotifySinkEx __RPC_FAR * This);
  4894. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *VisibleState )(
  4895. IAgentNotifySinkEx __RPC_FAR * This,
  4896. /* [in] */ long dwCharID,
  4897. /* [in] */ long bVisible,
  4898. /* [in] */ long dwCause);
  4899. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Click )(
  4900. IAgentNotifySinkEx __RPC_FAR * This,
  4901. /* [in] */ long dwCharID,
  4902. /* [in] */ short fwKeys,
  4903. /* [in] */ long x,
  4904. /* [in] */ long y);
  4905. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DblClick )(
  4906. IAgentNotifySinkEx __RPC_FAR * This,
  4907. /* [in] */ long dwCharID,
  4908. /* [in] */ short fwKeys,
  4909. /* [in] */ long x,
  4910. /* [in] */ long y);
  4911. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragStart )(
  4912. IAgentNotifySinkEx __RPC_FAR * This,
  4913. /* [in] */ long dwCharID,
  4914. /* [in] */ short fwKeys,
  4915. /* [in] */ long x,
  4916. /* [in] */ long y);
  4917. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragComplete )(
  4918. IAgentNotifySinkEx __RPC_FAR * This,
  4919. /* [in] */ long dwCharID,
  4920. /* [in] */ short fwKeys,
  4921. /* [in] */ long x,
  4922. /* [in] */ long y);
  4923. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestStart )(
  4924. IAgentNotifySinkEx __RPC_FAR * This,
  4925. /* [in] */ long dwRequestID);
  4926. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestComplete )(
  4927. IAgentNotifySinkEx __RPC_FAR * This,
  4928. /* [in] */ long dwRequestID,
  4929. /* [in] */ long hrStatus);
  4930. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BookMark )(
  4931. IAgentNotifySinkEx __RPC_FAR * This,
  4932. /* [in] */ long dwBookMarkID);
  4933. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Idle )(
  4934. IAgentNotifySinkEx __RPC_FAR * This,
  4935. /* [in] */ long dwCharID,
  4936. /* [in] */ long bStart);
  4937. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
  4938. IAgentNotifySinkEx __RPC_FAR * This,
  4939. /* [in] */ long dwCharID,
  4940. /* [in] */ long x,
  4941. /* [in] */ long y,
  4942. /* [in] */ long dwCause);
  4943. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Size )(
  4944. IAgentNotifySinkEx __RPC_FAR * This,
  4945. /* [in] */ long dwCharID,
  4946. /* [in] */ long lWidth,
  4947. /* [in] */ long lHeight);
  4948. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BalloonVisibleState )(
  4949. IAgentNotifySinkEx __RPC_FAR * This,
  4950. /* [in] */ long dwCharID,
  4951. /* [in] */ long bVisible);
  4952. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HelpComplete )(
  4953. IAgentNotifySinkEx __RPC_FAR * This,
  4954. /* [in] */ long dwCharID,
  4955. /* [in] */ long dwCommandID,
  4956. /* [in] */ long dwCause);
  4957. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ListeningState )(
  4958. IAgentNotifySinkEx __RPC_FAR * This,
  4959. /* [in] */ long dwCharID,
  4960. /* [in] */ long bListening,
  4961. /* [in] */ long dwCause);
  4962. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DefaultCharacterChange )(
  4963. IAgentNotifySinkEx __RPC_FAR * This,
  4964. /* [in] */ BSTR bszGUID);
  4965. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AgentPropertyChange )(
  4966. IAgentNotifySinkEx __RPC_FAR * This);
  4967. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ActiveClientChange )(
  4968. IAgentNotifySinkEx __RPC_FAR * This,
  4969. /* [in] */ long dwCharID,
  4970. /* [in] */ long lStatus);
  4971. END_INTERFACE
  4972. } IAgentNotifySinkExVtbl;
  4973. interface IAgentNotifySinkEx
  4974. {
  4975. CONST_VTBL struct IAgentNotifySinkExVtbl __RPC_FAR *lpVtbl;
  4976. };
  4977. #ifdef COBJMACROS
  4978. #define IAgentNotifySinkEx_QueryInterface(This,riid,ppvObject) \
  4979. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4980. #define IAgentNotifySinkEx_AddRef(This) \
  4981. (This)->lpVtbl -> AddRef(This)
  4982. #define IAgentNotifySinkEx_Release(This) \
  4983. (This)->lpVtbl -> Release(This)
  4984. #define IAgentNotifySinkEx_GetTypeInfoCount(This,pctinfo) \
  4985. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4986. #define IAgentNotifySinkEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4987. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4988. #define IAgentNotifySinkEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4989. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4990. #define IAgentNotifySinkEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4991. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4992. #define IAgentNotifySinkEx_Command(This,dwCommandID,punkUserInput) \
  4993. (This)->lpVtbl -> Command(This,dwCommandID,punkUserInput)
  4994. #define IAgentNotifySinkEx_ActivateInputState(This,dwCharID,bActivated) \
  4995. (This)->lpVtbl -> ActivateInputState(This,dwCharID,bActivated)
  4996. #define IAgentNotifySinkEx_Restart(This) \
  4997. (This)->lpVtbl -> Restart(This)
  4998. #define IAgentNotifySinkEx_Shutdown(This) \
  4999. (This)->lpVtbl -> Shutdown(This)
  5000. #define IAgentNotifySinkEx_VisibleState(This,dwCharID,bVisible,dwCause) \
  5001. (This)->lpVtbl -> VisibleState(This,dwCharID,bVisible,dwCause)
  5002. #define IAgentNotifySinkEx_Click(This,dwCharID,fwKeys,x,y) \
  5003. (This)->lpVtbl -> Click(This,dwCharID,fwKeys,x,y)
  5004. #define IAgentNotifySinkEx_DblClick(This,dwCharID,fwKeys,x,y) \
  5005. (This)->lpVtbl -> DblClick(This,dwCharID,fwKeys,x,y)
  5006. #define IAgentNotifySinkEx_DragStart(This,dwCharID,fwKeys,x,y) \
  5007. (This)->lpVtbl -> DragStart(This,dwCharID,fwKeys,x,y)
  5008. #define IAgentNotifySinkEx_DragComplete(This,dwCharID,fwKeys,x,y) \
  5009. (This)->lpVtbl -> DragComplete(This,dwCharID,fwKeys,x,y)
  5010. #define IAgentNotifySinkEx_RequestStart(This,dwRequestID) \
  5011. (This)->lpVtbl -> RequestStart(This,dwRequestID)
  5012. #define IAgentNotifySinkEx_RequestComplete(This,dwRequestID,hrStatus) \
  5013. (This)->lpVtbl -> RequestComplete(This,dwRequestID,hrStatus)
  5014. #define IAgentNotifySinkEx_BookMark(This,dwBookMarkID) \
  5015. (This)->lpVtbl -> BookMark(This,dwBookMarkID)
  5016. #define IAgentNotifySinkEx_Idle(This,dwCharID,bStart) \
  5017. (This)->lpVtbl -> Idle(This,dwCharID,bStart)
  5018. #define IAgentNotifySinkEx_Move(This,dwCharID,x,y,dwCause) \
  5019. (This)->lpVtbl -> Move(This,dwCharID,x,y,dwCause)
  5020. #define IAgentNotifySinkEx_Size(This,dwCharID,lWidth,lHeight) \
  5021. (This)->lpVtbl -> Size(This,dwCharID,lWidth,lHeight)
  5022. #define IAgentNotifySinkEx_BalloonVisibleState(This,dwCharID,bVisible) \
  5023. (This)->lpVtbl -> BalloonVisibleState(This,dwCharID,bVisible)
  5024. #define IAgentNotifySinkEx_HelpComplete(This,dwCharID,dwCommandID,dwCause) \
  5025. (This)->lpVtbl -> HelpComplete(This,dwCharID,dwCommandID,dwCause)
  5026. #define IAgentNotifySinkEx_ListeningState(This,dwCharID,bListening,dwCause) \
  5027. (This)->lpVtbl -> ListeningState(This,dwCharID,bListening,dwCause)
  5028. #define IAgentNotifySinkEx_DefaultCharacterChange(This,bszGUID) \
  5029. (This)->lpVtbl -> DefaultCharacterChange(This,bszGUID)
  5030. #define IAgentNotifySinkEx_AgentPropertyChange(This) \
  5031. (This)->lpVtbl -> AgentPropertyChange(This)
  5032. #define IAgentNotifySinkEx_ActiveClientChange(This,dwCharID,lStatus) \
  5033. (This)->lpVtbl -> ActiveClientChange(This,dwCharID,lStatus)
  5034. #endif /* COBJMACROS */
  5035. #endif /* C style interface */
  5036. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_HelpComplete_Proxy(
  5037. IAgentNotifySinkEx __RPC_FAR * This,
  5038. /* [in] */ long dwCharID,
  5039. /* [in] */ long dwCommandID,
  5040. /* [in] */ long dwCause);
  5041. void __RPC_STUB IAgentNotifySinkEx_HelpComplete_Stub(
  5042. IRpcStubBuffer *This,
  5043. IRpcChannelBuffer *_pRpcChannelBuffer,
  5044. PRPC_MESSAGE _pRpcMessage,
  5045. DWORD *_pdwStubPhase);
  5046. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_ListeningState_Proxy(
  5047. IAgentNotifySinkEx __RPC_FAR * This,
  5048. /* [in] */ long dwCharID,
  5049. /* [in] */ long bListening,
  5050. /* [in] */ long dwCause);
  5051. void __RPC_STUB IAgentNotifySinkEx_ListeningState_Stub(
  5052. IRpcStubBuffer *This,
  5053. IRpcChannelBuffer *_pRpcChannelBuffer,
  5054. PRPC_MESSAGE _pRpcMessage,
  5055. DWORD *_pdwStubPhase);
  5056. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_DefaultCharacterChange_Proxy(
  5057. IAgentNotifySinkEx __RPC_FAR * This,
  5058. /* [in] */ BSTR bszGUID);
  5059. void __RPC_STUB IAgentNotifySinkEx_DefaultCharacterChange_Stub(
  5060. IRpcStubBuffer *This,
  5061. IRpcChannelBuffer *_pRpcChannelBuffer,
  5062. PRPC_MESSAGE _pRpcMessage,
  5063. DWORD *_pdwStubPhase);
  5064. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_AgentPropertyChange_Proxy(
  5065. IAgentNotifySinkEx __RPC_FAR * This);
  5066. void __RPC_STUB IAgentNotifySinkEx_AgentPropertyChange_Stub(
  5067. IRpcStubBuffer *This,
  5068. IRpcChannelBuffer *_pRpcChannelBuffer,
  5069. PRPC_MESSAGE _pRpcMessage,
  5070. DWORD *_pdwStubPhase);
  5071. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_ActiveClientChange_Proxy(
  5072. IAgentNotifySinkEx __RPC_FAR * This,
  5073. /* [in] */ long dwCharID,
  5074. /* [in] */ long lStatus);
  5075. void __RPC_STUB IAgentNotifySinkEx_ActiveClientChange_Stub(
  5076. IRpcStubBuffer *This,
  5077. IRpcChannelBuffer *_pRpcChannelBuffer,
  5078. PRPC_MESSAGE _pRpcMessage,
  5079. DWORD *_pdwStubPhase);
  5080. #endif /* __IAgentNotifySinkEx_INTERFACE_DEFINED__ */
  5081. #ifndef __IAgentPrivateNotifySink_INTERFACE_DEFINED__
  5082. #define __IAgentPrivateNotifySink_INTERFACE_DEFINED__
  5083. /****************************************
  5084. * Generated header for interface: IAgentPrivateNotifySink
  5085. * at Mon Aug 31 17:00:38 1998
  5086. * using MIDL 3.01.75
  5087. ****************************************/
  5088. /* [unique][helpstring][uuid][local][object] */
  5089. EXTERN_C const IID IID_IAgentPrivateNotifySink;
  5090. #if defined(__cplusplus) && !defined(CINTERFACE)
  5091. interface DECLSPEC_UUID("B741B760-8EA6-11d0-AC6A-00C04FD97575")
  5092. IAgentPrivateNotifySink : public IUnknown
  5093. {
  5094. public:
  5095. virtual HRESULT STDMETHODCALLTYPE ReleaseAll( void) = 0;
  5096. virtual HRESULT STDMETHODCALLTYPE ReleaseOne(
  5097. void __RPC_FAR *pnNotify) = 0;
  5098. virtual HRESULT STDMETHODCALLTYPE GetClientID(
  5099. DWORD __RPC_FAR *pdwClientID) = 0;
  5100. };
  5101. #else /* C style interface */
  5102. typedef struct IAgentPrivateNotifySinkVtbl
  5103. {
  5104. BEGIN_INTERFACE
  5105. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  5106. IAgentPrivateNotifySink __RPC_FAR * This,
  5107. /* [in] */ REFIID riid,
  5108. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5109. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  5110. IAgentPrivateNotifySink __RPC_FAR * This);
  5111. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  5112. IAgentPrivateNotifySink __RPC_FAR * This);
  5113. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseAll )(
  5114. IAgentPrivateNotifySink __RPC_FAR * This);
  5115. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseOne )(
  5116. IAgentPrivateNotifySink __RPC_FAR * This,
  5117. void __RPC_FAR *pnNotify);
  5118. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClientID )(
  5119. IAgentPrivateNotifySink __RPC_FAR * This,
  5120. DWORD __RPC_FAR *pdwClientID);
  5121. END_INTERFACE
  5122. } IAgentPrivateNotifySinkVtbl;
  5123. interface IAgentPrivateNotifySink
  5124. {
  5125. CONST_VTBL struct IAgentPrivateNotifySinkVtbl __RPC_FAR *lpVtbl;
  5126. };
  5127. #ifdef COBJMACROS
  5128. #define IAgentPrivateNotifySink_QueryInterface(This,riid,ppvObject) \
  5129. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5130. #define IAgentPrivateNotifySink_AddRef(This) \
  5131. (This)->lpVtbl -> AddRef(This)
  5132. #define IAgentPrivateNotifySink_Release(This) \
  5133. (This)->lpVtbl -> Release(This)
  5134. #define IAgentPrivateNotifySink_ReleaseAll(This) \
  5135. (This)->lpVtbl -> ReleaseAll(This)
  5136. #define IAgentPrivateNotifySink_ReleaseOne(This,pnNotify) \
  5137. (This)->lpVtbl -> ReleaseOne(This,pnNotify)
  5138. #define IAgentPrivateNotifySink_GetClientID(This,pdwClientID) \
  5139. (This)->lpVtbl -> GetClientID(This,pdwClientID)
  5140. #endif /* COBJMACROS */
  5141. #endif /* C style interface */
  5142. HRESULT STDMETHODCALLTYPE IAgentPrivateNotifySink_ReleaseAll_Proxy(
  5143. IAgentPrivateNotifySink __RPC_FAR * This);
  5144. void __RPC_STUB IAgentPrivateNotifySink_ReleaseAll_Stub(
  5145. IRpcStubBuffer *This,
  5146. IRpcChannelBuffer *_pRpcChannelBuffer,
  5147. PRPC_MESSAGE _pRpcMessage,
  5148. DWORD *_pdwStubPhase);
  5149. HRESULT STDMETHODCALLTYPE IAgentPrivateNotifySink_ReleaseOne_Proxy(
  5150. IAgentPrivateNotifySink __RPC_FAR * This,
  5151. void __RPC_FAR *pnNotify);
  5152. void __RPC_STUB IAgentPrivateNotifySink_ReleaseOne_Stub(
  5153. IRpcStubBuffer *This,
  5154. IRpcChannelBuffer *_pRpcChannelBuffer,
  5155. PRPC_MESSAGE _pRpcMessage,
  5156. DWORD *_pdwStubPhase);
  5157. HRESULT STDMETHODCALLTYPE IAgentPrivateNotifySink_GetClientID_Proxy(
  5158. IAgentPrivateNotifySink __RPC_FAR * This,
  5159. DWORD __RPC_FAR *pdwClientID);
  5160. void __RPC_STUB IAgentPrivateNotifySink_GetClientID_Stub(
  5161. IRpcStubBuffer *This,
  5162. IRpcChannelBuffer *_pRpcChannelBuffer,
  5163. PRPC_MESSAGE _pRpcMessage,
  5164. DWORD *_pdwStubPhase);
  5165. #endif /* __IAgentPrivateNotifySink_INTERFACE_DEFINED__ */
  5166. #ifndef __IAgentCustomMarshalMaker_INTERFACE_DEFINED__
  5167. #define __IAgentCustomMarshalMaker_INTERFACE_DEFINED__
  5168. /****************************************
  5169. * Generated header for interface: IAgentCustomMarshalMaker
  5170. * at Mon Aug 31 17:00:38 1998
  5171. * using MIDL 3.01.75
  5172. ****************************************/
  5173. /* [unique][helpstring][uuid][hidden][local][object] */
  5174. EXTERN_C const IID IID_IAgentCustomMarshalMaker;
  5175. #if defined(__cplusplus) && !defined(CINTERFACE)
  5176. interface DECLSPEC_UUID("408D7542-C8FC-11d1-AA83-00C04FA34D72")
  5177. IAgentCustomMarshalMaker : public IUnknown
  5178. {
  5179. public:
  5180. virtual HRESULT STDMETHODCALLTYPE Create(
  5181. /* [in] */ IUnknown __RPC_FAR *pSink,
  5182. /* [in] */ REFIID riidSink,
  5183. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *pMarshaledSink) = 0;
  5184. };
  5185. #else /* C style interface */
  5186. typedef struct IAgentCustomMarshalMakerVtbl
  5187. {
  5188. BEGIN_INTERFACE
  5189. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  5190. IAgentCustomMarshalMaker __RPC_FAR * This,
  5191. /* [in] */ REFIID riid,
  5192. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5193. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  5194. IAgentCustomMarshalMaker __RPC_FAR * This);
  5195. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  5196. IAgentCustomMarshalMaker __RPC_FAR * This);
  5197. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Create )(
  5198. IAgentCustomMarshalMaker __RPC_FAR * This,
  5199. /* [in] */ IUnknown __RPC_FAR *pSink,
  5200. /* [in] */ REFIID riidSink,
  5201. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *pMarshaledSink);
  5202. END_INTERFACE
  5203. } IAgentCustomMarshalMakerVtbl;
  5204. interface IAgentCustomMarshalMaker
  5205. {
  5206. CONST_VTBL struct IAgentCustomMarshalMakerVtbl __RPC_FAR *lpVtbl;
  5207. };
  5208. #ifdef COBJMACROS
  5209. #define IAgentCustomMarshalMaker_QueryInterface(This,riid,ppvObject) \
  5210. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5211. #define IAgentCustomMarshalMaker_AddRef(This) \
  5212. (This)->lpVtbl -> AddRef(This)
  5213. #define IAgentCustomMarshalMaker_Release(This) \
  5214. (This)->lpVtbl -> Release(This)
  5215. #define IAgentCustomMarshalMaker_Create(This,pSink,riidSink,pMarshaledSink) \
  5216. (This)->lpVtbl -> Create(This,pSink,riidSink,pMarshaledSink)
  5217. #endif /* COBJMACROS */
  5218. #endif /* C style interface */
  5219. HRESULT STDMETHODCALLTYPE IAgentCustomMarshalMaker_Create_Proxy(
  5220. IAgentCustomMarshalMaker __RPC_FAR * This,
  5221. /* [in] */ IUnknown __RPC_FAR *pSink,
  5222. /* [in] */ REFIID riidSink,
  5223. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *pMarshaledSink);
  5224. void __RPC_STUB IAgentCustomMarshalMaker_Create_Stub(
  5225. IRpcStubBuffer *This,
  5226. IRpcChannelBuffer *_pRpcChannelBuffer,
  5227. PRPC_MESSAGE _pRpcMessage,
  5228. DWORD *_pdwStubPhase);
  5229. #endif /* __IAgentCustomMarshalMaker_INTERFACE_DEFINED__ */
  5230. #ifndef __IAgentClientStatus_INTERFACE_DEFINED__
  5231. #define __IAgentClientStatus_INTERFACE_DEFINED__
  5232. /****************************************
  5233. * Generated header for interface: IAgentClientStatus
  5234. * at Mon Aug 31 17:00:38 1998
  5235. * using MIDL 3.01.75
  5236. ****************************************/
  5237. /* [unique][helpstring][uuid][local][object] */
  5238. EXTERN_C const IID IID_IAgentClientStatus;
  5239. #if defined(__cplusplus) && !defined(CINTERFACE)
  5240. interface DECLSPEC_UUID("C5649F70-7AED-11d1-B9A8-00C04FD97575")
  5241. IAgentClientStatus : public IUnknown
  5242. {
  5243. public:
  5244. virtual HRESULT STDMETHODCALLTYPE Ping( void) = 0;
  5245. };
  5246. #else /* C style interface */
  5247. typedef struct IAgentClientStatusVtbl
  5248. {
  5249. BEGIN_INTERFACE
  5250. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  5251. IAgentClientStatus __RPC_FAR * This,
  5252. /* [in] */ REFIID riid,
  5253. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5254. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  5255. IAgentClientStatus __RPC_FAR * This);
  5256. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  5257. IAgentClientStatus __RPC_FAR * This);
  5258. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Ping )(
  5259. IAgentClientStatus __RPC_FAR * This);
  5260. END_INTERFACE
  5261. } IAgentClientStatusVtbl;
  5262. interface IAgentClientStatus
  5263. {
  5264. CONST_VTBL struct IAgentClientStatusVtbl __RPC_FAR *lpVtbl;
  5265. };
  5266. #ifdef COBJMACROS
  5267. #define IAgentClientStatus_QueryInterface(This,riid,ppvObject) \
  5268. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5269. #define IAgentClientStatus_AddRef(This) \
  5270. (This)->lpVtbl -> AddRef(This)
  5271. #define IAgentClientStatus_Release(This) \
  5272. (This)->lpVtbl -> Release(This)
  5273. #define IAgentClientStatus_Ping(This) \
  5274. (This)->lpVtbl -> Ping(This)
  5275. #endif /* COBJMACROS */
  5276. #endif /* C style interface */
  5277. HRESULT STDMETHODCALLTYPE IAgentClientStatus_Ping_Proxy(
  5278. IAgentClientStatus __RPC_FAR * This);
  5279. void __RPC_STUB IAgentClientStatus_Ping_Stub(
  5280. IRpcStubBuffer *This,
  5281. IRpcChannelBuffer *_pRpcChannelBuffer,
  5282. PRPC_MESSAGE _pRpcMessage,
  5283. DWORD *_pdwStubPhase);
  5284. #endif /* __IAgentClientStatus_INTERFACE_DEFINED__ */
  5285. /****************************************
  5286. * Generated header for interface: __MIDL_itf_AgentServer_0156
  5287. * at Mon Aug 31 17:00:38 1998
  5288. * using MIDL 3.01.75
  5289. ****************************************/
  5290. /* [local] */
  5291. #define AGENT_VERSION_MAJOR ( 2 )
  5292. #define AGENT_VERSION_MINOR ( 0 )
  5293. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0156_v0_0_c_ifspec;
  5294. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0156_v0_0_s_ifspec;
  5295. #ifndef __AgentServerObjects_LIBRARY_DEFINED__
  5296. #define __AgentServerObjects_LIBRARY_DEFINED__
  5297. /****************************************
  5298. * Generated header for library: AgentServerObjects
  5299. * at Mon Aug 31 17:00:38 1998
  5300. * using MIDL 3.01.75
  5301. ****************************************/
  5302. /* [helpstring][version][uuid] */
  5303. EXTERN_C const IID LIBID_AgentServerObjects;
  5304. #ifdef __cplusplus
  5305. EXTERN_C const CLSID CLSID_AgentServer;
  5306. class DECLSPEC_UUID("D45FD2FC-5C6E-11D1-9EC1-00C04FD7081F")
  5307. AgentServer;
  5308. #endif
  5309. #endif /* __AgentServerObjects_LIBRARY_DEFINED__ */
  5310. /* Additional Prototypes for ALL interfaces */
  5311. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  5312. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  5313. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  5314. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  5315. unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
  5316. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  5317. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  5318. void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
  5319. /* end of Additional Prototypes */
  5320. #ifdef __cplusplus
  5321. }
  5322. #endif
  5323. #endif
  5324. #else // _MSC_VER >= 1200
  5325. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  5326. /* File created by MIDL compiler version 5.01.0164 */
  5327. /* at Tue Sep 15 16:56:07 1998
  5328. */
  5329. /* Compiler settings for AgentServer.idl:
  5330. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  5331. error checks: allocation ref bounds_check enum stub_data
  5332. */
  5333. //@@MIDL_FILE_HEADING( )
  5334. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  5335. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  5336. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  5337. #endif
  5338. #include "rpc.h"
  5339. #include "rpcndr.h"
  5340. #ifndef __RPCNDR_H_VERSION__
  5341. #error this stub requires an updated version of <rpcndr.h>
  5342. #endif // __RPCNDR_H_VERSION__
  5343. #ifndef COM_NO_WINDOWS_H
  5344. #include "windows.h"
  5345. #include "ole2.h"
  5346. #endif /*COM_NO_WINDOWS_H*/
  5347. #ifndef __AgentServer_h__
  5348. #define __AgentServer_h__
  5349. #ifdef __cplusplus
  5350. extern "C"{
  5351. #endif
  5352. /* Forward Declarations */
  5353. #ifndef __IAgentUserInput_FWD_DEFINED__
  5354. #define __IAgentUserInput_FWD_DEFINED__
  5355. typedef interface IAgentUserInput IAgentUserInput;
  5356. #endif /* __IAgentUserInput_FWD_DEFINED__ */
  5357. #ifndef __IAgentCommand_FWD_DEFINED__
  5358. #define __IAgentCommand_FWD_DEFINED__
  5359. typedef interface IAgentCommand IAgentCommand;
  5360. #endif /* __IAgentCommand_FWD_DEFINED__ */
  5361. #ifndef __IAgentCommandEx_FWD_DEFINED__
  5362. #define __IAgentCommandEx_FWD_DEFINED__
  5363. typedef interface IAgentCommandEx IAgentCommandEx;
  5364. #endif /* __IAgentCommandEx_FWD_DEFINED__ */
  5365. #ifndef __IAgentCommands_FWD_DEFINED__
  5366. #define __IAgentCommands_FWD_DEFINED__
  5367. typedef interface IAgentCommands IAgentCommands;
  5368. #endif /* __IAgentCommands_FWD_DEFINED__ */
  5369. #ifndef __IAgentCommandsEx_FWD_DEFINED__
  5370. #define __IAgentCommandsEx_FWD_DEFINED__
  5371. typedef interface IAgentCommandsEx IAgentCommandsEx;
  5372. #endif /* __IAgentCommandsEx_FWD_DEFINED__ */
  5373. #ifndef __IAgentCommandWindow_FWD_DEFINED__
  5374. #define __IAgentCommandWindow_FWD_DEFINED__
  5375. typedef interface IAgentCommandWindow IAgentCommandWindow;
  5376. #endif /* __IAgentCommandWindow_FWD_DEFINED__ */
  5377. #ifndef __IAgentSpeechInputProperties_FWD_DEFINED__
  5378. #define __IAgentSpeechInputProperties_FWD_DEFINED__
  5379. typedef interface IAgentSpeechInputProperties IAgentSpeechInputProperties;
  5380. #endif /* __IAgentSpeechInputProperties_FWD_DEFINED__ */
  5381. #ifndef __IAgentAudioOutputProperties_FWD_DEFINED__
  5382. #define __IAgentAudioOutputProperties_FWD_DEFINED__
  5383. typedef interface IAgentAudioOutputProperties IAgentAudioOutputProperties;
  5384. #endif /* __IAgentAudioOutputProperties_FWD_DEFINED__ */
  5385. #ifndef __IAgentAudioOutputPropertiesEx_FWD_DEFINED__
  5386. #define __IAgentAudioOutputPropertiesEx_FWD_DEFINED__
  5387. typedef interface IAgentAudioOutputPropertiesEx IAgentAudioOutputPropertiesEx;
  5388. #endif /* __IAgentAudioOutputPropertiesEx_FWD_DEFINED__ */
  5389. #ifndef __IAgentPropertySheet_FWD_DEFINED__
  5390. #define __IAgentPropertySheet_FWD_DEFINED__
  5391. typedef interface IAgentPropertySheet IAgentPropertySheet;
  5392. #endif /* __IAgentPropertySheet_FWD_DEFINED__ */
  5393. #ifndef __IAgentBalloon_FWD_DEFINED__
  5394. #define __IAgentBalloon_FWD_DEFINED__
  5395. typedef interface IAgentBalloon IAgentBalloon;
  5396. #endif /* __IAgentBalloon_FWD_DEFINED__ */
  5397. #ifndef __IAgentBalloonEx_FWD_DEFINED__
  5398. #define __IAgentBalloonEx_FWD_DEFINED__
  5399. typedef interface IAgentBalloonEx IAgentBalloonEx;
  5400. #endif /* __IAgentBalloonEx_FWD_DEFINED__ */
  5401. #ifndef __IAgentCharacter_FWD_DEFINED__
  5402. #define __IAgentCharacter_FWD_DEFINED__
  5403. typedef interface IAgentCharacter IAgentCharacter;
  5404. #endif /* __IAgentCharacter_FWD_DEFINED__ */
  5405. #ifndef __IAgentCharacterEx_FWD_DEFINED__
  5406. #define __IAgentCharacterEx_FWD_DEFINED__
  5407. typedef interface IAgentCharacterEx IAgentCharacterEx;
  5408. #endif /* __IAgentCharacterEx_FWD_DEFINED__ */
  5409. #ifndef __IAgent_FWD_DEFINED__
  5410. #define __IAgent_FWD_DEFINED__
  5411. typedef interface IAgent IAgent;
  5412. #endif /* __IAgent_FWD_DEFINED__ */
  5413. #ifndef __IAgentEx_FWD_DEFINED__
  5414. #define __IAgentEx_FWD_DEFINED__
  5415. typedef interface IAgentEx IAgentEx;
  5416. #endif /* __IAgentEx_FWD_DEFINED__ */
  5417. #ifndef __IAgentNotifySink_FWD_DEFINED__
  5418. #define __IAgentNotifySink_FWD_DEFINED__
  5419. typedef interface IAgentNotifySink IAgentNotifySink;
  5420. #endif /* __IAgentNotifySink_FWD_DEFINED__ */
  5421. #ifndef __IAgentNotifySinkEx_FWD_DEFINED__
  5422. #define __IAgentNotifySinkEx_FWD_DEFINED__
  5423. typedef interface IAgentNotifySinkEx IAgentNotifySinkEx;
  5424. #endif /* __IAgentNotifySinkEx_FWD_DEFINED__ */
  5425. #ifndef __IAgentPrivateNotifySink_FWD_DEFINED__
  5426. #define __IAgentPrivateNotifySink_FWD_DEFINED__
  5427. typedef interface IAgentPrivateNotifySink IAgentPrivateNotifySink;
  5428. #endif /* __IAgentPrivateNotifySink_FWD_DEFINED__ */
  5429. #ifndef __IAgentCustomMarshalMaker_FWD_DEFINED__
  5430. #define __IAgentCustomMarshalMaker_FWD_DEFINED__
  5431. typedef interface IAgentCustomMarshalMaker IAgentCustomMarshalMaker;
  5432. #endif /* __IAgentCustomMarshalMaker_FWD_DEFINED__ */
  5433. #ifndef __IAgentClientStatus_FWD_DEFINED__
  5434. #define __IAgentClientStatus_FWD_DEFINED__
  5435. typedef interface IAgentClientStatus IAgentClientStatus;
  5436. #endif /* __IAgentClientStatus_FWD_DEFINED__ */
  5437. #ifndef __AgentServer_FWD_DEFINED__
  5438. #define __AgentServer_FWD_DEFINED__
  5439. #ifdef __cplusplus
  5440. typedef class AgentServer AgentServer;
  5441. #else
  5442. typedef struct AgentServer AgentServer;
  5443. #endif /* __cplusplus */
  5444. #endif /* __AgentServer_FWD_DEFINED__ */
  5445. #ifndef __IAgentUserInput_FWD_DEFINED__
  5446. #define __IAgentUserInput_FWD_DEFINED__
  5447. typedef interface IAgentUserInput IAgentUserInput;
  5448. #endif /* __IAgentUserInput_FWD_DEFINED__ */
  5449. #ifndef __IAgentCommand_FWD_DEFINED__
  5450. #define __IAgentCommand_FWD_DEFINED__
  5451. typedef interface IAgentCommand IAgentCommand;
  5452. #endif /* __IAgentCommand_FWD_DEFINED__ */
  5453. #ifndef __IAgentCommandEx_FWD_DEFINED__
  5454. #define __IAgentCommandEx_FWD_DEFINED__
  5455. typedef interface IAgentCommandEx IAgentCommandEx;
  5456. #endif /* __IAgentCommandEx_FWD_DEFINED__ */
  5457. #ifndef __IAgentCommands_FWD_DEFINED__
  5458. #define __IAgentCommands_FWD_DEFINED__
  5459. typedef interface IAgentCommands IAgentCommands;
  5460. #endif /* __IAgentCommands_FWD_DEFINED__ */
  5461. #ifndef __IAgentCommandsEx_FWD_DEFINED__
  5462. #define __IAgentCommandsEx_FWD_DEFINED__
  5463. typedef interface IAgentCommandsEx IAgentCommandsEx;
  5464. #endif /* __IAgentCommandsEx_FWD_DEFINED__ */
  5465. #ifndef __IAgentSpeechInputProperties_FWD_DEFINED__
  5466. #define __IAgentSpeechInputProperties_FWD_DEFINED__
  5467. typedef interface IAgentSpeechInputProperties IAgentSpeechInputProperties;
  5468. #endif /* __IAgentSpeechInputProperties_FWD_DEFINED__ */
  5469. #ifndef __IAgentAudioOutputProperties_FWD_DEFINED__
  5470. #define __IAgentAudioOutputProperties_FWD_DEFINED__
  5471. typedef interface IAgentAudioOutputProperties IAgentAudioOutputProperties;
  5472. #endif /* __IAgentAudioOutputProperties_FWD_DEFINED__ */
  5473. #ifndef __IAgentAudioOutputPropertiesEx_FWD_DEFINED__
  5474. #define __IAgentAudioOutputPropertiesEx_FWD_DEFINED__
  5475. typedef interface IAgentAudioOutputPropertiesEx IAgentAudioOutputPropertiesEx;
  5476. #endif /* __IAgentAudioOutputPropertiesEx_FWD_DEFINED__ */
  5477. #ifndef __IAgentPropertySheet_FWD_DEFINED__
  5478. #define __IAgentPropertySheet_FWD_DEFINED__
  5479. typedef interface IAgentPropertySheet IAgentPropertySheet;
  5480. #endif /* __IAgentPropertySheet_FWD_DEFINED__ */
  5481. #ifndef __IAgentBalloon_FWD_DEFINED__
  5482. #define __IAgentBalloon_FWD_DEFINED__
  5483. typedef interface IAgentBalloon IAgentBalloon;
  5484. #endif /* __IAgentBalloon_FWD_DEFINED__ */
  5485. #ifndef __IAgentBalloonEx_FWD_DEFINED__
  5486. #define __IAgentBalloonEx_FWD_DEFINED__
  5487. typedef interface IAgentBalloonEx IAgentBalloonEx;
  5488. #endif /* __IAgentBalloonEx_FWD_DEFINED__ */
  5489. #ifndef __IAgentCharacter_FWD_DEFINED__
  5490. #define __IAgentCharacter_FWD_DEFINED__
  5491. typedef interface IAgentCharacter IAgentCharacter;
  5492. #endif /* __IAgentCharacter_FWD_DEFINED__ */
  5493. #ifndef __IAgentCharacterEx_FWD_DEFINED__
  5494. #define __IAgentCharacterEx_FWD_DEFINED__
  5495. typedef interface IAgentCharacterEx IAgentCharacterEx;
  5496. #endif /* __IAgentCharacterEx_FWD_DEFINED__ */
  5497. #ifndef __IAgent_FWD_DEFINED__
  5498. #define __IAgent_FWD_DEFINED__
  5499. typedef interface IAgent IAgent;
  5500. #endif /* __IAgent_FWD_DEFINED__ */
  5501. #ifndef __IAgentEx_FWD_DEFINED__
  5502. #define __IAgentEx_FWD_DEFINED__
  5503. typedef interface IAgentEx IAgentEx;
  5504. #endif /* __IAgentEx_FWD_DEFINED__ */
  5505. #ifndef __IAgentNotifySink_FWD_DEFINED__
  5506. #define __IAgentNotifySink_FWD_DEFINED__
  5507. typedef interface IAgentNotifySink IAgentNotifySink;
  5508. #endif /* __IAgentNotifySink_FWD_DEFINED__ */
  5509. #ifndef __IAgentNotifySinkEx_FWD_DEFINED__
  5510. #define __IAgentNotifySinkEx_FWD_DEFINED__
  5511. typedef interface IAgentNotifySinkEx IAgentNotifySinkEx;
  5512. #endif /* __IAgentNotifySinkEx_FWD_DEFINED__ */
  5513. #ifndef __IAgentCommandWindow_FWD_DEFINED__
  5514. #define __IAgentCommandWindow_FWD_DEFINED__
  5515. typedef interface IAgentCommandWindow IAgentCommandWindow;
  5516. #endif /* __IAgentCommandWindow_FWD_DEFINED__ */
  5517. /* header files for imported files */
  5518. #include "oaidl.h"
  5519. #include "ocidl.h"
  5520. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  5521. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  5522. /* interface __MIDL_itf_AgentServer_0000 */
  5523. /* [local] */
  5524. #define NeverMoved ( 0 )
  5525. #define UserMoved ( 1 )
  5526. #define ProgramMoved ( 2 )
  5527. #define OtherProgramMoved ( 3 )
  5528. #define SystemMoved ( 4 )
  5529. #define NeverShown ( 0 )
  5530. #define UserHid ( 1 )
  5531. #define UserShowed ( 2 )
  5532. #define ProgramHid ( 3 )
  5533. #define ProgramShowed ( 4 )
  5534. #define OtherProgramHid ( 5 )
  5535. #define OtherProgramShowed ( 6 )
  5536. #define UserHidViaCharacterMenu ( 7 )
  5537. #define UserHidViaTaskbarIcon ( UserHid )
  5538. #define CSHELPCAUSE_COMMAND ( 1 )
  5539. #define CSHELPCAUSE_OTHERPROGRAM ( 2 )
  5540. #define CSHELPCAUSE_OPENCOMMANDSWINDOW ( 3 )
  5541. #define CSHELPCAUSE_CLOSECOMMANDSWINDOW ( 4 )
  5542. #define CSHELPCAUSE_SHOWCHARACTER ( 5 )
  5543. #define CSHELPCAUSE_HIDECHARACTER ( 6 )
  5544. #define CSHELPCAUSE_CHARACTER ( 7 )
  5545. #define ACTIVATE_NOTTOPMOST ( 0 )
  5546. #define ACTIVATE_TOPMOST ( 1 )
  5547. #define ACTIVATE_NOTACTIVE ( 0 )
  5548. #define ACTIVATE_ACTIVE ( 1 )
  5549. #define ACTIVATE_INPUTACTIVE ( 2 )
  5550. #define PREPARE_ANIMATION ( 0 )
  5551. #define PREPARE_STATE ( 1 )
  5552. #define PREPARE_WAVE ( 2 )
  5553. #define STOP_TYPE_PLAY ( 0x1 )
  5554. #define STOP_TYPE_MOVE ( 0x2 )
  5555. #define STOP_TYPE_SPEAK ( 0x4 )
  5556. #define STOP_TYPE_PREPARE ( 0x8 )
  5557. #define STOP_TYPE_NONQUEUEDPREPARE ( 0x10 )
  5558. #define STOP_TYPE_VISIBLE ( 0x20 )
  5559. #define STOP_TYPE_ALL ( 0xffffffff )
  5560. #define BALLOON_STYLE_BALLOON_ON ( 0x1 )
  5561. #define BALLOON_STYLE_SIZETOTEXT ( 0x2 )
  5562. #define BALLOON_STYLE_AUTOHIDE ( 0x4 )
  5563. #define BALLOON_STYLE_AUTOPACE ( 0x8 )
  5564. #define AUDIO_STATUS_AVAILABLE ( 0 )
  5565. #define AUDIO_STATUS_NOAUDIO ( 1 )
  5566. #define AUDIO_STATUS_CANTOPENAUDIO ( 2 )
  5567. #define AUDIO_STATUS_USERSPEAKING ( 3 )
  5568. #define AUDIO_STATUS_CHARACTERSPEAKING ( 4 )
  5569. #define AUDIO_STATUS_SROVERRIDEABLE ( 5 )
  5570. #define AUDIO_STATUS_ERROR ( 6 )
  5571. #define LISTEN_STATUS_CANLISTEN ( 0 )
  5572. #define LISTEN_STATUS_NOAUDIO ( 1 )
  5573. #define LISTEN_STATUS_NOTACTIVE ( 2 )
  5574. #define LISTEN_STATUS_CANTOPENAUDIO ( 3 )
  5575. #define LISTEN_STATUS_COULDNTINITIALIZESPEECH ( 4 )
  5576. #define LISTEN_STATUS_SPEECHDISABLED ( 5 )
  5577. #define LISTEN_STATUS_ERROR ( 6 )
  5578. #define MK_ICON ( 0x1000 )
  5579. #define LSCOMPLETE_CAUSE_PROGRAMDISABLED ( 1 )
  5580. #define LSCOMPLETE_CAUSE_PROGRAMTIMEDOUT ( 2 )
  5581. #define LSCOMPLETE_CAUSE_USERTIMEDOUT ( 3 )
  5582. #define LSCOMPLETE_CAUSE_USERRELEASEDKEY ( 4 )
  5583. #define LSCOMPLETE_CAUSE_USERUTTERANCEENDED ( 5 )
  5584. #define LSCOMPLETE_CAUSE_CLIENTDEACTIVATED ( 6 )
  5585. #define LSCOMPLETE_CAUSE_DEFAULTCHARCHANGE ( 7 )
  5586. #define LSCOMPLETE_CAUSE_USERDISABLED ( 8 )
  5587. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0000_v0_0_c_ifspec;
  5588. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0000_v0_0_s_ifspec;
  5589. #ifndef __IAgentUserInput_INTERFACE_DEFINED__
  5590. #define __IAgentUserInput_INTERFACE_DEFINED__
  5591. /* interface IAgentUserInput */
  5592. /* [unique][helpstring][dual][uuid][object] */
  5593. EXTERN_C const IID IID_IAgentUserInput;
  5594. #if defined(__cplusplus) && !defined(CINTERFACE)
  5595. MIDL_INTERFACE("A7B93C80-7B81-11D0-AC5F-00C04FD97575")
  5596. IAgentUserInput : public IDispatch
  5597. {
  5598. public:
  5599. virtual HRESULT STDMETHODCALLTYPE GetCount(
  5600. /* [out] */ long __RPC_FAR *pdwCount) = 0;
  5601. virtual HRESULT STDMETHODCALLTYPE GetItemID(
  5602. /* [in] */ long dwItemIndex,
  5603. /* [out] */ long __RPC_FAR *pdwCommandID) = 0;
  5604. virtual HRESULT STDMETHODCALLTYPE GetItemConfidence(
  5605. /* [in] */ long dwItemIndex,
  5606. /* [out] */ long __RPC_FAR *plConfidence) = 0;
  5607. virtual HRESULT STDMETHODCALLTYPE GetItemText(
  5608. /* [in] */ long dwItemIndex,
  5609. /* [out] */ BSTR __RPC_FAR *pbszText) = 0;
  5610. virtual HRESULT STDMETHODCALLTYPE GetAllItemData(
  5611. /* [out] */ VARIANT __RPC_FAR *pdwItemIndices,
  5612. /* [out] */ VARIANT __RPC_FAR *plConfidences,
  5613. /* [out] */ VARIANT __RPC_FAR *pbszText) = 0;
  5614. };
  5615. #else /* C style interface */
  5616. typedef struct IAgentUserInputVtbl
  5617. {
  5618. BEGIN_INTERFACE
  5619. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  5620. IAgentUserInput __RPC_FAR * This,
  5621. /* [in] */ REFIID riid,
  5622. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5623. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  5624. IAgentUserInput __RPC_FAR * This);
  5625. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  5626. IAgentUserInput __RPC_FAR * This);
  5627. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  5628. IAgentUserInput __RPC_FAR * This,
  5629. /* [out] */ UINT __RPC_FAR *pctinfo);
  5630. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  5631. IAgentUserInput __RPC_FAR * This,
  5632. /* [in] */ UINT iTInfo,
  5633. /* [in] */ LCID lcid,
  5634. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  5635. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  5636. IAgentUserInput __RPC_FAR * This,
  5637. /* [in] */ REFIID riid,
  5638. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  5639. /* [in] */ UINT cNames,
  5640. /* [in] */ LCID lcid,
  5641. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  5642. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  5643. IAgentUserInput __RPC_FAR * This,
  5644. /* [in] */ DISPID dispIdMember,
  5645. /* [in] */ REFIID riid,
  5646. /* [in] */ LCID lcid,
  5647. /* [in] */ WORD wFlags,
  5648. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  5649. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  5650. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  5651. /* [out] */ UINT __RPC_FAR *puArgErr);
  5652. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )(
  5653. IAgentUserInput __RPC_FAR * This,
  5654. /* [out] */ long __RPC_FAR *pdwCount);
  5655. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemID )(
  5656. IAgentUserInput __RPC_FAR * This,
  5657. /* [in] */ long dwItemIndex,
  5658. /* [out] */ long __RPC_FAR *pdwCommandID);
  5659. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemConfidence )(
  5660. IAgentUserInput __RPC_FAR * This,
  5661. /* [in] */ long dwItemIndex,
  5662. /* [out] */ long __RPC_FAR *plConfidence);
  5663. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemText )(
  5664. IAgentUserInput __RPC_FAR * This,
  5665. /* [in] */ long dwItemIndex,
  5666. /* [out] */ BSTR __RPC_FAR *pbszText);
  5667. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAllItemData )(
  5668. IAgentUserInput __RPC_FAR * This,
  5669. /* [out] */ VARIANT __RPC_FAR *pdwItemIndices,
  5670. /* [out] */ VARIANT __RPC_FAR *plConfidences,
  5671. /* [out] */ VARIANT __RPC_FAR *pbszText);
  5672. END_INTERFACE
  5673. } IAgentUserInputVtbl;
  5674. interface IAgentUserInput
  5675. {
  5676. CONST_VTBL struct IAgentUserInputVtbl __RPC_FAR *lpVtbl;
  5677. };
  5678. #ifdef COBJMACROS
  5679. #define IAgentUserInput_QueryInterface(This,riid,ppvObject) \
  5680. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5681. #define IAgentUserInput_AddRef(This) \
  5682. (This)->lpVtbl -> AddRef(This)
  5683. #define IAgentUserInput_Release(This) \
  5684. (This)->lpVtbl -> Release(This)
  5685. #define IAgentUserInput_GetTypeInfoCount(This,pctinfo) \
  5686. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5687. #define IAgentUserInput_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5688. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5689. #define IAgentUserInput_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5690. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5691. #define IAgentUserInput_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5692. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5693. #define IAgentUserInput_GetCount(This,pdwCount) \
  5694. (This)->lpVtbl -> GetCount(This,pdwCount)
  5695. #define IAgentUserInput_GetItemID(This,dwItemIndex,pdwCommandID) \
  5696. (This)->lpVtbl -> GetItemID(This,dwItemIndex,pdwCommandID)
  5697. #define IAgentUserInput_GetItemConfidence(This,dwItemIndex,plConfidence) \
  5698. (This)->lpVtbl -> GetItemConfidence(This,dwItemIndex,plConfidence)
  5699. #define IAgentUserInput_GetItemText(This,dwItemIndex,pbszText) \
  5700. (This)->lpVtbl -> GetItemText(This,dwItemIndex,pbszText)
  5701. #define IAgentUserInput_GetAllItemData(This,pdwItemIndices,plConfidences,pbszText) \
  5702. (This)->lpVtbl -> GetAllItemData(This,pdwItemIndices,plConfidences,pbszText)
  5703. #endif /* COBJMACROS */
  5704. #endif /* C style interface */
  5705. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetCount_Proxy(
  5706. IAgentUserInput __RPC_FAR * This,
  5707. /* [out] */ long __RPC_FAR *pdwCount);
  5708. void __RPC_STUB IAgentUserInput_GetCount_Stub(
  5709. IRpcStubBuffer *This,
  5710. IRpcChannelBuffer *_pRpcChannelBuffer,
  5711. PRPC_MESSAGE _pRpcMessage,
  5712. DWORD *_pdwStubPhase);
  5713. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetItemID_Proxy(
  5714. IAgentUserInput __RPC_FAR * This,
  5715. /* [in] */ long dwItemIndex,
  5716. /* [out] */ long __RPC_FAR *pdwCommandID);
  5717. void __RPC_STUB IAgentUserInput_GetItemID_Stub(
  5718. IRpcStubBuffer *This,
  5719. IRpcChannelBuffer *_pRpcChannelBuffer,
  5720. PRPC_MESSAGE _pRpcMessage,
  5721. DWORD *_pdwStubPhase);
  5722. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetItemConfidence_Proxy(
  5723. IAgentUserInput __RPC_FAR * This,
  5724. /* [in] */ long dwItemIndex,
  5725. /* [out] */ long __RPC_FAR *plConfidence);
  5726. void __RPC_STUB IAgentUserInput_GetItemConfidence_Stub(
  5727. IRpcStubBuffer *This,
  5728. IRpcChannelBuffer *_pRpcChannelBuffer,
  5729. PRPC_MESSAGE _pRpcMessage,
  5730. DWORD *_pdwStubPhase);
  5731. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetItemText_Proxy(
  5732. IAgentUserInput __RPC_FAR * This,
  5733. /* [in] */ long dwItemIndex,
  5734. /* [out] */ BSTR __RPC_FAR *pbszText);
  5735. void __RPC_STUB IAgentUserInput_GetItemText_Stub(
  5736. IRpcStubBuffer *This,
  5737. IRpcChannelBuffer *_pRpcChannelBuffer,
  5738. PRPC_MESSAGE _pRpcMessage,
  5739. DWORD *_pdwStubPhase);
  5740. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetAllItemData_Proxy(
  5741. IAgentUserInput __RPC_FAR * This,
  5742. /* [out] */ VARIANT __RPC_FAR *pdwItemIndices,
  5743. /* [out] */ VARIANT __RPC_FAR *plConfidences,
  5744. /* [out] */ VARIANT __RPC_FAR *pbszText);
  5745. void __RPC_STUB IAgentUserInput_GetAllItemData_Stub(
  5746. IRpcStubBuffer *This,
  5747. IRpcChannelBuffer *_pRpcChannelBuffer,
  5748. PRPC_MESSAGE _pRpcMessage,
  5749. DWORD *_pdwStubPhase);
  5750. #endif /* __IAgentUserInput_INTERFACE_DEFINED__ */
  5751. #ifndef __IAgentCommand_INTERFACE_DEFINED__
  5752. #define __IAgentCommand_INTERFACE_DEFINED__
  5753. /* interface IAgentCommand */
  5754. /* [unique][helpstring][dual][uuid][object] */
  5755. EXTERN_C const IID IID_IAgentCommand;
  5756. #if defined(__cplusplus) && !defined(CINTERFACE)
  5757. MIDL_INTERFACE("A7B93C83-7B81-11D0-AC5F-00C04FD97575")
  5758. IAgentCommand : public IDispatch
  5759. {
  5760. public:
  5761. virtual HRESULT STDMETHODCALLTYPE SetCaption(
  5762. /* [in] */ BSTR bszCaption) = 0;
  5763. virtual HRESULT STDMETHODCALLTYPE GetCaption(
  5764. /* [out] */ BSTR __RPC_FAR *pbszCaption) = 0;
  5765. virtual HRESULT STDMETHODCALLTYPE SetVoice(
  5766. /* [in] */ BSTR bszVoice) = 0;
  5767. virtual HRESULT STDMETHODCALLTYPE GetVoice(
  5768. /* [out] */ BSTR __RPC_FAR *pbszVoice) = 0;
  5769. virtual HRESULT STDMETHODCALLTYPE SetEnabled(
  5770. /* [in] */ long bEnabled) = 0;
  5771. virtual HRESULT STDMETHODCALLTYPE GetEnabled(
  5772. /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  5773. virtual HRESULT STDMETHODCALLTYPE SetVisible(
  5774. /* [in] */ long bVisible) = 0;
  5775. virtual HRESULT STDMETHODCALLTYPE GetVisible(
  5776. /* [out] */ long __RPC_FAR *pbVisible) = 0;
  5777. virtual HRESULT STDMETHODCALLTYPE SetConfidenceThreshold(
  5778. /* [in] */ long lThreshold) = 0;
  5779. virtual HRESULT STDMETHODCALLTYPE GetConfidenceThreshold(
  5780. /* [out] */ long __RPC_FAR *plThreshold) = 0;
  5781. virtual HRESULT STDMETHODCALLTYPE SetConfidenceText(
  5782. /* [in] */ BSTR bszTipText) = 0;
  5783. virtual HRESULT STDMETHODCALLTYPE GetConfidenceText(
  5784. /* [out] */ BSTR __RPC_FAR *pbszTipText) = 0;
  5785. virtual HRESULT STDMETHODCALLTYPE GetID(
  5786. /* [out] */ long __RPC_FAR *pdwID) = 0;
  5787. };
  5788. #else /* C style interface */
  5789. typedef struct IAgentCommandVtbl
  5790. {
  5791. BEGIN_INTERFACE
  5792. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  5793. IAgentCommand __RPC_FAR * This,
  5794. /* [in] */ REFIID riid,
  5795. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5796. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  5797. IAgentCommand __RPC_FAR * This);
  5798. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  5799. IAgentCommand __RPC_FAR * This);
  5800. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  5801. IAgentCommand __RPC_FAR * This,
  5802. /* [out] */ UINT __RPC_FAR *pctinfo);
  5803. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  5804. IAgentCommand __RPC_FAR * This,
  5805. /* [in] */ UINT iTInfo,
  5806. /* [in] */ LCID lcid,
  5807. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  5808. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  5809. IAgentCommand __RPC_FAR * This,
  5810. /* [in] */ REFIID riid,
  5811. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  5812. /* [in] */ UINT cNames,
  5813. /* [in] */ LCID lcid,
  5814. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  5815. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  5816. IAgentCommand __RPC_FAR * This,
  5817. /* [in] */ DISPID dispIdMember,
  5818. /* [in] */ REFIID riid,
  5819. /* [in] */ LCID lcid,
  5820. /* [in] */ WORD wFlags,
  5821. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  5822. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  5823. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  5824. /* [out] */ UINT __RPC_FAR *puArgErr);
  5825. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )(
  5826. IAgentCommand __RPC_FAR * This,
  5827. /* [in] */ BSTR bszCaption);
  5828. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )(
  5829. IAgentCommand __RPC_FAR * This,
  5830. /* [out] */ BSTR __RPC_FAR *pbszCaption);
  5831. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )(
  5832. IAgentCommand __RPC_FAR * This,
  5833. /* [in] */ BSTR bszVoice);
  5834. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )(
  5835. IAgentCommand __RPC_FAR * This,
  5836. /* [out] */ BSTR __RPC_FAR *pbszVoice);
  5837. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEnabled )(
  5838. IAgentCommand __RPC_FAR * This,
  5839. /* [in] */ long bEnabled);
  5840. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  5841. IAgentCommand __RPC_FAR * This,
  5842. /* [out] */ long __RPC_FAR *pbEnabled);
  5843. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  5844. IAgentCommand __RPC_FAR * This,
  5845. /* [in] */ long bVisible);
  5846. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  5847. IAgentCommand __RPC_FAR * This,
  5848. /* [out] */ long __RPC_FAR *pbVisible);
  5849. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceThreshold )(
  5850. IAgentCommand __RPC_FAR * This,
  5851. /* [in] */ long lThreshold);
  5852. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceThreshold )(
  5853. IAgentCommand __RPC_FAR * This,
  5854. /* [out] */ long __RPC_FAR *plThreshold);
  5855. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceText )(
  5856. IAgentCommand __RPC_FAR * This,
  5857. /* [in] */ BSTR bszTipText);
  5858. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceText )(
  5859. IAgentCommand __RPC_FAR * This,
  5860. /* [out] */ BSTR __RPC_FAR *pbszTipText);
  5861. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetID )(
  5862. IAgentCommand __RPC_FAR * This,
  5863. /* [out] */ long __RPC_FAR *pdwID);
  5864. END_INTERFACE
  5865. } IAgentCommandVtbl;
  5866. interface IAgentCommand
  5867. {
  5868. CONST_VTBL struct IAgentCommandVtbl __RPC_FAR *lpVtbl;
  5869. };
  5870. #ifdef COBJMACROS
  5871. #define IAgentCommand_QueryInterface(This,riid,ppvObject) \
  5872. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5873. #define IAgentCommand_AddRef(This) \
  5874. (This)->lpVtbl -> AddRef(This)
  5875. #define IAgentCommand_Release(This) \
  5876. (This)->lpVtbl -> Release(This)
  5877. #define IAgentCommand_GetTypeInfoCount(This,pctinfo) \
  5878. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5879. #define IAgentCommand_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5880. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5881. #define IAgentCommand_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5882. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5883. #define IAgentCommand_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5884. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5885. #define IAgentCommand_SetCaption(This,bszCaption) \
  5886. (This)->lpVtbl -> SetCaption(This,bszCaption)
  5887. #define IAgentCommand_GetCaption(This,pbszCaption) \
  5888. (This)->lpVtbl -> GetCaption(This,pbszCaption)
  5889. #define IAgentCommand_SetVoice(This,bszVoice) \
  5890. (This)->lpVtbl -> SetVoice(This,bszVoice)
  5891. #define IAgentCommand_GetVoice(This,pbszVoice) \
  5892. (This)->lpVtbl -> GetVoice(This,pbszVoice)
  5893. #define IAgentCommand_SetEnabled(This,bEnabled) \
  5894. (This)->lpVtbl -> SetEnabled(This,bEnabled)
  5895. #define IAgentCommand_GetEnabled(This,pbEnabled) \
  5896. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  5897. #define IAgentCommand_SetVisible(This,bVisible) \
  5898. (This)->lpVtbl -> SetVisible(This,bVisible)
  5899. #define IAgentCommand_GetVisible(This,pbVisible) \
  5900. (This)->lpVtbl -> GetVisible(This,pbVisible)
  5901. #define IAgentCommand_SetConfidenceThreshold(This,lThreshold) \
  5902. (This)->lpVtbl -> SetConfidenceThreshold(This,lThreshold)
  5903. #define IAgentCommand_GetConfidenceThreshold(This,plThreshold) \
  5904. (This)->lpVtbl -> GetConfidenceThreshold(This,plThreshold)
  5905. #define IAgentCommand_SetConfidenceText(This,bszTipText) \
  5906. (This)->lpVtbl -> SetConfidenceText(This,bszTipText)
  5907. #define IAgentCommand_GetConfidenceText(This,pbszTipText) \
  5908. (This)->lpVtbl -> GetConfidenceText(This,pbszTipText)
  5909. #define IAgentCommand_GetID(This,pdwID) \
  5910. (This)->lpVtbl -> GetID(This,pdwID)
  5911. #endif /* COBJMACROS */
  5912. #endif /* C style interface */
  5913. HRESULT STDMETHODCALLTYPE IAgentCommand_SetCaption_Proxy(
  5914. IAgentCommand __RPC_FAR * This,
  5915. /* [in] */ BSTR bszCaption);
  5916. void __RPC_STUB IAgentCommand_SetCaption_Stub(
  5917. IRpcStubBuffer *This,
  5918. IRpcChannelBuffer *_pRpcChannelBuffer,
  5919. PRPC_MESSAGE _pRpcMessage,
  5920. DWORD *_pdwStubPhase);
  5921. HRESULT STDMETHODCALLTYPE IAgentCommand_GetCaption_Proxy(
  5922. IAgentCommand __RPC_FAR * This,
  5923. /* [out] */ BSTR __RPC_FAR *pbszCaption);
  5924. void __RPC_STUB IAgentCommand_GetCaption_Stub(
  5925. IRpcStubBuffer *This,
  5926. IRpcChannelBuffer *_pRpcChannelBuffer,
  5927. PRPC_MESSAGE _pRpcMessage,
  5928. DWORD *_pdwStubPhase);
  5929. HRESULT STDMETHODCALLTYPE IAgentCommand_SetVoice_Proxy(
  5930. IAgentCommand __RPC_FAR * This,
  5931. /* [in] */ BSTR bszVoice);
  5932. void __RPC_STUB IAgentCommand_SetVoice_Stub(
  5933. IRpcStubBuffer *This,
  5934. IRpcChannelBuffer *_pRpcChannelBuffer,
  5935. PRPC_MESSAGE _pRpcMessage,
  5936. DWORD *_pdwStubPhase);
  5937. HRESULT STDMETHODCALLTYPE IAgentCommand_GetVoice_Proxy(
  5938. IAgentCommand __RPC_FAR * This,
  5939. /* [out] */ BSTR __RPC_FAR *pbszVoice);
  5940. void __RPC_STUB IAgentCommand_GetVoice_Stub(
  5941. IRpcStubBuffer *This,
  5942. IRpcChannelBuffer *_pRpcChannelBuffer,
  5943. PRPC_MESSAGE _pRpcMessage,
  5944. DWORD *_pdwStubPhase);
  5945. HRESULT STDMETHODCALLTYPE IAgentCommand_SetEnabled_Proxy(
  5946. IAgentCommand __RPC_FAR * This,
  5947. /* [in] */ long bEnabled);
  5948. void __RPC_STUB IAgentCommand_SetEnabled_Stub(
  5949. IRpcStubBuffer *This,
  5950. IRpcChannelBuffer *_pRpcChannelBuffer,
  5951. PRPC_MESSAGE _pRpcMessage,
  5952. DWORD *_pdwStubPhase);
  5953. HRESULT STDMETHODCALLTYPE IAgentCommand_GetEnabled_Proxy(
  5954. IAgentCommand __RPC_FAR * This,
  5955. /* [out] */ long __RPC_FAR *pbEnabled);
  5956. void __RPC_STUB IAgentCommand_GetEnabled_Stub(
  5957. IRpcStubBuffer *This,
  5958. IRpcChannelBuffer *_pRpcChannelBuffer,
  5959. PRPC_MESSAGE _pRpcMessage,
  5960. DWORD *_pdwStubPhase);
  5961. HRESULT STDMETHODCALLTYPE IAgentCommand_SetVisible_Proxy(
  5962. IAgentCommand __RPC_FAR * This,
  5963. /* [in] */ long bVisible);
  5964. void __RPC_STUB IAgentCommand_SetVisible_Stub(
  5965. IRpcStubBuffer *This,
  5966. IRpcChannelBuffer *_pRpcChannelBuffer,
  5967. PRPC_MESSAGE _pRpcMessage,
  5968. DWORD *_pdwStubPhase);
  5969. HRESULT STDMETHODCALLTYPE IAgentCommand_GetVisible_Proxy(
  5970. IAgentCommand __RPC_FAR * This,
  5971. /* [out] */ long __RPC_FAR *pbVisible);
  5972. void __RPC_STUB IAgentCommand_GetVisible_Stub(
  5973. IRpcStubBuffer *This,
  5974. IRpcChannelBuffer *_pRpcChannelBuffer,
  5975. PRPC_MESSAGE _pRpcMessage,
  5976. DWORD *_pdwStubPhase);
  5977. HRESULT STDMETHODCALLTYPE IAgentCommand_SetConfidenceThreshold_Proxy(
  5978. IAgentCommand __RPC_FAR * This,
  5979. /* [in] */ long lThreshold);
  5980. void __RPC_STUB IAgentCommand_SetConfidenceThreshold_Stub(
  5981. IRpcStubBuffer *This,
  5982. IRpcChannelBuffer *_pRpcChannelBuffer,
  5983. PRPC_MESSAGE _pRpcMessage,
  5984. DWORD *_pdwStubPhase);
  5985. HRESULT STDMETHODCALLTYPE IAgentCommand_GetConfidenceThreshold_Proxy(
  5986. IAgentCommand __RPC_FAR * This,
  5987. /* [out] */ long __RPC_FAR *plThreshold);
  5988. void __RPC_STUB IAgentCommand_GetConfidenceThreshold_Stub(
  5989. IRpcStubBuffer *This,
  5990. IRpcChannelBuffer *_pRpcChannelBuffer,
  5991. PRPC_MESSAGE _pRpcMessage,
  5992. DWORD *_pdwStubPhase);
  5993. HRESULT STDMETHODCALLTYPE IAgentCommand_SetConfidenceText_Proxy(
  5994. IAgentCommand __RPC_FAR * This,
  5995. /* [in] */ BSTR bszTipText);
  5996. void __RPC_STUB IAgentCommand_SetConfidenceText_Stub(
  5997. IRpcStubBuffer *This,
  5998. IRpcChannelBuffer *_pRpcChannelBuffer,
  5999. PRPC_MESSAGE _pRpcMessage,
  6000. DWORD *_pdwStubPhase);
  6001. HRESULT STDMETHODCALLTYPE IAgentCommand_GetConfidenceText_Proxy(
  6002. IAgentCommand __RPC_FAR * This,
  6003. /* [out] */ BSTR __RPC_FAR *pbszTipText);
  6004. void __RPC_STUB IAgentCommand_GetConfidenceText_Stub(
  6005. IRpcStubBuffer *This,
  6006. IRpcChannelBuffer *_pRpcChannelBuffer,
  6007. PRPC_MESSAGE _pRpcMessage,
  6008. DWORD *_pdwStubPhase);
  6009. HRESULT STDMETHODCALLTYPE IAgentCommand_GetID_Proxy(
  6010. IAgentCommand __RPC_FAR * This,
  6011. /* [out] */ long __RPC_FAR *pdwID);
  6012. void __RPC_STUB IAgentCommand_GetID_Stub(
  6013. IRpcStubBuffer *This,
  6014. IRpcChannelBuffer *_pRpcChannelBuffer,
  6015. PRPC_MESSAGE _pRpcMessage,
  6016. DWORD *_pdwStubPhase);
  6017. #endif /* __IAgentCommand_INTERFACE_DEFINED__ */
  6018. #ifndef __IAgentCommandEx_INTERFACE_DEFINED__
  6019. #define __IAgentCommandEx_INTERFACE_DEFINED__
  6020. /* interface IAgentCommandEx */
  6021. /* [unique][helpstring][dual][uuid][object] */
  6022. EXTERN_C const IID IID_IAgentCommandEx;
  6023. #if defined(__cplusplus) && !defined(CINTERFACE)
  6024. MIDL_INTERFACE("B0913412-3B44-11d1-ACBA-00C04FD97575")
  6025. IAgentCommandEx : public IAgentCommand
  6026. {
  6027. public:
  6028. virtual HRESULT STDMETHODCALLTYPE SetHelpContextID(
  6029. /* [in] */ long ulID) = 0;
  6030. virtual HRESULT STDMETHODCALLTYPE GetHelpContextID(
  6031. /* [out] */ long __RPC_FAR *pulID) = 0;
  6032. virtual HRESULT STDMETHODCALLTYPE SetVoiceCaption(
  6033. /* [in] */ BSTR bszVoiceCaption) = 0;
  6034. virtual HRESULT STDMETHODCALLTYPE GetVoiceCaption(
  6035. /* [out] */ BSTR __RPC_FAR *pbszVoiceCaption) = 0;
  6036. };
  6037. #else /* C style interface */
  6038. typedef struct IAgentCommandExVtbl
  6039. {
  6040. BEGIN_INTERFACE
  6041. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  6042. IAgentCommandEx __RPC_FAR * This,
  6043. /* [in] */ REFIID riid,
  6044. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6045. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  6046. IAgentCommandEx __RPC_FAR * This);
  6047. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  6048. IAgentCommandEx __RPC_FAR * This);
  6049. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  6050. IAgentCommandEx __RPC_FAR * This,
  6051. /* [out] */ UINT __RPC_FAR *pctinfo);
  6052. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  6053. IAgentCommandEx __RPC_FAR * This,
  6054. /* [in] */ UINT iTInfo,
  6055. /* [in] */ LCID lcid,
  6056. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  6057. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  6058. IAgentCommandEx __RPC_FAR * This,
  6059. /* [in] */ REFIID riid,
  6060. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  6061. /* [in] */ UINT cNames,
  6062. /* [in] */ LCID lcid,
  6063. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  6064. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  6065. IAgentCommandEx __RPC_FAR * This,
  6066. /* [in] */ DISPID dispIdMember,
  6067. /* [in] */ REFIID riid,
  6068. /* [in] */ LCID lcid,
  6069. /* [in] */ WORD wFlags,
  6070. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  6071. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  6072. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  6073. /* [out] */ UINT __RPC_FAR *puArgErr);
  6074. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )(
  6075. IAgentCommandEx __RPC_FAR * This,
  6076. /* [in] */ BSTR bszCaption);
  6077. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )(
  6078. IAgentCommandEx __RPC_FAR * This,
  6079. /* [out] */ BSTR __RPC_FAR *pbszCaption);
  6080. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )(
  6081. IAgentCommandEx __RPC_FAR * This,
  6082. /* [in] */ BSTR bszVoice);
  6083. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )(
  6084. IAgentCommandEx __RPC_FAR * This,
  6085. /* [out] */ BSTR __RPC_FAR *pbszVoice);
  6086. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEnabled )(
  6087. IAgentCommandEx __RPC_FAR * This,
  6088. /* [in] */ long bEnabled);
  6089. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  6090. IAgentCommandEx __RPC_FAR * This,
  6091. /* [out] */ long __RPC_FAR *pbEnabled);
  6092. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  6093. IAgentCommandEx __RPC_FAR * This,
  6094. /* [in] */ long bVisible);
  6095. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  6096. IAgentCommandEx __RPC_FAR * This,
  6097. /* [out] */ long __RPC_FAR *pbVisible);
  6098. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceThreshold )(
  6099. IAgentCommandEx __RPC_FAR * This,
  6100. /* [in] */ long lThreshold);
  6101. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceThreshold )(
  6102. IAgentCommandEx __RPC_FAR * This,
  6103. /* [out] */ long __RPC_FAR *plThreshold);
  6104. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceText )(
  6105. IAgentCommandEx __RPC_FAR * This,
  6106. /* [in] */ BSTR bszTipText);
  6107. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceText )(
  6108. IAgentCommandEx __RPC_FAR * This,
  6109. /* [out] */ BSTR __RPC_FAR *pbszTipText);
  6110. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetID )(
  6111. IAgentCommandEx __RPC_FAR * This,
  6112. /* [out] */ long __RPC_FAR *pdwID);
  6113. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpContextID )(
  6114. IAgentCommandEx __RPC_FAR * This,
  6115. /* [in] */ long ulID);
  6116. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpContextID )(
  6117. IAgentCommandEx __RPC_FAR * This,
  6118. /* [out] */ long __RPC_FAR *pulID);
  6119. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoiceCaption )(
  6120. IAgentCommandEx __RPC_FAR * This,
  6121. /* [in] */ BSTR bszVoiceCaption);
  6122. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoiceCaption )(
  6123. IAgentCommandEx __RPC_FAR * This,
  6124. /* [out] */ BSTR __RPC_FAR *pbszVoiceCaption);
  6125. END_INTERFACE
  6126. } IAgentCommandExVtbl;
  6127. interface IAgentCommandEx
  6128. {
  6129. CONST_VTBL struct IAgentCommandExVtbl __RPC_FAR *lpVtbl;
  6130. };
  6131. #ifdef COBJMACROS
  6132. #define IAgentCommandEx_QueryInterface(This,riid,ppvObject) \
  6133. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6134. #define IAgentCommandEx_AddRef(This) \
  6135. (This)->lpVtbl -> AddRef(This)
  6136. #define IAgentCommandEx_Release(This) \
  6137. (This)->lpVtbl -> Release(This)
  6138. #define IAgentCommandEx_GetTypeInfoCount(This,pctinfo) \
  6139. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6140. #define IAgentCommandEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6141. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6142. #define IAgentCommandEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6143. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6144. #define IAgentCommandEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6145. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6146. #define IAgentCommandEx_SetCaption(This,bszCaption) \
  6147. (This)->lpVtbl -> SetCaption(This,bszCaption)
  6148. #define IAgentCommandEx_GetCaption(This,pbszCaption) \
  6149. (This)->lpVtbl -> GetCaption(This,pbszCaption)
  6150. #define IAgentCommandEx_SetVoice(This,bszVoice) \
  6151. (This)->lpVtbl -> SetVoice(This,bszVoice)
  6152. #define IAgentCommandEx_GetVoice(This,pbszVoice) \
  6153. (This)->lpVtbl -> GetVoice(This,pbszVoice)
  6154. #define IAgentCommandEx_SetEnabled(This,bEnabled) \
  6155. (This)->lpVtbl -> SetEnabled(This,bEnabled)
  6156. #define IAgentCommandEx_GetEnabled(This,pbEnabled) \
  6157. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  6158. #define IAgentCommandEx_SetVisible(This,bVisible) \
  6159. (This)->lpVtbl -> SetVisible(This,bVisible)
  6160. #define IAgentCommandEx_GetVisible(This,pbVisible) \
  6161. (This)->lpVtbl -> GetVisible(This,pbVisible)
  6162. #define IAgentCommandEx_SetConfidenceThreshold(This,lThreshold) \
  6163. (This)->lpVtbl -> SetConfidenceThreshold(This,lThreshold)
  6164. #define IAgentCommandEx_GetConfidenceThreshold(This,plThreshold) \
  6165. (This)->lpVtbl -> GetConfidenceThreshold(This,plThreshold)
  6166. #define IAgentCommandEx_SetConfidenceText(This,bszTipText) \
  6167. (This)->lpVtbl -> SetConfidenceText(This,bszTipText)
  6168. #define IAgentCommandEx_GetConfidenceText(This,pbszTipText) \
  6169. (This)->lpVtbl -> GetConfidenceText(This,pbszTipText)
  6170. #define IAgentCommandEx_GetID(This,pdwID) \
  6171. (This)->lpVtbl -> GetID(This,pdwID)
  6172. #define IAgentCommandEx_SetHelpContextID(This,ulID) \
  6173. (This)->lpVtbl -> SetHelpContextID(This,ulID)
  6174. #define IAgentCommandEx_GetHelpContextID(This,pulID) \
  6175. (This)->lpVtbl -> GetHelpContextID(This,pulID)
  6176. #define IAgentCommandEx_SetVoiceCaption(This,bszVoiceCaption) \
  6177. (This)->lpVtbl -> SetVoiceCaption(This,bszVoiceCaption)
  6178. #define IAgentCommandEx_GetVoiceCaption(This,pbszVoiceCaption) \
  6179. (This)->lpVtbl -> GetVoiceCaption(This,pbszVoiceCaption)
  6180. #endif /* COBJMACROS */
  6181. #endif /* C style interface */
  6182. HRESULT STDMETHODCALLTYPE IAgentCommandEx_SetHelpContextID_Proxy(
  6183. IAgentCommandEx __RPC_FAR * This,
  6184. /* [in] */ long ulID);
  6185. void __RPC_STUB IAgentCommandEx_SetHelpContextID_Stub(
  6186. IRpcStubBuffer *This,
  6187. IRpcChannelBuffer *_pRpcChannelBuffer,
  6188. PRPC_MESSAGE _pRpcMessage,
  6189. DWORD *_pdwStubPhase);
  6190. HRESULT STDMETHODCALLTYPE IAgentCommandEx_GetHelpContextID_Proxy(
  6191. IAgentCommandEx __RPC_FAR * This,
  6192. /* [out] */ long __RPC_FAR *pulID);
  6193. void __RPC_STUB IAgentCommandEx_GetHelpContextID_Stub(
  6194. IRpcStubBuffer *This,
  6195. IRpcChannelBuffer *_pRpcChannelBuffer,
  6196. PRPC_MESSAGE _pRpcMessage,
  6197. DWORD *_pdwStubPhase);
  6198. HRESULT STDMETHODCALLTYPE IAgentCommandEx_SetVoiceCaption_Proxy(
  6199. IAgentCommandEx __RPC_FAR * This,
  6200. /* [in] */ BSTR bszVoiceCaption);
  6201. void __RPC_STUB IAgentCommandEx_SetVoiceCaption_Stub(
  6202. IRpcStubBuffer *This,
  6203. IRpcChannelBuffer *_pRpcChannelBuffer,
  6204. PRPC_MESSAGE _pRpcMessage,
  6205. DWORD *_pdwStubPhase);
  6206. HRESULT STDMETHODCALLTYPE IAgentCommandEx_GetVoiceCaption_Proxy(
  6207. IAgentCommandEx __RPC_FAR * This,
  6208. /* [out] */ BSTR __RPC_FAR *pbszVoiceCaption);
  6209. void __RPC_STUB IAgentCommandEx_GetVoiceCaption_Stub(
  6210. IRpcStubBuffer *This,
  6211. IRpcChannelBuffer *_pRpcChannelBuffer,
  6212. PRPC_MESSAGE _pRpcMessage,
  6213. DWORD *_pdwStubPhase);
  6214. #endif /* __IAgentCommandEx_INTERFACE_DEFINED__ */
  6215. #ifndef __IAgentCommands_INTERFACE_DEFINED__
  6216. #define __IAgentCommands_INTERFACE_DEFINED__
  6217. /* interface IAgentCommands */
  6218. /* [unique][helpstring][dual][uuid][object] */
  6219. EXTERN_C const IID IID_IAgentCommands;
  6220. #if defined(__cplusplus) && !defined(CINTERFACE)
  6221. MIDL_INTERFACE("A7B93C85-7B81-11D0-AC5F-00C04FD97575")
  6222. IAgentCommands : public IDispatch
  6223. {
  6224. public:
  6225. virtual HRESULT STDMETHODCALLTYPE GetCommand(
  6226. /* [in] */ long dwCommandID,
  6227. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand) = 0;
  6228. virtual HRESULT STDMETHODCALLTYPE GetCount(
  6229. /* [out] */ long __RPC_FAR *pdwCount) = 0;
  6230. virtual HRESULT STDMETHODCALLTYPE SetCaption(
  6231. /* [in] */ BSTR bszCaption) = 0;
  6232. virtual HRESULT STDMETHODCALLTYPE GetCaption(
  6233. /* [out] */ BSTR __RPC_FAR *pbszCaption) = 0;
  6234. virtual HRESULT STDMETHODCALLTYPE SetVoice(
  6235. /* [in] */ BSTR bszVoice) = 0;
  6236. virtual HRESULT STDMETHODCALLTYPE GetVoice(
  6237. /* [out] */ BSTR __RPC_FAR *pbszVoice) = 0;
  6238. virtual HRESULT STDMETHODCALLTYPE SetVisible(
  6239. /* [in] */ long bVisible) = 0;
  6240. virtual HRESULT STDMETHODCALLTYPE GetVisible(
  6241. /* [out] */ long __RPC_FAR *pbVisible) = 0;
  6242. virtual HRESULT STDMETHODCALLTYPE Add(
  6243. /* [in] */ BSTR bszCaption,
  6244. /* [in] */ BSTR bszVoice,
  6245. /* [in] */ long bEnabled,
  6246. /* [in] */ long bVisible,
  6247. /* [out] */ long __RPC_FAR *pdwID) = 0;
  6248. virtual HRESULT STDMETHODCALLTYPE Insert(
  6249. /* [in] */ BSTR bszCaption,
  6250. /* [in] */ BSTR bszVoice,
  6251. /* [in] */ long bEnabled,
  6252. /* [in] */ long bVisible,
  6253. /* [in] */ long dwRefID,
  6254. /* [in] */ long bBefore,
  6255. /* [out] */ long __RPC_FAR *pdwID) = 0;
  6256. virtual HRESULT STDMETHODCALLTYPE Remove(
  6257. /* [in] */ long dwID) = 0;
  6258. virtual HRESULT STDMETHODCALLTYPE RemoveAll( void) = 0;
  6259. };
  6260. #else /* C style interface */
  6261. typedef struct IAgentCommandsVtbl
  6262. {
  6263. BEGIN_INTERFACE
  6264. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  6265. IAgentCommands __RPC_FAR * This,
  6266. /* [in] */ REFIID riid,
  6267. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6268. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  6269. IAgentCommands __RPC_FAR * This);
  6270. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  6271. IAgentCommands __RPC_FAR * This);
  6272. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  6273. IAgentCommands __RPC_FAR * This,
  6274. /* [out] */ UINT __RPC_FAR *pctinfo);
  6275. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  6276. IAgentCommands __RPC_FAR * This,
  6277. /* [in] */ UINT iTInfo,
  6278. /* [in] */ LCID lcid,
  6279. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  6280. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  6281. IAgentCommands __RPC_FAR * This,
  6282. /* [in] */ REFIID riid,
  6283. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  6284. /* [in] */ UINT cNames,
  6285. /* [in] */ LCID lcid,
  6286. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  6287. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  6288. IAgentCommands __RPC_FAR * This,
  6289. /* [in] */ DISPID dispIdMember,
  6290. /* [in] */ REFIID riid,
  6291. /* [in] */ LCID lcid,
  6292. /* [in] */ WORD wFlags,
  6293. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  6294. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  6295. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  6296. /* [out] */ UINT __RPC_FAR *puArgErr);
  6297. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCommand )(
  6298. IAgentCommands __RPC_FAR * This,
  6299. /* [in] */ long dwCommandID,
  6300. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand);
  6301. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )(
  6302. IAgentCommands __RPC_FAR * This,
  6303. /* [out] */ long __RPC_FAR *pdwCount);
  6304. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )(
  6305. IAgentCommands __RPC_FAR * This,
  6306. /* [in] */ BSTR bszCaption);
  6307. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )(
  6308. IAgentCommands __RPC_FAR * This,
  6309. /* [out] */ BSTR __RPC_FAR *pbszCaption);
  6310. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )(
  6311. IAgentCommands __RPC_FAR * This,
  6312. /* [in] */ BSTR bszVoice);
  6313. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )(
  6314. IAgentCommands __RPC_FAR * This,
  6315. /* [out] */ BSTR __RPC_FAR *pbszVoice);
  6316. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  6317. IAgentCommands __RPC_FAR * This,
  6318. /* [in] */ long bVisible);
  6319. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  6320. IAgentCommands __RPC_FAR * This,
  6321. /* [out] */ long __RPC_FAR *pbVisible);
  6322. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )(
  6323. IAgentCommands __RPC_FAR * This,
  6324. /* [in] */ BSTR bszCaption,
  6325. /* [in] */ BSTR bszVoice,
  6326. /* [in] */ long bEnabled,
  6327. /* [in] */ long bVisible,
  6328. /* [out] */ long __RPC_FAR *pdwID);
  6329. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Insert )(
  6330. IAgentCommands __RPC_FAR * This,
  6331. /* [in] */ BSTR bszCaption,
  6332. /* [in] */ BSTR bszVoice,
  6333. /* [in] */ long bEnabled,
  6334. /* [in] */ long bVisible,
  6335. /* [in] */ long dwRefID,
  6336. /* [in] */ long bBefore,
  6337. /* [out] */ long __RPC_FAR *pdwID);
  6338. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Remove )(
  6339. IAgentCommands __RPC_FAR * This,
  6340. /* [in] */ long dwID);
  6341. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveAll )(
  6342. IAgentCommands __RPC_FAR * This);
  6343. END_INTERFACE
  6344. } IAgentCommandsVtbl;
  6345. interface IAgentCommands
  6346. {
  6347. CONST_VTBL struct IAgentCommandsVtbl __RPC_FAR *lpVtbl;
  6348. };
  6349. #ifdef COBJMACROS
  6350. #define IAgentCommands_QueryInterface(This,riid,ppvObject) \
  6351. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6352. #define IAgentCommands_AddRef(This) \
  6353. (This)->lpVtbl -> AddRef(This)
  6354. #define IAgentCommands_Release(This) \
  6355. (This)->lpVtbl -> Release(This)
  6356. #define IAgentCommands_GetTypeInfoCount(This,pctinfo) \
  6357. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6358. #define IAgentCommands_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6359. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6360. #define IAgentCommands_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6361. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6362. #define IAgentCommands_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6363. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6364. #define IAgentCommands_GetCommand(This,dwCommandID,ppunkCommand) \
  6365. (This)->lpVtbl -> GetCommand(This,dwCommandID,ppunkCommand)
  6366. #define IAgentCommands_GetCount(This,pdwCount) \
  6367. (This)->lpVtbl -> GetCount(This,pdwCount)
  6368. #define IAgentCommands_SetCaption(This,bszCaption) \
  6369. (This)->lpVtbl -> SetCaption(This,bszCaption)
  6370. #define IAgentCommands_GetCaption(This,pbszCaption) \
  6371. (This)->lpVtbl -> GetCaption(This,pbszCaption)
  6372. #define IAgentCommands_SetVoice(This,bszVoice) \
  6373. (This)->lpVtbl -> SetVoice(This,bszVoice)
  6374. #define IAgentCommands_GetVoice(This,pbszVoice) \
  6375. (This)->lpVtbl -> GetVoice(This,pbszVoice)
  6376. #define IAgentCommands_SetVisible(This,bVisible) \
  6377. (This)->lpVtbl -> SetVisible(This,bVisible)
  6378. #define IAgentCommands_GetVisible(This,pbVisible) \
  6379. (This)->lpVtbl -> GetVisible(This,pbVisible)
  6380. #define IAgentCommands_Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID) \
  6381. (This)->lpVtbl -> Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID)
  6382. #define IAgentCommands_Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID) \
  6383. (This)->lpVtbl -> Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID)
  6384. #define IAgentCommands_Remove(This,dwID) \
  6385. (This)->lpVtbl -> Remove(This,dwID)
  6386. #define IAgentCommands_RemoveAll(This) \
  6387. (This)->lpVtbl -> RemoveAll(This)
  6388. #endif /* COBJMACROS */
  6389. #endif /* C style interface */
  6390. HRESULT STDMETHODCALLTYPE IAgentCommands_GetCommand_Proxy(
  6391. IAgentCommands __RPC_FAR * This,
  6392. /* [in] */ long dwCommandID,
  6393. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand);
  6394. void __RPC_STUB IAgentCommands_GetCommand_Stub(
  6395. IRpcStubBuffer *This,
  6396. IRpcChannelBuffer *_pRpcChannelBuffer,
  6397. PRPC_MESSAGE _pRpcMessage,
  6398. DWORD *_pdwStubPhase);
  6399. HRESULT STDMETHODCALLTYPE IAgentCommands_GetCount_Proxy(
  6400. IAgentCommands __RPC_FAR * This,
  6401. /* [out] */ long __RPC_FAR *pdwCount);
  6402. void __RPC_STUB IAgentCommands_GetCount_Stub(
  6403. IRpcStubBuffer *This,
  6404. IRpcChannelBuffer *_pRpcChannelBuffer,
  6405. PRPC_MESSAGE _pRpcMessage,
  6406. DWORD *_pdwStubPhase);
  6407. HRESULT STDMETHODCALLTYPE IAgentCommands_SetCaption_Proxy(
  6408. IAgentCommands __RPC_FAR * This,
  6409. /* [in] */ BSTR bszCaption);
  6410. void __RPC_STUB IAgentCommands_SetCaption_Stub(
  6411. IRpcStubBuffer *This,
  6412. IRpcChannelBuffer *_pRpcChannelBuffer,
  6413. PRPC_MESSAGE _pRpcMessage,
  6414. DWORD *_pdwStubPhase);
  6415. HRESULT STDMETHODCALLTYPE IAgentCommands_GetCaption_Proxy(
  6416. IAgentCommands __RPC_FAR * This,
  6417. /* [out] */ BSTR __RPC_FAR *pbszCaption);
  6418. void __RPC_STUB IAgentCommands_GetCaption_Stub(
  6419. IRpcStubBuffer *This,
  6420. IRpcChannelBuffer *_pRpcChannelBuffer,
  6421. PRPC_MESSAGE _pRpcMessage,
  6422. DWORD *_pdwStubPhase);
  6423. HRESULT STDMETHODCALLTYPE IAgentCommands_SetVoice_Proxy(
  6424. IAgentCommands __RPC_FAR * This,
  6425. /* [in] */ BSTR bszVoice);
  6426. void __RPC_STUB IAgentCommands_SetVoice_Stub(
  6427. IRpcStubBuffer *This,
  6428. IRpcChannelBuffer *_pRpcChannelBuffer,
  6429. PRPC_MESSAGE _pRpcMessage,
  6430. DWORD *_pdwStubPhase);
  6431. HRESULT STDMETHODCALLTYPE IAgentCommands_GetVoice_Proxy(
  6432. IAgentCommands __RPC_FAR * This,
  6433. /* [out] */ BSTR __RPC_FAR *pbszVoice);
  6434. void __RPC_STUB IAgentCommands_GetVoice_Stub(
  6435. IRpcStubBuffer *This,
  6436. IRpcChannelBuffer *_pRpcChannelBuffer,
  6437. PRPC_MESSAGE _pRpcMessage,
  6438. DWORD *_pdwStubPhase);
  6439. HRESULT STDMETHODCALLTYPE IAgentCommands_SetVisible_Proxy(
  6440. IAgentCommands __RPC_FAR * This,
  6441. /* [in] */ long bVisible);
  6442. void __RPC_STUB IAgentCommands_SetVisible_Stub(
  6443. IRpcStubBuffer *This,
  6444. IRpcChannelBuffer *_pRpcChannelBuffer,
  6445. PRPC_MESSAGE _pRpcMessage,
  6446. DWORD *_pdwStubPhase);
  6447. HRESULT STDMETHODCALLTYPE IAgentCommands_GetVisible_Proxy(
  6448. IAgentCommands __RPC_FAR * This,
  6449. /* [out] */ long __RPC_FAR *pbVisible);
  6450. void __RPC_STUB IAgentCommands_GetVisible_Stub(
  6451. IRpcStubBuffer *This,
  6452. IRpcChannelBuffer *_pRpcChannelBuffer,
  6453. PRPC_MESSAGE _pRpcMessage,
  6454. DWORD *_pdwStubPhase);
  6455. HRESULT STDMETHODCALLTYPE IAgentCommands_Add_Proxy(
  6456. IAgentCommands __RPC_FAR * This,
  6457. /* [in] */ BSTR bszCaption,
  6458. /* [in] */ BSTR bszVoice,
  6459. /* [in] */ long bEnabled,
  6460. /* [in] */ long bVisible,
  6461. /* [out] */ long __RPC_FAR *pdwID);
  6462. void __RPC_STUB IAgentCommands_Add_Stub(
  6463. IRpcStubBuffer *This,
  6464. IRpcChannelBuffer *_pRpcChannelBuffer,
  6465. PRPC_MESSAGE _pRpcMessage,
  6466. DWORD *_pdwStubPhase);
  6467. HRESULT STDMETHODCALLTYPE IAgentCommands_Insert_Proxy(
  6468. IAgentCommands __RPC_FAR * This,
  6469. /* [in] */ BSTR bszCaption,
  6470. /* [in] */ BSTR bszVoice,
  6471. /* [in] */ long bEnabled,
  6472. /* [in] */ long bVisible,
  6473. /* [in] */ long dwRefID,
  6474. /* [in] */ long bBefore,
  6475. /* [out] */ long __RPC_FAR *pdwID);
  6476. void __RPC_STUB IAgentCommands_Insert_Stub(
  6477. IRpcStubBuffer *This,
  6478. IRpcChannelBuffer *_pRpcChannelBuffer,
  6479. PRPC_MESSAGE _pRpcMessage,
  6480. DWORD *_pdwStubPhase);
  6481. HRESULT STDMETHODCALLTYPE IAgentCommands_Remove_Proxy(
  6482. IAgentCommands __RPC_FAR * This,
  6483. /* [in] */ long dwID);
  6484. void __RPC_STUB IAgentCommands_Remove_Stub(
  6485. IRpcStubBuffer *This,
  6486. IRpcChannelBuffer *_pRpcChannelBuffer,
  6487. PRPC_MESSAGE _pRpcMessage,
  6488. DWORD *_pdwStubPhase);
  6489. HRESULT STDMETHODCALLTYPE IAgentCommands_RemoveAll_Proxy(
  6490. IAgentCommands __RPC_FAR * This);
  6491. void __RPC_STUB IAgentCommands_RemoveAll_Stub(
  6492. IRpcStubBuffer *This,
  6493. IRpcChannelBuffer *_pRpcChannelBuffer,
  6494. PRPC_MESSAGE _pRpcMessage,
  6495. DWORD *_pdwStubPhase);
  6496. #endif /* __IAgentCommands_INTERFACE_DEFINED__ */
  6497. #ifndef __IAgentCommandsEx_INTERFACE_DEFINED__
  6498. #define __IAgentCommandsEx_INTERFACE_DEFINED__
  6499. /* interface IAgentCommandsEx */
  6500. /* [unique][helpstring][dual][uuid][object] */
  6501. EXTERN_C const IID IID_IAgentCommandsEx;
  6502. #if defined(__cplusplus) && !defined(CINTERFACE)
  6503. MIDL_INTERFACE("6BA90C00-3910-11d1-ACB3-00C04FD97575")
  6504. IAgentCommandsEx : public IAgentCommands
  6505. {
  6506. public:
  6507. virtual HRESULT STDMETHODCALLTYPE GetCommandEx(
  6508. /* [in] */ long dwCommandID,
  6509. /* [out] */ IAgentCommandEx __RPC_FAR *__RPC_FAR *ppCommandEx) = 0;
  6510. virtual HRESULT STDMETHODCALLTYPE SetDefaultID(
  6511. /* [in] */ long dwID) = 0;
  6512. virtual HRESULT STDMETHODCALLTYPE GetDefaultID(
  6513. /* [out] */ long __RPC_FAR *pdwID) = 0;
  6514. virtual HRESULT STDMETHODCALLTYPE SetHelpContextID(
  6515. /* [in] */ long ulHelpID) = 0;
  6516. virtual HRESULT STDMETHODCALLTYPE GetHelpContextID(
  6517. /* [out] */ long __RPC_FAR *pulHelpID) = 0;
  6518. virtual HRESULT STDMETHODCALLTYPE SetFontName(
  6519. /* [in] */ BSTR bszFontName) = 0;
  6520. virtual HRESULT STDMETHODCALLTYPE GetFontName(
  6521. /* [out] */ BSTR __RPC_FAR *pbszFontName) = 0;
  6522. virtual HRESULT STDMETHODCALLTYPE SetFontSize(
  6523. /* [in] */ long lFontSize) = 0;
  6524. virtual HRESULT STDMETHODCALLTYPE GetFontSize(
  6525. /* [out] */ long __RPC_FAR *lFontSize) = 0;
  6526. virtual HRESULT STDMETHODCALLTYPE SetVoiceCaption(
  6527. /* [in] */ BSTR bszVoiceCaption) = 0;
  6528. virtual HRESULT STDMETHODCALLTYPE GetVoiceCaption(
  6529. /* [out] */ BSTR __RPC_FAR *bszVoiceCaption) = 0;
  6530. virtual HRESULT STDMETHODCALLTYPE AddEx(
  6531. /* [in] */ BSTR bszCaption,
  6532. /* [in] */ BSTR bszVoice,
  6533. /* [in] */ BSTR bszVoiceCaption,
  6534. /* [in] */ long bEnabled,
  6535. /* [in] */ long bVisible,
  6536. /* [in] */ long ulHelpId,
  6537. /* [out] */ long __RPC_FAR *pdwID) = 0;
  6538. virtual HRESULT STDMETHODCALLTYPE InsertEx(
  6539. /* [in] */ BSTR bszCaption,
  6540. /* [in] */ BSTR bszVoice,
  6541. /* [in] */ BSTR bszVoiceCaption,
  6542. /* [in] */ long bEnabled,
  6543. /* [in] */ long bVisible,
  6544. /* [in] */ long ulHelpId,
  6545. /* [in] */ long dwRefID,
  6546. /* [in] */ long bBefore,
  6547. /* [out] */ long __RPC_FAR *pdwID) = 0;
  6548. virtual HRESULT STDMETHODCALLTYPE SetGlobalVoiceCommandsEnabled(
  6549. /* [in] */ long bEnable) = 0;
  6550. virtual HRESULT STDMETHODCALLTYPE GetGlobalVoiceCommandsEnabled(
  6551. /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  6552. };
  6553. #else /* C style interface */
  6554. typedef struct IAgentCommandsExVtbl
  6555. {
  6556. BEGIN_INTERFACE
  6557. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  6558. IAgentCommandsEx __RPC_FAR * This,
  6559. /* [in] */ REFIID riid,
  6560. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6561. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  6562. IAgentCommandsEx __RPC_FAR * This);
  6563. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  6564. IAgentCommandsEx __RPC_FAR * This);
  6565. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  6566. IAgentCommandsEx __RPC_FAR * This,
  6567. /* [out] */ UINT __RPC_FAR *pctinfo);
  6568. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  6569. IAgentCommandsEx __RPC_FAR * This,
  6570. /* [in] */ UINT iTInfo,
  6571. /* [in] */ LCID lcid,
  6572. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  6573. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  6574. IAgentCommandsEx __RPC_FAR * This,
  6575. /* [in] */ REFIID riid,
  6576. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  6577. /* [in] */ UINT cNames,
  6578. /* [in] */ LCID lcid,
  6579. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  6580. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  6581. IAgentCommandsEx __RPC_FAR * This,
  6582. /* [in] */ DISPID dispIdMember,
  6583. /* [in] */ REFIID riid,
  6584. /* [in] */ LCID lcid,
  6585. /* [in] */ WORD wFlags,
  6586. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  6587. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  6588. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  6589. /* [out] */ UINT __RPC_FAR *puArgErr);
  6590. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCommand )(
  6591. IAgentCommandsEx __RPC_FAR * This,
  6592. /* [in] */ long dwCommandID,
  6593. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand);
  6594. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )(
  6595. IAgentCommandsEx __RPC_FAR * This,
  6596. /* [out] */ long __RPC_FAR *pdwCount);
  6597. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )(
  6598. IAgentCommandsEx __RPC_FAR * This,
  6599. /* [in] */ BSTR bszCaption);
  6600. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )(
  6601. IAgentCommandsEx __RPC_FAR * This,
  6602. /* [out] */ BSTR __RPC_FAR *pbszCaption);
  6603. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )(
  6604. IAgentCommandsEx __RPC_FAR * This,
  6605. /* [in] */ BSTR bszVoice);
  6606. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )(
  6607. IAgentCommandsEx __RPC_FAR * This,
  6608. /* [out] */ BSTR __RPC_FAR *pbszVoice);
  6609. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  6610. IAgentCommandsEx __RPC_FAR * This,
  6611. /* [in] */ long bVisible);
  6612. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  6613. IAgentCommandsEx __RPC_FAR * This,
  6614. /* [out] */ long __RPC_FAR *pbVisible);
  6615. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )(
  6616. IAgentCommandsEx __RPC_FAR * This,
  6617. /* [in] */ BSTR bszCaption,
  6618. /* [in] */ BSTR bszVoice,
  6619. /* [in] */ long bEnabled,
  6620. /* [in] */ long bVisible,
  6621. /* [out] */ long __RPC_FAR *pdwID);
  6622. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Insert )(
  6623. IAgentCommandsEx __RPC_FAR * This,
  6624. /* [in] */ BSTR bszCaption,
  6625. /* [in] */ BSTR bszVoice,
  6626. /* [in] */ long bEnabled,
  6627. /* [in] */ long bVisible,
  6628. /* [in] */ long dwRefID,
  6629. /* [in] */ long bBefore,
  6630. /* [out] */ long __RPC_FAR *pdwID);
  6631. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Remove )(
  6632. IAgentCommandsEx __RPC_FAR * This,
  6633. /* [in] */ long dwID);
  6634. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveAll )(
  6635. IAgentCommandsEx __RPC_FAR * This);
  6636. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCommandEx )(
  6637. IAgentCommandsEx __RPC_FAR * This,
  6638. /* [in] */ long dwCommandID,
  6639. /* [out] */ IAgentCommandEx __RPC_FAR *__RPC_FAR *ppCommandEx);
  6640. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDefaultID )(
  6641. IAgentCommandsEx __RPC_FAR * This,
  6642. /* [in] */ long dwID);
  6643. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDefaultID )(
  6644. IAgentCommandsEx __RPC_FAR * This,
  6645. /* [out] */ long __RPC_FAR *pdwID);
  6646. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpContextID )(
  6647. IAgentCommandsEx __RPC_FAR * This,
  6648. /* [in] */ long ulHelpID);
  6649. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpContextID )(
  6650. IAgentCommandsEx __RPC_FAR * This,
  6651. /* [out] */ long __RPC_FAR *pulHelpID);
  6652. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontName )(
  6653. IAgentCommandsEx __RPC_FAR * This,
  6654. /* [in] */ BSTR bszFontName);
  6655. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontName )(
  6656. IAgentCommandsEx __RPC_FAR * This,
  6657. /* [out] */ BSTR __RPC_FAR *pbszFontName);
  6658. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontSize )(
  6659. IAgentCommandsEx __RPC_FAR * This,
  6660. /* [in] */ long lFontSize);
  6661. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontSize )(
  6662. IAgentCommandsEx __RPC_FAR * This,
  6663. /* [out] */ long __RPC_FAR *lFontSize);
  6664. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoiceCaption )(
  6665. IAgentCommandsEx __RPC_FAR * This,
  6666. /* [in] */ BSTR bszVoiceCaption);
  6667. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoiceCaption )(
  6668. IAgentCommandsEx __RPC_FAR * This,
  6669. /* [out] */ BSTR __RPC_FAR *bszVoiceCaption);
  6670. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddEx )(
  6671. IAgentCommandsEx __RPC_FAR * This,
  6672. /* [in] */ BSTR bszCaption,
  6673. /* [in] */ BSTR bszVoice,
  6674. /* [in] */ BSTR bszVoiceCaption,
  6675. /* [in] */ long bEnabled,
  6676. /* [in] */ long bVisible,
  6677. /* [in] */ long ulHelpId,
  6678. /* [out] */ long __RPC_FAR *pdwID);
  6679. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InsertEx )(
  6680. IAgentCommandsEx __RPC_FAR * This,
  6681. /* [in] */ BSTR bszCaption,
  6682. /* [in] */ BSTR bszVoice,
  6683. /* [in] */ BSTR bszVoiceCaption,
  6684. /* [in] */ long bEnabled,
  6685. /* [in] */ long bVisible,
  6686. /* [in] */ long ulHelpId,
  6687. /* [in] */ long dwRefID,
  6688. /* [in] */ long bBefore,
  6689. /* [out] */ long __RPC_FAR *pdwID);
  6690. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetGlobalVoiceCommandsEnabled )(
  6691. IAgentCommandsEx __RPC_FAR * This,
  6692. /* [in] */ long bEnable);
  6693. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetGlobalVoiceCommandsEnabled )(
  6694. IAgentCommandsEx __RPC_FAR * This,
  6695. /* [out] */ long __RPC_FAR *pbEnabled);
  6696. END_INTERFACE
  6697. } IAgentCommandsExVtbl;
  6698. interface IAgentCommandsEx
  6699. {
  6700. CONST_VTBL struct IAgentCommandsExVtbl __RPC_FAR *lpVtbl;
  6701. };
  6702. #ifdef COBJMACROS
  6703. #define IAgentCommandsEx_QueryInterface(This,riid,ppvObject) \
  6704. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6705. #define IAgentCommandsEx_AddRef(This) \
  6706. (This)->lpVtbl -> AddRef(This)
  6707. #define IAgentCommandsEx_Release(This) \
  6708. (This)->lpVtbl -> Release(This)
  6709. #define IAgentCommandsEx_GetTypeInfoCount(This,pctinfo) \
  6710. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6711. #define IAgentCommandsEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6712. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6713. #define IAgentCommandsEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6714. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6715. #define IAgentCommandsEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6716. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6717. #define IAgentCommandsEx_GetCommand(This,dwCommandID,ppunkCommand) \
  6718. (This)->lpVtbl -> GetCommand(This,dwCommandID,ppunkCommand)
  6719. #define IAgentCommandsEx_GetCount(This,pdwCount) \
  6720. (This)->lpVtbl -> GetCount(This,pdwCount)
  6721. #define IAgentCommandsEx_SetCaption(This,bszCaption) \
  6722. (This)->lpVtbl -> SetCaption(This,bszCaption)
  6723. #define IAgentCommandsEx_GetCaption(This,pbszCaption) \
  6724. (This)->lpVtbl -> GetCaption(This,pbszCaption)
  6725. #define IAgentCommandsEx_SetVoice(This,bszVoice) \
  6726. (This)->lpVtbl -> SetVoice(This,bszVoice)
  6727. #define IAgentCommandsEx_GetVoice(This,pbszVoice) \
  6728. (This)->lpVtbl -> GetVoice(This,pbszVoice)
  6729. #define IAgentCommandsEx_SetVisible(This,bVisible) \
  6730. (This)->lpVtbl -> SetVisible(This,bVisible)
  6731. #define IAgentCommandsEx_GetVisible(This,pbVisible) \
  6732. (This)->lpVtbl -> GetVisible(This,pbVisible)
  6733. #define IAgentCommandsEx_Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID) \
  6734. (This)->lpVtbl -> Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID)
  6735. #define IAgentCommandsEx_Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID) \
  6736. (This)->lpVtbl -> Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID)
  6737. #define IAgentCommandsEx_Remove(This,dwID) \
  6738. (This)->lpVtbl -> Remove(This,dwID)
  6739. #define IAgentCommandsEx_RemoveAll(This) \
  6740. (This)->lpVtbl -> RemoveAll(This)
  6741. #define IAgentCommandsEx_GetCommandEx(This,dwCommandID,ppCommandEx) \
  6742. (This)->lpVtbl -> GetCommandEx(This,dwCommandID,ppCommandEx)
  6743. #define IAgentCommandsEx_SetDefaultID(This,dwID) \
  6744. (This)->lpVtbl -> SetDefaultID(This,dwID)
  6745. #define IAgentCommandsEx_GetDefaultID(This,pdwID) \
  6746. (This)->lpVtbl -> GetDefaultID(This,pdwID)
  6747. #define IAgentCommandsEx_SetHelpContextID(This,ulHelpID) \
  6748. (This)->lpVtbl -> SetHelpContextID(This,ulHelpID)
  6749. #define IAgentCommandsEx_GetHelpContextID(This,pulHelpID) \
  6750. (This)->lpVtbl -> GetHelpContextID(This,pulHelpID)
  6751. #define IAgentCommandsEx_SetFontName(This,bszFontName) \
  6752. (This)->lpVtbl -> SetFontName(This,bszFontName)
  6753. #define IAgentCommandsEx_GetFontName(This,pbszFontName) \
  6754. (This)->lpVtbl -> GetFontName(This,pbszFontName)
  6755. #define IAgentCommandsEx_SetFontSize(This,lFontSize) \
  6756. (This)->lpVtbl -> SetFontSize(This,lFontSize)
  6757. #define IAgentCommandsEx_GetFontSize(This,lFontSize) \
  6758. (This)->lpVtbl -> GetFontSize(This,lFontSize)
  6759. #define IAgentCommandsEx_SetVoiceCaption(This,bszVoiceCaption) \
  6760. (This)->lpVtbl -> SetVoiceCaption(This,bszVoiceCaption)
  6761. #define IAgentCommandsEx_GetVoiceCaption(This,bszVoiceCaption) \
  6762. (This)->lpVtbl -> GetVoiceCaption(This,bszVoiceCaption)
  6763. #define IAgentCommandsEx_AddEx(This,bszCaption,bszVoice,bszVoiceCaption,bEnabled,bVisible,ulHelpId,pdwID) \
  6764. (This)->lpVtbl -> AddEx(This,bszCaption,bszVoice,bszVoiceCaption,bEnabled,bVisible,ulHelpId,pdwID)
  6765. #define IAgentCommandsEx_InsertEx(This,bszCaption,bszVoice,bszVoiceCaption,bEnabled,bVisible,ulHelpId,dwRefID,bBefore,pdwID) \
  6766. (This)->lpVtbl -> InsertEx(This,bszCaption,bszVoice,bszVoiceCaption,bEnabled,bVisible,ulHelpId,dwRefID,bBefore,pdwID)
  6767. #define IAgentCommandsEx_SetGlobalVoiceCommandsEnabled(This,bEnable) \
  6768. (This)->lpVtbl -> SetGlobalVoiceCommandsEnabled(This,bEnable)
  6769. #define IAgentCommandsEx_GetGlobalVoiceCommandsEnabled(This,pbEnabled) \
  6770. (This)->lpVtbl -> GetGlobalVoiceCommandsEnabled(This,pbEnabled)
  6771. #endif /* COBJMACROS */
  6772. #endif /* C style interface */
  6773. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetCommandEx_Proxy(
  6774. IAgentCommandsEx __RPC_FAR * This,
  6775. /* [in] */ long dwCommandID,
  6776. /* [out] */ IAgentCommandEx __RPC_FAR *__RPC_FAR *ppCommandEx);
  6777. void __RPC_STUB IAgentCommandsEx_GetCommandEx_Stub(
  6778. IRpcStubBuffer *This,
  6779. IRpcChannelBuffer *_pRpcChannelBuffer,
  6780. PRPC_MESSAGE _pRpcMessage,
  6781. DWORD *_pdwStubPhase);
  6782. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetDefaultID_Proxy(
  6783. IAgentCommandsEx __RPC_FAR * This,
  6784. /* [in] */ long dwID);
  6785. void __RPC_STUB IAgentCommandsEx_SetDefaultID_Stub(
  6786. IRpcStubBuffer *This,
  6787. IRpcChannelBuffer *_pRpcChannelBuffer,
  6788. PRPC_MESSAGE _pRpcMessage,
  6789. DWORD *_pdwStubPhase);
  6790. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetDefaultID_Proxy(
  6791. IAgentCommandsEx __RPC_FAR * This,
  6792. /* [out] */ long __RPC_FAR *pdwID);
  6793. void __RPC_STUB IAgentCommandsEx_GetDefaultID_Stub(
  6794. IRpcStubBuffer *This,
  6795. IRpcChannelBuffer *_pRpcChannelBuffer,
  6796. PRPC_MESSAGE _pRpcMessage,
  6797. DWORD *_pdwStubPhase);
  6798. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetHelpContextID_Proxy(
  6799. IAgentCommandsEx __RPC_FAR * This,
  6800. /* [in] */ long ulHelpID);
  6801. void __RPC_STUB IAgentCommandsEx_SetHelpContextID_Stub(
  6802. IRpcStubBuffer *This,
  6803. IRpcChannelBuffer *_pRpcChannelBuffer,
  6804. PRPC_MESSAGE _pRpcMessage,
  6805. DWORD *_pdwStubPhase);
  6806. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetHelpContextID_Proxy(
  6807. IAgentCommandsEx __RPC_FAR * This,
  6808. /* [out] */ long __RPC_FAR *pulHelpID);
  6809. void __RPC_STUB IAgentCommandsEx_GetHelpContextID_Stub(
  6810. IRpcStubBuffer *This,
  6811. IRpcChannelBuffer *_pRpcChannelBuffer,
  6812. PRPC_MESSAGE _pRpcMessage,
  6813. DWORD *_pdwStubPhase);
  6814. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetFontName_Proxy(
  6815. IAgentCommandsEx __RPC_FAR * This,
  6816. /* [in] */ BSTR bszFontName);
  6817. void __RPC_STUB IAgentCommandsEx_SetFontName_Stub(
  6818. IRpcStubBuffer *This,
  6819. IRpcChannelBuffer *_pRpcChannelBuffer,
  6820. PRPC_MESSAGE _pRpcMessage,
  6821. DWORD *_pdwStubPhase);
  6822. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetFontName_Proxy(
  6823. IAgentCommandsEx __RPC_FAR * This,
  6824. /* [out] */ BSTR __RPC_FAR *pbszFontName);
  6825. void __RPC_STUB IAgentCommandsEx_GetFontName_Stub(
  6826. IRpcStubBuffer *This,
  6827. IRpcChannelBuffer *_pRpcChannelBuffer,
  6828. PRPC_MESSAGE _pRpcMessage,
  6829. DWORD *_pdwStubPhase);
  6830. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetFontSize_Proxy(
  6831. IAgentCommandsEx __RPC_FAR * This,
  6832. /* [in] */ long lFontSize);
  6833. void __RPC_STUB IAgentCommandsEx_SetFontSize_Stub(
  6834. IRpcStubBuffer *This,
  6835. IRpcChannelBuffer *_pRpcChannelBuffer,
  6836. PRPC_MESSAGE _pRpcMessage,
  6837. DWORD *_pdwStubPhase);
  6838. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetFontSize_Proxy(
  6839. IAgentCommandsEx __RPC_FAR * This,
  6840. /* [out] */ long __RPC_FAR *lFontSize);
  6841. void __RPC_STUB IAgentCommandsEx_GetFontSize_Stub(
  6842. IRpcStubBuffer *This,
  6843. IRpcChannelBuffer *_pRpcChannelBuffer,
  6844. PRPC_MESSAGE _pRpcMessage,
  6845. DWORD *_pdwStubPhase);
  6846. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetVoiceCaption_Proxy(
  6847. IAgentCommandsEx __RPC_FAR * This,
  6848. /* [in] */ BSTR bszVoiceCaption);
  6849. void __RPC_STUB IAgentCommandsEx_SetVoiceCaption_Stub(
  6850. IRpcStubBuffer *This,
  6851. IRpcChannelBuffer *_pRpcChannelBuffer,
  6852. PRPC_MESSAGE _pRpcMessage,
  6853. DWORD *_pdwStubPhase);
  6854. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetVoiceCaption_Proxy(
  6855. IAgentCommandsEx __RPC_FAR * This,
  6856. /* [out] */ BSTR __RPC_FAR *bszVoiceCaption);
  6857. void __RPC_STUB IAgentCommandsEx_GetVoiceCaption_Stub(
  6858. IRpcStubBuffer *This,
  6859. IRpcChannelBuffer *_pRpcChannelBuffer,
  6860. PRPC_MESSAGE _pRpcMessage,
  6861. DWORD *_pdwStubPhase);
  6862. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_AddEx_Proxy(
  6863. IAgentCommandsEx __RPC_FAR * This,
  6864. /* [in] */ BSTR bszCaption,
  6865. /* [in] */ BSTR bszVoice,
  6866. /* [in] */ BSTR bszVoiceCaption,
  6867. /* [in] */ long bEnabled,
  6868. /* [in] */ long bVisible,
  6869. /* [in] */ long ulHelpId,
  6870. /* [out] */ long __RPC_FAR *pdwID);
  6871. void __RPC_STUB IAgentCommandsEx_AddEx_Stub(
  6872. IRpcStubBuffer *This,
  6873. IRpcChannelBuffer *_pRpcChannelBuffer,
  6874. PRPC_MESSAGE _pRpcMessage,
  6875. DWORD *_pdwStubPhase);
  6876. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_InsertEx_Proxy(
  6877. IAgentCommandsEx __RPC_FAR * This,
  6878. /* [in] */ BSTR bszCaption,
  6879. /* [in] */ BSTR bszVoice,
  6880. /* [in] */ BSTR bszVoiceCaption,
  6881. /* [in] */ long bEnabled,
  6882. /* [in] */ long bVisible,
  6883. /* [in] */ long ulHelpId,
  6884. /* [in] */ long dwRefID,
  6885. /* [in] */ long bBefore,
  6886. /* [out] */ long __RPC_FAR *pdwID);
  6887. void __RPC_STUB IAgentCommandsEx_InsertEx_Stub(
  6888. IRpcStubBuffer *This,
  6889. IRpcChannelBuffer *_pRpcChannelBuffer,
  6890. PRPC_MESSAGE _pRpcMessage,
  6891. DWORD *_pdwStubPhase);
  6892. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetGlobalVoiceCommandsEnabled_Proxy(
  6893. IAgentCommandsEx __RPC_FAR * This,
  6894. /* [in] */ long bEnable);
  6895. void __RPC_STUB IAgentCommandsEx_SetGlobalVoiceCommandsEnabled_Stub(
  6896. IRpcStubBuffer *This,
  6897. IRpcChannelBuffer *_pRpcChannelBuffer,
  6898. PRPC_MESSAGE _pRpcMessage,
  6899. DWORD *_pdwStubPhase);
  6900. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetGlobalVoiceCommandsEnabled_Proxy(
  6901. IAgentCommandsEx __RPC_FAR * This,
  6902. /* [out] */ long __RPC_FAR *pbEnabled);
  6903. void __RPC_STUB IAgentCommandsEx_GetGlobalVoiceCommandsEnabled_Stub(
  6904. IRpcStubBuffer *This,
  6905. IRpcChannelBuffer *_pRpcChannelBuffer,
  6906. PRPC_MESSAGE _pRpcMessage,
  6907. DWORD *_pdwStubPhase);
  6908. #endif /* __IAgentCommandsEx_INTERFACE_DEFINED__ */
  6909. #ifndef __IAgentCommandWindow_INTERFACE_DEFINED__
  6910. #define __IAgentCommandWindow_INTERFACE_DEFINED__
  6911. /* interface IAgentCommandWindow */
  6912. /* [unique][helpstring][dual][uuid][object] */
  6913. EXTERN_C const IID IID_IAgentCommandWindow;
  6914. #if defined(__cplusplus) && !defined(CINTERFACE)
  6915. MIDL_INTERFACE("6D0ECB23-9968-11D0-AC6E-00C04FD97575")
  6916. IAgentCommandWindow : public IDispatch
  6917. {
  6918. public:
  6919. virtual HRESULT STDMETHODCALLTYPE SetVisible(
  6920. /* [in] */ long bVisible) = 0;
  6921. virtual HRESULT STDMETHODCALLTYPE GetVisible(
  6922. /* [out] */ long __RPC_FAR *pbVisible) = 0;
  6923. virtual HRESULT STDMETHODCALLTYPE GetPosition(
  6924. /* [out] */ long __RPC_FAR *plLeft,
  6925. /* [out] */ long __RPC_FAR *plTop) = 0;
  6926. virtual HRESULT STDMETHODCALLTYPE GetSize(
  6927. /* [out] */ long __RPC_FAR *plWidth,
  6928. /* [out] */ long __RPC_FAR *plHeight) = 0;
  6929. };
  6930. #else /* C style interface */
  6931. typedef struct IAgentCommandWindowVtbl
  6932. {
  6933. BEGIN_INTERFACE
  6934. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  6935. IAgentCommandWindow __RPC_FAR * This,
  6936. /* [in] */ REFIID riid,
  6937. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6938. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  6939. IAgentCommandWindow __RPC_FAR * This);
  6940. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  6941. IAgentCommandWindow __RPC_FAR * This);
  6942. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  6943. IAgentCommandWindow __RPC_FAR * This,
  6944. /* [out] */ UINT __RPC_FAR *pctinfo);
  6945. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  6946. IAgentCommandWindow __RPC_FAR * This,
  6947. /* [in] */ UINT iTInfo,
  6948. /* [in] */ LCID lcid,
  6949. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  6950. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  6951. IAgentCommandWindow __RPC_FAR * This,
  6952. /* [in] */ REFIID riid,
  6953. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  6954. /* [in] */ UINT cNames,
  6955. /* [in] */ LCID lcid,
  6956. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  6957. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  6958. IAgentCommandWindow __RPC_FAR * This,
  6959. /* [in] */ DISPID dispIdMember,
  6960. /* [in] */ REFIID riid,
  6961. /* [in] */ LCID lcid,
  6962. /* [in] */ WORD wFlags,
  6963. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  6964. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  6965. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  6966. /* [out] */ UINT __RPC_FAR *puArgErr);
  6967. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  6968. IAgentCommandWindow __RPC_FAR * This,
  6969. /* [in] */ long bVisible);
  6970. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  6971. IAgentCommandWindow __RPC_FAR * This,
  6972. /* [out] */ long __RPC_FAR *pbVisible);
  6973. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )(
  6974. IAgentCommandWindow __RPC_FAR * This,
  6975. /* [out] */ long __RPC_FAR *plLeft,
  6976. /* [out] */ long __RPC_FAR *plTop);
  6977. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )(
  6978. IAgentCommandWindow __RPC_FAR * This,
  6979. /* [out] */ long __RPC_FAR *plWidth,
  6980. /* [out] */ long __RPC_FAR *plHeight);
  6981. END_INTERFACE
  6982. } IAgentCommandWindowVtbl;
  6983. interface IAgentCommandWindow
  6984. {
  6985. CONST_VTBL struct IAgentCommandWindowVtbl __RPC_FAR *lpVtbl;
  6986. };
  6987. #ifdef COBJMACROS
  6988. #define IAgentCommandWindow_QueryInterface(This,riid,ppvObject) \
  6989. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6990. #define IAgentCommandWindow_AddRef(This) \
  6991. (This)->lpVtbl -> AddRef(This)
  6992. #define IAgentCommandWindow_Release(This) \
  6993. (This)->lpVtbl -> Release(This)
  6994. #define IAgentCommandWindow_GetTypeInfoCount(This,pctinfo) \
  6995. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6996. #define IAgentCommandWindow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6997. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6998. #define IAgentCommandWindow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6999. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7000. #define IAgentCommandWindow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7001. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7002. #define IAgentCommandWindow_SetVisible(This,bVisible) \
  7003. (This)->lpVtbl -> SetVisible(This,bVisible)
  7004. #define IAgentCommandWindow_GetVisible(This,pbVisible) \
  7005. (This)->lpVtbl -> GetVisible(This,pbVisible)
  7006. #define IAgentCommandWindow_GetPosition(This,plLeft,plTop) \
  7007. (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  7008. #define IAgentCommandWindow_GetSize(This,plWidth,plHeight) \
  7009. (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  7010. #endif /* COBJMACROS */
  7011. #endif /* C style interface */
  7012. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_SetVisible_Proxy(
  7013. IAgentCommandWindow __RPC_FAR * This,
  7014. /* [in] */ long bVisible);
  7015. void __RPC_STUB IAgentCommandWindow_SetVisible_Stub(
  7016. IRpcStubBuffer *This,
  7017. IRpcChannelBuffer *_pRpcChannelBuffer,
  7018. PRPC_MESSAGE _pRpcMessage,
  7019. DWORD *_pdwStubPhase);
  7020. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_GetVisible_Proxy(
  7021. IAgentCommandWindow __RPC_FAR * This,
  7022. /* [out] */ long __RPC_FAR *pbVisible);
  7023. void __RPC_STUB IAgentCommandWindow_GetVisible_Stub(
  7024. IRpcStubBuffer *This,
  7025. IRpcChannelBuffer *_pRpcChannelBuffer,
  7026. PRPC_MESSAGE _pRpcMessage,
  7027. DWORD *_pdwStubPhase);
  7028. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_GetPosition_Proxy(
  7029. IAgentCommandWindow __RPC_FAR * This,
  7030. /* [out] */ long __RPC_FAR *plLeft,
  7031. /* [out] */ long __RPC_FAR *plTop);
  7032. void __RPC_STUB IAgentCommandWindow_GetPosition_Stub(
  7033. IRpcStubBuffer *This,
  7034. IRpcChannelBuffer *_pRpcChannelBuffer,
  7035. PRPC_MESSAGE _pRpcMessage,
  7036. DWORD *_pdwStubPhase);
  7037. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_GetSize_Proxy(
  7038. IAgentCommandWindow __RPC_FAR * This,
  7039. /* [out] */ long __RPC_FAR *plWidth,
  7040. /* [out] */ long __RPC_FAR *plHeight);
  7041. void __RPC_STUB IAgentCommandWindow_GetSize_Stub(
  7042. IRpcStubBuffer *This,
  7043. IRpcChannelBuffer *_pRpcChannelBuffer,
  7044. PRPC_MESSAGE _pRpcMessage,
  7045. DWORD *_pdwStubPhase);
  7046. #endif /* __IAgentCommandWindow_INTERFACE_DEFINED__ */
  7047. #ifndef __IAgentSpeechInputProperties_INTERFACE_DEFINED__
  7048. #define __IAgentSpeechInputProperties_INTERFACE_DEFINED__
  7049. /* interface IAgentSpeechInputProperties */
  7050. /* [unique][helpstring][dual][uuid][object] */
  7051. EXTERN_C const IID IID_IAgentSpeechInputProperties;
  7052. #if defined(__cplusplus) && !defined(CINTERFACE)
  7053. MIDL_INTERFACE("A7B93C87-7B81-11D0-AC5F-00C04FD97575")
  7054. IAgentSpeechInputProperties : public IDispatch
  7055. {
  7056. public:
  7057. virtual HRESULT STDMETHODCALLTYPE GetInstalled(
  7058. /* [out] */ long __RPC_FAR *pbInstalled) = 0;
  7059. virtual HRESULT STDMETHODCALLTYPE GetEnabled(
  7060. /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  7061. virtual HRESULT STDMETHODCALLTYPE GetHotKey(
  7062. /* [out] */ BSTR __RPC_FAR *pbszHotCharKey) = 0;
  7063. virtual HRESULT STDMETHODCALLTYPE GetLCID(
  7064. /* [out] */ LCID __RPC_FAR *plcidCurrent) = 0;
  7065. virtual HRESULT STDMETHODCALLTYPE GetEngine(
  7066. /* [out] */ BSTR __RPC_FAR *pbszEngine) = 0;
  7067. virtual HRESULT STDMETHODCALLTYPE SetEngine(
  7068. /* [in] */ BSTR bszEngine) = 0;
  7069. virtual HRESULT STDMETHODCALLTYPE GetListeningTip(
  7070. /* [out] */ long __RPC_FAR *pbListeningTip) = 0;
  7071. };
  7072. #else /* C style interface */
  7073. typedef struct IAgentSpeechInputPropertiesVtbl
  7074. {
  7075. BEGIN_INTERFACE
  7076. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  7077. IAgentSpeechInputProperties __RPC_FAR * This,
  7078. /* [in] */ REFIID riid,
  7079. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7080. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  7081. IAgentSpeechInputProperties __RPC_FAR * This);
  7082. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  7083. IAgentSpeechInputProperties __RPC_FAR * This);
  7084. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  7085. IAgentSpeechInputProperties __RPC_FAR * This,
  7086. /* [out] */ UINT __RPC_FAR *pctinfo);
  7087. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  7088. IAgentSpeechInputProperties __RPC_FAR * This,
  7089. /* [in] */ UINT iTInfo,
  7090. /* [in] */ LCID lcid,
  7091. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  7092. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  7093. IAgentSpeechInputProperties __RPC_FAR * This,
  7094. /* [in] */ REFIID riid,
  7095. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  7096. /* [in] */ UINT cNames,
  7097. /* [in] */ LCID lcid,
  7098. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  7099. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  7100. IAgentSpeechInputProperties __RPC_FAR * This,
  7101. /* [in] */ DISPID dispIdMember,
  7102. /* [in] */ REFIID riid,
  7103. /* [in] */ LCID lcid,
  7104. /* [in] */ WORD wFlags,
  7105. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  7106. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  7107. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  7108. /* [out] */ UINT __RPC_FAR *puArgErr);
  7109. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetInstalled )(
  7110. IAgentSpeechInputProperties __RPC_FAR * This,
  7111. /* [out] */ long __RPC_FAR *pbInstalled);
  7112. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  7113. IAgentSpeechInputProperties __RPC_FAR * This,
  7114. /* [out] */ long __RPC_FAR *pbEnabled);
  7115. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHotKey )(
  7116. IAgentSpeechInputProperties __RPC_FAR * This,
  7117. /* [out] */ BSTR __RPC_FAR *pbszHotCharKey);
  7118. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLCID )(
  7119. IAgentSpeechInputProperties __RPC_FAR * This,
  7120. /* [out] */ LCID __RPC_FAR *plcidCurrent);
  7121. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEngine )(
  7122. IAgentSpeechInputProperties __RPC_FAR * This,
  7123. /* [out] */ BSTR __RPC_FAR *pbszEngine);
  7124. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEngine )(
  7125. IAgentSpeechInputProperties __RPC_FAR * This,
  7126. /* [in] */ BSTR bszEngine);
  7127. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetListeningTip )(
  7128. IAgentSpeechInputProperties __RPC_FAR * This,
  7129. /* [out] */ long __RPC_FAR *pbListeningTip);
  7130. END_INTERFACE
  7131. } IAgentSpeechInputPropertiesVtbl;
  7132. interface IAgentSpeechInputProperties
  7133. {
  7134. CONST_VTBL struct IAgentSpeechInputPropertiesVtbl __RPC_FAR *lpVtbl;
  7135. };
  7136. #ifdef COBJMACROS
  7137. #define IAgentSpeechInputProperties_QueryInterface(This,riid,ppvObject) \
  7138. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7139. #define IAgentSpeechInputProperties_AddRef(This) \
  7140. (This)->lpVtbl -> AddRef(This)
  7141. #define IAgentSpeechInputProperties_Release(This) \
  7142. (This)->lpVtbl -> Release(This)
  7143. #define IAgentSpeechInputProperties_GetTypeInfoCount(This,pctinfo) \
  7144. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7145. #define IAgentSpeechInputProperties_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7146. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7147. #define IAgentSpeechInputProperties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7148. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7149. #define IAgentSpeechInputProperties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7150. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7151. #define IAgentSpeechInputProperties_GetInstalled(This,pbInstalled) \
  7152. (This)->lpVtbl -> GetInstalled(This,pbInstalled)
  7153. #define IAgentSpeechInputProperties_GetEnabled(This,pbEnabled) \
  7154. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  7155. #define IAgentSpeechInputProperties_GetHotKey(This,pbszHotCharKey) \
  7156. (This)->lpVtbl -> GetHotKey(This,pbszHotCharKey)
  7157. #define IAgentSpeechInputProperties_GetLCID(This,plcidCurrent) \
  7158. (This)->lpVtbl -> GetLCID(This,plcidCurrent)
  7159. #define IAgentSpeechInputProperties_GetEngine(This,pbszEngine) \
  7160. (This)->lpVtbl -> GetEngine(This,pbszEngine)
  7161. #define IAgentSpeechInputProperties_SetEngine(This,bszEngine) \
  7162. (This)->lpVtbl -> SetEngine(This,bszEngine)
  7163. #define IAgentSpeechInputProperties_GetListeningTip(This,pbListeningTip) \
  7164. (This)->lpVtbl -> GetListeningTip(This,pbListeningTip)
  7165. #endif /* COBJMACROS */
  7166. #endif /* C style interface */
  7167. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetInstalled_Proxy(
  7168. IAgentSpeechInputProperties __RPC_FAR * This,
  7169. /* [out] */ long __RPC_FAR *pbInstalled);
  7170. void __RPC_STUB IAgentSpeechInputProperties_GetInstalled_Stub(
  7171. IRpcStubBuffer *This,
  7172. IRpcChannelBuffer *_pRpcChannelBuffer,
  7173. PRPC_MESSAGE _pRpcMessage,
  7174. DWORD *_pdwStubPhase);
  7175. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetEnabled_Proxy(
  7176. IAgentSpeechInputProperties __RPC_FAR * This,
  7177. /* [out] */ long __RPC_FAR *pbEnabled);
  7178. void __RPC_STUB IAgentSpeechInputProperties_GetEnabled_Stub(
  7179. IRpcStubBuffer *This,
  7180. IRpcChannelBuffer *_pRpcChannelBuffer,
  7181. PRPC_MESSAGE _pRpcMessage,
  7182. DWORD *_pdwStubPhase);
  7183. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetHotKey_Proxy(
  7184. IAgentSpeechInputProperties __RPC_FAR * This,
  7185. /* [out] */ BSTR __RPC_FAR *pbszHotCharKey);
  7186. void __RPC_STUB IAgentSpeechInputProperties_GetHotKey_Stub(
  7187. IRpcStubBuffer *This,
  7188. IRpcChannelBuffer *_pRpcChannelBuffer,
  7189. PRPC_MESSAGE _pRpcMessage,
  7190. DWORD *_pdwStubPhase);
  7191. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetLCID_Proxy(
  7192. IAgentSpeechInputProperties __RPC_FAR * This,
  7193. /* [out] */ LCID __RPC_FAR *plcidCurrent);
  7194. void __RPC_STUB IAgentSpeechInputProperties_GetLCID_Stub(
  7195. IRpcStubBuffer *This,
  7196. IRpcChannelBuffer *_pRpcChannelBuffer,
  7197. PRPC_MESSAGE _pRpcMessage,
  7198. DWORD *_pdwStubPhase);
  7199. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetEngine_Proxy(
  7200. IAgentSpeechInputProperties __RPC_FAR * This,
  7201. /* [out] */ BSTR __RPC_FAR *pbszEngine);
  7202. void __RPC_STUB IAgentSpeechInputProperties_GetEngine_Stub(
  7203. IRpcStubBuffer *This,
  7204. IRpcChannelBuffer *_pRpcChannelBuffer,
  7205. PRPC_MESSAGE _pRpcMessage,
  7206. DWORD *_pdwStubPhase);
  7207. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_SetEngine_Proxy(
  7208. IAgentSpeechInputProperties __RPC_FAR * This,
  7209. /* [in] */ BSTR bszEngine);
  7210. void __RPC_STUB IAgentSpeechInputProperties_SetEngine_Stub(
  7211. IRpcStubBuffer *This,
  7212. IRpcChannelBuffer *_pRpcChannelBuffer,
  7213. PRPC_MESSAGE _pRpcMessage,
  7214. DWORD *_pdwStubPhase);
  7215. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetListeningTip_Proxy(
  7216. IAgentSpeechInputProperties __RPC_FAR * This,
  7217. /* [out] */ long __RPC_FAR *pbListeningTip);
  7218. void __RPC_STUB IAgentSpeechInputProperties_GetListeningTip_Stub(
  7219. IRpcStubBuffer *This,
  7220. IRpcChannelBuffer *_pRpcChannelBuffer,
  7221. PRPC_MESSAGE _pRpcMessage,
  7222. DWORD *_pdwStubPhase);
  7223. #endif /* __IAgentSpeechInputProperties_INTERFACE_DEFINED__ */
  7224. #ifndef __IAgentAudioOutputProperties_INTERFACE_DEFINED__
  7225. #define __IAgentAudioOutputProperties_INTERFACE_DEFINED__
  7226. /* interface IAgentAudioOutputProperties */
  7227. /* [unique][helpstring][dual][uuid][object] */
  7228. EXTERN_C const IID IID_IAgentAudioOutputProperties;
  7229. #if defined(__cplusplus) && !defined(CINTERFACE)
  7230. MIDL_INTERFACE("A7B93C89-7B81-11D0-AC5F-00C04FD97575")
  7231. IAgentAudioOutputProperties : public IDispatch
  7232. {
  7233. public:
  7234. virtual HRESULT STDMETHODCALLTYPE GetEnabled(
  7235. /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  7236. virtual HRESULT STDMETHODCALLTYPE GetUsingSoundEffects(
  7237. /* [out] */ long __RPC_FAR *pbUsingSoundEffects) = 0;
  7238. };
  7239. #else /* C style interface */
  7240. typedef struct IAgentAudioOutputPropertiesVtbl
  7241. {
  7242. BEGIN_INTERFACE
  7243. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  7244. IAgentAudioOutputProperties __RPC_FAR * This,
  7245. /* [in] */ REFIID riid,
  7246. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7247. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  7248. IAgentAudioOutputProperties __RPC_FAR * This);
  7249. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  7250. IAgentAudioOutputProperties __RPC_FAR * This);
  7251. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  7252. IAgentAudioOutputProperties __RPC_FAR * This,
  7253. /* [out] */ UINT __RPC_FAR *pctinfo);
  7254. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  7255. IAgentAudioOutputProperties __RPC_FAR * This,
  7256. /* [in] */ UINT iTInfo,
  7257. /* [in] */ LCID lcid,
  7258. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  7259. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  7260. IAgentAudioOutputProperties __RPC_FAR * This,
  7261. /* [in] */ REFIID riid,
  7262. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  7263. /* [in] */ UINT cNames,
  7264. /* [in] */ LCID lcid,
  7265. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  7266. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  7267. IAgentAudioOutputProperties __RPC_FAR * This,
  7268. /* [in] */ DISPID dispIdMember,
  7269. /* [in] */ REFIID riid,
  7270. /* [in] */ LCID lcid,
  7271. /* [in] */ WORD wFlags,
  7272. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  7273. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  7274. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  7275. /* [out] */ UINT __RPC_FAR *puArgErr);
  7276. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  7277. IAgentAudioOutputProperties __RPC_FAR * This,
  7278. /* [out] */ long __RPC_FAR *pbEnabled);
  7279. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUsingSoundEffects )(
  7280. IAgentAudioOutputProperties __RPC_FAR * This,
  7281. /* [out] */ long __RPC_FAR *pbUsingSoundEffects);
  7282. END_INTERFACE
  7283. } IAgentAudioOutputPropertiesVtbl;
  7284. interface IAgentAudioOutputProperties
  7285. {
  7286. CONST_VTBL struct IAgentAudioOutputPropertiesVtbl __RPC_FAR *lpVtbl;
  7287. };
  7288. #ifdef COBJMACROS
  7289. #define IAgentAudioOutputProperties_QueryInterface(This,riid,ppvObject) \
  7290. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7291. #define IAgentAudioOutputProperties_AddRef(This) \
  7292. (This)->lpVtbl -> AddRef(This)
  7293. #define IAgentAudioOutputProperties_Release(This) \
  7294. (This)->lpVtbl -> Release(This)
  7295. #define IAgentAudioOutputProperties_GetTypeInfoCount(This,pctinfo) \
  7296. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7297. #define IAgentAudioOutputProperties_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7298. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7299. #define IAgentAudioOutputProperties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7300. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7301. #define IAgentAudioOutputProperties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7302. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7303. #define IAgentAudioOutputProperties_GetEnabled(This,pbEnabled) \
  7304. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  7305. #define IAgentAudioOutputProperties_GetUsingSoundEffects(This,pbUsingSoundEffects) \
  7306. (This)->lpVtbl -> GetUsingSoundEffects(This,pbUsingSoundEffects)
  7307. #endif /* COBJMACROS */
  7308. #endif /* C style interface */
  7309. HRESULT STDMETHODCALLTYPE IAgentAudioOutputProperties_GetEnabled_Proxy(
  7310. IAgentAudioOutputProperties __RPC_FAR * This,
  7311. /* [out] */ long __RPC_FAR *pbEnabled);
  7312. void __RPC_STUB IAgentAudioOutputProperties_GetEnabled_Stub(
  7313. IRpcStubBuffer *This,
  7314. IRpcChannelBuffer *_pRpcChannelBuffer,
  7315. PRPC_MESSAGE _pRpcMessage,
  7316. DWORD *_pdwStubPhase);
  7317. HRESULT STDMETHODCALLTYPE IAgentAudioOutputProperties_GetUsingSoundEffects_Proxy(
  7318. IAgentAudioOutputProperties __RPC_FAR * This,
  7319. /* [out] */ long __RPC_FAR *pbUsingSoundEffects);
  7320. void __RPC_STUB IAgentAudioOutputProperties_GetUsingSoundEffects_Stub(
  7321. IRpcStubBuffer *This,
  7322. IRpcChannelBuffer *_pRpcChannelBuffer,
  7323. PRPC_MESSAGE _pRpcMessage,
  7324. DWORD *_pdwStubPhase);
  7325. #endif /* __IAgentAudioOutputProperties_INTERFACE_DEFINED__ */
  7326. #ifndef __IAgentAudioOutputPropertiesEx_INTERFACE_DEFINED__
  7327. #define __IAgentAudioOutputPropertiesEx_INTERFACE_DEFINED__
  7328. /* interface IAgentAudioOutputPropertiesEx */
  7329. /* [unique][helpstring][dual][uuid][object] */
  7330. EXTERN_C const IID IID_IAgentAudioOutputPropertiesEx;
  7331. #if defined(__cplusplus) && !defined(CINTERFACE)
  7332. MIDL_INTERFACE("A7B93CA0-7B81-11D0-AC5F-00C04FD97575")
  7333. IAgentAudioOutputPropertiesEx : public IAgentAudioOutputProperties
  7334. {
  7335. public:
  7336. virtual HRESULT STDMETHODCALLTYPE GetStatus(
  7337. /* [out] */ long __RPC_FAR *plStatus) = 0;
  7338. };
  7339. #else /* C style interface */
  7340. typedef struct IAgentAudioOutputPropertiesExVtbl
  7341. {
  7342. BEGIN_INTERFACE
  7343. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  7344. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  7345. /* [in] */ REFIID riid,
  7346. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7347. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  7348. IAgentAudioOutputPropertiesEx __RPC_FAR * This);
  7349. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  7350. IAgentAudioOutputPropertiesEx __RPC_FAR * This);
  7351. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  7352. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  7353. /* [out] */ UINT __RPC_FAR *pctinfo);
  7354. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  7355. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  7356. /* [in] */ UINT iTInfo,
  7357. /* [in] */ LCID lcid,
  7358. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  7359. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  7360. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  7361. /* [in] */ REFIID riid,
  7362. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  7363. /* [in] */ UINT cNames,
  7364. /* [in] */ LCID lcid,
  7365. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  7366. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  7367. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  7368. /* [in] */ DISPID dispIdMember,
  7369. /* [in] */ REFIID riid,
  7370. /* [in] */ LCID lcid,
  7371. /* [in] */ WORD wFlags,
  7372. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  7373. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  7374. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  7375. /* [out] */ UINT __RPC_FAR *puArgErr);
  7376. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  7377. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  7378. /* [out] */ long __RPC_FAR *pbEnabled);
  7379. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUsingSoundEffects )(
  7380. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  7381. /* [out] */ long __RPC_FAR *pbUsingSoundEffects);
  7382. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStatus )(
  7383. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  7384. /* [out] */ long __RPC_FAR *plStatus);
  7385. END_INTERFACE
  7386. } IAgentAudioOutputPropertiesExVtbl;
  7387. interface IAgentAudioOutputPropertiesEx
  7388. {
  7389. CONST_VTBL struct IAgentAudioOutputPropertiesExVtbl __RPC_FAR *lpVtbl;
  7390. };
  7391. #ifdef COBJMACROS
  7392. #define IAgentAudioOutputPropertiesEx_QueryInterface(This,riid,ppvObject) \
  7393. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7394. #define IAgentAudioOutputPropertiesEx_AddRef(This) \
  7395. (This)->lpVtbl -> AddRef(This)
  7396. #define IAgentAudioOutputPropertiesEx_Release(This) \
  7397. (This)->lpVtbl -> Release(This)
  7398. #define IAgentAudioOutputPropertiesEx_GetTypeInfoCount(This,pctinfo) \
  7399. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7400. #define IAgentAudioOutputPropertiesEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7401. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7402. #define IAgentAudioOutputPropertiesEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7403. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7404. #define IAgentAudioOutputPropertiesEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7405. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7406. #define IAgentAudioOutputPropertiesEx_GetEnabled(This,pbEnabled) \
  7407. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  7408. #define IAgentAudioOutputPropertiesEx_GetUsingSoundEffects(This,pbUsingSoundEffects) \
  7409. (This)->lpVtbl -> GetUsingSoundEffects(This,pbUsingSoundEffects)
  7410. #define IAgentAudioOutputPropertiesEx_GetStatus(This,plStatus) \
  7411. (This)->lpVtbl -> GetStatus(This,plStatus)
  7412. #endif /* COBJMACROS */
  7413. #endif /* C style interface */
  7414. HRESULT STDMETHODCALLTYPE IAgentAudioOutputPropertiesEx_GetStatus_Proxy(
  7415. IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  7416. /* [out] */ long __RPC_FAR *plStatus);
  7417. void __RPC_STUB IAgentAudioOutputPropertiesEx_GetStatus_Stub(
  7418. IRpcStubBuffer *This,
  7419. IRpcChannelBuffer *_pRpcChannelBuffer,
  7420. PRPC_MESSAGE _pRpcMessage,
  7421. DWORD *_pdwStubPhase);
  7422. #endif /* __IAgentAudioOutputPropertiesEx_INTERFACE_DEFINED__ */
  7423. #ifndef __IAgentPropertySheet_INTERFACE_DEFINED__
  7424. #define __IAgentPropertySheet_INTERFACE_DEFINED__
  7425. /* interface IAgentPropertySheet */
  7426. /* [unique][helpstring][dual][uuid][object] */
  7427. EXTERN_C const IID IID_IAgentPropertySheet;
  7428. #if defined(__cplusplus) && !defined(CINTERFACE)
  7429. MIDL_INTERFACE("A7B93C8B-7B81-11D0-AC5F-00C04FD97575")
  7430. IAgentPropertySheet : public IDispatch
  7431. {
  7432. public:
  7433. virtual HRESULT STDMETHODCALLTYPE GetVisible(
  7434. /* [out] */ long __RPC_FAR *pbVisible) = 0;
  7435. virtual HRESULT STDMETHODCALLTYPE SetVisible(
  7436. /* [in] */ long bVisible) = 0;
  7437. virtual HRESULT STDMETHODCALLTYPE GetPosition(
  7438. /* [out] */ long __RPC_FAR *plLeft,
  7439. /* [out] */ long __RPC_FAR *plTop) = 0;
  7440. virtual HRESULT STDMETHODCALLTYPE GetSize(
  7441. /* [out] */ long __RPC_FAR *plWidth,
  7442. /* [out] */ long __RPC_FAR *plHeight) = 0;
  7443. virtual HRESULT STDMETHODCALLTYPE GetPage(
  7444. /* [out] */ BSTR __RPC_FAR *pbszPage) = 0;
  7445. virtual HRESULT STDMETHODCALLTYPE SetPage(
  7446. /* [in] */ BSTR bszPage) = 0;
  7447. };
  7448. #else /* C style interface */
  7449. typedef struct IAgentPropertySheetVtbl
  7450. {
  7451. BEGIN_INTERFACE
  7452. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  7453. IAgentPropertySheet __RPC_FAR * This,
  7454. /* [in] */ REFIID riid,
  7455. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7456. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  7457. IAgentPropertySheet __RPC_FAR * This);
  7458. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  7459. IAgentPropertySheet __RPC_FAR * This);
  7460. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  7461. IAgentPropertySheet __RPC_FAR * This,
  7462. /* [out] */ UINT __RPC_FAR *pctinfo);
  7463. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  7464. IAgentPropertySheet __RPC_FAR * This,
  7465. /* [in] */ UINT iTInfo,
  7466. /* [in] */ LCID lcid,
  7467. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  7468. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  7469. IAgentPropertySheet __RPC_FAR * This,
  7470. /* [in] */ REFIID riid,
  7471. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  7472. /* [in] */ UINT cNames,
  7473. /* [in] */ LCID lcid,
  7474. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  7475. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  7476. IAgentPropertySheet __RPC_FAR * This,
  7477. /* [in] */ DISPID dispIdMember,
  7478. /* [in] */ REFIID riid,
  7479. /* [in] */ LCID lcid,
  7480. /* [in] */ WORD wFlags,
  7481. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  7482. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  7483. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  7484. /* [out] */ UINT __RPC_FAR *puArgErr);
  7485. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  7486. IAgentPropertySheet __RPC_FAR * This,
  7487. /* [out] */ long __RPC_FAR *pbVisible);
  7488. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  7489. IAgentPropertySheet __RPC_FAR * This,
  7490. /* [in] */ long bVisible);
  7491. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )(
  7492. IAgentPropertySheet __RPC_FAR * This,
  7493. /* [out] */ long __RPC_FAR *plLeft,
  7494. /* [out] */ long __RPC_FAR *plTop);
  7495. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )(
  7496. IAgentPropertySheet __RPC_FAR * This,
  7497. /* [out] */ long __RPC_FAR *plWidth,
  7498. /* [out] */ long __RPC_FAR *plHeight);
  7499. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPage )(
  7500. IAgentPropertySheet __RPC_FAR * This,
  7501. /* [out] */ BSTR __RPC_FAR *pbszPage);
  7502. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPage )(
  7503. IAgentPropertySheet __RPC_FAR * This,
  7504. /* [in] */ BSTR bszPage);
  7505. END_INTERFACE
  7506. } IAgentPropertySheetVtbl;
  7507. interface IAgentPropertySheet
  7508. {
  7509. CONST_VTBL struct IAgentPropertySheetVtbl __RPC_FAR *lpVtbl;
  7510. };
  7511. #ifdef COBJMACROS
  7512. #define IAgentPropertySheet_QueryInterface(This,riid,ppvObject) \
  7513. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7514. #define IAgentPropertySheet_AddRef(This) \
  7515. (This)->lpVtbl -> AddRef(This)
  7516. #define IAgentPropertySheet_Release(This) \
  7517. (This)->lpVtbl -> Release(This)
  7518. #define IAgentPropertySheet_GetTypeInfoCount(This,pctinfo) \
  7519. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7520. #define IAgentPropertySheet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7521. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7522. #define IAgentPropertySheet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7523. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7524. #define IAgentPropertySheet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7525. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7526. #define IAgentPropertySheet_GetVisible(This,pbVisible) \
  7527. (This)->lpVtbl -> GetVisible(This,pbVisible)
  7528. #define IAgentPropertySheet_SetVisible(This,bVisible) \
  7529. (This)->lpVtbl -> SetVisible(This,bVisible)
  7530. #define IAgentPropertySheet_GetPosition(This,plLeft,plTop) \
  7531. (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  7532. #define IAgentPropertySheet_GetSize(This,plWidth,plHeight) \
  7533. (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  7534. #define IAgentPropertySheet_GetPage(This,pbszPage) \
  7535. (This)->lpVtbl -> GetPage(This,pbszPage)
  7536. #define IAgentPropertySheet_SetPage(This,bszPage) \
  7537. (This)->lpVtbl -> SetPage(This,bszPage)
  7538. #endif /* COBJMACROS */
  7539. #endif /* C style interface */
  7540. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetVisible_Proxy(
  7541. IAgentPropertySheet __RPC_FAR * This,
  7542. /* [out] */ long __RPC_FAR *pbVisible);
  7543. void __RPC_STUB IAgentPropertySheet_GetVisible_Stub(
  7544. IRpcStubBuffer *This,
  7545. IRpcChannelBuffer *_pRpcChannelBuffer,
  7546. PRPC_MESSAGE _pRpcMessage,
  7547. DWORD *_pdwStubPhase);
  7548. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_SetVisible_Proxy(
  7549. IAgentPropertySheet __RPC_FAR * This,
  7550. /* [in] */ long bVisible);
  7551. void __RPC_STUB IAgentPropertySheet_SetVisible_Stub(
  7552. IRpcStubBuffer *This,
  7553. IRpcChannelBuffer *_pRpcChannelBuffer,
  7554. PRPC_MESSAGE _pRpcMessage,
  7555. DWORD *_pdwStubPhase);
  7556. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetPosition_Proxy(
  7557. IAgentPropertySheet __RPC_FAR * This,
  7558. /* [out] */ long __RPC_FAR *plLeft,
  7559. /* [out] */ long __RPC_FAR *plTop);
  7560. void __RPC_STUB IAgentPropertySheet_GetPosition_Stub(
  7561. IRpcStubBuffer *This,
  7562. IRpcChannelBuffer *_pRpcChannelBuffer,
  7563. PRPC_MESSAGE _pRpcMessage,
  7564. DWORD *_pdwStubPhase);
  7565. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetSize_Proxy(
  7566. IAgentPropertySheet __RPC_FAR * This,
  7567. /* [out] */ long __RPC_FAR *plWidth,
  7568. /* [out] */ long __RPC_FAR *plHeight);
  7569. void __RPC_STUB IAgentPropertySheet_GetSize_Stub(
  7570. IRpcStubBuffer *This,
  7571. IRpcChannelBuffer *_pRpcChannelBuffer,
  7572. PRPC_MESSAGE _pRpcMessage,
  7573. DWORD *_pdwStubPhase);
  7574. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetPage_Proxy(
  7575. IAgentPropertySheet __RPC_FAR * This,
  7576. /* [out] */ BSTR __RPC_FAR *pbszPage);
  7577. void __RPC_STUB IAgentPropertySheet_GetPage_Stub(
  7578. IRpcStubBuffer *This,
  7579. IRpcChannelBuffer *_pRpcChannelBuffer,
  7580. PRPC_MESSAGE _pRpcMessage,
  7581. DWORD *_pdwStubPhase);
  7582. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_SetPage_Proxy(
  7583. IAgentPropertySheet __RPC_FAR * This,
  7584. /* [in] */ BSTR bszPage);
  7585. void __RPC_STUB IAgentPropertySheet_SetPage_Stub(
  7586. IRpcStubBuffer *This,
  7587. IRpcChannelBuffer *_pRpcChannelBuffer,
  7588. PRPC_MESSAGE _pRpcMessage,
  7589. DWORD *_pdwStubPhase);
  7590. #endif /* __IAgentPropertySheet_INTERFACE_DEFINED__ */
  7591. #ifndef __IAgentBalloon_INTERFACE_DEFINED__
  7592. #define __IAgentBalloon_INTERFACE_DEFINED__
  7593. /* interface IAgentBalloon */
  7594. /* [unique][helpstring][dual][uuid][object] */
  7595. EXTERN_C const IID IID_IAgentBalloon;
  7596. #if defined(__cplusplus) && !defined(CINTERFACE)
  7597. MIDL_INTERFACE("A7B93C8D-7B81-11D0-AC5F-00C04FD97575")
  7598. IAgentBalloon : public IDispatch
  7599. {
  7600. public:
  7601. virtual HRESULT STDMETHODCALLTYPE GetEnabled(
  7602. /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  7603. virtual HRESULT STDMETHODCALLTYPE GetNumLines(
  7604. /* [out] */ long __RPC_FAR *plLines) = 0;
  7605. virtual HRESULT STDMETHODCALLTYPE GetNumCharsPerLine(
  7606. /* [out] */ long __RPC_FAR *plCharsPerLine) = 0;
  7607. virtual HRESULT STDMETHODCALLTYPE GetFontName(
  7608. /* [out] */ BSTR __RPC_FAR *pbszFontName) = 0;
  7609. virtual HRESULT STDMETHODCALLTYPE GetFontSize(
  7610. /* [out] */ long __RPC_FAR *plFontSize) = 0;
  7611. virtual HRESULT STDMETHODCALLTYPE GetFontBold(
  7612. /* [out] */ long __RPC_FAR *pbFontBold) = 0;
  7613. virtual HRESULT STDMETHODCALLTYPE GetFontItalic(
  7614. /* [out] */ long __RPC_FAR *pbFontItalic) = 0;
  7615. virtual HRESULT STDMETHODCALLTYPE GetFontStrikethru(
  7616. /* [out] */ long __RPC_FAR *pbFontStrikethru) = 0;
  7617. virtual HRESULT STDMETHODCALLTYPE GetFontUnderline(
  7618. /* [out] */ long __RPC_FAR *pbFontUnderline) = 0;
  7619. virtual HRESULT STDMETHODCALLTYPE GetForeColor(
  7620. /* [out] */ long __RPC_FAR *plFGColor) = 0;
  7621. virtual HRESULT STDMETHODCALLTYPE GetBackColor(
  7622. /* [out] */ long __RPC_FAR *plBGColor) = 0;
  7623. virtual HRESULT STDMETHODCALLTYPE GetBorderColor(
  7624. /* [out] */ long __RPC_FAR *plBorderColor) = 0;
  7625. virtual HRESULT STDMETHODCALLTYPE SetVisible(
  7626. /* [in] */ long bVisible) = 0;
  7627. virtual HRESULT STDMETHODCALLTYPE GetVisible(
  7628. /* [out] */ long __RPC_FAR *pbVisible) = 0;
  7629. virtual HRESULT STDMETHODCALLTYPE SetFontName(
  7630. /* [in] */ BSTR bszFontName) = 0;
  7631. virtual HRESULT STDMETHODCALLTYPE SetFontSize(
  7632. /* [in] */ long lFontSize) = 0;
  7633. virtual HRESULT STDMETHODCALLTYPE SetFontCharSet(
  7634. /* [in] */ short sFontCharSet) = 0;
  7635. virtual HRESULT STDMETHODCALLTYPE GetFontCharSet(
  7636. /* [out] */ short __RPC_FAR *psFontCharSet) = 0;
  7637. };
  7638. #else /* C style interface */
  7639. typedef struct IAgentBalloonVtbl
  7640. {
  7641. BEGIN_INTERFACE
  7642. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  7643. IAgentBalloon __RPC_FAR * This,
  7644. /* [in] */ REFIID riid,
  7645. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7646. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  7647. IAgentBalloon __RPC_FAR * This);
  7648. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  7649. IAgentBalloon __RPC_FAR * This);
  7650. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  7651. IAgentBalloon __RPC_FAR * This,
  7652. /* [out] */ UINT __RPC_FAR *pctinfo);
  7653. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  7654. IAgentBalloon __RPC_FAR * This,
  7655. /* [in] */ UINT iTInfo,
  7656. /* [in] */ LCID lcid,
  7657. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  7658. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  7659. IAgentBalloon __RPC_FAR * This,
  7660. /* [in] */ REFIID riid,
  7661. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  7662. /* [in] */ UINT cNames,
  7663. /* [in] */ LCID lcid,
  7664. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  7665. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  7666. IAgentBalloon __RPC_FAR * This,
  7667. /* [in] */ DISPID dispIdMember,
  7668. /* [in] */ REFIID riid,
  7669. /* [in] */ LCID lcid,
  7670. /* [in] */ WORD wFlags,
  7671. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  7672. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  7673. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  7674. /* [out] */ UINT __RPC_FAR *puArgErr);
  7675. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  7676. IAgentBalloon __RPC_FAR * This,
  7677. /* [out] */ long __RPC_FAR *pbEnabled);
  7678. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumLines )(
  7679. IAgentBalloon __RPC_FAR * This,
  7680. /* [out] */ long __RPC_FAR *plLines);
  7681. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumCharsPerLine )(
  7682. IAgentBalloon __RPC_FAR * This,
  7683. /* [out] */ long __RPC_FAR *plCharsPerLine);
  7684. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontName )(
  7685. IAgentBalloon __RPC_FAR * This,
  7686. /* [out] */ BSTR __RPC_FAR *pbszFontName);
  7687. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontSize )(
  7688. IAgentBalloon __RPC_FAR * This,
  7689. /* [out] */ long __RPC_FAR *plFontSize);
  7690. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontBold )(
  7691. IAgentBalloon __RPC_FAR * This,
  7692. /* [out] */ long __RPC_FAR *pbFontBold);
  7693. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontItalic )(
  7694. IAgentBalloon __RPC_FAR * This,
  7695. /* [out] */ long __RPC_FAR *pbFontItalic);
  7696. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontStrikethru )(
  7697. IAgentBalloon __RPC_FAR * This,
  7698. /* [out] */ long __RPC_FAR *pbFontStrikethru);
  7699. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontUnderline )(
  7700. IAgentBalloon __RPC_FAR * This,
  7701. /* [out] */ long __RPC_FAR *pbFontUnderline);
  7702. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetForeColor )(
  7703. IAgentBalloon __RPC_FAR * This,
  7704. /* [out] */ long __RPC_FAR *plFGColor);
  7705. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBackColor )(
  7706. IAgentBalloon __RPC_FAR * This,
  7707. /* [out] */ long __RPC_FAR *plBGColor);
  7708. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBorderColor )(
  7709. IAgentBalloon __RPC_FAR * This,
  7710. /* [out] */ long __RPC_FAR *plBorderColor);
  7711. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  7712. IAgentBalloon __RPC_FAR * This,
  7713. /* [in] */ long bVisible);
  7714. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  7715. IAgentBalloon __RPC_FAR * This,
  7716. /* [out] */ long __RPC_FAR *pbVisible);
  7717. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontName )(
  7718. IAgentBalloon __RPC_FAR * This,
  7719. /* [in] */ BSTR bszFontName);
  7720. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontSize )(
  7721. IAgentBalloon __RPC_FAR * This,
  7722. /* [in] */ long lFontSize);
  7723. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontCharSet )(
  7724. IAgentBalloon __RPC_FAR * This,
  7725. /* [in] */ short sFontCharSet);
  7726. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontCharSet )(
  7727. IAgentBalloon __RPC_FAR * This,
  7728. /* [out] */ short __RPC_FAR *psFontCharSet);
  7729. END_INTERFACE
  7730. } IAgentBalloonVtbl;
  7731. interface IAgentBalloon
  7732. {
  7733. CONST_VTBL struct IAgentBalloonVtbl __RPC_FAR *lpVtbl;
  7734. };
  7735. #ifdef COBJMACROS
  7736. #define IAgentBalloon_QueryInterface(This,riid,ppvObject) \
  7737. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7738. #define IAgentBalloon_AddRef(This) \
  7739. (This)->lpVtbl -> AddRef(This)
  7740. #define IAgentBalloon_Release(This) \
  7741. (This)->lpVtbl -> Release(This)
  7742. #define IAgentBalloon_GetTypeInfoCount(This,pctinfo) \
  7743. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7744. #define IAgentBalloon_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7745. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7746. #define IAgentBalloon_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7747. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7748. #define IAgentBalloon_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7749. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7750. #define IAgentBalloon_GetEnabled(This,pbEnabled) \
  7751. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  7752. #define IAgentBalloon_GetNumLines(This,plLines) \
  7753. (This)->lpVtbl -> GetNumLines(This,plLines)
  7754. #define IAgentBalloon_GetNumCharsPerLine(This,plCharsPerLine) \
  7755. (This)->lpVtbl -> GetNumCharsPerLine(This,plCharsPerLine)
  7756. #define IAgentBalloon_GetFontName(This,pbszFontName) \
  7757. (This)->lpVtbl -> GetFontName(This,pbszFontName)
  7758. #define IAgentBalloon_GetFontSize(This,plFontSize) \
  7759. (This)->lpVtbl -> GetFontSize(This,plFontSize)
  7760. #define IAgentBalloon_GetFontBold(This,pbFontBold) \
  7761. (This)->lpVtbl -> GetFontBold(This,pbFontBold)
  7762. #define IAgentBalloon_GetFontItalic(This,pbFontItalic) \
  7763. (This)->lpVtbl -> GetFontItalic(This,pbFontItalic)
  7764. #define IAgentBalloon_GetFontStrikethru(This,pbFontStrikethru) \
  7765. (This)->lpVtbl -> GetFontStrikethru(This,pbFontStrikethru)
  7766. #define IAgentBalloon_GetFontUnderline(This,pbFontUnderline) \
  7767. (This)->lpVtbl -> GetFontUnderline(This,pbFontUnderline)
  7768. #define IAgentBalloon_GetForeColor(This,plFGColor) \
  7769. (This)->lpVtbl -> GetForeColor(This,plFGColor)
  7770. #define IAgentBalloon_GetBackColor(This,plBGColor) \
  7771. (This)->lpVtbl -> GetBackColor(This,plBGColor)
  7772. #define IAgentBalloon_GetBorderColor(This,plBorderColor) \
  7773. (This)->lpVtbl -> GetBorderColor(This,plBorderColor)
  7774. #define IAgentBalloon_SetVisible(This,bVisible) \
  7775. (This)->lpVtbl -> SetVisible(This,bVisible)
  7776. #define IAgentBalloon_GetVisible(This,pbVisible) \
  7777. (This)->lpVtbl -> GetVisible(This,pbVisible)
  7778. #define IAgentBalloon_SetFontName(This,bszFontName) \
  7779. (This)->lpVtbl -> SetFontName(This,bszFontName)
  7780. #define IAgentBalloon_SetFontSize(This,lFontSize) \
  7781. (This)->lpVtbl -> SetFontSize(This,lFontSize)
  7782. #define IAgentBalloon_SetFontCharSet(This,sFontCharSet) \
  7783. (This)->lpVtbl -> SetFontCharSet(This,sFontCharSet)
  7784. #define IAgentBalloon_GetFontCharSet(This,psFontCharSet) \
  7785. (This)->lpVtbl -> GetFontCharSet(This,psFontCharSet)
  7786. #endif /* COBJMACROS */
  7787. #endif /* C style interface */
  7788. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetEnabled_Proxy(
  7789. IAgentBalloon __RPC_FAR * This,
  7790. /* [out] */ long __RPC_FAR *pbEnabled);
  7791. void __RPC_STUB IAgentBalloon_GetEnabled_Stub(
  7792. IRpcStubBuffer *This,
  7793. IRpcChannelBuffer *_pRpcChannelBuffer,
  7794. PRPC_MESSAGE _pRpcMessage,
  7795. DWORD *_pdwStubPhase);
  7796. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetNumLines_Proxy(
  7797. IAgentBalloon __RPC_FAR * This,
  7798. /* [out] */ long __RPC_FAR *plLines);
  7799. void __RPC_STUB IAgentBalloon_GetNumLines_Stub(
  7800. IRpcStubBuffer *This,
  7801. IRpcChannelBuffer *_pRpcChannelBuffer,
  7802. PRPC_MESSAGE _pRpcMessage,
  7803. DWORD *_pdwStubPhase);
  7804. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetNumCharsPerLine_Proxy(
  7805. IAgentBalloon __RPC_FAR * This,
  7806. /* [out] */ long __RPC_FAR *plCharsPerLine);
  7807. void __RPC_STUB IAgentBalloon_GetNumCharsPerLine_Stub(
  7808. IRpcStubBuffer *This,
  7809. IRpcChannelBuffer *_pRpcChannelBuffer,
  7810. PRPC_MESSAGE _pRpcMessage,
  7811. DWORD *_pdwStubPhase);
  7812. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontName_Proxy(
  7813. IAgentBalloon __RPC_FAR * This,
  7814. /* [out] */ BSTR __RPC_FAR *pbszFontName);
  7815. void __RPC_STUB IAgentBalloon_GetFontName_Stub(
  7816. IRpcStubBuffer *This,
  7817. IRpcChannelBuffer *_pRpcChannelBuffer,
  7818. PRPC_MESSAGE _pRpcMessage,
  7819. DWORD *_pdwStubPhase);
  7820. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontSize_Proxy(
  7821. IAgentBalloon __RPC_FAR * This,
  7822. /* [out] */ long __RPC_FAR *plFontSize);
  7823. void __RPC_STUB IAgentBalloon_GetFontSize_Stub(
  7824. IRpcStubBuffer *This,
  7825. IRpcChannelBuffer *_pRpcChannelBuffer,
  7826. PRPC_MESSAGE _pRpcMessage,
  7827. DWORD *_pdwStubPhase);
  7828. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontBold_Proxy(
  7829. IAgentBalloon __RPC_FAR * This,
  7830. /* [out] */ long __RPC_FAR *pbFontBold);
  7831. void __RPC_STUB IAgentBalloon_GetFontBold_Stub(
  7832. IRpcStubBuffer *This,
  7833. IRpcChannelBuffer *_pRpcChannelBuffer,
  7834. PRPC_MESSAGE _pRpcMessage,
  7835. DWORD *_pdwStubPhase);
  7836. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontItalic_Proxy(
  7837. IAgentBalloon __RPC_FAR * This,
  7838. /* [out] */ long __RPC_FAR *pbFontItalic);
  7839. void __RPC_STUB IAgentBalloon_GetFontItalic_Stub(
  7840. IRpcStubBuffer *This,
  7841. IRpcChannelBuffer *_pRpcChannelBuffer,
  7842. PRPC_MESSAGE _pRpcMessage,
  7843. DWORD *_pdwStubPhase);
  7844. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontStrikethru_Proxy(
  7845. IAgentBalloon __RPC_FAR * This,
  7846. /* [out] */ long __RPC_FAR *pbFontStrikethru);
  7847. void __RPC_STUB IAgentBalloon_GetFontStrikethru_Stub(
  7848. IRpcStubBuffer *This,
  7849. IRpcChannelBuffer *_pRpcChannelBuffer,
  7850. PRPC_MESSAGE _pRpcMessage,
  7851. DWORD *_pdwStubPhase);
  7852. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontUnderline_Proxy(
  7853. IAgentBalloon __RPC_FAR * This,
  7854. /* [out] */ long __RPC_FAR *pbFontUnderline);
  7855. void __RPC_STUB IAgentBalloon_GetFontUnderline_Stub(
  7856. IRpcStubBuffer *This,
  7857. IRpcChannelBuffer *_pRpcChannelBuffer,
  7858. PRPC_MESSAGE _pRpcMessage,
  7859. DWORD *_pdwStubPhase);
  7860. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetForeColor_Proxy(
  7861. IAgentBalloon __RPC_FAR * This,
  7862. /* [out] */ long __RPC_FAR *plFGColor);
  7863. void __RPC_STUB IAgentBalloon_GetForeColor_Stub(
  7864. IRpcStubBuffer *This,
  7865. IRpcChannelBuffer *_pRpcChannelBuffer,
  7866. PRPC_MESSAGE _pRpcMessage,
  7867. DWORD *_pdwStubPhase);
  7868. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetBackColor_Proxy(
  7869. IAgentBalloon __RPC_FAR * This,
  7870. /* [out] */ long __RPC_FAR *plBGColor);
  7871. void __RPC_STUB IAgentBalloon_GetBackColor_Stub(
  7872. IRpcStubBuffer *This,
  7873. IRpcChannelBuffer *_pRpcChannelBuffer,
  7874. PRPC_MESSAGE _pRpcMessage,
  7875. DWORD *_pdwStubPhase);
  7876. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetBorderColor_Proxy(
  7877. IAgentBalloon __RPC_FAR * This,
  7878. /* [out] */ long __RPC_FAR *plBorderColor);
  7879. void __RPC_STUB IAgentBalloon_GetBorderColor_Stub(
  7880. IRpcStubBuffer *This,
  7881. IRpcChannelBuffer *_pRpcChannelBuffer,
  7882. PRPC_MESSAGE _pRpcMessage,
  7883. DWORD *_pdwStubPhase);
  7884. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetVisible_Proxy(
  7885. IAgentBalloon __RPC_FAR * This,
  7886. /* [in] */ long bVisible);
  7887. void __RPC_STUB IAgentBalloon_SetVisible_Stub(
  7888. IRpcStubBuffer *This,
  7889. IRpcChannelBuffer *_pRpcChannelBuffer,
  7890. PRPC_MESSAGE _pRpcMessage,
  7891. DWORD *_pdwStubPhase);
  7892. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetVisible_Proxy(
  7893. IAgentBalloon __RPC_FAR * This,
  7894. /* [out] */ long __RPC_FAR *pbVisible);
  7895. void __RPC_STUB IAgentBalloon_GetVisible_Stub(
  7896. IRpcStubBuffer *This,
  7897. IRpcChannelBuffer *_pRpcChannelBuffer,
  7898. PRPC_MESSAGE _pRpcMessage,
  7899. DWORD *_pdwStubPhase);
  7900. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetFontName_Proxy(
  7901. IAgentBalloon __RPC_FAR * This,
  7902. /* [in] */ BSTR bszFontName);
  7903. void __RPC_STUB IAgentBalloon_SetFontName_Stub(
  7904. IRpcStubBuffer *This,
  7905. IRpcChannelBuffer *_pRpcChannelBuffer,
  7906. PRPC_MESSAGE _pRpcMessage,
  7907. DWORD *_pdwStubPhase);
  7908. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetFontSize_Proxy(
  7909. IAgentBalloon __RPC_FAR * This,
  7910. /* [in] */ long lFontSize);
  7911. void __RPC_STUB IAgentBalloon_SetFontSize_Stub(
  7912. IRpcStubBuffer *This,
  7913. IRpcChannelBuffer *_pRpcChannelBuffer,
  7914. PRPC_MESSAGE _pRpcMessage,
  7915. DWORD *_pdwStubPhase);
  7916. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetFontCharSet_Proxy(
  7917. IAgentBalloon __RPC_FAR * This,
  7918. /* [in] */ short sFontCharSet);
  7919. void __RPC_STUB IAgentBalloon_SetFontCharSet_Stub(
  7920. IRpcStubBuffer *This,
  7921. IRpcChannelBuffer *_pRpcChannelBuffer,
  7922. PRPC_MESSAGE _pRpcMessage,
  7923. DWORD *_pdwStubPhase);
  7924. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontCharSet_Proxy(
  7925. IAgentBalloon __RPC_FAR * This,
  7926. /* [out] */ short __RPC_FAR *psFontCharSet);
  7927. void __RPC_STUB IAgentBalloon_GetFontCharSet_Stub(
  7928. IRpcStubBuffer *This,
  7929. IRpcChannelBuffer *_pRpcChannelBuffer,
  7930. PRPC_MESSAGE _pRpcMessage,
  7931. DWORD *_pdwStubPhase);
  7932. #endif /* __IAgentBalloon_INTERFACE_DEFINED__ */
  7933. #ifndef __IAgentBalloonEx_INTERFACE_DEFINED__
  7934. #define __IAgentBalloonEx_INTERFACE_DEFINED__
  7935. /* interface IAgentBalloonEx */
  7936. /* [unique][helpstring][dual][uuid][object] */
  7937. EXTERN_C const IID IID_IAgentBalloonEx;
  7938. #if defined(__cplusplus) && !defined(CINTERFACE)
  7939. MIDL_INTERFACE("D7A6D440-8872-11d1-9EC6-00C04FD7081F")
  7940. IAgentBalloonEx : public IAgentBalloon
  7941. {
  7942. public:
  7943. virtual HRESULT STDMETHODCALLTYPE SetStyle(
  7944. /* [in] */ long lStyle) = 0;
  7945. virtual HRESULT STDMETHODCALLTYPE GetStyle(
  7946. /* [out] */ long __RPC_FAR *plStyle) = 0;
  7947. virtual HRESULT STDMETHODCALLTYPE SetNumLines(
  7948. /* [in] */ long lLines) = 0;
  7949. virtual HRESULT STDMETHODCALLTYPE SetNumCharsPerLine(
  7950. /* [in] */ long lCharsPerLine) = 0;
  7951. };
  7952. #else /* C style interface */
  7953. typedef struct IAgentBalloonExVtbl
  7954. {
  7955. BEGIN_INTERFACE
  7956. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  7957. IAgentBalloonEx __RPC_FAR * This,
  7958. /* [in] */ REFIID riid,
  7959. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7960. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  7961. IAgentBalloonEx __RPC_FAR * This);
  7962. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  7963. IAgentBalloonEx __RPC_FAR * This);
  7964. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  7965. IAgentBalloonEx __RPC_FAR * This,
  7966. /* [out] */ UINT __RPC_FAR *pctinfo);
  7967. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  7968. IAgentBalloonEx __RPC_FAR * This,
  7969. /* [in] */ UINT iTInfo,
  7970. /* [in] */ LCID lcid,
  7971. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  7972. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  7973. IAgentBalloonEx __RPC_FAR * This,
  7974. /* [in] */ REFIID riid,
  7975. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  7976. /* [in] */ UINT cNames,
  7977. /* [in] */ LCID lcid,
  7978. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  7979. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  7980. IAgentBalloonEx __RPC_FAR * This,
  7981. /* [in] */ DISPID dispIdMember,
  7982. /* [in] */ REFIID riid,
  7983. /* [in] */ LCID lcid,
  7984. /* [in] */ WORD wFlags,
  7985. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  7986. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  7987. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  7988. /* [out] */ UINT __RPC_FAR *puArgErr);
  7989. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )(
  7990. IAgentBalloonEx __RPC_FAR * This,
  7991. /* [out] */ long __RPC_FAR *pbEnabled);
  7992. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumLines )(
  7993. IAgentBalloonEx __RPC_FAR * This,
  7994. /* [out] */ long __RPC_FAR *plLines);
  7995. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumCharsPerLine )(
  7996. IAgentBalloonEx __RPC_FAR * This,
  7997. /* [out] */ long __RPC_FAR *plCharsPerLine);
  7998. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontName )(
  7999. IAgentBalloonEx __RPC_FAR * This,
  8000. /* [out] */ BSTR __RPC_FAR *pbszFontName);
  8001. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontSize )(
  8002. IAgentBalloonEx __RPC_FAR * This,
  8003. /* [out] */ long __RPC_FAR *plFontSize);
  8004. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontBold )(
  8005. IAgentBalloonEx __RPC_FAR * This,
  8006. /* [out] */ long __RPC_FAR *pbFontBold);
  8007. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontItalic )(
  8008. IAgentBalloonEx __RPC_FAR * This,
  8009. /* [out] */ long __RPC_FAR *pbFontItalic);
  8010. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontStrikethru )(
  8011. IAgentBalloonEx __RPC_FAR * This,
  8012. /* [out] */ long __RPC_FAR *pbFontStrikethru);
  8013. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontUnderline )(
  8014. IAgentBalloonEx __RPC_FAR * This,
  8015. /* [out] */ long __RPC_FAR *pbFontUnderline);
  8016. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetForeColor )(
  8017. IAgentBalloonEx __RPC_FAR * This,
  8018. /* [out] */ long __RPC_FAR *plFGColor);
  8019. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBackColor )(
  8020. IAgentBalloonEx __RPC_FAR * This,
  8021. /* [out] */ long __RPC_FAR *plBGColor);
  8022. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBorderColor )(
  8023. IAgentBalloonEx __RPC_FAR * This,
  8024. /* [out] */ long __RPC_FAR *plBorderColor);
  8025. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )(
  8026. IAgentBalloonEx __RPC_FAR * This,
  8027. /* [in] */ long bVisible);
  8028. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  8029. IAgentBalloonEx __RPC_FAR * This,
  8030. /* [out] */ long __RPC_FAR *pbVisible);
  8031. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontName )(
  8032. IAgentBalloonEx __RPC_FAR * This,
  8033. /* [in] */ BSTR bszFontName);
  8034. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontSize )(
  8035. IAgentBalloonEx __RPC_FAR * This,
  8036. /* [in] */ long lFontSize);
  8037. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontCharSet )(
  8038. IAgentBalloonEx __RPC_FAR * This,
  8039. /* [in] */ short sFontCharSet);
  8040. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontCharSet )(
  8041. IAgentBalloonEx __RPC_FAR * This,
  8042. /* [out] */ short __RPC_FAR *psFontCharSet);
  8043. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStyle )(
  8044. IAgentBalloonEx __RPC_FAR * This,
  8045. /* [in] */ long lStyle);
  8046. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStyle )(
  8047. IAgentBalloonEx __RPC_FAR * This,
  8048. /* [out] */ long __RPC_FAR *plStyle);
  8049. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNumLines )(
  8050. IAgentBalloonEx __RPC_FAR * This,
  8051. /* [in] */ long lLines);
  8052. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNumCharsPerLine )(
  8053. IAgentBalloonEx __RPC_FAR * This,
  8054. /* [in] */ long lCharsPerLine);
  8055. END_INTERFACE
  8056. } IAgentBalloonExVtbl;
  8057. interface IAgentBalloonEx
  8058. {
  8059. CONST_VTBL struct IAgentBalloonExVtbl __RPC_FAR *lpVtbl;
  8060. };
  8061. #ifdef COBJMACROS
  8062. #define IAgentBalloonEx_QueryInterface(This,riid,ppvObject) \
  8063. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8064. #define IAgentBalloonEx_AddRef(This) \
  8065. (This)->lpVtbl -> AddRef(This)
  8066. #define IAgentBalloonEx_Release(This) \
  8067. (This)->lpVtbl -> Release(This)
  8068. #define IAgentBalloonEx_GetTypeInfoCount(This,pctinfo) \
  8069. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  8070. #define IAgentBalloonEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  8071. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  8072. #define IAgentBalloonEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  8073. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  8074. #define IAgentBalloonEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  8075. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  8076. #define IAgentBalloonEx_GetEnabled(This,pbEnabled) \
  8077. (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  8078. #define IAgentBalloonEx_GetNumLines(This,plLines) \
  8079. (This)->lpVtbl -> GetNumLines(This,plLines)
  8080. #define IAgentBalloonEx_GetNumCharsPerLine(This,plCharsPerLine) \
  8081. (This)->lpVtbl -> GetNumCharsPerLine(This,plCharsPerLine)
  8082. #define IAgentBalloonEx_GetFontName(This,pbszFontName) \
  8083. (This)->lpVtbl -> GetFontName(This,pbszFontName)
  8084. #define IAgentBalloonEx_GetFontSize(This,plFontSize) \
  8085. (This)->lpVtbl -> GetFontSize(This,plFontSize)
  8086. #define IAgentBalloonEx_GetFontBold(This,pbFontBold) \
  8087. (This)->lpVtbl -> GetFontBold(This,pbFontBold)
  8088. #define IAgentBalloonEx_GetFontItalic(This,pbFontItalic) \
  8089. (This)->lpVtbl -> GetFontItalic(This,pbFontItalic)
  8090. #define IAgentBalloonEx_GetFontStrikethru(This,pbFontStrikethru) \
  8091. (This)->lpVtbl -> GetFontStrikethru(This,pbFontStrikethru)
  8092. #define IAgentBalloonEx_GetFontUnderline(This,pbFontUnderline) \
  8093. (This)->lpVtbl -> GetFontUnderline(This,pbFontUnderline)
  8094. #define IAgentBalloonEx_GetForeColor(This,plFGColor) \
  8095. (This)->lpVtbl -> GetForeColor(This,plFGColor)
  8096. #define IAgentBalloonEx_GetBackColor(This,plBGColor) \
  8097. (This)->lpVtbl -> GetBackColor(This,plBGColor)
  8098. #define IAgentBalloonEx_GetBorderColor(This,plBorderColor) \
  8099. (This)->lpVtbl -> GetBorderColor(This,plBorderColor)
  8100. #define IAgentBalloonEx_SetVisible(This,bVisible) \
  8101. (This)->lpVtbl -> SetVisible(This,bVisible)
  8102. #define IAgentBalloonEx_GetVisible(This,pbVisible) \
  8103. (This)->lpVtbl -> GetVisible(This,pbVisible)
  8104. #define IAgentBalloonEx_SetFontName(This,bszFontName) \
  8105. (This)->lpVtbl -> SetFontName(This,bszFontName)
  8106. #define IAgentBalloonEx_SetFontSize(This,lFontSize) \
  8107. (This)->lpVtbl -> SetFontSize(This,lFontSize)
  8108. #define IAgentBalloonEx_SetFontCharSet(This,sFontCharSet) \
  8109. (This)->lpVtbl -> SetFontCharSet(This,sFontCharSet)
  8110. #define IAgentBalloonEx_GetFontCharSet(This,psFontCharSet) \
  8111. (This)->lpVtbl -> GetFontCharSet(This,psFontCharSet)
  8112. #define IAgentBalloonEx_SetStyle(This,lStyle) \
  8113. (This)->lpVtbl -> SetStyle(This,lStyle)
  8114. #define IAgentBalloonEx_GetStyle(This,plStyle) \
  8115. (This)->lpVtbl -> GetStyle(This,plStyle)
  8116. #define IAgentBalloonEx_SetNumLines(This,lLines) \
  8117. (This)->lpVtbl -> SetNumLines(This,lLines)
  8118. #define IAgentBalloonEx_SetNumCharsPerLine(This,lCharsPerLine) \
  8119. (This)->lpVtbl -> SetNumCharsPerLine(This,lCharsPerLine)
  8120. #endif /* COBJMACROS */
  8121. #endif /* C style interface */
  8122. HRESULT STDMETHODCALLTYPE IAgentBalloonEx_SetStyle_Proxy(
  8123. IAgentBalloonEx __RPC_FAR * This,
  8124. /* [in] */ long lStyle);
  8125. void __RPC_STUB IAgentBalloonEx_SetStyle_Stub(
  8126. IRpcStubBuffer *This,
  8127. IRpcChannelBuffer *_pRpcChannelBuffer,
  8128. PRPC_MESSAGE _pRpcMessage,
  8129. DWORD *_pdwStubPhase);
  8130. HRESULT STDMETHODCALLTYPE IAgentBalloonEx_GetStyle_Proxy(
  8131. IAgentBalloonEx __RPC_FAR * This,
  8132. /* [out] */ long __RPC_FAR *plStyle);
  8133. void __RPC_STUB IAgentBalloonEx_GetStyle_Stub(
  8134. IRpcStubBuffer *This,
  8135. IRpcChannelBuffer *_pRpcChannelBuffer,
  8136. PRPC_MESSAGE _pRpcMessage,
  8137. DWORD *_pdwStubPhase);
  8138. HRESULT STDMETHODCALLTYPE IAgentBalloonEx_SetNumLines_Proxy(
  8139. IAgentBalloonEx __RPC_FAR * This,
  8140. /* [in] */ long lLines);
  8141. void __RPC_STUB IAgentBalloonEx_SetNumLines_Stub(
  8142. IRpcStubBuffer *This,
  8143. IRpcChannelBuffer *_pRpcChannelBuffer,
  8144. PRPC_MESSAGE _pRpcMessage,
  8145. DWORD *_pdwStubPhase);
  8146. HRESULT STDMETHODCALLTYPE IAgentBalloonEx_SetNumCharsPerLine_Proxy(
  8147. IAgentBalloonEx __RPC_FAR * This,
  8148. /* [in] */ long lCharsPerLine);
  8149. void __RPC_STUB IAgentBalloonEx_SetNumCharsPerLine_Stub(
  8150. IRpcStubBuffer *This,
  8151. IRpcChannelBuffer *_pRpcChannelBuffer,
  8152. PRPC_MESSAGE _pRpcMessage,
  8153. DWORD *_pdwStubPhase);
  8154. #endif /* __IAgentBalloonEx_INTERFACE_DEFINED__ */
  8155. #ifndef __IAgentCharacter_INTERFACE_DEFINED__
  8156. #define __IAgentCharacter_INTERFACE_DEFINED__
  8157. /* interface IAgentCharacter */
  8158. /* [unique][helpstring][dual][uuid][object] */
  8159. EXTERN_C const IID IID_IAgentCharacter;
  8160. #if defined(__cplusplus) && !defined(CINTERFACE)
  8161. MIDL_INTERFACE("A7B93C8F-7B81-11D0-AC5F-00C04FD97575")
  8162. IAgentCharacter : public IDispatch
  8163. {
  8164. public:
  8165. virtual HRESULT STDMETHODCALLTYPE GetVisible(
  8166. /* [out] */ long __RPC_FAR *pbVisible) = 0;
  8167. virtual HRESULT STDMETHODCALLTYPE SetPosition(
  8168. /* [in] */ long lLeft,
  8169. /* [in] */ long lTop) = 0;
  8170. virtual HRESULT STDMETHODCALLTYPE GetPosition(
  8171. /* [out] */ long __RPC_FAR *plLeft,
  8172. /* [out] */ long __RPC_FAR *plTop) = 0;
  8173. virtual HRESULT STDMETHODCALLTYPE SetSize(
  8174. /* [in] */ long lWidth,
  8175. /* [in] */ long lHeight) = 0;
  8176. virtual HRESULT STDMETHODCALLTYPE GetSize(
  8177. /* [out] */ long __RPC_FAR *plWidth,
  8178. /* [out] */ long __RPC_FAR *plHeight) = 0;
  8179. virtual HRESULT STDMETHODCALLTYPE GetName(
  8180. /* [out] */ BSTR __RPC_FAR *pbszName) = 0;
  8181. virtual HRESULT STDMETHODCALLTYPE GetDescription(
  8182. /* [out] */ BSTR __RPC_FAR *pbszDescription) = 0;
  8183. virtual HRESULT STDMETHODCALLTYPE GetTTSSpeed(
  8184. /* [out] */ long __RPC_FAR *pdwSpeed) = 0;
  8185. virtual HRESULT STDMETHODCALLTYPE GetTTSPitch(
  8186. /* [out] */ short __RPC_FAR *pwPitch) = 0;
  8187. virtual HRESULT STDMETHODCALLTYPE Activate(
  8188. /* [in] */ short sState) = 0;
  8189. virtual HRESULT STDMETHODCALLTYPE SetIdleOn(
  8190. /* [in] */ long bOn) = 0;
  8191. virtual HRESULT STDMETHODCALLTYPE GetIdleOn(
  8192. /* [out] */ long __RPC_FAR *pbOn) = 0;
  8193. virtual HRESULT STDMETHODCALLTYPE Prepare(
  8194. /* [in] */ long dwType,
  8195. /* [in] */ BSTR bszName,
  8196. /* [in] */ long bQueue,
  8197. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  8198. virtual HRESULT STDMETHODCALLTYPE Play(
  8199. /* [in] */ BSTR bszAnimation,
  8200. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  8201. virtual HRESULT STDMETHODCALLTYPE Stop(
  8202. /* [in] */ long dwReqID) = 0;
  8203. virtual HRESULT STDMETHODCALLTYPE StopAll(
  8204. /* [in] */ long lTypes) = 0;
  8205. virtual HRESULT STDMETHODCALLTYPE Wait(
  8206. /* [in] */ long dwReqID,
  8207. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  8208. virtual HRESULT STDMETHODCALLTYPE Interrupt(
  8209. /* [in] */ long dwReqID,
  8210. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  8211. virtual HRESULT STDMETHODCALLTYPE Show(
  8212. /* [in] */ long bFast,
  8213. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  8214. virtual HRESULT STDMETHODCALLTYPE Hide(
  8215. /* [in] */ long bFast,
  8216. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  8217. virtual HRESULT STDMETHODCALLTYPE Speak(
  8218. /* [in] */ BSTR bszText,
  8219. /* [in] */ BSTR bszUrl,
  8220. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  8221. virtual HRESULT STDMETHODCALLTYPE MoveTo(
  8222. /* [in] */ short x,
  8223. /* [in] */ short y,
  8224. /* [in] */ long lSpeed,
  8225. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  8226. virtual HRESULT STDMETHODCALLTYPE GestureAt(
  8227. /* [in] */ short x,
  8228. /* [in] */ short y,
  8229. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  8230. virtual HRESULT STDMETHODCALLTYPE GetMoveCause(
  8231. /* [out] */ long __RPC_FAR *pdwCause) = 0;
  8232. virtual HRESULT STDMETHODCALLTYPE GetVisibilityCause(
  8233. /* [out] */ long __RPC_FAR *pdwCause) = 0;
  8234. virtual HRESULT STDMETHODCALLTYPE HasOtherClients(
  8235. /* [out] */ long __RPC_FAR *plNumOtherClients) = 0;
  8236. virtual HRESULT STDMETHODCALLTYPE SetSoundEffectsOn(
  8237. /* [in] */ long bOn) = 0;
  8238. virtual HRESULT STDMETHODCALLTYPE GetSoundEffectsOn(
  8239. /* [out] */ long __RPC_FAR *pbOn) = 0;
  8240. virtual HRESULT STDMETHODCALLTYPE SetName(
  8241. /* [in] */ BSTR bszName) = 0;
  8242. virtual HRESULT STDMETHODCALLTYPE SetDescription(
  8243. /* [in] */ BSTR bszDescription) = 0;
  8244. virtual HRESULT STDMETHODCALLTYPE GetExtraData(
  8245. /* [out] */ BSTR __RPC_FAR *pbszExtraData) = 0;
  8246. };
  8247. #else /* C style interface */
  8248. typedef struct IAgentCharacterVtbl
  8249. {
  8250. BEGIN_INTERFACE
  8251. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  8252. IAgentCharacter __RPC_FAR * This,
  8253. /* [in] */ REFIID riid,
  8254. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  8255. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  8256. IAgentCharacter __RPC_FAR * This);
  8257. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  8258. IAgentCharacter __RPC_FAR * This);
  8259. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  8260. IAgentCharacter __RPC_FAR * This,
  8261. /* [out] */ UINT __RPC_FAR *pctinfo);
  8262. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  8263. IAgentCharacter __RPC_FAR * This,
  8264. /* [in] */ UINT iTInfo,
  8265. /* [in] */ LCID lcid,
  8266. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  8267. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  8268. IAgentCharacter __RPC_FAR * This,
  8269. /* [in] */ REFIID riid,
  8270. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  8271. /* [in] */ UINT cNames,
  8272. /* [in] */ LCID lcid,
  8273. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  8274. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  8275. IAgentCharacter __RPC_FAR * This,
  8276. /* [in] */ DISPID dispIdMember,
  8277. /* [in] */ REFIID riid,
  8278. /* [in] */ LCID lcid,
  8279. /* [in] */ WORD wFlags,
  8280. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  8281. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  8282. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  8283. /* [out] */ UINT __RPC_FAR *puArgErr);
  8284. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  8285. IAgentCharacter __RPC_FAR * This,
  8286. /* [out] */ long __RPC_FAR *pbVisible);
  8287. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPosition )(
  8288. IAgentCharacter __RPC_FAR * This,
  8289. /* [in] */ long lLeft,
  8290. /* [in] */ long lTop);
  8291. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )(
  8292. IAgentCharacter __RPC_FAR * This,
  8293. /* [out] */ long __RPC_FAR *plLeft,
  8294. /* [out] */ long __RPC_FAR *plTop);
  8295. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSize )(
  8296. IAgentCharacter __RPC_FAR * This,
  8297. /* [in] */ long lWidth,
  8298. /* [in] */ long lHeight);
  8299. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )(
  8300. IAgentCharacter __RPC_FAR * This,
  8301. /* [out] */ long __RPC_FAR *plWidth,
  8302. /* [out] */ long __RPC_FAR *plHeight);
  8303. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
  8304. IAgentCharacter __RPC_FAR * This,
  8305. /* [out] */ BSTR __RPC_FAR *pbszName);
  8306. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDescription )(
  8307. IAgentCharacter __RPC_FAR * This,
  8308. /* [out] */ BSTR __RPC_FAR *pbszDescription);
  8309. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSSpeed )(
  8310. IAgentCharacter __RPC_FAR * This,
  8311. /* [out] */ long __RPC_FAR *pdwSpeed);
  8312. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSPitch )(
  8313. IAgentCharacter __RPC_FAR * This,
  8314. /* [out] */ short __RPC_FAR *pwPitch);
  8315. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Activate )(
  8316. IAgentCharacter __RPC_FAR * This,
  8317. /* [in] */ short sState);
  8318. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIdleOn )(
  8319. IAgentCharacter __RPC_FAR * This,
  8320. /* [in] */ long bOn);
  8321. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIdleOn )(
  8322. IAgentCharacter __RPC_FAR * This,
  8323. /* [out] */ long __RPC_FAR *pbOn);
  8324. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Prepare )(
  8325. IAgentCharacter __RPC_FAR * This,
  8326. /* [in] */ long dwType,
  8327. /* [in] */ BSTR bszName,
  8328. /* [in] */ long bQueue,
  8329. /* [out] */ long __RPC_FAR *pdwReqID);
  8330. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Play )(
  8331. IAgentCharacter __RPC_FAR * This,
  8332. /* [in] */ BSTR bszAnimation,
  8333. /* [out] */ long __RPC_FAR *pdwReqID);
  8334. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Stop )(
  8335. IAgentCharacter __RPC_FAR * This,
  8336. /* [in] */ long dwReqID);
  8337. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StopAll )(
  8338. IAgentCharacter __RPC_FAR * This,
  8339. /* [in] */ long lTypes);
  8340. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Wait )(
  8341. IAgentCharacter __RPC_FAR * This,
  8342. /* [in] */ long dwReqID,
  8343. /* [out] */ long __RPC_FAR *pdwReqID);
  8344. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Interrupt )(
  8345. IAgentCharacter __RPC_FAR * This,
  8346. /* [in] */ long dwReqID,
  8347. /* [out] */ long __RPC_FAR *pdwReqID);
  8348. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Show )(
  8349. IAgentCharacter __RPC_FAR * This,
  8350. /* [in] */ long bFast,
  8351. /* [out] */ long __RPC_FAR *pdwReqID);
  8352. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Hide )(
  8353. IAgentCharacter __RPC_FAR * This,
  8354. /* [in] */ long bFast,
  8355. /* [out] */ long __RPC_FAR *pdwReqID);
  8356. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Speak )(
  8357. IAgentCharacter __RPC_FAR * This,
  8358. /* [in] */ BSTR bszText,
  8359. /* [in] */ BSTR bszUrl,
  8360. /* [out] */ long __RPC_FAR *pdwReqID);
  8361. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveTo )(
  8362. IAgentCharacter __RPC_FAR * This,
  8363. /* [in] */ short x,
  8364. /* [in] */ short y,
  8365. /* [in] */ long lSpeed,
  8366. /* [out] */ long __RPC_FAR *pdwReqID);
  8367. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GestureAt )(
  8368. IAgentCharacter __RPC_FAR * This,
  8369. /* [in] */ short x,
  8370. /* [in] */ short y,
  8371. /* [out] */ long __RPC_FAR *pdwReqID);
  8372. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMoveCause )(
  8373. IAgentCharacter __RPC_FAR * This,
  8374. /* [out] */ long __RPC_FAR *pdwCause);
  8375. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisibilityCause )(
  8376. IAgentCharacter __RPC_FAR * This,
  8377. /* [out] */ long __RPC_FAR *pdwCause);
  8378. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HasOtherClients )(
  8379. IAgentCharacter __RPC_FAR * This,
  8380. /* [out] */ long __RPC_FAR *plNumOtherClients);
  8381. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSoundEffectsOn )(
  8382. IAgentCharacter __RPC_FAR * This,
  8383. /* [in] */ long bOn);
  8384. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSoundEffectsOn )(
  8385. IAgentCharacter __RPC_FAR * This,
  8386. /* [out] */ long __RPC_FAR *pbOn);
  8387. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetName )(
  8388. IAgentCharacter __RPC_FAR * This,
  8389. /* [in] */ BSTR bszName);
  8390. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDescription )(
  8391. IAgentCharacter __RPC_FAR * This,
  8392. /* [in] */ BSTR bszDescription);
  8393. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetExtraData )(
  8394. IAgentCharacter __RPC_FAR * This,
  8395. /* [out] */ BSTR __RPC_FAR *pbszExtraData);
  8396. END_INTERFACE
  8397. } IAgentCharacterVtbl;
  8398. interface IAgentCharacter
  8399. {
  8400. CONST_VTBL struct IAgentCharacterVtbl __RPC_FAR *lpVtbl;
  8401. };
  8402. #ifdef COBJMACROS
  8403. #define IAgentCharacter_QueryInterface(This,riid,ppvObject) \
  8404. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8405. #define IAgentCharacter_AddRef(This) \
  8406. (This)->lpVtbl -> AddRef(This)
  8407. #define IAgentCharacter_Release(This) \
  8408. (This)->lpVtbl -> Release(This)
  8409. #define IAgentCharacter_GetTypeInfoCount(This,pctinfo) \
  8410. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  8411. #define IAgentCharacter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  8412. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  8413. #define IAgentCharacter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  8414. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  8415. #define IAgentCharacter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  8416. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  8417. #define IAgentCharacter_GetVisible(This,pbVisible) \
  8418. (This)->lpVtbl -> GetVisible(This,pbVisible)
  8419. #define IAgentCharacter_SetPosition(This,lLeft,lTop) \
  8420. (This)->lpVtbl -> SetPosition(This,lLeft,lTop)
  8421. #define IAgentCharacter_GetPosition(This,plLeft,plTop) \
  8422. (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  8423. #define IAgentCharacter_SetSize(This,lWidth,lHeight) \
  8424. (This)->lpVtbl -> SetSize(This,lWidth,lHeight)
  8425. #define IAgentCharacter_GetSize(This,plWidth,plHeight) \
  8426. (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  8427. #define IAgentCharacter_GetName(This,pbszName) \
  8428. (This)->lpVtbl -> GetName(This,pbszName)
  8429. #define IAgentCharacter_GetDescription(This,pbszDescription) \
  8430. (This)->lpVtbl -> GetDescription(This,pbszDescription)
  8431. #define IAgentCharacter_GetTTSSpeed(This,pdwSpeed) \
  8432. (This)->lpVtbl -> GetTTSSpeed(This,pdwSpeed)
  8433. #define IAgentCharacter_GetTTSPitch(This,pwPitch) \
  8434. (This)->lpVtbl -> GetTTSPitch(This,pwPitch)
  8435. #define IAgentCharacter_Activate(This,sState) \
  8436. (This)->lpVtbl -> Activate(This,sState)
  8437. #define IAgentCharacter_SetIdleOn(This,bOn) \
  8438. (This)->lpVtbl -> SetIdleOn(This,bOn)
  8439. #define IAgentCharacter_GetIdleOn(This,pbOn) \
  8440. (This)->lpVtbl -> GetIdleOn(This,pbOn)
  8441. #define IAgentCharacter_Prepare(This,dwType,bszName,bQueue,pdwReqID) \
  8442. (This)->lpVtbl -> Prepare(This,dwType,bszName,bQueue,pdwReqID)
  8443. #define IAgentCharacter_Play(This,bszAnimation,pdwReqID) \
  8444. (This)->lpVtbl -> Play(This,bszAnimation,pdwReqID)
  8445. #define IAgentCharacter_Stop(This,dwReqID) \
  8446. (This)->lpVtbl -> Stop(This,dwReqID)
  8447. #define IAgentCharacter_StopAll(This,lTypes) \
  8448. (This)->lpVtbl -> StopAll(This,lTypes)
  8449. #define IAgentCharacter_Wait(This,dwReqID,pdwReqID) \
  8450. (This)->lpVtbl -> Wait(This,dwReqID,pdwReqID)
  8451. #define IAgentCharacter_Interrupt(This,dwReqID,pdwReqID) \
  8452. (This)->lpVtbl -> Interrupt(This,dwReqID,pdwReqID)
  8453. #define IAgentCharacter_Show(This,bFast,pdwReqID) \
  8454. (This)->lpVtbl -> Show(This,bFast,pdwReqID)
  8455. #define IAgentCharacter_Hide(This,bFast,pdwReqID) \
  8456. (This)->lpVtbl -> Hide(This,bFast,pdwReqID)
  8457. #define IAgentCharacter_Speak(This,bszText,bszUrl,pdwReqID) \
  8458. (This)->lpVtbl -> Speak(This,bszText,bszUrl,pdwReqID)
  8459. #define IAgentCharacter_MoveTo(This,x,y,lSpeed,pdwReqID) \
  8460. (This)->lpVtbl -> MoveTo(This,x,y,lSpeed,pdwReqID)
  8461. #define IAgentCharacter_GestureAt(This,x,y,pdwReqID) \
  8462. (This)->lpVtbl -> GestureAt(This,x,y,pdwReqID)
  8463. #define IAgentCharacter_GetMoveCause(This,pdwCause) \
  8464. (This)->lpVtbl -> GetMoveCause(This,pdwCause)
  8465. #define IAgentCharacter_GetVisibilityCause(This,pdwCause) \
  8466. (This)->lpVtbl -> GetVisibilityCause(This,pdwCause)
  8467. #define IAgentCharacter_HasOtherClients(This,plNumOtherClients) \
  8468. (This)->lpVtbl -> HasOtherClients(This,plNumOtherClients)
  8469. #define IAgentCharacter_SetSoundEffectsOn(This,bOn) \
  8470. (This)->lpVtbl -> SetSoundEffectsOn(This,bOn)
  8471. #define IAgentCharacter_GetSoundEffectsOn(This,pbOn) \
  8472. (This)->lpVtbl -> GetSoundEffectsOn(This,pbOn)
  8473. #define IAgentCharacter_SetName(This,bszName) \
  8474. (This)->lpVtbl -> SetName(This,bszName)
  8475. #define IAgentCharacter_SetDescription(This,bszDescription) \
  8476. (This)->lpVtbl -> SetDescription(This,bszDescription)
  8477. #define IAgentCharacter_GetExtraData(This,pbszExtraData) \
  8478. (This)->lpVtbl -> GetExtraData(This,pbszExtraData)
  8479. #endif /* COBJMACROS */
  8480. #endif /* C style interface */
  8481. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetVisible_Proxy(
  8482. IAgentCharacter __RPC_FAR * This,
  8483. /* [out] */ long __RPC_FAR *pbVisible);
  8484. void __RPC_STUB IAgentCharacter_GetVisible_Stub(
  8485. IRpcStubBuffer *This,
  8486. IRpcChannelBuffer *_pRpcChannelBuffer,
  8487. PRPC_MESSAGE _pRpcMessage,
  8488. DWORD *_pdwStubPhase);
  8489. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetPosition_Proxy(
  8490. IAgentCharacter __RPC_FAR * This,
  8491. /* [in] */ long lLeft,
  8492. /* [in] */ long lTop);
  8493. void __RPC_STUB IAgentCharacter_SetPosition_Stub(
  8494. IRpcStubBuffer *This,
  8495. IRpcChannelBuffer *_pRpcChannelBuffer,
  8496. PRPC_MESSAGE _pRpcMessage,
  8497. DWORD *_pdwStubPhase);
  8498. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetPosition_Proxy(
  8499. IAgentCharacter __RPC_FAR * This,
  8500. /* [out] */ long __RPC_FAR *plLeft,
  8501. /* [out] */ long __RPC_FAR *plTop);
  8502. void __RPC_STUB IAgentCharacter_GetPosition_Stub(
  8503. IRpcStubBuffer *This,
  8504. IRpcChannelBuffer *_pRpcChannelBuffer,
  8505. PRPC_MESSAGE _pRpcMessage,
  8506. DWORD *_pdwStubPhase);
  8507. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetSize_Proxy(
  8508. IAgentCharacter __RPC_FAR * This,
  8509. /* [in] */ long lWidth,
  8510. /* [in] */ long lHeight);
  8511. void __RPC_STUB IAgentCharacter_SetSize_Stub(
  8512. IRpcStubBuffer *This,
  8513. IRpcChannelBuffer *_pRpcChannelBuffer,
  8514. PRPC_MESSAGE _pRpcMessage,
  8515. DWORD *_pdwStubPhase);
  8516. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetSize_Proxy(
  8517. IAgentCharacter __RPC_FAR * This,
  8518. /* [out] */ long __RPC_FAR *plWidth,
  8519. /* [out] */ long __RPC_FAR *plHeight);
  8520. void __RPC_STUB IAgentCharacter_GetSize_Stub(
  8521. IRpcStubBuffer *This,
  8522. IRpcChannelBuffer *_pRpcChannelBuffer,
  8523. PRPC_MESSAGE _pRpcMessage,
  8524. DWORD *_pdwStubPhase);
  8525. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetName_Proxy(
  8526. IAgentCharacter __RPC_FAR * This,
  8527. /* [out] */ BSTR __RPC_FAR *pbszName);
  8528. void __RPC_STUB IAgentCharacter_GetName_Stub(
  8529. IRpcStubBuffer *This,
  8530. IRpcChannelBuffer *_pRpcChannelBuffer,
  8531. PRPC_MESSAGE _pRpcMessage,
  8532. DWORD *_pdwStubPhase);
  8533. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetDescription_Proxy(
  8534. IAgentCharacter __RPC_FAR * This,
  8535. /* [out] */ BSTR __RPC_FAR *pbszDescription);
  8536. void __RPC_STUB IAgentCharacter_GetDescription_Stub(
  8537. IRpcStubBuffer *This,
  8538. IRpcChannelBuffer *_pRpcChannelBuffer,
  8539. PRPC_MESSAGE _pRpcMessage,
  8540. DWORD *_pdwStubPhase);
  8541. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetTTSSpeed_Proxy(
  8542. IAgentCharacter __RPC_FAR * This,
  8543. /* [out] */ long __RPC_FAR *pdwSpeed);
  8544. void __RPC_STUB IAgentCharacter_GetTTSSpeed_Stub(
  8545. IRpcStubBuffer *This,
  8546. IRpcChannelBuffer *_pRpcChannelBuffer,
  8547. PRPC_MESSAGE _pRpcMessage,
  8548. DWORD *_pdwStubPhase);
  8549. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetTTSPitch_Proxy(
  8550. IAgentCharacter __RPC_FAR * This,
  8551. /* [out] */ short __RPC_FAR *pwPitch);
  8552. void __RPC_STUB IAgentCharacter_GetTTSPitch_Stub(
  8553. IRpcStubBuffer *This,
  8554. IRpcChannelBuffer *_pRpcChannelBuffer,
  8555. PRPC_MESSAGE _pRpcMessage,
  8556. DWORD *_pdwStubPhase);
  8557. HRESULT STDMETHODCALLTYPE IAgentCharacter_Activate_Proxy(
  8558. IAgentCharacter __RPC_FAR * This,
  8559. /* [in] */ short sState);
  8560. void __RPC_STUB IAgentCharacter_Activate_Stub(
  8561. IRpcStubBuffer *This,
  8562. IRpcChannelBuffer *_pRpcChannelBuffer,
  8563. PRPC_MESSAGE _pRpcMessage,
  8564. DWORD *_pdwStubPhase);
  8565. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetIdleOn_Proxy(
  8566. IAgentCharacter __RPC_FAR * This,
  8567. /* [in] */ long bOn);
  8568. void __RPC_STUB IAgentCharacter_SetIdleOn_Stub(
  8569. IRpcStubBuffer *This,
  8570. IRpcChannelBuffer *_pRpcChannelBuffer,
  8571. PRPC_MESSAGE _pRpcMessage,
  8572. DWORD *_pdwStubPhase);
  8573. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetIdleOn_Proxy(
  8574. IAgentCharacter __RPC_FAR * This,
  8575. /* [out] */ long __RPC_FAR *pbOn);
  8576. void __RPC_STUB IAgentCharacter_GetIdleOn_Stub(
  8577. IRpcStubBuffer *This,
  8578. IRpcChannelBuffer *_pRpcChannelBuffer,
  8579. PRPC_MESSAGE _pRpcMessage,
  8580. DWORD *_pdwStubPhase);
  8581. HRESULT STDMETHODCALLTYPE IAgentCharacter_Prepare_Proxy(
  8582. IAgentCharacter __RPC_FAR * This,
  8583. /* [in] */ long dwType,
  8584. /* [in] */ BSTR bszName,
  8585. /* [in] */ long bQueue,
  8586. /* [out] */ long __RPC_FAR *pdwReqID);
  8587. void __RPC_STUB IAgentCharacter_Prepare_Stub(
  8588. IRpcStubBuffer *This,
  8589. IRpcChannelBuffer *_pRpcChannelBuffer,
  8590. PRPC_MESSAGE _pRpcMessage,
  8591. DWORD *_pdwStubPhase);
  8592. HRESULT STDMETHODCALLTYPE IAgentCharacter_Play_Proxy(
  8593. IAgentCharacter __RPC_FAR * This,
  8594. /* [in] */ BSTR bszAnimation,
  8595. /* [out] */ long __RPC_FAR *pdwReqID);
  8596. void __RPC_STUB IAgentCharacter_Play_Stub(
  8597. IRpcStubBuffer *This,
  8598. IRpcChannelBuffer *_pRpcChannelBuffer,
  8599. PRPC_MESSAGE _pRpcMessage,
  8600. DWORD *_pdwStubPhase);
  8601. HRESULT STDMETHODCALLTYPE IAgentCharacter_Stop_Proxy(
  8602. IAgentCharacter __RPC_FAR * This,
  8603. /* [in] */ long dwReqID);
  8604. void __RPC_STUB IAgentCharacter_Stop_Stub(
  8605. IRpcStubBuffer *This,
  8606. IRpcChannelBuffer *_pRpcChannelBuffer,
  8607. PRPC_MESSAGE _pRpcMessage,
  8608. DWORD *_pdwStubPhase);
  8609. HRESULT STDMETHODCALLTYPE IAgentCharacter_StopAll_Proxy(
  8610. IAgentCharacter __RPC_FAR * This,
  8611. /* [in] */ long lTypes);
  8612. void __RPC_STUB IAgentCharacter_StopAll_Stub(
  8613. IRpcStubBuffer *This,
  8614. IRpcChannelBuffer *_pRpcChannelBuffer,
  8615. PRPC_MESSAGE _pRpcMessage,
  8616. DWORD *_pdwStubPhase);
  8617. HRESULT STDMETHODCALLTYPE IAgentCharacter_Wait_Proxy(
  8618. IAgentCharacter __RPC_FAR * This,
  8619. /* [in] */ long dwReqID,
  8620. /* [out] */ long __RPC_FAR *pdwReqID);
  8621. void __RPC_STUB IAgentCharacter_Wait_Stub(
  8622. IRpcStubBuffer *This,
  8623. IRpcChannelBuffer *_pRpcChannelBuffer,
  8624. PRPC_MESSAGE _pRpcMessage,
  8625. DWORD *_pdwStubPhase);
  8626. HRESULT STDMETHODCALLTYPE IAgentCharacter_Interrupt_Proxy(
  8627. IAgentCharacter __RPC_FAR * This,
  8628. /* [in] */ long dwReqID,
  8629. /* [out] */ long __RPC_FAR *pdwReqID);
  8630. void __RPC_STUB IAgentCharacter_Interrupt_Stub(
  8631. IRpcStubBuffer *This,
  8632. IRpcChannelBuffer *_pRpcChannelBuffer,
  8633. PRPC_MESSAGE _pRpcMessage,
  8634. DWORD *_pdwStubPhase);
  8635. HRESULT STDMETHODCALLTYPE IAgentCharacter_Show_Proxy(
  8636. IAgentCharacter __RPC_FAR * This,
  8637. /* [in] */ long bFast,
  8638. /* [out] */ long __RPC_FAR *pdwReqID);
  8639. void __RPC_STUB IAgentCharacter_Show_Stub(
  8640. IRpcStubBuffer *This,
  8641. IRpcChannelBuffer *_pRpcChannelBuffer,
  8642. PRPC_MESSAGE _pRpcMessage,
  8643. DWORD *_pdwStubPhase);
  8644. HRESULT STDMETHODCALLTYPE IAgentCharacter_Hide_Proxy(
  8645. IAgentCharacter __RPC_FAR * This,
  8646. /* [in] */ long bFast,
  8647. /* [out] */ long __RPC_FAR *pdwReqID);
  8648. void __RPC_STUB IAgentCharacter_Hide_Stub(
  8649. IRpcStubBuffer *This,
  8650. IRpcChannelBuffer *_pRpcChannelBuffer,
  8651. PRPC_MESSAGE _pRpcMessage,
  8652. DWORD *_pdwStubPhase);
  8653. HRESULT STDMETHODCALLTYPE IAgentCharacter_Speak_Proxy(
  8654. IAgentCharacter __RPC_FAR * This,
  8655. /* [in] */ BSTR bszText,
  8656. /* [in] */ BSTR bszUrl,
  8657. /* [out] */ long __RPC_FAR *pdwReqID);
  8658. void __RPC_STUB IAgentCharacter_Speak_Stub(
  8659. IRpcStubBuffer *This,
  8660. IRpcChannelBuffer *_pRpcChannelBuffer,
  8661. PRPC_MESSAGE _pRpcMessage,
  8662. DWORD *_pdwStubPhase);
  8663. HRESULT STDMETHODCALLTYPE IAgentCharacter_MoveTo_Proxy(
  8664. IAgentCharacter __RPC_FAR * This,
  8665. /* [in] */ short x,
  8666. /* [in] */ short y,
  8667. /* [in] */ long lSpeed,
  8668. /* [out] */ long __RPC_FAR *pdwReqID);
  8669. void __RPC_STUB IAgentCharacter_MoveTo_Stub(
  8670. IRpcStubBuffer *This,
  8671. IRpcChannelBuffer *_pRpcChannelBuffer,
  8672. PRPC_MESSAGE _pRpcMessage,
  8673. DWORD *_pdwStubPhase);
  8674. HRESULT STDMETHODCALLTYPE IAgentCharacter_GestureAt_Proxy(
  8675. IAgentCharacter __RPC_FAR * This,
  8676. /* [in] */ short x,
  8677. /* [in] */ short y,
  8678. /* [out] */ long __RPC_FAR *pdwReqID);
  8679. void __RPC_STUB IAgentCharacter_GestureAt_Stub(
  8680. IRpcStubBuffer *This,
  8681. IRpcChannelBuffer *_pRpcChannelBuffer,
  8682. PRPC_MESSAGE _pRpcMessage,
  8683. DWORD *_pdwStubPhase);
  8684. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetMoveCause_Proxy(
  8685. IAgentCharacter __RPC_FAR * This,
  8686. /* [out] */ long __RPC_FAR *pdwCause);
  8687. void __RPC_STUB IAgentCharacter_GetMoveCause_Stub(
  8688. IRpcStubBuffer *This,
  8689. IRpcChannelBuffer *_pRpcChannelBuffer,
  8690. PRPC_MESSAGE _pRpcMessage,
  8691. DWORD *_pdwStubPhase);
  8692. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetVisibilityCause_Proxy(
  8693. IAgentCharacter __RPC_FAR * This,
  8694. /* [out] */ long __RPC_FAR *pdwCause);
  8695. void __RPC_STUB IAgentCharacter_GetVisibilityCause_Stub(
  8696. IRpcStubBuffer *This,
  8697. IRpcChannelBuffer *_pRpcChannelBuffer,
  8698. PRPC_MESSAGE _pRpcMessage,
  8699. DWORD *_pdwStubPhase);
  8700. HRESULT STDMETHODCALLTYPE IAgentCharacter_HasOtherClients_Proxy(
  8701. IAgentCharacter __RPC_FAR * This,
  8702. /* [out] */ long __RPC_FAR *plNumOtherClients);
  8703. void __RPC_STUB IAgentCharacter_HasOtherClients_Stub(
  8704. IRpcStubBuffer *This,
  8705. IRpcChannelBuffer *_pRpcChannelBuffer,
  8706. PRPC_MESSAGE _pRpcMessage,
  8707. DWORD *_pdwStubPhase);
  8708. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetSoundEffectsOn_Proxy(
  8709. IAgentCharacter __RPC_FAR * This,
  8710. /* [in] */ long bOn);
  8711. void __RPC_STUB IAgentCharacter_SetSoundEffectsOn_Stub(
  8712. IRpcStubBuffer *This,
  8713. IRpcChannelBuffer *_pRpcChannelBuffer,
  8714. PRPC_MESSAGE _pRpcMessage,
  8715. DWORD *_pdwStubPhase);
  8716. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetSoundEffectsOn_Proxy(
  8717. IAgentCharacter __RPC_FAR * This,
  8718. /* [out] */ long __RPC_FAR *pbOn);
  8719. void __RPC_STUB IAgentCharacter_GetSoundEffectsOn_Stub(
  8720. IRpcStubBuffer *This,
  8721. IRpcChannelBuffer *_pRpcChannelBuffer,
  8722. PRPC_MESSAGE _pRpcMessage,
  8723. DWORD *_pdwStubPhase);
  8724. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetName_Proxy(
  8725. IAgentCharacter __RPC_FAR * This,
  8726. /* [in] */ BSTR bszName);
  8727. void __RPC_STUB IAgentCharacter_SetName_Stub(
  8728. IRpcStubBuffer *This,
  8729. IRpcChannelBuffer *_pRpcChannelBuffer,
  8730. PRPC_MESSAGE _pRpcMessage,
  8731. DWORD *_pdwStubPhase);
  8732. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetDescription_Proxy(
  8733. IAgentCharacter __RPC_FAR * This,
  8734. /* [in] */ BSTR bszDescription);
  8735. void __RPC_STUB IAgentCharacter_SetDescription_Stub(
  8736. IRpcStubBuffer *This,
  8737. IRpcChannelBuffer *_pRpcChannelBuffer,
  8738. PRPC_MESSAGE _pRpcMessage,
  8739. DWORD *_pdwStubPhase);
  8740. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetExtraData_Proxy(
  8741. IAgentCharacter __RPC_FAR * This,
  8742. /* [out] */ BSTR __RPC_FAR *pbszExtraData);
  8743. void __RPC_STUB IAgentCharacter_GetExtraData_Stub(
  8744. IRpcStubBuffer *This,
  8745. IRpcChannelBuffer *_pRpcChannelBuffer,
  8746. PRPC_MESSAGE _pRpcMessage,
  8747. DWORD *_pdwStubPhase);
  8748. #endif /* __IAgentCharacter_INTERFACE_DEFINED__ */
  8749. #ifndef __IAgentCharacterEx_INTERFACE_DEFINED__
  8750. #define __IAgentCharacterEx_INTERFACE_DEFINED__
  8751. /* interface IAgentCharacterEx */
  8752. /* [unique][helpstring][dual][uuid][object] */
  8753. EXTERN_C const IID IID_IAgentCharacterEx;
  8754. #if defined(__cplusplus) && !defined(CINTERFACE)
  8755. MIDL_INTERFACE("98BBE491-2EED-11d1-ACAC-00C04FD97575")
  8756. IAgentCharacterEx : public IAgentCharacter
  8757. {
  8758. public:
  8759. virtual HRESULT STDMETHODCALLTYPE ShowPopupMenu(
  8760. /* [in] */ short x,
  8761. /* [in] */ short y) = 0;
  8762. virtual HRESULT STDMETHODCALLTYPE SetAutoPopupMenu(
  8763. /* [in] */ long bAutoPopupMenu) = 0;
  8764. virtual HRESULT STDMETHODCALLTYPE GetAutoPopupMenu(
  8765. /* [out] */ long __RPC_FAR *pbAutoPopupMenu) = 0;
  8766. virtual HRESULT STDMETHODCALLTYPE GetHelpFileName(
  8767. /* [out] */ BSTR __RPC_FAR *pbszName) = 0;
  8768. virtual HRESULT STDMETHODCALLTYPE SetHelpFileName(
  8769. /* [in] */ BSTR bszName) = 0;
  8770. virtual HRESULT STDMETHODCALLTYPE SetHelpModeOn(
  8771. /* [in] */ long bHelpModeOn) = 0;
  8772. virtual HRESULT STDMETHODCALLTYPE GetHelpModeOn(
  8773. /* [out] */ long __RPC_FAR *pbHelpModeOn) = 0;
  8774. virtual HRESULT STDMETHODCALLTYPE SetHelpContextID(
  8775. /* [in] */ long ulID) = 0;
  8776. virtual HRESULT STDMETHODCALLTYPE GetHelpContextID(
  8777. /* [out] */ long __RPC_FAR *pulID) = 0;
  8778. virtual HRESULT STDMETHODCALLTYPE GetActive(
  8779. /* [out] */ short __RPC_FAR *psState) = 0;
  8780. virtual HRESULT STDMETHODCALLTYPE Listen(
  8781. /* [in] */ long bListen) = 0;
  8782. virtual HRESULT STDMETHODCALLTYPE SetLanguageID(
  8783. /* [in] */ long langid) = 0;
  8784. virtual HRESULT STDMETHODCALLTYPE GetLanguageID(
  8785. /* [out] */ long __RPC_FAR *plangid) = 0;
  8786. virtual HRESULT STDMETHODCALLTYPE GetTTSModeID(
  8787. /* [out] */ BSTR __RPC_FAR *pbszModeID) = 0;
  8788. virtual HRESULT STDMETHODCALLTYPE SetTTSModeID(
  8789. /* [in] */ BSTR bszModeID) = 0;
  8790. virtual HRESULT STDMETHODCALLTYPE GetSRModeID(
  8791. /* [out] */ BSTR __RPC_FAR *pbszModeID) = 0;
  8792. virtual HRESULT STDMETHODCALLTYPE SetSRModeID(
  8793. /* [in] */ BSTR bszModeID) = 0;
  8794. virtual HRESULT STDMETHODCALLTYPE GetGUID(
  8795. /* [out] */ BSTR __RPC_FAR *pbszID) = 0;
  8796. virtual HRESULT STDMETHODCALLTYPE GetOriginalSize(
  8797. /* [out] */ long __RPC_FAR *plWidth,
  8798. /* [out] */ long __RPC_FAR *plHeight) = 0;
  8799. virtual HRESULT STDMETHODCALLTYPE Think(
  8800. /* [in] */ BSTR bszText,
  8801. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  8802. virtual HRESULT STDMETHODCALLTYPE GetVersion(
  8803. /* [out] */ short __RPC_FAR *psMajor,
  8804. /* [out] */ short __RPC_FAR *psMinor) = 0;
  8805. virtual HRESULT STDMETHODCALLTYPE GetAnimationNames(
  8806. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *punkEnum) = 0;
  8807. virtual HRESULT STDMETHODCALLTYPE GetSRStatus(
  8808. /* [out] */ long __RPC_FAR *plStatus) = 0;
  8809. };
  8810. #else /* C style interface */
  8811. typedef struct IAgentCharacterExVtbl
  8812. {
  8813. BEGIN_INTERFACE
  8814. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  8815. IAgentCharacterEx __RPC_FAR * This,
  8816. /* [in] */ REFIID riid,
  8817. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  8818. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  8819. IAgentCharacterEx __RPC_FAR * This);
  8820. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  8821. IAgentCharacterEx __RPC_FAR * This);
  8822. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  8823. IAgentCharacterEx __RPC_FAR * This,
  8824. /* [out] */ UINT __RPC_FAR *pctinfo);
  8825. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  8826. IAgentCharacterEx __RPC_FAR * This,
  8827. /* [in] */ UINT iTInfo,
  8828. /* [in] */ LCID lcid,
  8829. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  8830. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  8831. IAgentCharacterEx __RPC_FAR * This,
  8832. /* [in] */ REFIID riid,
  8833. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  8834. /* [in] */ UINT cNames,
  8835. /* [in] */ LCID lcid,
  8836. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  8837. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  8838. IAgentCharacterEx __RPC_FAR * This,
  8839. /* [in] */ DISPID dispIdMember,
  8840. /* [in] */ REFIID riid,
  8841. /* [in] */ LCID lcid,
  8842. /* [in] */ WORD wFlags,
  8843. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  8844. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  8845. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  8846. /* [out] */ UINT __RPC_FAR *puArgErr);
  8847. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )(
  8848. IAgentCharacterEx __RPC_FAR * This,
  8849. /* [out] */ long __RPC_FAR *pbVisible);
  8850. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPosition )(
  8851. IAgentCharacterEx __RPC_FAR * This,
  8852. /* [in] */ long lLeft,
  8853. /* [in] */ long lTop);
  8854. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )(
  8855. IAgentCharacterEx __RPC_FAR * This,
  8856. /* [out] */ long __RPC_FAR *plLeft,
  8857. /* [out] */ long __RPC_FAR *plTop);
  8858. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSize )(
  8859. IAgentCharacterEx __RPC_FAR * This,
  8860. /* [in] */ long lWidth,
  8861. /* [in] */ long lHeight);
  8862. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )(
  8863. IAgentCharacterEx __RPC_FAR * This,
  8864. /* [out] */ long __RPC_FAR *plWidth,
  8865. /* [out] */ long __RPC_FAR *plHeight);
  8866. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
  8867. IAgentCharacterEx __RPC_FAR * This,
  8868. /* [out] */ BSTR __RPC_FAR *pbszName);
  8869. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDescription )(
  8870. IAgentCharacterEx __RPC_FAR * This,
  8871. /* [out] */ BSTR __RPC_FAR *pbszDescription);
  8872. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSSpeed )(
  8873. IAgentCharacterEx __RPC_FAR * This,
  8874. /* [out] */ long __RPC_FAR *pdwSpeed);
  8875. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSPitch )(
  8876. IAgentCharacterEx __RPC_FAR * This,
  8877. /* [out] */ short __RPC_FAR *pwPitch);
  8878. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Activate )(
  8879. IAgentCharacterEx __RPC_FAR * This,
  8880. /* [in] */ short sState);
  8881. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIdleOn )(
  8882. IAgentCharacterEx __RPC_FAR * This,
  8883. /* [in] */ long bOn);
  8884. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIdleOn )(
  8885. IAgentCharacterEx __RPC_FAR * This,
  8886. /* [out] */ long __RPC_FAR *pbOn);
  8887. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Prepare )(
  8888. IAgentCharacterEx __RPC_FAR * This,
  8889. /* [in] */ long dwType,
  8890. /* [in] */ BSTR bszName,
  8891. /* [in] */ long bQueue,
  8892. /* [out] */ long __RPC_FAR *pdwReqID);
  8893. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Play )(
  8894. IAgentCharacterEx __RPC_FAR * This,
  8895. /* [in] */ BSTR bszAnimation,
  8896. /* [out] */ long __RPC_FAR *pdwReqID);
  8897. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Stop )(
  8898. IAgentCharacterEx __RPC_FAR * This,
  8899. /* [in] */ long dwReqID);
  8900. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StopAll )(
  8901. IAgentCharacterEx __RPC_FAR * This,
  8902. /* [in] */ long lTypes);
  8903. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Wait )(
  8904. IAgentCharacterEx __RPC_FAR * This,
  8905. /* [in] */ long dwReqID,
  8906. /* [out] */ long __RPC_FAR *pdwReqID);
  8907. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Interrupt )(
  8908. IAgentCharacterEx __RPC_FAR * This,
  8909. /* [in] */ long dwReqID,
  8910. /* [out] */ long __RPC_FAR *pdwReqID);
  8911. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Show )(
  8912. IAgentCharacterEx __RPC_FAR * This,
  8913. /* [in] */ long bFast,
  8914. /* [out] */ long __RPC_FAR *pdwReqID);
  8915. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Hide )(
  8916. IAgentCharacterEx __RPC_FAR * This,
  8917. /* [in] */ long bFast,
  8918. /* [out] */ long __RPC_FAR *pdwReqID);
  8919. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Speak )(
  8920. IAgentCharacterEx __RPC_FAR * This,
  8921. /* [in] */ BSTR bszText,
  8922. /* [in] */ BSTR bszUrl,
  8923. /* [out] */ long __RPC_FAR *pdwReqID);
  8924. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveTo )(
  8925. IAgentCharacterEx __RPC_FAR * This,
  8926. /* [in] */ short x,
  8927. /* [in] */ short y,
  8928. /* [in] */ long lSpeed,
  8929. /* [out] */ long __RPC_FAR *pdwReqID);
  8930. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GestureAt )(
  8931. IAgentCharacterEx __RPC_FAR * This,
  8932. /* [in] */ short x,
  8933. /* [in] */ short y,
  8934. /* [out] */ long __RPC_FAR *pdwReqID);
  8935. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMoveCause )(
  8936. IAgentCharacterEx __RPC_FAR * This,
  8937. /* [out] */ long __RPC_FAR *pdwCause);
  8938. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisibilityCause )(
  8939. IAgentCharacterEx __RPC_FAR * This,
  8940. /* [out] */ long __RPC_FAR *pdwCause);
  8941. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HasOtherClients )(
  8942. IAgentCharacterEx __RPC_FAR * This,
  8943. /* [out] */ long __RPC_FAR *plNumOtherClients);
  8944. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSoundEffectsOn )(
  8945. IAgentCharacterEx __RPC_FAR * This,
  8946. /* [in] */ long bOn);
  8947. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSoundEffectsOn )(
  8948. IAgentCharacterEx __RPC_FAR * This,
  8949. /* [out] */ long __RPC_FAR *pbOn);
  8950. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetName )(
  8951. IAgentCharacterEx __RPC_FAR * This,
  8952. /* [in] */ BSTR bszName);
  8953. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDescription )(
  8954. IAgentCharacterEx __RPC_FAR * This,
  8955. /* [in] */ BSTR bszDescription);
  8956. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetExtraData )(
  8957. IAgentCharacterEx __RPC_FAR * This,
  8958. /* [out] */ BSTR __RPC_FAR *pbszExtraData);
  8959. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowPopupMenu )(
  8960. IAgentCharacterEx __RPC_FAR * This,
  8961. /* [in] */ short x,
  8962. /* [in] */ short y);
  8963. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAutoPopupMenu )(
  8964. IAgentCharacterEx __RPC_FAR * This,
  8965. /* [in] */ long bAutoPopupMenu);
  8966. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAutoPopupMenu )(
  8967. IAgentCharacterEx __RPC_FAR * This,
  8968. /* [out] */ long __RPC_FAR *pbAutoPopupMenu);
  8969. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpFileName )(
  8970. IAgentCharacterEx __RPC_FAR * This,
  8971. /* [out] */ BSTR __RPC_FAR *pbszName);
  8972. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpFileName )(
  8973. IAgentCharacterEx __RPC_FAR * This,
  8974. /* [in] */ BSTR bszName);
  8975. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpModeOn )(
  8976. IAgentCharacterEx __RPC_FAR * This,
  8977. /* [in] */ long bHelpModeOn);
  8978. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpModeOn )(
  8979. IAgentCharacterEx __RPC_FAR * This,
  8980. /* [out] */ long __RPC_FAR *pbHelpModeOn);
  8981. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpContextID )(
  8982. IAgentCharacterEx __RPC_FAR * This,
  8983. /* [in] */ long ulID);
  8984. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpContextID )(
  8985. IAgentCharacterEx __RPC_FAR * This,
  8986. /* [out] */ long __RPC_FAR *pulID);
  8987. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetActive )(
  8988. IAgentCharacterEx __RPC_FAR * This,
  8989. /* [out] */ short __RPC_FAR *psState);
  8990. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Listen )(
  8991. IAgentCharacterEx __RPC_FAR * This,
  8992. /* [in] */ long bListen);
  8993. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLanguageID )(
  8994. IAgentCharacterEx __RPC_FAR * This,
  8995. /* [in] */ long langid);
  8996. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLanguageID )(
  8997. IAgentCharacterEx __RPC_FAR * This,
  8998. /* [out] */ long __RPC_FAR *plangid);
  8999. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSModeID )(
  9000. IAgentCharacterEx __RPC_FAR * This,
  9001. /* [out] */ BSTR __RPC_FAR *pbszModeID);
  9002. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetTTSModeID )(
  9003. IAgentCharacterEx __RPC_FAR * This,
  9004. /* [in] */ BSTR bszModeID);
  9005. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSRModeID )(
  9006. IAgentCharacterEx __RPC_FAR * This,
  9007. /* [out] */ BSTR __RPC_FAR *pbszModeID);
  9008. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSRModeID )(
  9009. IAgentCharacterEx __RPC_FAR * This,
  9010. /* [in] */ BSTR bszModeID);
  9011. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetGUID )(
  9012. IAgentCharacterEx __RPC_FAR * This,
  9013. /* [out] */ BSTR __RPC_FAR *pbszID);
  9014. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetOriginalSize )(
  9015. IAgentCharacterEx __RPC_FAR * This,
  9016. /* [out] */ long __RPC_FAR *plWidth,
  9017. /* [out] */ long __RPC_FAR *plHeight);
  9018. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Think )(
  9019. IAgentCharacterEx __RPC_FAR * This,
  9020. /* [in] */ BSTR bszText,
  9021. /* [out] */ long __RPC_FAR *pdwReqID);
  9022. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVersion )(
  9023. IAgentCharacterEx __RPC_FAR * This,
  9024. /* [out] */ short __RPC_FAR *psMajor,
  9025. /* [out] */ short __RPC_FAR *psMinor);
  9026. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAnimationNames )(
  9027. IAgentCharacterEx __RPC_FAR * This,
  9028. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *punkEnum);
  9029. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSRStatus )(
  9030. IAgentCharacterEx __RPC_FAR * This,
  9031. /* [out] */ long __RPC_FAR *plStatus);
  9032. END_INTERFACE
  9033. } IAgentCharacterExVtbl;
  9034. interface IAgentCharacterEx
  9035. {
  9036. CONST_VTBL struct IAgentCharacterExVtbl __RPC_FAR *lpVtbl;
  9037. };
  9038. #ifdef COBJMACROS
  9039. #define IAgentCharacterEx_QueryInterface(This,riid,ppvObject) \
  9040. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9041. #define IAgentCharacterEx_AddRef(This) \
  9042. (This)->lpVtbl -> AddRef(This)
  9043. #define IAgentCharacterEx_Release(This) \
  9044. (This)->lpVtbl -> Release(This)
  9045. #define IAgentCharacterEx_GetTypeInfoCount(This,pctinfo) \
  9046. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9047. #define IAgentCharacterEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9048. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9049. #define IAgentCharacterEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9050. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9051. #define IAgentCharacterEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9052. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9053. #define IAgentCharacterEx_GetVisible(This,pbVisible) \
  9054. (This)->lpVtbl -> GetVisible(This,pbVisible)
  9055. #define IAgentCharacterEx_SetPosition(This,lLeft,lTop) \
  9056. (This)->lpVtbl -> SetPosition(This,lLeft,lTop)
  9057. #define IAgentCharacterEx_GetPosition(This,plLeft,plTop) \
  9058. (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  9059. #define IAgentCharacterEx_SetSize(This,lWidth,lHeight) \
  9060. (This)->lpVtbl -> SetSize(This,lWidth,lHeight)
  9061. #define IAgentCharacterEx_GetSize(This,plWidth,plHeight) \
  9062. (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  9063. #define IAgentCharacterEx_GetName(This,pbszName) \
  9064. (This)->lpVtbl -> GetName(This,pbszName)
  9065. #define IAgentCharacterEx_GetDescription(This,pbszDescription) \
  9066. (This)->lpVtbl -> GetDescription(This,pbszDescription)
  9067. #define IAgentCharacterEx_GetTTSSpeed(This,pdwSpeed) \
  9068. (This)->lpVtbl -> GetTTSSpeed(This,pdwSpeed)
  9069. #define IAgentCharacterEx_GetTTSPitch(This,pwPitch) \
  9070. (This)->lpVtbl -> GetTTSPitch(This,pwPitch)
  9071. #define IAgentCharacterEx_Activate(This,sState) \
  9072. (This)->lpVtbl -> Activate(This,sState)
  9073. #define IAgentCharacterEx_SetIdleOn(This,bOn) \
  9074. (This)->lpVtbl -> SetIdleOn(This,bOn)
  9075. #define IAgentCharacterEx_GetIdleOn(This,pbOn) \
  9076. (This)->lpVtbl -> GetIdleOn(This,pbOn)
  9077. #define IAgentCharacterEx_Prepare(This,dwType,bszName,bQueue,pdwReqID) \
  9078. (This)->lpVtbl -> Prepare(This,dwType,bszName,bQueue,pdwReqID)
  9079. #define IAgentCharacterEx_Play(This,bszAnimation,pdwReqID) \
  9080. (This)->lpVtbl -> Play(This,bszAnimation,pdwReqID)
  9081. #define IAgentCharacterEx_Stop(This,dwReqID) \
  9082. (This)->lpVtbl -> Stop(This,dwReqID)
  9083. #define IAgentCharacterEx_StopAll(This,lTypes) \
  9084. (This)->lpVtbl -> StopAll(This,lTypes)
  9085. #define IAgentCharacterEx_Wait(This,dwReqID,pdwReqID) \
  9086. (This)->lpVtbl -> Wait(This,dwReqID,pdwReqID)
  9087. #define IAgentCharacterEx_Interrupt(This,dwReqID,pdwReqID) \
  9088. (This)->lpVtbl -> Interrupt(This,dwReqID,pdwReqID)
  9089. #define IAgentCharacterEx_Show(This,bFast,pdwReqID) \
  9090. (This)->lpVtbl -> Show(This,bFast,pdwReqID)
  9091. #define IAgentCharacterEx_Hide(This,bFast,pdwReqID) \
  9092. (This)->lpVtbl -> Hide(This,bFast,pdwReqID)
  9093. #define IAgentCharacterEx_Speak(This,bszText,bszUrl,pdwReqID) \
  9094. (This)->lpVtbl -> Speak(This,bszText,bszUrl,pdwReqID)
  9095. #define IAgentCharacterEx_MoveTo(This,x,y,lSpeed,pdwReqID) \
  9096. (This)->lpVtbl -> MoveTo(This,x,y,lSpeed,pdwReqID)
  9097. #define IAgentCharacterEx_GestureAt(This,x,y,pdwReqID) \
  9098. (This)->lpVtbl -> GestureAt(This,x,y,pdwReqID)
  9099. #define IAgentCharacterEx_GetMoveCause(This,pdwCause) \
  9100. (This)->lpVtbl -> GetMoveCause(This,pdwCause)
  9101. #define IAgentCharacterEx_GetVisibilityCause(This,pdwCause) \
  9102. (This)->lpVtbl -> GetVisibilityCause(This,pdwCause)
  9103. #define IAgentCharacterEx_HasOtherClients(This,plNumOtherClients) \
  9104. (This)->lpVtbl -> HasOtherClients(This,plNumOtherClients)
  9105. #define IAgentCharacterEx_SetSoundEffectsOn(This,bOn) \
  9106. (This)->lpVtbl -> SetSoundEffectsOn(This,bOn)
  9107. #define IAgentCharacterEx_GetSoundEffectsOn(This,pbOn) \
  9108. (This)->lpVtbl -> GetSoundEffectsOn(This,pbOn)
  9109. #define IAgentCharacterEx_SetName(This,bszName) \
  9110. (This)->lpVtbl -> SetName(This,bszName)
  9111. #define IAgentCharacterEx_SetDescription(This,bszDescription) \
  9112. (This)->lpVtbl -> SetDescription(This,bszDescription)
  9113. #define IAgentCharacterEx_GetExtraData(This,pbszExtraData) \
  9114. (This)->lpVtbl -> GetExtraData(This,pbszExtraData)
  9115. #define IAgentCharacterEx_ShowPopupMenu(This,x,y) \
  9116. (This)->lpVtbl -> ShowPopupMenu(This,x,y)
  9117. #define IAgentCharacterEx_SetAutoPopupMenu(This,bAutoPopupMenu) \
  9118. (This)->lpVtbl -> SetAutoPopupMenu(This,bAutoPopupMenu)
  9119. #define IAgentCharacterEx_GetAutoPopupMenu(This,pbAutoPopupMenu) \
  9120. (This)->lpVtbl -> GetAutoPopupMenu(This,pbAutoPopupMenu)
  9121. #define IAgentCharacterEx_GetHelpFileName(This,pbszName) \
  9122. (This)->lpVtbl -> GetHelpFileName(This,pbszName)
  9123. #define IAgentCharacterEx_SetHelpFileName(This,bszName) \
  9124. (This)->lpVtbl -> SetHelpFileName(This,bszName)
  9125. #define IAgentCharacterEx_SetHelpModeOn(This,bHelpModeOn) \
  9126. (This)->lpVtbl -> SetHelpModeOn(This,bHelpModeOn)
  9127. #define IAgentCharacterEx_GetHelpModeOn(This,pbHelpModeOn) \
  9128. (This)->lpVtbl -> GetHelpModeOn(This,pbHelpModeOn)
  9129. #define IAgentCharacterEx_SetHelpContextID(This,ulID) \
  9130. (This)->lpVtbl -> SetHelpContextID(This,ulID)
  9131. #define IAgentCharacterEx_GetHelpContextID(This,pulID) \
  9132. (This)->lpVtbl -> GetHelpContextID(This,pulID)
  9133. #define IAgentCharacterEx_GetActive(This,psState) \
  9134. (This)->lpVtbl -> GetActive(This,psState)
  9135. #define IAgentCharacterEx_Listen(This,bListen) \
  9136. (This)->lpVtbl -> Listen(This,bListen)
  9137. #define IAgentCharacterEx_SetLanguageID(This,langid) \
  9138. (This)->lpVtbl -> SetLanguageID(This,langid)
  9139. #define IAgentCharacterEx_GetLanguageID(This,plangid) \
  9140. (This)->lpVtbl -> GetLanguageID(This,plangid)
  9141. #define IAgentCharacterEx_GetTTSModeID(This,pbszModeID) \
  9142. (This)->lpVtbl -> GetTTSModeID(This,pbszModeID)
  9143. #define IAgentCharacterEx_SetTTSModeID(This,bszModeID) \
  9144. (This)->lpVtbl -> SetTTSModeID(This,bszModeID)
  9145. #define IAgentCharacterEx_GetSRModeID(This,pbszModeID) \
  9146. (This)->lpVtbl -> GetSRModeID(This,pbszModeID)
  9147. #define IAgentCharacterEx_SetSRModeID(This,bszModeID) \
  9148. (This)->lpVtbl -> SetSRModeID(This,bszModeID)
  9149. #define IAgentCharacterEx_GetGUID(This,pbszID) \
  9150. (This)->lpVtbl -> GetGUID(This,pbszID)
  9151. #define IAgentCharacterEx_GetOriginalSize(This,plWidth,plHeight) \
  9152. (This)->lpVtbl -> GetOriginalSize(This,plWidth,plHeight)
  9153. #define IAgentCharacterEx_Think(This,bszText,pdwReqID) \
  9154. (This)->lpVtbl -> Think(This,bszText,pdwReqID)
  9155. #define IAgentCharacterEx_GetVersion(This,psMajor,psMinor) \
  9156. (This)->lpVtbl -> GetVersion(This,psMajor,psMinor)
  9157. #define IAgentCharacterEx_GetAnimationNames(This,punkEnum) \
  9158. (This)->lpVtbl -> GetAnimationNames(This,punkEnum)
  9159. #define IAgentCharacterEx_GetSRStatus(This,plStatus) \
  9160. (This)->lpVtbl -> GetSRStatus(This,plStatus)
  9161. #endif /* COBJMACROS */
  9162. #endif /* C style interface */
  9163. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_ShowPopupMenu_Proxy(
  9164. IAgentCharacterEx __RPC_FAR * This,
  9165. /* [in] */ short x,
  9166. /* [in] */ short y);
  9167. void __RPC_STUB IAgentCharacterEx_ShowPopupMenu_Stub(
  9168. IRpcStubBuffer *This,
  9169. IRpcChannelBuffer *_pRpcChannelBuffer,
  9170. PRPC_MESSAGE _pRpcMessage,
  9171. DWORD *_pdwStubPhase);
  9172. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetAutoPopupMenu_Proxy(
  9173. IAgentCharacterEx __RPC_FAR * This,
  9174. /* [in] */ long bAutoPopupMenu);
  9175. void __RPC_STUB IAgentCharacterEx_SetAutoPopupMenu_Stub(
  9176. IRpcStubBuffer *This,
  9177. IRpcChannelBuffer *_pRpcChannelBuffer,
  9178. PRPC_MESSAGE _pRpcMessage,
  9179. DWORD *_pdwStubPhase);
  9180. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetAutoPopupMenu_Proxy(
  9181. IAgentCharacterEx __RPC_FAR * This,
  9182. /* [out] */ long __RPC_FAR *pbAutoPopupMenu);
  9183. void __RPC_STUB IAgentCharacterEx_GetAutoPopupMenu_Stub(
  9184. IRpcStubBuffer *This,
  9185. IRpcChannelBuffer *_pRpcChannelBuffer,
  9186. PRPC_MESSAGE _pRpcMessage,
  9187. DWORD *_pdwStubPhase);
  9188. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetHelpFileName_Proxy(
  9189. IAgentCharacterEx __RPC_FAR * This,
  9190. /* [out] */ BSTR __RPC_FAR *pbszName);
  9191. void __RPC_STUB IAgentCharacterEx_GetHelpFileName_Stub(
  9192. IRpcStubBuffer *This,
  9193. IRpcChannelBuffer *_pRpcChannelBuffer,
  9194. PRPC_MESSAGE _pRpcMessage,
  9195. DWORD *_pdwStubPhase);
  9196. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetHelpFileName_Proxy(
  9197. IAgentCharacterEx __RPC_FAR * This,
  9198. /* [in] */ BSTR bszName);
  9199. void __RPC_STUB IAgentCharacterEx_SetHelpFileName_Stub(
  9200. IRpcStubBuffer *This,
  9201. IRpcChannelBuffer *_pRpcChannelBuffer,
  9202. PRPC_MESSAGE _pRpcMessage,
  9203. DWORD *_pdwStubPhase);
  9204. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetHelpModeOn_Proxy(
  9205. IAgentCharacterEx __RPC_FAR * This,
  9206. /* [in] */ long bHelpModeOn);
  9207. void __RPC_STUB IAgentCharacterEx_SetHelpModeOn_Stub(
  9208. IRpcStubBuffer *This,
  9209. IRpcChannelBuffer *_pRpcChannelBuffer,
  9210. PRPC_MESSAGE _pRpcMessage,
  9211. DWORD *_pdwStubPhase);
  9212. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetHelpModeOn_Proxy(
  9213. IAgentCharacterEx __RPC_FAR * This,
  9214. /* [out] */ long __RPC_FAR *pbHelpModeOn);
  9215. void __RPC_STUB IAgentCharacterEx_GetHelpModeOn_Stub(
  9216. IRpcStubBuffer *This,
  9217. IRpcChannelBuffer *_pRpcChannelBuffer,
  9218. PRPC_MESSAGE _pRpcMessage,
  9219. DWORD *_pdwStubPhase);
  9220. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetHelpContextID_Proxy(
  9221. IAgentCharacterEx __RPC_FAR * This,
  9222. /* [in] */ long ulID);
  9223. void __RPC_STUB IAgentCharacterEx_SetHelpContextID_Stub(
  9224. IRpcStubBuffer *This,
  9225. IRpcChannelBuffer *_pRpcChannelBuffer,
  9226. PRPC_MESSAGE _pRpcMessage,
  9227. DWORD *_pdwStubPhase);
  9228. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetHelpContextID_Proxy(
  9229. IAgentCharacterEx __RPC_FAR * This,
  9230. /* [out] */ long __RPC_FAR *pulID);
  9231. void __RPC_STUB IAgentCharacterEx_GetHelpContextID_Stub(
  9232. IRpcStubBuffer *This,
  9233. IRpcChannelBuffer *_pRpcChannelBuffer,
  9234. PRPC_MESSAGE _pRpcMessage,
  9235. DWORD *_pdwStubPhase);
  9236. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetActive_Proxy(
  9237. IAgentCharacterEx __RPC_FAR * This,
  9238. /* [out] */ short __RPC_FAR *psState);
  9239. void __RPC_STUB IAgentCharacterEx_GetActive_Stub(
  9240. IRpcStubBuffer *This,
  9241. IRpcChannelBuffer *_pRpcChannelBuffer,
  9242. PRPC_MESSAGE _pRpcMessage,
  9243. DWORD *_pdwStubPhase);
  9244. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_Listen_Proxy(
  9245. IAgentCharacterEx __RPC_FAR * This,
  9246. /* [in] */ long bListen);
  9247. void __RPC_STUB IAgentCharacterEx_Listen_Stub(
  9248. IRpcStubBuffer *This,
  9249. IRpcChannelBuffer *_pRpcChannelBuffer,
  9250. PRPC_MESSAGE _pRpcMessage,
  9251. DWORD *_pdwStubPhase);
  9252. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetLanguageID_Proxy(
  9253. IAgentCharacterEx __RPC_FAR * This,
  9254. /* [in] */ long langid);
  9255. void __RPC_STUB IAgentCharacterEx_SetLanguageID_Stub(
  9256. IRpcStubBuffer *This,
  9257. IRpcChannelBuffer *_pRpcChannelBuffer,
  9258. PRPC_MESSAGE _pRpcMessage,
  9259. DWORD *_pdwStubPhase);
  9260. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetLanguageID_Proxy(
  9261. IAgentCharacterEx __RPC_FAR * This,
  9262. /* [out] */ long __RPC_FAR *plangid);
  9263. void __RPC_STUB IAgentCharacterEx_GetLanguageID_Stub(
  9264. IRpcStubBuffer *This,
  9265. IRpcChannelBuffer *_pRpcChannelBuffer,
  9266. PRPC_MESSAGE _pRpcMessage,
  9267. DWORD *_pdwStubPhase);
  9268. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetTTSModeID_Proxy(
  9269. IAgentCharacterEx __RPC_FAR * This,
  9270. /* [out] */ BSTR __RPC_FAR *pbszModeID);
  9271. void __RPC_STUB IAgentCharacterEx_GetTTSModeID_Stub(
  9272. IRpcStubBuffer *This,
  9273. IRpcChannelBuffer *_pRpcChannelBuffer,
  9274. PRPC_MESSAGE _pRpcMessage,
  9275. DWORD *_pdwStubPhase);
  9276. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetTTSModeID_Proxy(
  9277. IAgentCharacterEx __RPC_FAR * This,
  9278. /* [in] */ BSTR bszModeID);
  9279. void __RPC_STUB IAgentCharacterEx_SetTTSModeID_Stub(
  9280. IRpcStubBuffer *This,
  9281. IRpcChannelBuffer *_pRpcChannelBuffer,
  9282. PRPC_MESSAGE _pRpcMessage,
  9283. DWORD *_pdwStubPhase);
  9284. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetSRModeID_Proxy(
  9285. IAgentCharacterEx __RPC_FAR * This,
  9286. /* [out] */ BSTR __RPC_FAR *pbszModeID);
  9287. void __RPC_STUB IAgentCharacterEx_GetSRModeID_Stub(
  9288. IRpcStubBuffer *This,
  9289. IRpcChannelBuffer *_pRpcChannelBuffer,
  9290. PRPC_MESSAGE _pRpcMessage,
  9291. DWORD *_pdwStubPhase);
  9292. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetSRModeID_Proxy(
  9293. IAgentCharacterEx __RPC_FAR * This,
  9294. /* [in] */ BSTR bszModeID);
  9295. void __RPC_STUB IAgentCharacterEx_SetSRModeID_Stub(
  9296. IRpcStubBuffer *This,
  9297. IRpcChannelBuffer *_pRpcChannelBuffer,
  9298. PRPC_MESSAGE _pRpcMessage,
  9299. DWORD *_pdwStubPhase);
  9300. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetGUID_Proxy(
  9301. IAgentCharacterEx __RPC_FAR * This,
  9302. /* [out] */ BSTR __RPC_FAR *pbszID);
  9303. void __RPC_STUB IAgentCharacterEx_GetGUID_Stub(
  9304. IRpcStubBuffer *This,
  9305. IRpcChannelBuffer *_pRpcChannelBuffer,
  9306. PRPC_MESSAGE _pRpcMessage,
  9307. DWORD *_pdwStubPhase);
  9308. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetOriginalSize_Proxy(
  9309. IAgentCharacterEx __RPC_FAR * This,
  9310. /* [out] */ long __RPC_FAR *plWidth,
  9311. /* [out] */ long __RPC_FAR *plHeight);
  9312. void __RPC_STUB IAgentCharacterEx_GetOriginalSize_Stub(
  9313. IRpcStubBuffer *This,
  9314. IRpcChannelBuffer *_pRpcChannelBuffer,
  9315. PRPC_MESSAGE _pRpcMessage,
  9316. DWORD *_pdwStubPhase);
  9317. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_Think_Proxy(
  9318. IAgentCharacterEx __RPC_FAR * This,
  9319. /* [in] */ BSTR bszText,
  9320. /* [out] */ long __RPC_FAR *pdwReqID);
  9321. void __RPC_STUB IAgentCharacterEx_Think_Stub(
  9322. IRpcStubBuffer *This,
  9323. IRpcChannelBuffer *_pRpcChannelBuffer,
  9324. PRPC_MESSAGE _pRpcMessage,
  9325. DWORD *_pdwStubPhase);
  9326. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetVersion_Proxy(
  9327. IAgentCharacterEx __RPC_FAR * This,
  9328. /* [out] */ short __RPC_FAR *psMajor,
  9329. /* [out] */ short __RPC_FAR *psMinor);
  9330. void __RPC_STUB IAgentCharacterEx_GetVersion_Stub(
  9331. IRpcStubBuffer *This,
  9332. IRpcChannelBuffer *_pRpcChannelBuffer,
  9333. PRPC_MESSAGE _pRpcMessage,
  9334. DWORD *_pdwStubPhase);
  9335. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetAnimationNames_Proxy(
  9336. IAgentCharacterEx __RPC_FAR * This,
  9337. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *punkEnum);
  9338. void __RPC_STUB IAgentCharacterEx_GetAnimationNames_Stub(
  9339. IRpcStubBuffer *This,
  9340. IRpcChannelBuffer *_pRpcChannelBuffer,
  9341. PRPC_MESSAGE _pRpcMessage,
  9342. DWORD *_pdwStubPhase);
  9343. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetSRStatus_Proxy(
  9344. IAgentCharacterEx __RPC_FAR * This,
  9345. /* [out] */ long __RPC_FAR *plStatus);
  9346. void __RPC_STUB IAgentCharacterEx_GetSRStatus_Stub(
  9347. IRpcStubBuffer *This,
  9348. IRpcChannelBuffer *_pRpcChannelBuffer,
  9349. PRPC_MESSAGE _pRpcMessage,
  9350. DWORD *_pdwStubPhase);
  9351. #endif /* __IAgentCharacterEx_INTERFACE_DEFINED__ */
  9352. #ifndef __IAgent_INTERFACE_DEFINED__
  9353. #define __IAgent_INTERFACE_DEFINED__
  9354. /* interface IAgent */
  9355. /* [unique][helpstring][dual][uuid][object] */
  9356. EXTERN_C const IID IID_IAgent;
  9357. #if defined(__cplusplus) && !defined(CINTERFACE)
  9358. MIDL_INTERFACE("A7B93C91-7B81-11D0-AC5F-00C04FD97575")
  9359. IAgent : public IDispatch
  9360. {
  9361. public:
  9362. virtual HRESULT STDMETHODCALLTYPE Load(
  9363. /* [in] */ VARIANT vLoadKey,
  9364. /* [out] */ long __RPC_FAR *pdwCharID,
  9365. /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  9366. virtual HRESULT STDMETHODCALLTYPE Unload(
  9367. /* [in] */ long dwCharID) = 0;
  9368. virtual HRESULT STDMETHODCALLTYPE Register(
  9369. /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  9370. /* [out] */ long __RPC_FAR *pdwSinkID) = 0;
  9371. virtual HRESULT STDMETHODCALLTYPE Unregister(
  9372. /* [in] */ long dwSinkID) = 0;
  9373. virtual HRESULT STDMETHODCALLTYPE GetCharacter(
  9374. /* [in] */ long dwCharID,
  9375. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter) = 0;
  9376. virtual HRESULT STDMETHODCALLTYPE GetSuspended(
  9377. /* [out] */ long __RPC_FAR *pbSuspended) = 0;
  9378. };
  9379. #else /* C style interface */
  9380. typedef struct IAgentVtbl
  9381. {
  9382. BEGIN_INTERFACE
  9383. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  9384. IAgent __RPC_FAR * This,
  9385. /* [in] */ REFIID riid,
  9386. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  9387. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  9388. IAgent __RPC_FAR * This);
  9389. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  9390. IAgent __RPC_FAR * This);
  9391. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  9392. IAgent __RPC_FAR * This,
  9393. /* [out] */ UINT __RPC_FAR *pctinfo);
  9394. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  9395. IAgent __RPC_FAR * This,
  9396. /* [in] */ UINT iTInfo,
  9397. /* [in] */ LCID lcid,
  9398. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  9399. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  9400. IAgent __RPC_FAR * This,
  9401. /* [in] */ REFIID riid,
  9402. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  9403. /* [in] */ UINT cNames,
  9404. /* [in] */ LCID lcid,
  9405. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  9406. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  9407. IAgent __RPC_FAR * This,
  9408. /* [in] */ DISPID dispIdMember,
  9409. /* [in] */ REFIID riid,
  9410. /* [in] */ LCID lcid,
  9411. /* [in] */ WORD wFlags,
  9412. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  9413. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  9414. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  9415. /* [out] */ UINT __RPC_FAR *puArgErr);
  9416. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Load )(
  9417. IAgent __RPC_FAR * This,
  9418. /* [in] */ VARIANT vLoadKey,
  9419. /* [out] */ long __RPC_FAR *pdwCharID,
  9420. /* [out] */ long __RPC_FAR *pdwReqID);
  9421. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unload )(
  9422. IAgent __RPC_FAR * This,
  9423. /* [in] */ long dwCharID);
  9424. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Register )(
  9425. IAgent __RPC_FAR * This,
  9426. /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  9427. /* [out] */ long __RPC_FAR *pdwSinkID);
  9428. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unregister )(
  9429. IAgent __RPC_FAR * This,
  9430. /* [in] */ long dwSinkID);
  9431. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCharacter )(
  9432. IAgent __RPC_FAR * This,
  9433. /* [in] */ long dwCharID,
  9434. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter);
  9435. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSuspended )(
  9436. IAgent __RPC_FAR * This,
  9437. /* [out] */ long __RPC_FAR *pbSuspended);
  9438. END_INTERFACE
  9439. } IAgentVtbl;
  9440. interface IAgent
  9441. {
  9442. CONST_VTBL struct IAgentVtbl __RPC_FAR *lpVtbl;
  9443. };
  9444. #ifdef COBJMACROS
  9445. #define IAgent_QueryInterface(This,riid,ppvObject) \
  9446. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9447. #define IAgent_AddRef(This) \
  9448. (This)->lpVtbl -> AddRef(This)
  9449. #define IAgent_Release(This) \
  9450. (This)->lpVtbl -> Release(This)
  9451. #define IAgent_GetTypeInfoCount(This,pctinfo) \
  9452. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9453. #define IAgent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9454. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9455. #define IAgent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9456. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9457. #define IAgent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9458. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9459. #define IAgent_Load(This,vLoadKey,pdwCharID,pdwReqID) \
  9460. (This)->lpVtbl -> Load(This,vLoadKey,pdwCharID,pdwReqID)
  9461. #define IAgent_Unload(This,dwCharID) \
  9462. (This)->lpVtbl -> Unload(This,dwCharID)
  9463. #define IAgent_Register(This,punkNotifySink,pdwSinkID) \
  9464. (This)->lpVtbl -> Register(This,punkNotifySink,pdwSinkID)
  9465. #define IAgent_Unregister(This,dwSinkID) \
  9466. (This)->lpVtbl -> Unregister(This,dwSinkID)
  9467. #define IAgent_GetCharacter(This,dwCharID,ppunkCharacter) \
  9468. (This)->lpVtbl -> GetCharacter(This,dwCharID,ppunkCharacter)
  9469. #define IAgent_GetSuspended(This,pbSuspended) \
  9470. (This)->lpVtbl -> GetSuspended(This,pbSuspended)
  9471. #endif /* COBJMACROS */
  9472. #endif /* C style interface */
  9473. HRESULT STDMETHODCALLTYPE IAgent_Load_Proxy(
  9474. IAgent __RPC_FAR * This,
  9475. /* [in] */ VARIANT vLoadKey,
  9476. /* [out] */ long __RPC_FAR *pdwCharID,
  9477. /* [out] */ long __RPC_FAR *pdwReqID);
  9478. void __RPC_STUB IAgent_Load_Stub(
  9479. IRpcStubBuffer *This,
  9480. IRpcChannelBuffer *_pRpcChannelBuffer,
  9481. PRPC_MESSAGE _pRpcMessage,
  9482. DWORD *_pdwStubPhase);
  9483. HRESULT STDMETHODCALLTYPE IAgent_Unload_Proxy(
  9484. IAgent __RPC_FAR * This,
  9485. /* [in] */ long dwCharID);
  9486. void __RPC_STUB IAgent_Unload_Stub(
  9487. IRpcStubBuffer *This,
  9488. IRpcChannelBuffer *_pRpcChannelBuffer,
  9489. PRPC_MESSAGE _pRpcMessage,
  9490. DWORD *_pdwStubPhase);
  9491. HRESULT STDMETHODCALLTYPE IAgent_Register_Proxy(
  9492. IAgent __RPC_FAR * This,
  9493. /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  9494. /* [out] */ long __RPC_FAR *pdwSinkID);
  9495. void __RPC_STUB IAgent_Register_Stub(
  9496. IRpcStubBuffer *This,
  9497. IRpcChannelBuffer *_pRpcChannelBuffer,
  9498. PRPC_MESSAGE _pRpcMessage,
  9499. DWORD *_pdwStubPhase);
  9500. HRESULT STDMETHODCALLTYPE IAgent_Unregister_Proxy(
  9501. IAgent __RPC_FAR * This,
  9502. /* [in] */ long dwSinkID);
  9503. void __RPC_STUB IAgent_Unregister_Stub(
  9504. IRpcStubBuffer *This,
  9505. IRpcChannelBuffer *_pRpcChannelBuffer,
  9506. PRPC_MESSAGE _pRpcMessage,
  9507. DWORD *_pdwStubPhase);
  9508. HRESULT STDMETHODCALLTYPE IAgent_GetCharacter_Proxy(
  9509. IAgent __RPC_FAR * This,
  9510. /* [in] */ long dwCharID,
  9511. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter);
  9512. void __RPC_STUB IAgent_GetCharacter_Stub(
  9513. IRpcStubBuffer *This,
  9514. IRpcChannelBuffer *_pRpcChannelBuffer,
  9515. PRPC_MESSAGE _pRpcMessage,
  9516. DWORD *_pdwStubPhase);
  9517. HRESULT STDMETHODCALLTYPE IAgent_GetSuspended_Proxy(
  9518. IAgent __RPC_FAR * This,
  9519. /* [out] */ long __RPC_FAR *pbSuspended);
  9520. void __RPC_STUB IAgent_GetSuspended_Stub(
  9521. IRpcStubBuffer *This,
  9522. IRpcChannelBuffer *_pRpcChannelBuffer,
  9523. PRPC_MESSAGE _pRpcMessage,
  9524. DWORD *_pdwStubPhase);
  9525. #endif /* __IAgent_INTERFACE_DEFINED__ */
  9526. #ifndef __IAgentEx_INTERFACE_DEFINED__
  9527. #define __IAgentEx_INTERFACE_DEFINED__
  9528. /* interface IAgentEx */
  9529. /* [unique][helpstring][dual][uuid][object] */
  9530. EXTERN_C const IID IID_IAgentEx;
  9531. #if defined(__cplusplus) && !defined(CINTERFACE)
  9532. MIDL_INTERFACE("48D12BA0-5B77-11d1-9EC1-00C04FD7081F")
  9533. IAgentEx : public IAgent
  9534. {
  9535. public:
  9536. virtual HRESULT STDMETHODCALLTYPE GetCharacterEx(
  9537. /* [in] */ long dwCharID,
  9538. /* [out] */ IAgentCharacterEx __RPC_FAR *__RPC_FAR *ppCharacterEx) = 0;
  9539. virtual HRESULT STDMETHODCALLTYPE GetVersion(
  9540. /* [out] */ short __RPC_FAR *psMajor,
  9541. /* [out] */ short __RPC_FAR *psMinor) = 0;
  9542. virtual HRESULT STDMETHODCALLTYPE ShowDefaultCharacterProperties(
  9543. /* [in] */ short x,
  9544. /* [in] */ short y,
  9545. /* [in] */ long bUseDefaultPosition) = 0;
  9546. };
  9547. #else /* C style interface */
  9548. typedef struct IAgentExVtbl
  9549. {
  9550. BEGIN_INTERFACE
  9551. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  9552. IAgentEx __RPC_FAR * This,
  9553. /* [in] */ REFIID riid,
  9554. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  9555. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  9556. IAgentEx __RPC_FAR * This);
  9557. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  9558. IAgentEx __RPC_FAR * This);
  9559. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  9560. IAgentEx __RPC_FAR * This,
  9561. /* [out] */ UINT __RPC_FAR *pctinfo);
  9562. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  9563. IAgentEx __RPC_FAR * This,
  9564. /* [in] */ UINT iTInfo,
  9565. /* [in] */ LCID lcid,
  9566. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  9567. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  9568. IAgentEx __RPC_FAR * This,
  9569. /* [in] */ REFIID riid,
  9570. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  9571. /* [in] */ UINT cNames,
  9572. /* [in] */ LCID lcid,
  9573. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  9574. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  9575. IAgentEx __RPC_FAR * This,
  9576. /* [in] */ DISPID dispIdMember,
  9577. /* [in] */ REFIID riid,
  9578. /* [in] */ LCID lcid,
  9579. /* [in] */ WORD wFlags,
  9580. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  9581. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  9582. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  9583. /* [out] */ UINT __RPC_FAR *puArgErr);
  9584. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Load )(
  9585. IAgentEx __RPC_FAR * This,
  9586. /* [in] */ VARIANT vLoadKey,
  9587. /* [out] */ long __RPC_FAR *pdwCharID,
  9588. /* [out] */ long __RPC_FAR *pdwReqID);
  9589. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unload )(
  9590. IAgentEx __RPC_FAR * This,
  9591. /* [in] */ long dwCharID);
  9592. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Register )(
  9593. IAgentEx __RPC_FAR * This,
  9594. /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  9595. /* [out] */ long __RPC_FAR *pdwSinkID);
  9596. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unregister )(
  9597. IAgentEx __RPC_FAR * This,
  9598. /* [in] */ long dwSinkID);
  9599. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCharacter )(
  9600. IAgentEx __RPC_FAR * This,
  9601. /* [in] */ long dwCharID,
  9602. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter);
  9603. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSuspended )(
  9604. IAgentEx __RPC_FAR * This,
  9605. /* [out] */ long __RPC_FAR *pbSuspended);
  9606. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCharacterEx )(
  9607. IAgentEx __RPC_FAR * This,
  9608. /* [in] */ long dwCharID,
  9609. /* [out] */ IAgentCharacterEx __RPC_FAR *__RPC_FAR *ppCharacterEx);
  9610. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVersion )(
  9611. IAgentEx __RPC_FAR * This,
  9612. /* [out] */ short __RPC_FAR *psMajor,
  9613. /* [out] */ short __RPC_FAR *psMinor);
  9614. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowDefaultCharacterProperties )(
  9615. IAgentEx __RPC_FAR * This,
  9616. /* [in] */ short x,
  9617. /* [in] */ short y,
  9618. /* [in] */ long bUseDefaultPosition);
  9619. END_INTERFACE
  9620. } IAgentExVtbl;
  9621. interface IAgentEx
  9622. {
  9623. CONST_VTBL struct IAgentExVtbl __RPC_FAR *lpVtbl;
  9624. };
  9625. #ifdef COBJMACROS
  9626. #define IAgentEx_QueryInterface(This,riid,ppvObject) \
  9627. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9628. #define IAgentEx_AddRef(This) \
  9629. (This)->lpVtbl -> AddRef(This)
  9630. #define IAgentEx_Release(This) \
  9631. (This)->lpVtbl -> Release(This)
  9632. #define IAgentEx_GetTypeInfoCount(This,pctinfo) \
  9633. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9634. #define IAgentEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9635. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9636. #define IAgentEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9637. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9638. #define IAgentEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9639. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9640. #define IAgentEx_Load(This,vLoadKey,pdwCharID,pdwReqID) \
  9641. (This)->lpVtbl -> Load(This,vLoadKey,pdwCharID,pdwReqID)
  9642. #define IAgentEx_Unload(This,dwCharID) \
  9643. (This)->lpVtbl -> Unload(This,dwCharID)
  9644. #define IAgentEx_Register(This,punkNotifySink,pdwSinkID) \
  9645. (This)->lpVtbl -> Register(This,punkNotifySink,pdwSinkID)
  9646. #define IAgentEx_Unregister(This,dwSinkID) \
  9647. (This)->lpVtbl -> Unregister(This,dwSinkID)
  9648. #define IAgentEx_GetCharacter(This,dwCharID,ppunkCharacter) \
  9649. (This)->lpVtbl -> GetCharacter(This,dwCharID,ppunkCharacter)
  9650. #define IAgentEx_GetSuspended(This,pbSuspended) \
  9651. (This)->lpVtbl -> GetSuspended(This,pbSuspended)
  9652. #define IAgentEx_GetCharacterEx(This,dwCharID,ppCharacterEx) \
  9653. (This)->lpVtbl -> GetCharacterEx(This,dwCharID,ppCharacterEx)
  9654. #define IAgentEx_GetVersion(This,psMajor,psMinor) \
  9655. (This)->lpVtbl -> GetVersion(This,psMajor,psMinor)
  9656. #define IAgentEx_ShowDefaultCharacterProperties(This,x,y,bUseDefaultPosition) \
  9657. (This)->lpVtbl -> ShowDefaultCharacterProperties(This,x,y,bUseDefaultPosition)
  9658. #endif /* COBJMACROS */
  9659. #endif /* C style interface */
  9660. HRESULT STDMETHODCALLTYPE IAgentEx_GetCharacterEx_Proxy(
  9661. IAgentEx __RPC_FAR * This,
  9662. /* [in] */ long dwCharID,
  9663. /* [out] */ IAgentCharacterEx __RPC_FAR *__RPC_FAR *ppCharacterEx);
  9664. void __RPC_STUB IAgentEx_GetCharacterEx_Stub(
  9665. IRpcStubBuffer *This,
  9666. IRpcChannelBuffer *_pRpcChannelBuffer,
  9667. PRPC_MESSAGE _pRpcMessage,
  9668. DWORD *_pdwStubPhase);
  9669. HRESULT STDMETHODCALLTYPE IAgentEx_GetVersion_Proxy(
  9670. IAgentEx __RPC_FAR * This,
  9671. /* [out] */ short __RPC_FAR *psMajor,
  9672. /* [out] */ short __RPC_FAR *psMinor);
  9673. void __RPC_STUB IAgentEx_GetVersion_Stub(
  9674. IRpcStubBuffer *This,
  9675. IRpcChannelBuffer *_pRpcChannelBuffer,
  9676. PRPC_MESSAGE _pRpcMessage,
  9677. DWORD *_pdwStubPhase);
  9678. HRESULT STDMETHODCALLTYPE IAgentEx_ShowDefaultCharacterProperties_Proxy(
  9679. IAgentEx __RPC_FAR * This,
  9680. /* [in] */ short x,
  9681. /* [in] */ short y,
  9682. /* [in] */ long bUseDefaultPosition);
  9683. void __RPC_STUB IAgentEx_ShowDefaultCharacterProperties_Stub(
  9684. IRpcStubBuffer *This,
  9685. IRpcChannelBuffer *_pRpcChannelBuffer,
  9686. PRPC_MESSAGE _pRpcMessage,
  9687. DWORD *_pdwStubPhase);
  9688. #endif /* __IAgentEx_INTERFACE_DEFINED__ */
  9689. #ifndef __IAgentNotifySink_INTERFACE_DEFINED__
  9690. #define __IAgentNotifySink_INTERFACE_DEFINED__
  9691. /* interface IAgentNotifySink */
  9692. /* [unique][helpstring][dual][uuid][object] */
  9693. EXTERN_C const IID IID_IAgentNotifySink;
  9694. #if defined(__cplusplus) && !defined(CINTERFACE)
  9695. MIDL_INTERFACE("00D18159-8466-11D0-AC63-00C04FD97575")
  9696. IAgentNotifySink : public IDispatch
  9697. {
  9698. public:
  9699. virtual HRESULT STDMETHODCALLTYPE Command(
  9700. /* [in] */ long dwCommandID,
  9701. /* [in] */ IUnknown __RPC_FAR *punkUserInput) = 0;
  9702. virtual HRESULT STDMETHODCALLTYPE ActivateInputState(
  9703. /* [in] */ long dwCharID,
  9704. /* [in] */ long bActivated) = 0;
  9705. virtual HRESULT STDMETHODCALLTYPE Restart( void) = 0;
  9706. virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  9707. virtual HRESULT STDMETHODCALLTYPE VisibleState(
  9708. /* [in] */ long dwCharID,
  9709. /* [in] */ long bVisible,
  9710. /* [in] */ long dwCause) = 0;
  9711. virtual HRESULT STDMETHODCALLTYPE Click(
  9712. /* [in] */ long dwCharID,
  9713. /* [in] */ short fwKeys,
  9714. /* [in] */ long x,
  9715. /* [in] */ long y) = 0;
  9716. virtual HRESULT STDMETHODCALLTYPE DblClick(
  9717. /* [in] */ long dwCharID,
  9718. /* [in] */ short fwKeys,
  9719. /* [in] */ long x,
  9720. /* [in] */ long y) = 0;
  9721. virtual HRESULT STDMETHODCALLTYPE DragStart(
  9722. /* [in] */ long dwCharID,
  9723. /* [in] */ short fwKeys,
  9724. /* [in] */ long x,
  9725. /* [in] */ long y) = 0;
  9726. virtual HRESULT STDMETHODCALLTYPE DragComplete(
  9727. /* [in] */ long dwCharID,
  9728. /* [in] */ short fwKeys,
  9729. /* [in] */ long x,
  9730. /* [in] */ long y) = 0;
  9731. virtual HRESULT STDMETHODCALLTYPE RequestStart(
  9732. /* [in] */ long dwRequestID) = 0;
  9733. virtual HRESULT STDMETHODCALLTYPE RequestComplete(
  9734. /* [in] */ long dwRequestID,
  9735. /* [in] */ long hrStatus) = 0;
  9736. virtual HRESULT STDMETHODCALLTYPE BookMark(
  9737. /* [in] */ long dwBookMarkID) = 0;
  9738. virtual HRESULT STDMETHODCALLTYPE Idle(
  9739. /* [in] */ long dwCharID,
  9740. /* [in] */ long bStart) = 0;
  9741. virtual HRESULT STDMETHODCALLTYPE Move(
  9742. /* [in] */ long dwCharID,
  9743. /* [in] */ long x,
  9744. /* [in] */ long y,
  9745. /* [in] */ long dwCause) = 0;
  9746. virtual HRESULT STDMETHODCALLTYPE Size(
  9747. /* [in] */ long dwCharID,
  9748. /* [in] */ long lWidth,
  9749. /* [in] */ long lHeight) = 0;
  9750. virtual HRESULT STDMETHODCALLTYPE BalloonVisibleState(
  9751. /* [in] */ long dwCharID,
  9752. /* [in] */ long bVisible) = 0;
  9753. };
  9754. #else /* C style interface */
  9755. typedef struct IAgentNotifySinkVtbl
  9756. {
  9757. BEGIN_INTERFACE
  9758. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  9759. IAgentNotifySink __RPC_FAR * This,
  9760. /* [in] */ REFIID riid,
  9761. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  9762. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  9763. IAgentNotifySink __RPC_FAR * This);
  9764. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  9765. IAgentNotifySink __RPC_FAR * This);
  9766. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  9767. IAgentNotifySink __RPC_FAR * This,
  9768. /* [out] */ UINT __RPC_FAR *pctinfo);
  9769. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  9770. IAgentNotifySink __RPC_FAR * This,
  9771. /* [in] */ UINT iTInfo,
  9772. /* [in] */ LCID lcid,
  9773. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  9774. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  9775. IAgentNotifySink __RPC_FAR * This,
  9776. /* [in] */ REFIID riid,
  9777. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  9778. /* [in] */ UINT cNames,
  9779. /* [in] */ LCID lcid,
  9780. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  9781. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  9782. IAgentNotifySink __RPC_FAR * This,
  9783. /* [in] */ DISPID dispIdMember,
  9784. /* [in] */ REFIID riid,
  9785. /* [in] */ LCID lcid,
  9786. /* [in] */ WORD wFlags,
  9787. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  9788. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  9789. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  9790. /* [out] */ UINT __RPC_FAR *puArgErr);
  9791. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Command )(
  9792. IAgentNotifySink __RPC_FAR * This,
  9793. /* [in] */ long dwCommandID,
  9794. /* [in] */ IUnknown __RPC_FAR *punkUserInput);
  9795. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ActivateInputState )(
  9796. IAgentNotifySink __RPC_FAR * This,
  9797. /* [in] */ long dwCharID,
  9798. /* [in] */ long bActivated);
  9799. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Restart )(
  9800. IAgentNotifySink __RPC_FAR * This);
  9801. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Shutdown )(
  9802. IAgentNotifySink __RPC_FAR * This);
  9803. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *VisibleState )(
  9804. IAgentNotifySink __RPC_FAR * This,
  9805. /* [in] */ long dwCharID,
  9806. /* [in] */ long bVisible,
  9807. /* [in] */ long dwCause);
  9808. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Click )(
  9809. IAgentNotifySink __RPC_FAR * This,
  9810. /* [in] */ long dwCharID,
  9811. /* [in] */ short fwKeys,
  9812. /* [in] */ long x,
  9813. /* [in] */ long y);
  9814. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DblClick )(
  9815. IAgentNotifySink __RPC_FAR * This,
  9816. /* [in] */ long dwCharID,
  9817. /* [in] */ short fwKeys,
  9818. /* [in] */ long x,
  9819. /* [in] */ long y);
  9820. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragStart )(
  9821. IAgentNotifySink __RPC_FAR * This,
  9822. /* [in] */ long dwCharID,
  9823. /* [in] */ short fwKeys,
  9824. /* [in] */ long x,
  9825. /* [in] */ long y);
  9826. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragComplete )(
  9827. IAgentNotifySink __RPC_FAR * This,
  9828. /* [in] */ long dwCharID,
  9829. /* [in] */ short fwKeys,
  9830. /* [in] */ long x,
  9831. /* [in] */ long y);
  9832. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestStart )(
  9833. IAgentNotifySink __RPC_FAR * This,
  9834. /* [in] */ long dwRequestID);
  9835. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestComplete )(
  9836. IAgentNotifySink __RPC_FAR * This,
  9837. /* [in] */ long dwRequestID,
  9838. /* [in] */ long hrStatus);
  9839. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BookMark )(
  9840. IAgentNotifySink __RPC_FAR * This,
  9841. /* [in] */ long dwBookMarkID);
  9842. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Idle )(
  9843. IAgentNotifySink __RPC_FAR * This,
  9844. /* [in] */ long dwCharID,
  9845. /* [in] */ long bStart);
  9846. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
  9847. IAgentNotifySink __RPC_FAR * This,
  9848. /* [in] */ long dwCharID,
  9849. /* [in] */ long x,
  9850. /* [in] */ long y,
  9851. /* [in] */ long dwCause);
  9852. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Size )(
  9853. IAgentNotifySink __RPC_FAR * This,
  9854. /* [in] */ long dwCharID,
  9855. /* [in] */ long lWidth,
  9856. /* [in] */ long lHeight);
  9857. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BalloonVisibleState )(
  9858. IAgentNotifySink __RPC_FAR * This,
  9859. /* [in] */ long dwCharID,
  9860. /* [in] */ long bVisible);
  9861. END_INTERFACE
  9862. } IAgentNotifySinkVtbl;
  9863. interface IAgentNotifySink
  9864. {
  9865. CONST_VTBL struct IAgentNotifySinkVtbl __RPC_FAR *lpVtbl;
  9866. };
  9867. #ifdef COBJMACROS
  9868. #define IAgentNotifySink_QueryInterface(This,riid,ppvObject) \
  9869. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9870. #define IAgentNotifySink_AddRef(This) \
  9871. (This)->lpVtbl -> AddRef(This)
  9872. #define IAgentNotifySink_Release(This) \
  9873. (This)->lpVtbl -> Release(This)
  9874. #define IAgentNotifySink_GetTypeInfoCount(This,pctinfo) \
  9875. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9876. #define IAgentNotifySink_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9877. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9878. #define IAgentNotifySink_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9879. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9880. #define IAgentNotifySink_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9881. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9882. #define IAgentNotifySink_Command(This,dwCommandID,punkUserInput) \
  9883. (This)->lpVtbl -> Command(This,dwCommandID,punkUserInput)
  9884. #define IAgentNotifySink_ActivateInputState(This,dwCharID,bActivated) \
  9885. (This)->lpVtbl -> ActivateInputState(This,dwCharID,bActivated)
  9886. #define IAgentNotifySink_Restart(This) \
  9887. (This)->lpVtbl -> Restart(This)
  9888. #define IAgentNotifySink_Shutdown(This) \
  9889. (This)->lpVtbl -> Shutdown(This)
  9890. #define IAgentNotifySink_VisibleState(This,dwCharID,bVisible,dwCause) \
  9891. (This)->lpVtbl -> VisibleState(This,dwCharID,bVisible,dwCause)
  9892. #define IAgentNotifySink_Click(This,dwCharID,fwKeys,x,y) \
  9893. (This)->lpVtbl -> Click(This,dwCharID,fwKeys,x,y)
  9894. #define IAgentNotifySink_DblClick(This,dwCharID,fwKeys,x,y) \
  9895. (This)->lpVtbl -> DblClick(This,dwCharID,fwKeys,x,y)
  9896. #define IAgentNotifySink_DragStart(This,dwCharID,fwKeys,x,y) \
  9897. (This)->lpVtbl -> DragStart(This,dwCharID,fwKeys,x,y)
  9898. #define IAgentNotifySink_DragComplete(This,dwCharID,fwKeys,x,y) \
  9899. (This)->lpVtbl -> DragComplete(This,dwCharID,fwKeys,x,y)
  9900. #define IAgentNotifySink_RequestStart(This,dwRequestID) \
  9901. (This)->lpVtbl -> RequestStart(This,dwRequestID)
  9902. #define IAgentNotifySink_RequestComplete(This,dwRequestID,hrStatus) \
  9903. (This)->lpVtbl -> RequestComplete(This,dwRequestID,hrStatus)
  9904. #define IAgentNotifySink_BookMark(This,dwBookMarkID) \
  9905. (This)->lpVtbl -> BookMark(This,dwBookMarkID)
  9906. #define IAgentNotifySink_Idle(This,dwCharID,bStart) \
  9907. (This)->lpVtbl -> Idle(This,dwCharID,bStart)
  9908. #define IAgentNotifySink_Move(This,dwCharID,x,y,dwCause) \
  9909. (This)->lpVtbl -> Move(This,dwCharID,x,y,dwCause)
  9910. #define IAgentNotifySink_Size(This,dwCharID,lWidth,lHeight) \
  9911. (This)->lpVtbl -> Size(This,dwCharID,lWidth,lHeight)
  9912. #define IAgentNotifySink_BalloonVisibleState(This,dwCharID,bVisible) \
  9913. (This)->lpVtbl -> BalloonVisibleState(This,dwCharID,bVisible)
  9914. #endif /* COBJMACROS */
  9915. #endif /* C style interface */
  9916. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Command_Proxy(
  9917. IAgentNotifySink __RPC_FAR * This,
  9918. /* [in] */ long dwCommandID,
  9919. /* [in] */ IUnknown __RPC_FAR *punkUserInput);
  9920. void __RPC_STUB IAgentNotifySink_Command_Stub(
  9921. IRpcStubBuffer *This,
  9922. IRpcChannelBuffer *_pRpcChannelBuffer,
  9923. PRPC_MESSAGE _pRpcMessage,
  9924. DWORD *_pdwStubPhase);
  9925. HRESULT STDMETHODCALLTYPE IAgentNotifySink_ActivateInputState_Proxy(
  9926. IAgentNotifySink __RPC_FAR * This,
  9927. /* [in] */ long dwCharID,
  9928. /* [in] */ long bActivated);
  9929. void __RPC_STUB IAgentNotifySink_ActivateInputState_Stub(
  9930. IRpcStubBuffer *This,
  9931. IRpcChannelBuffer *_pRpcChannelBuffer,
  9932. PRPC_MESSAGE _pRpcMessage,
  9933. DWORD *_pdwStubPhase);
  9934. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Restart_Proxy(
  9935. IAgentNotifySink __RPC_FAR * This);
  9936. void __RPC_STUB IAgentNotifySink_Restart_Stub(
  9937. IRpcStubBuffer *This,
  9938. IRpcChannelBuffer *_pRpcChannelBuffer,
  9939. PRPC_MESSAGE _pRpcMessage,
  9940. DWORD *_pdwStubPhase);
  9941. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Shutdown_Proxy(
  9942. IAgentNotifySink __RPC_FAR * This);
  9943. void __RPC_STUB IAgentNotifySink_Shutdown_Stub(
  9944. IRpcStubBuffer *This,
  9945. IRpcChannelBuffer *_pRpcChannelBuffer,
  9946. PRPC_MESSAGE _pRpcMessage,
  9947. DWORD *_pdwStubPhase);
  9948. HRESULT STDMETHODCALLTYPE IAgentNotifySink_VisibleState_Proxy(
  9949. IAgentNotifySink __RPC_FAR * This,
  9950. /* [in] */ long dwCharID,
  9951. /* [in] */ long bVisible,
  9952. /* [in] */ long dwCause);
  9953. void __RPC_STUB IAgentNotifySink_VisibleState_Stub(
  9954. IRpcStubBuffer *This,
  9955. IRpcChannelBuffer *_pRpcChannelBuffer,
  9956. PRPC_MESSAGE _pRpcMessage,
  9957. DWORD *_pdwStubPhase);
  9958. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Click_Proxy(
  9959. IAgentNotifySink __RPC_FAR * This,
  9960. /* [in] */ long dwCharID,
  9961. /* [in] */ short fwKeys,
  9962. /* [in] */ long x,
  9963. /* [in] */ long y);
  9964. void __RPC_STUB IAgentNotifySink_Click_Stub(
  9965. IRpcStubBuffer *This,
  9966. IRpcChannelBuffer *_pRpcChannelBuffer,
  9967. PRPC_MESSAGE _pRpcMessage,
  9968. DWORD *_pdwStubPhase);
  9969. HRESULT STDMETHODCALLTYPE IAgentNotifySink_DblClick_Proxy(
  9970. IAgentNotifySink __RPC_FAR * This,
  9971. /* [in] */ long dwCharID,
  9972. /* [in] */ short fwKeys,
  9973. /* [in] */ long x,
  9974. /* [in] */ long y);
  9975. void __RPC_STUB IAgentNotifySink_DblClick_Stub(
  9976. IRpcStubBuffer *This,
  9977. IRpcChannelBuffer *_pRpcChannelBuffer,
  9978. PRPC_MESSAGE _pRpcMessage,
  9979. DWORD *_pdwStubPhase);
  9980. HRESULT STDMETHODCALLTYPE IAgentNotifySink_DragStart_Proxy(
  9981. IAgentNotifySink __RPC_FAR * This,
  9982. /* [in] */ long dwCharID,
  9983. /* [in] */ short fwKeys,
  9984. /* [in] */ long x,
  9985. /* [in] */ long y);
  9986. void __RPC_STUB IAgentNotifySink_DragStart_Stub(
  9987. IRpcStubBuffer *This,
  9988. IRpcChannelBuffer *_pRpcChannelBuffer,
  9989. PRPC_MESSAGE _pRpcMessage,
  9990. DWORD *_pdwStubPhase);
  9991. HRESULT STDMETHODCALLTYPE IAgentNotifySink_DragComplete_Proxy(
  9992. IAgentNotifySink __RPC_FAR * This,
  9993. /* [in] */ long dwCharID,
  9994. /* [in] */ short fwKeys,
  9995. /* [in] */ long x,
  9996. /* [in] */ long y);
  9997. void __RPC_STUB IAgentNotifySink_DragComplete_Stub(
  9998. IRpcStubBuffer *This,
  9999. IRpcChannelBuffer *_pRpcChannelBuffer,
  10000. PRPC_MESSAGE _pRpcMessage,
  10001. DWORD *_pdwStubPhase);
  10002. HRESULT STDMETHODCALLTYPE IAgentNotifySink_RequestStart_Proxy(
  10003. IAgentNotifySink __RPC_FAR * This,
  10004. /* [in] */ long dwRequestID);
  10005. void __RPC_STUB IAgentNotifySink_RequestStart_Stub(
  10006. IRpcStubBuffer *This,
  10007. IRpcChannelBuffer *_pRpcChannelBuffer,
  10008. PRPC_MESSAGE _pRpcMessage,
  10009. DWORD *_pdwStubPhase);
  10010. HRESULT STDMETHODCALLTYPE IAgentNotifySink_RequestComplete_Proxy(
  10011. IAgentNotifySink __RPC_FAR * This,
  10012. /* [in] */ long dwRequestID,
  10013. /* [in] */ long hrStatus);
  10014. void __RPC_STUB IAgentNotifySink_RequestComplete_Stub(
  10015. IRpcStubBuffer *This,
  10016. IRpcChannelBuffer *_pRpcChannelBuffer,
  10017. PRPC_MESSAGE _pRpcMessage,
  10018. DWORD *_pdwStubPhase);
  10019. HRESULT STDMETHODCALLTYPE IAgentNotifySink_BookMark_Proxy(
  10020. IAgentNotifySink __RPC_FAR * This,
  10021. /* [in] */ long dwBookMarkID);
  10022. void __RPC_STUB IAgentNotifySink_BookMark_Stub(
  10023. IRpcStubBuffer *This,
  10024. IRpcChannelBuffer *_pRpcChannelBuffer,
  10025. PRPC_MESSAGE _pRpcMessage,
  10026. DWORD *_pdwStubPhase);
  10027. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Idle_Proxy(
  10028. IAgentNotifySink __RPC_FAR * This,
  10029. /* [in] */ long dwCharID,
  10030. /* [in] */ long bStart);
  10031. void __RPC_STUB IAgentNotifySink_Idle_Stub(
  10032. IRpcStubBuffer *This,
  10033. IRpcChannelBuffer *_pRpcChannelBuffer,
  10034. PRPC_MESSAGE _pRpcMessage,
  10035. DWORD *_pdwStubPhase);
  10036. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Move_Proxy(
  10037. IAgentNotifySink __RPC_FAR * This,
  10038. /* [in] */ long dwCharID,
  10039. /* [in] */ long x,
  10040. /* [in] */ long y,
  10041. /* [in] */ long dwCause);
  10042. void __RPC_STUB IAgentNotifySink_Move_Stub(
  10043. IRpcStubBuffer *This,
  10044. IRpcChannelBuffer *_pRpcChannelBuffer,
  10045. PRPC_MESSAGE _pRpcMessage,
  10046. DWORD *_pdwStubPhase);
  10047. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Size_Proxy(
  10048. IAgentNotifySink __RPC_FAR * This,
  10049. /* [in] */ long dwCharID,
  10050. /* [in] */ long lWidth,
  10051. /* [in] */ long lHeight);
  10052. void __RPC_STUB IAgentNotifySink_Size_Stub(
  10053. IRpcStubBuffer *This,
  10054. IRpcChannelBuffer *_pRpcChannelBuffer,
  10055. PRPC_MESSAGE _pRpcMessage,
  10056. DWORD *_pdwStubPhase);
  10057. HRESULT STDMETHODCALLTYPE IAgentNotifySink_BalloonVisibleState_Proxy(
  10058. IAgentNotifySink __RPC_FAR * This,
  10059. /* [in] */ long dwCharID,
  10060. /* [in] */ long bVisible);
  10061. void __RPC_STUB IAgentNotifySink_BalloonVisibleState_Stub(
  10062. IRpcStubBuffer *This,
  10063. IRpcChannelBuffer *_pRpcChannelBuffer,
  10064. PRPC_MESSAGE _pRpcMessage,
  10065. DWORD *_pdwStubPhase);
  10066. #endif /* __IAgentNotifySink_INTERFACE_DEFINED__ */
  10067. #ifndef __IAgentNotifySinkEx_INTERFACE_DEFINED__
  10068. #define __IAgentNotifySinkEx_INTERFACE_DEFINED__
  10069. /* interface IAgentNotifySinkEx */
  10070. /* [unique][helpstring][dual][uuid][object] */
  10071. EXTERN_C const IID IID_IAgentNotifySinkEx;
  10072. #if defined(__cplusplus) && !defined(CINTERFACE)
  10073. MIDL_INTERFACE("08C75162-3C9C-11d1-91FE-00C04FD701A5")
  10074. IAgentNotifySinkEx : public IAgentNotifySink
  10075. {
  10076. public:
  10077. virtual HRESULT STDMETHODCALLTYPE HelpComplete(
  10078. /* [in] */ long dwCharID,
  10079. /* [in] */ long dwCommandID,
  10080. /* [in] */ long dwCause) = 0;
  10081. virtual HRESULT STDMETHODCALLTYPE ListeningState(
  10082. /* [in] */ long dwCharID,
  10083. /* [in] */ long bListening,
  10084. /* [in] */ long dwCause) = 0;
  10085. virtual HRESULT STDMETHODCALLTYPE DefaultCharacterChange(
  10086. /* [in] */ BSTR bszGUID) = 0;
  10087. virtual HRESULT STDMETHODCALLTYPE AgentPropertyChange( void) = 0;
  10088. virtual HRESULT STDMETHODCALLTYPE ActiveClientChange(
  10089. /* [in] */ long dwCharID,
  10090. /* [in] */ long lStatus) = 0;
  10091. };
  10092. #else /* C style interface */
  10093. typedef struct IAgentNotifySinkExVtbl
  10094. {
  10095. BEGIN_INTERFACE
  10096. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  10097. IAgentNotifySinkEx __RPC_FAR * This,
  10098. /* [in] */ REFIID riid,
  10099. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  10100. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  10101. IAgentNotifySinkEx __RPC_FAR * This);
  10102. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  10103. IAgentNotifySinkEx __RPC_FAR * This);
  10104. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  10105. IAgentNotifySinkEx __RPC_FAR * This,
  10106. /* [out] */ UINT __RPC_FAR *pctinfo);
  10107. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  10108. IAgentNotifySinkEx __RPC_FAR * This,
  10109. /* [in] */ UINT iTInfo,
  10110. /* [in] */ LCID lcid,
  10111. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  10112. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  10113. IAgentNotifySinkEx __RPC_FAR * This,
  10114. /* [in] */ REFIID riid,
  10115. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  10116. /* [in] */ UINT cNames,
  10117. /* [in] */ LCID lcid,
  10118. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  10119. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  10120. IAgentNotifySinkEx __RPC_FAR * This,
  10121. /* [in] */ DISPID dispIdMember,
  10122. /* [in] */ REFIID riid,
  10123. /* [in] */ LCID lcid,
  10124. /* [in] */ WORD wFlags,
  10125. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  10126. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  10127. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  10128. /* [out] */ UINT __RPC_FAR *puArgErr);
  10129. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Command )(
  10130. IAgentNotifySinkEx __RPC_FAR * This,
  10131. /* [in] */ long dwCommandID,
  10132. /* [in] */ IUnknown __RPC_FAR *punkUserInput);
  10133. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ActivateInputState )(
  10134. IAgentNotifySinkEx __RPC_FAR * This,
  10135. /* [in] */ long dwCharID,
  10136. /* [in] */ long bActivated);
  10137. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Restart )(
  10138. IAgentNotifySinkEx __RPC_FAR * This);
  10139. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Shutdown )(
  10140. IAgentNotifySinkEx __RPC_FAR * This);
  10141. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *VisibleState )(
  10142. IAgentNotifySinkEx __RPC_FAR * This,
  10143. /* [in] */ long dwCharID,
  10144. /* [in] */ long bVisible,
  10145. /* [in] */ long dwCause);
  10146. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Click )(
  10147. IAgentNotifySinkEx __RPC_FAR * This,
  10148. /* [in] */ long dwCharID,
  10149. /* [in] */ short fwKeys,
  10150. /* [in] */ long x,
  10151. /* [in] */ long y);
  10152. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DblClick )(
  10153. IAgentNotifySinkEx __RPC_FAR * This,
  10154. /* [in] */ long dwCharID,
  10155. /* [in] */ short fwKeys,
  10156. /* [in] */ long x,
  10157. /* [in] */ long y);
  10158. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragStart )(
  10159. IAgentNotifySinkEx __RPC_FAR * This,
  10160. /* [in] */ long dwCharID,
  10161. /* [in] */ short fwKeys,
  10162. /* [in] */ long x,
  10163. /* [in] */ long y);
  10164. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragComplete )(
  10165. IAgentNotifySinkEx __RPC_FAR * This,
  10166. /* [in] */ long dwCharID,
  10167. /* [in] */ short fwKeys,
  10168. /* [in] */ long x,
  10169. /* [in] */ long y);
  10170. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestStart )(
  10171. IAgentNotifySinkEx __RPC_FAR * This,
  10172. /* [in] */ long dwRequestID);
  10173. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestComplete )(
  10174. IAgentNotifySinkEx __RPC_FAR * This,
  10175. /* [in] */ long dwRequestID,
  10176. /* [in] */ long hrStatus);
  10177. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BookMark )(
  10178. IAgentNotifySinkEx __RPC_FAR * This,
  10179. /* [in] */ long dwBookMarkID);
  10180. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Idle )(
  10181. IAgentNotifySinkEx __RPC_FAR * This,
  10182. /* [in] */ long dwCharID,
  10183. /* [in] */ long bStart);
  10184. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
  10185. IAgentNotifySinkEx __RPC_FAR * This,
  10186. /* [in] */ long dwCharID,
  10187. /* [in] */ long x,
  10188. /* [in] */ long y,
  10189. /* [in] */ long dwCause);
  10190. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Size )(
  10191. IAgentNotifySinkEx __RPC_FAR * This,
  10192. /* [in] */ long dwCharID,
  10193. /* [in] */ long lWidth,
  10194. /* [in] */ long lHeight);
  10195. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BalloonVisibleState )(
  10196. IAgentNotifySinkEx __RPC_FAR * This,
  10197. /* [in] */ long dwCharID,
  10198. /* [in] */ long bVisible);
  10199. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HelpComplete )(
  10200. IAgentNotifySinkEx __RPC_FAR * This,
  10201. /* [in] */ long dwCharID,
  10202. /* [in] */ long dwCommandID,
  10203. /* [in] */ long dwCause);
  10204. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ListeningState )(
  10205. IAgentNotifySinkEx __RPC_FAR * This,
  10206. /* [in] */ long dwCharID,
  10207. /* [in] */ long bListening,
  10208. /* [in] */ long dwCause);
  10209. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DefaultCharacterChange )(
  10210. IAgentNotifySinkEx __RPC_FAR * This,
  10211. /* [in] */ BSTR bszGUID);
  10212. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AgentPropertyChange )(
  10213. IAgentNotifySinkEx __RPC_FAR * This);
  10214. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ActiveClientChange )(
  10215. IAgentNotifySinkEx __RPC_FAR * This,
  10216. /* [in] */ long dwCharID,
  10217. /* [in] */ long lStatus);
  10218. END_INTERFACE
  10219. } IAgentNotifySinkExVtbl;
  10220. interface IAgentNotifySinkEx
  10221. {
  10222. CONST_VTBL struct IAgentNotifySinkExVtbl __RPC_FAR *lpVtbl;
  10223. };
  10224. #ifdef COBJMACROS
  10225. #define IAgentNotifySinkEx_QueryInterface(This,riid,ppvObject) \
  10226. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  10227. #define IAgentNotifySinkEx_AddRef(This) \
  10228. (This)->lpVtbl -> AddRef(This)
  10229. #define IAgentNotifySinkEx_Release(This) \
  10230. (This)->lpVtbl -> Release(This)
  10231. #define IAgentNotifySinkEx_GetTypeInfoCount(This,pctinfo) \
  10232. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  10233. #define IAgentNotifySinkEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  10234. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  10235. #define IAgentNotifySinkEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  10236. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  10237. #define IAgentNotifySinkEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  10238. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  10239. #define IAgentNotifySinkEx_Command(This,dwCommandID,punkUserInput) \
  10240. (This)->lpVtbl -> Command(This,dwCommandID,punkUserInput)
  10241. #define IAgentNotifySinkEx_ActivateInputState(This,dwCharID,bActivated) \
  10242. (This)->lpVtbl -> ActivateInputState(This,dwCharID,bActivated)
  10243. #define IAgentNotifySinkEx_Restart(This) \
  10244. (This)->lpVtbl -> Restart(This)
  10245. #define IAgentNotifySinkEx_Shutdown(This) \
  10246. (This)->lpVtbl -> Shutdown(This)
  10247. #define IAgentNotifySinkEx_VisibleState(This,dwCharID,bVisible,dwCause) \
  10248. (This)->lpVtbl -> VisibleState(This,dwCharID,bVisible,dwCause)
  10249. #define IAgentNotifySinkEx_Click(This,dwCharID,fwKeys,x,y) \
  10250. (This)->lpVtbl -> Click(This,dwCharID,fwKeys,x,y)
  10251. #define IAgentNotifySinkEx_DblClick(This,dwCharID,fwKeys,x,y) \
  10252. (This)->lpVtbl -> DblClick(This,dwCharID,fwKeys,x,y)
  10253. #define IAgentNotifySinkEx_DragStart(This,dwCharID,fwKeys,x,y) \
  10254. (This)->lpVtbl -> DragStart(This,dwCharID,fwKeys,x,y)
  10255. #define IAgentNotifySinkEx_DragComplete(This,dwCharID,fwKeys,x,y) \
  10256. (This)->lpVtbl -> DragComplete(This,dwCharID,fwKeys,x,y)
  10257. #define IAgentNotifySinkEx_RequestStart(This,dwRequestID) \
  10258. (This)->lpVtbl -> RequestStart(This,dwRequestID)
  10259. #define IAgentNotifySinkEx_RequestComplete(This,dwRequestID,hrStatus) \
  10260. (This)->lpVtbl -> RequestComplete(This,dwRequestID,hrStatus)
  10261. #define IAgentNotifySinkEx_BookMark(This,dwBookMarkID) \
  10262. (This)->lpVtbl -> BookMark(This,dwBookMarkID)
  10263. #define IAgentNotifySinkEx_Idle(This,dwCharID,bStart) \
  10264. (This)->lpVtbl -> Idle(This,dwCharID,bStart)
  10265. #define IAgentNotifySinkEx_Move(This,dwCharID,x,y,dwCause) \
  10266. (This)->lpVtbl -> Move(This,dwCharID,x,y,dwCause)
  10267. #define IAgentNotifySinkEx_Size(This,dwCharID,lWidth,lHeight) \
  10268. (This)->lpVtbl -> Size(This,dwCharID,lWidth,lHeight)
  10269. #define IAgentNotifySinkEx_BalloonVisibleState(This,dwCharID,bVisible) \
  10270. (This)->lpVtbl -> BalloonVisibleState(This,dwCharID,bVisible)
  10271. #define IAgentNotifySinkEx_HelpComplete(This,dwCharID,dwCommandID,dwCause) \
  10272. (This)->lpVtbl -> HelpComplete(This,dwCharID,dwCommandID,dwCause)
  10273. #define IAgentNotifySinkEx_ListeningState(This,dwCharID,bListening,dwCause) \
  10274. (This)->lpVtbl -> ListeningState(This,dwCharID,bListening,dwCause)
  10275. #define IAgentNotifySinkEx_DefaultCharacterChange(This,bszGUID) \
  10276. (This)->lpVtbl -> DefaultCharacterChange(This,bszGUID)
  10277. #define IAgentNotifySinkEx_AgentPropertyChange(This) \
  10278. (This)->lpVtbl -> AgentPropertyChange(This)
  10279. #define IAgentNotifySinkEx_ActiveClientChange(This,dwCharID,lStatus) \
  10280. (This)->lpVtbl -> ActiveClientChange(This,dwCharID,lStatus)
  10281. #endif /* COBJMACROS */
  10282. #endif /* C style interface */
  10283. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_HelpComplete_Proxy(
  10284. IAgentNotifySinkEx __RPC_FAR * This,
  10285. /* [in] */ long dwCharID,
  10286. /* [in] */ long dwCommandID,
  10287. /* [in] */ long dwCause);
  10288. void __RPC_STUB IAgentNotifySinkEx_HelpComplete_Stub(
  10289. IRpcStubBuffer *This,
  10290. IRpcChannelBuffer *_pRpcChannelBuffer,
  10291. PRPC_MESSAGE _pRpcMessage,
  10292. DWORD *_pdwStubPhase);
  10293. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_ListeningState_Proxy(
  10294. IAgentNotifySinkEx __RPC_FAR * This,
  10295. /* [in] */ long dwCharID,
  10296. /* [in] */ long bListening,
  10297. /* [in] */ long dwCause);
  10298. void __RPC_STUB IAgentNotifySinkEx_ListeningState_Stub(
  10299. IRpcStubBuffer *This,
  10300. IRpcChannelBuffer *_pRpcChannelBuffer,
  10301. PRPC_MESSAGE _pRpcMessage,
  10302. DWORD *_pdwStubPhase);
  10303. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_DefaultCharacterChange_Proxy(
  10304. IAgentNotifySinkEx __RPC_FAR * This,
  10305. /* [in] */ BSTR bszGUID);
  10306. void __RPC_STUB IAgentNotifySinkEx_DefaultCharacterChange_Stub(
  10307. IRpcStubBuffer *This,
  10308. IRpcChannelBuffer *_pRpcChannelBuffer,
  10309. PRPC_MESSAGE _pRpcMessage,
  10310. DWORD *_pdwStubPhase);
  10311. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_AgentPropertyChange_Proxy(
  10312. IAgentNotifySinkEx __RPC_FAR * This);
  10313. void __RPC_STUB IAgentNotifySinkEx_AgentPropertyChange_Stub(
  10314. IRpcStubBuffer *This,
  10315. IRpcChannelBuffer *_pRpcChannelBuffer,
  10316. PRPC_MESSAGE _pRpcMessage,
  10317. DWORD *_pdwStubPhase);
  10318. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_ActiveClientChange_Proxy(
  10319. IAgentNotifySinkEx __RPC_FAR * This,
  10320. /* [in] */ long dwCharID,
  10321. /* [in] */ long lStatus);
  10322. void __RPC_STUB IAgentNotifySinkEx_ActiveClientChange_Stub(
  10323. IRpcStubBuffer *This,
  10324. IRpcChannelBuffer *_pRpcChannelBuffer,
  10325. PRPC_MESSAGE _pRpcMessage,
  10326. DWORD *_pdwStubPhase);
  10327. #endif /* __IAgentNotifySinkEx_INTERFACE_DEFINED__ */
  10328. #ifndef __IAgentPrivateNotifySink_INTERFACE_DEFINED__
  10329. #define __IAgentPrivateNotifySink_INTERFACE_DEFINED__
  10330. /* interface IAgentPrivateNotifySink */
  10331. /* [unique][helpstring][uuid][local][object] */
  10332. EXTERN_C const IID IID_IAgentPrivateNotifySink;
  10333. #if defined(__cplusplus) && !defined(CINTERFACE)
  10334. MIDL_INTERFACE("B741B760-8EA6-11d0-AC6A-00C04FD97575")
  10335. IAgentPrivateNotifySink : public IUnknown
  10336. {
  10337. public:
  10338. virtual HRESULT STDMETHODCALLTYPE ReleaseAll( void) = 0;
  10339. virtual HRESULT STDMETHODCALLTYPE ReleaseOne(
  10340. void __RPC_FAR *pnNotify) = 0;
  10341. virtual HRESULT STDMETHODCALLTYPE GetClientID(
  10342. DWORD __RPC_FAR *pdwClientID) = 0;
  10343. };
  10344. #else /* C style interface */
  10345. typedef struct IAgentPrivateNotifySinkVtbl
  10346. {
  10347. BEGIN_INTERFACE
  10348. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  10349. IAgentPrivateNotifySink __RPC_FAR * This,
  10350. /* [in] */ REFIID riid,
  10351. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  10352. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  10353. IAgentPrivateNotifySink __RPC_FAR * This);
  10354. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  10355. IAgentPrivateNotifySink __RPC_FAR * This);
  10356. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseAll )(
  10357. IAgentPrivateNotifySink __RPC_FAR * This);
  10358. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseOne )(
  10359. IAgentPrivateNotifySink __RPC_FAR * This,
  10360. void __RPC_FAR *pnNotify);
  10361. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClientID )(
  10362. IAgentPrivateNotifySink __RPC_FAR * This,
  10363. DWORD __RPC_FAR *pdwClientID);
  10364. END_INTERFACE
  10365. } IAgentPrivateNotifySinkVtbl;
  10366. interface IAgentPrivateNotifySink
  10367. {
  10368. CONST_VTBL struct IAgentPrivateNotifySinkVtbl __RPC_FAR *lpVtbl;
  10369. };
  10370. #ifdef COBJMACROS
  10371. #define IAgentPrivateNotifySink_QueryInterface(This,riid,ppvObject) \
  10372. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  10373. #define IAgentPrivateNotifySink_AddRef(This) \
  10374. (This)->lpVtbl -> AddRef(This)
  10375. #define IAgentPrivateNotifySink_Release(This) \
  10376. (This)->lpVtbl -> Release(This)
  10377. #define IAgentPrivateNotifySink_ReleaseAll(This) \
  10378. (This)->lpVtbl -> ReleaseAll(This)
  10379. #define IAgentPrivateNotifySink_ReleaseOne(This,pnNotify) \
  10380. (This)->lpVtbl -> ReleaseOne(This,pnNotify)
  10381. #define IAgentPrivateNotifySink_GetClientID(This,pdwClientID) \
  10382. (This)->lpVtbl -> GetClientID(This,pdwClientID)
  10383. #endif /* COBJMACROS */
  10384. #endif /* C style interface */
  10385. HRESULT STDMETHODCALLTYPE IAgentPrivateNotifySink_ReleaseAll_Proxy(
  10386. IAgentPrivateNotifySink __RPC_FAR * This);
  10387. void __RPC_STUB IAgentPrivateNotifySink_ReleaseAll_Stub(
  10388. IRpcStubBuffer *This,
  10389. IRpcChannelBuffer *_pRpcChannelBuffer,
  10390. PRPC_MESSAGE _pRpcMessage,
  10391. DWORD *_pdwStubPhase);
  10392. HRESULT STDMETHODCALLTYPE IAgentPrivateNotifySink_ReleaseOne_Proxy(
  10393. IAgentPrivateNotifySink __RPC_FAR * This,
  10394. void __RPC_FAR *pnNotify);
  10395. void __RPC_STUB IAgentPrivateNotifySink_ReleaseOne_Stub(
  10396. IRpcStubBuffer *This,
  10397. IRpcChannelBuffer *_pRpcChannelBuffer,
  10398. PRPC_MESSAGE _pRpcMessage,
  10399. DWORD *_pdwStubPhase);
  10400. HRESULT STDMETHODCALLTYPE IAgentPrivateNotifySink_GetClientID_Proxy(
  10401. IAgentPrivateNotifySink __RPC_FAR * This,
  10402. DWORD __RPC_FAR *pdwClientID);
  10403. void __RPC_STUB IAgentPrivateNotifySink_GetClientID_Stub(
  10404. IRpcStubBuffer *This,
  10405. IRpcChannelBuffer *_pRpcChannelBuffer,
  10406. PRPC_MESSAGE _pRpcMessage,
  10407. DWORD *_pdwStubPhase);
  10408. #endif /* __IAgentPrivateNotifySink_INTERFACE_DEFINED__ */
  10409. #ifndef __IAgentCustomMarshalMaker_INTERFACE_DEFINED__
  10410. #define __IAgentCustomMarshalMaker_INTERFACE_DEFINED__
  10411. /* interface IAgentCustomMarshalMaker */
  10412. /* [unique][helpstring][uuid][hidden][local][object] */
  10413. EXTERN_C const IID IID_IAgentCustomMarshalMaker;
  10414. #if defined(__cplusplus) && !defined(CINTERFACE)
  10415. MIDL_INTERFACE("408D7542-C8FC-11d1-AA83-00C04FA34D72")
  10416. IAgentCustomMarshalMaker : public IUnknown
  10417. {
  10418. public:
  10419. virtual HRESULT STDMETHODCALLTYPE Create(
  10420. /* [in] */ IUnknown __RPC_FAR *pSink,
  10421. /* [in] */ REFIID riidSink,
  10422. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *pMarshaledSink) = 0;
  10423. };
  10424. #else /* C style interface */
  10425. typedef struct IAgentCustomMarshalMakerVtbl
  10426. {
  10427. BEGIN_INTERFACE
  10428. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  10429. IAgentCustomMarshalMaker __RPC_FAR * This,
  10430. /* [in] */ REFIID riid,
  10431. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  10432. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  10433. IAgentCustomMarshalMaker __RPC_FAR * This);
  10434. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  10435. IAgentCustomMarshalMaker __RPC_FAR * This);
  10436. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Create )(
  10437. IAgentCustomMarshalMaker __RPC_FAR * This,
  10438. /* [in] */ IUnknown __RPC_FAR *pSink,
  10439. /* [in] */ REFIID riidSink,
  10440. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *pMarshaledSink);
  10441. END_INTERFACE
  10442. } IAgentCustomMarshalMakerVtbl;
  10443. interface IAgentCustomMarshalMaker
  10444. {
  10445. CONST_VTBL struct IAgentCustomMarshalMakerVtbl __RPC_FAR *lpVtbl;
  10446. };
  10447. #ifdef COBJMACROS
  10448. #define IAgentCustomMarshalMaker_QueryInterface(This,riid,ppvObject) \
  10449. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  10450. #define IAgentCustomMarshalMaker_AddRef(This) \
  10451. (This)->lpVtbl -> AddRef(This)
  10452. #define IAgentCustomMarshalMaker_Release(This) \
  10453. (This)->lpVtbl -> Release(This)
  10454. #define IAgentCustomMarshalMaker_Create(This,pSink,riidSink,pMarshaledSink) \
  10455. (This)->lpVtbl -> Create(This,pSink,riidSink,pMarshaledSink)
  10456. #endif /* COBJMACROS */
  10457. #endif /* C style interface */
  10458. HRESULT STDMETHODCALLTYPE IAgentCustomMarshalMaker_Create_Proxy(
  10459. IAgentCustomMarshalMaker __RPC_FAR * This,
  10460. /* [in] */ IUnknown __RPC_FAR *pSink,
  10461. /* [in] */ REFIID riidSink,
  10462. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *pMarshaledSink);
  10463. void __RPC_STUB IAgentCustomMarshalMaker_Create_Stub(
  10464. IRpcStubBuffer *This,
  10465. IRpcChannelBuffer *_pRpcChannelBuffer,
  10466. PRPC_MESSAGE _pRpcMessage,
  10467. DWORD *_pdwStubPhase);
  10468. #endif /* __IAgentCustomMarshalMaker_INTERFACE_DEFINED__ */
  10469. #ifndef __IAgentClientStatus_INTERFACE_DEFINED__
  10470. #define __IAgentClientStatus_INTERFACE_DEFINED__
  10471. /* interface IAgentClientStatus */
  10472. /* [unique][helpstring][uuid][local][object] */
  10473. EXTERN_C const IID IID_IAgentClientStatus;
  10474. #if defined(__cplusplus) && !defined(CINTERFACE)
  10475. MIDL_INTERFACE("C5649F70-7AED-11d1-B9A8-00C04FD97575")
  10476. IAgentClientStatus : public IUnknown
  10477. {
  10478. public:
  10479. virtual HRESULT STDMETHODCALLTYPE Ping( void) = 0;
  10480. };
  10481. #else /* C style interface */
  10482. typedef struct IAgentClientStatusVtbl
  10483. {
  10484. BEGIN_INTERFACE
  10485. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  10486. IAgentClientStatus __RPC_FAR * This,
  10487. /* [in] */ REFIID riid,
  10488. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  10489. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  10490. IAgentClientStatus __RPC_FAR * This);
  10491. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  10492. IAgentClientStatus __RPC_FAR * This);
  10493. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Ping )(
  10494. IAgentClientStatus __RPC_FAR * This);
  10495. END_INTERFACE
  10496. } IAgentClientStatusVtbl;
  10497. interface IAgentClientStatus
  10498. {
  10499. CONST_VTBL struct IAgentClientStatusVtbl __RPC_FAR *lpVtbl;
  10500. };
  10501. #ifdef COBJMACROS
  10502. #define IAgentClientStatus_QueryInterface(This,riid,ppvObject) \
  10503. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  10504. #define IAgentClientStatus_AddRef(This) \
  10505. (This)->lpVtbl -> AddRef(This)
  10506. #define IAgentClientStatus_Release(This) \
  10507. (This)->lpVtbl -> Release(This)
  10508. #define IAgentClientStatus_Ping(This) \
  10509. (This)->lpVtbl -> Ping(This)
  10510. #endif /* COBJMACROS */
  10511. #endif /* C style interface */
  10512. HRESULT STDMETHODCALLTYPE IAgentClientStatus_Ping_Proxy(
  10513. IAgentClientStatus __RPC_FAR * This);
  10514. void __RPC_STUB IAgentClientStatus_Ping_Stub(
  10515. IRpcStubBuffer *This,
  10516. IRpcChannelBuffer *_pRpcChannelBuffer,
  10517. PRPC_MESSAGE _pRpcMessage,
  10518. DWORD *_pdwStubPhase);
  10519. #endif /* __IAgentClientStatus_INTERFACE_DEFINED__ */
  10520. /* interface __MIDL_itf_AgentServer_0229 */
  10521. /* [local] */
  10522. #define AGENT_VERSION_MAJOR ( 2 )
  10523. #define AGENT_VERSION_MINOR ( 0 )
  10524. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0229_v0_0_c_ifspec;
  10525. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0229_v0_0_s_ifspec;
  10526. #ifndef __AgentServerObjects_LIBRARY_DEFINED__
  10527. #define __AgentServerObjects_LIBRARY_DEFINED__
  10528. /* library AgentServerObjects */
  10529. /* [helpstring][version][uuid] */
  10530. EXTERN_C const IID LIBID_AgentServerObjects;
  10531. EXTERN_C const CLSID CLSID_AgentServer;
  10532. #ifdef __cplusplus
  10533. class DECLSPEC_UUID("D45FD2FC-5C6E-11D1-9EC1-00C04FD7081F")
  10534. AgentServer;
  10535. #endif
  10536. #endif /* __AgentServerObjects_LIBRARY_DEFINED__ */
  10537. /* Additional Prototypes for ALL interfaces */
  10538. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  10539. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  10540. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  10541. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  10542. unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
  10543. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  10544. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  10545. void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
  10546. /* end of Additional Prototypes */
  10547. #ifdef __cplusplus
  10548. }
  10549. #endif
  10550. #endif
  10551. #endif // _MSC_VER < 1200