1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292 |
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0347 */
- /* Compiler settings for msctf.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext, robust
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __msctf_h__
- #define __msctf_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __ITfThreadMgr_FWD_DEFINED__
- #define __ITfThreadMgr_FWD_DEFINED__
- typedef interface ITfThreadMgr ITfThreadMgr;
- #endif /* __ITfThreadMgr_FWD_DEFINED__ */
- #ifndef __ITfThreadMgrEventSink_FWD_DEFINED__
- #define __ITfThreadMgrEventSink_FWD_DEFINED__
- typedef interface ITfThreadMgrEventSink ITfThreadMgrEventSink;
- #endif /* __ITfThreadMgrEventSink_FWD_DEFINED__ */
- #ifndef __ITfConfigureSystemKeystrokeFeed_FWD_DEFINED__
- #define __ITfConfigureSystemKeystrokeFeed_FWD_DEFINED__
- typedef interface ITfConfigureSystemKeystrokeFeed ITfConfigureSystemKeystrokeFeed;
- #endif /* __ITfConfigureSystemKeystrokeFeed_FWD_DEFINED__ */
- #ifndef __IEnumTfDocumentMgrs_FWD_DEFINED__
- #define __IEnumTfDocumentMgrs_FWD_DEFINED__
- typedef interface IEnumTfDocumentMgrs IEnumTfDocumentMgrs;
- #endif /* __IEnumTfDocumentMgrs_FWD_DEFINED__ */
- #ifndef __ITfDocumentMgr_FWD_DEFINED__
- #define __ITfDocumentMgr_FWD_DEFINED__
- typedef interface ITfDocumentMgr ITfDocumentMgr;
- #endif /* __ITfDocumentMgr_FWD_DEFINED__ */
- #ifndef __IEnumTfContexts_FWD_DEFINED__
- #define __IEnumTfContexts_FWD_DEFINED__
- typedef interface IEnumTfContexts IEnumTfContexts;
- #endif /* __IEnumTfContexts_FWD_DEFINED__ */
- #ifndef __ITfCompositionView_FWD_DEFINED__
- #define __ITfCompositionView_FWD_DEFINED__
- typedef interface ITfCompositionView ITfCompositionView;
- #endif /* __ITfCompositionView_FWD_DEFINED__ */
- #ifndef __IEnumITfCompositionView_FWD_DEFINED__
- #define __IEnumITfCompositionView_FWD_DEFINED__
- typedef interface IEnumITfCompositionView IEnumITfCompositionView;
- #endif /* __IEnumITfCompositionView_FWD_DEFINED__ */
- #ifndef __ITfComposition_FWD_DEFINED__
- #define __ITfComposition_FWD_DEFINED__
- typedef interface ITfComposition ITfComposition;
- #endif /* __ITfComposition_FWD_DEFINED__ */
- #ifndef __ITfCompositionSink_FWD_DEFINED__
- #define __ITfCompositionSink_FWD_DEFINED__
- typedef interface ITfCompositionSink ITfCompositionSink;
- #endif /* __ITfCompositionSink_FWD_DEFINED__ */
- #ifndef __ITfContextComposition_FWD_DEFINED__
- #define __ITfContextComposition_FWD_DEFINED__
- typedef interface ITfContextComposition ITfContextComposition;
- #endif /* __ITfContextComposition_FWD_DEFINED__ */
- #ifndef __ITfContextOwnerCompositionServices_FWD_DEFINED__
- #define __ITfContextOwnerCompositionServices_FWD_DEFINED__
- typedef interface ITfContextOwnerCompositionServices ITfContextOwnerCompositionServices;
- #endif /* __ITfContextOwnerCompositionServices_FWD_DEFINED__ */
- #ifndef __ITfContextOwnerCompositionSink_FWD_DEFINED__
- #define __ITfContextOwnerCompositionSink_FWD_DEFINED__
- typedef interface ITfContextOwnerCompositionSink ITfContextOwnerCompositionSink;
- #endif /* __ITfContextOwnerCompositionSink_FWD_DEFINED__ */
- #ifndef __ITfContextView_FWD_DEFINED__
- #define __ITfContextView_FWD_DEFINED__
- typedef interface ITfContextView ITfContextView;
- #endif /* __ITfContextView_FWD_DEFINED__ */
- #ifndef __IEnumTfContextViews_FWD_DEFINED__
- #define __IEnumTfContextViews_FWD_DEFINED__
- typedef interface IEnumTfContextViews IEnumTfContextViews;
- #endif /* __IEnumTfContextViews_FWD_DEFINED__ */
- #ifndef __ITfContext_FWD_DEFINED__
- #define __ITfContext_FWD_DEFINED__
- typedef interface ITfContext ITfContext;
- #endif /* __ITfContext_FWD_DEFINED__ */
- #ifndef __ITfQueryEmbedded_FWD_DEFINED__
- #define __ITfQueryEmbedded_FWD_DEFINED__
- typedef interface ITfQueryEmbedded ITfQueryEmbedded;
- #endif /* __ITfQueryEmbedded_FWD_DEFINED__ */
- #ifndef __ITfInsertAtSelection_FWD_DEFINED__
- #define __ITfInsertAtSelection_FWD_DEFINED__
- typedef interface ITfInsertAtSelection ITfInsertAtSelection;
- #endif /* __ITfInsertAtSelection_FWD_DEFINED__ */
- #ifndef __ITfCleanupContextSink_FWD_DEFINED__
- #define __ITfCleanupContextSink_FWD_DEFINED__
- typedef interface ITfCleanupContextSink ITfCleanupContextSink;
- #endif /* __ITfCleanupContextSink_FWD_DEFINED__ */
- #ifndef __ITfCleanupContextDurationSink_FWD_DEFINED__
- #define __ITfCleanupContextDurationSink_FWD_DEFINED__
- typedef interface ITfCleanupContextDurationSink ITfCleanupContextDurationSink;
- #endif /* __ITfCleanupContextDurationSink_FWD_DEFINED__ */
- #ifndef __ITfReadOnlyProperty_FWD_DEFINED__
- #define __ITfReadOnlyProperty_FWD_DEFINED__
- typedef interface ITfReadOnlyProperty ITfReadOnlyProperty;
- #endif /* __ITfReadOnlyProperty_FWD_DEFINED__ */
- #ifndef __IEnumTfPropertyValue_FWD_DEFINED__
- #define __IEnumTfPropertyValue_FWD_DEFINED__
- typedef interface IEnumTfPropertyValue IEnumTfPropertyValue;
- #endif /* __IEnumTfPropertyValue_FWD_DEFINED__ */
- #ifndef __ITfMouseTracker_FWD_DEFINED__
- #define __ITfMouseTracker_FWD_DEFINED__
- typedef interface ITfMouseTracker ITfMouseTracker;
- #endif /* __ITfMouseTracker_FWD_DEFINED__ */
- #ifndef __ITfMouseTrackerACP_FWD_DEFINED__
- #define __ITfMouseTrackerACP_FWD_DEFINED__
- typedef interface ITfMouseTrackerACP ITfMouseTrackerACP;
- #endif /* __ITfMouseTrackerACP_FWD_DEFINED__ */
- #ifndef __ITfMouseSink_FWD_DEFINED__
- #define __ITfMouseSink_FWD_DEFINED__
- typedef interface ITfMouseSink ITfMouseSink;
- #endif /* __ITfMouseSink_FWD_DEFINED__ */
- #ifndef __ITfEditRecord_FWD_DEFINED__
- #define __ITfEditRecord_FWD_DEFINED__
- typedef interface ITfEditRecord ITfEditRecord;
- #endif /* __ITfEditRecord_FWD_DEFINED__ */
- #ifndef __ITfTextEditSink_FWD_DEFINED__
- #define __ITfTextEditSink_FWD_DEFINED__
- typedef interface ITfTextEditSink ITfTextEditSink;
- #endif /* __ITfTextEditSink_FWD_DEFINED__ */
- #ifndef __ITfTextLayoutSink_FWD_DEFINED__
- #define __ITfTextLayoutSink_FWD_DEFINED__
- typedef interface ITfTextLayoutSink ITfTextLayoutSink;
- #endif /* __ITfTextLayoutSink_FWD_DEFINED__ */
- #ifndef __ITfStatusSink_FWD_DEFINED__
- #define __ITfStatusSink_FWD_DEFINED__
- typedef interface ITfStatusSink ITfStatusSink;
- #endif /* __ITfStatusSink_FWD_DEFINED__ */
- #ifndef __ITfEditTransactionSink_FWD_DEFINED__
- #define __ITfEditTransactionSink_FWD_DEFINED__
- typedef interface ITfEditTransactionSink ITfEditTransactionSink;
- #endif /* __ITfEditTransactionSink_FWD_DEFINED__ */
- #ifndef __ITfContextOwner_FWD_DEFINED__
- #define __ITfContextOwner_FWD_DEFINED__
- typedef interface ITfContextOwner ITfContextOwner;
- #endif /* __ITfContextOwner_FWD_DEFINED__ */
- #ifndef __ITfContextOwnerServices_FWD_DEFINED__
- #define __ITfContextOwnerServices_FWD_DEFINED__
- typedef interface ITfContextOwnerServices ITfContextOwnerServices;
- #endif /* __ITfContextOwnerServices_FWD_DEFINED__ */
- #ifndef __ITfContextKeyEventSink_FWD_DEFINED__
- #define __ITfContextKeyEventSink_FWD_DEFINED__
- typedef interface ITfContextKeyEventSink ITfContextKeyEventSink;
- #endif /* __ITfContextKeyEventSink_FWD_DEFINED__ */
- #ifndef __ITfEditSession_FWD_DEFINED__
- #define __ITfEditSession_FWD_DEFINED__
- typedef interface ITfEditSession ITfEditSession;
- #endif /* __ITfEditSession_FWD_DEFINED__ */
- #ifndef __ITfRange_FWD_DEFINED__
- #define __ITfRange_FWD_DEFINED__
- typedef interface ITfRange ITfRange;
- #endif /* __ITfRange_FWD_DEFINED__ */
- #ifndef __ITfRangeACP_FWD_DEFINED__
- #define __ITfRangeACP_FWD_DEFINED__
- typedef interface ITfRangeACP ITfRangeACP;
- #endif /* __ITfRangeACP_FWD_DEFINED__ */
- #ifndef __ITextStoreACPServices_FWD_DEFINED__
- #define __ITextStoreACPServices_FWD_DEFINED__
- typedef interface ITextStoreACPServices ITextStoreACPServices;
- #endif /* __ITextStoreACPServices_FWD_DEFINED__ */
- #ifndef __ITfRangeBackup_FWD_DEFINED__
- #define __ITfRangeBackup_FWD_DEFINED__
- typedef interface ITfRangeBackup ITfRangeBackup;
- #endif /* __ITfRangeBackup_FWD_DEFINED__ */
- #ifndef __ITfPropertyStore_FWD_DEFINED__
- #define __ITfPropertyStore_FWD_DEFINED__
- typedef interface ITfPropertyStore ITfPropertyStore;
- #endif /* __ITfPropertyStore_FWD_DEFINED__ */
- #ifndef __IEnumTfRanges_FWD_DEFINED__
- #define __IEnumTfRanges_FWD_DEFINED__
- typedef interface IEnumTfRanges IEnumTfRanges;
- #endif /* __IEnumTfRanges_FWD_DEFINED__ */
- #ifndef __ITfCreatePropertyStore_FWD_DEFINED__
- #define __ITfCreatePropertyStore_FWD_DEFINED__
- typedef interface ITfCreatePropertyStore ITfCreatePropertyStore;
- #endif /* __ITfCreatePropertyStore_FWD_DEFINED__ */
- #ifndef __ITfPersistentPropertyLoaderACP_FWD_DEFINED__
- #define __ITfPersistentPropertyLoaderACP_FWD_DEFINED__
- typedef interface ITfPersistentPropertyLoaderACP ITfPersistentPropertyLoaderACP;
- #endif /* __ITfPersistentPropertyLoaderACP_FWD_DEFINED__ */
- #ifndef __ITfProperty_FWD_DEFINED__
- #define __ITfProperty_FWD_DEFINED__
- typedef interface ITfProperty ITfProperty;
- #endif /* __ITfProperty_FWD_DEFINED__ */
- #ifndef __IEnumTfProperties_FWD_DEFINED__
- #define __IEnumTfProperties_FWD_DEFINED__
- typedef interface IEnumTfProperties IEnumTfProperties;
- #endif /* __IEnumTfProperties_FWD_DEFINED__ */
- #ifndef __ITfCompartment_FWD_DEFINED__
- #define __ITfCompartment_FWD_DEFINED__
- typedef interface ITfCompartment ITfCompartment;
- #endif /* __ITfCompartment_FWD_DEFINED__ */
- #ifndef __ITfCompartmentEventSink_FWD_DEFINED__
- #define __ITfCompartmentEventSink_FWD_DEFINED__
- typedef interface ITfCompartmentEventSink ITfCompartmentEventSink;
- #endif /* __ITfCompartmentEventSink_FWD_DEFINED__ */
- #ifndef __ITfCompartmentMgr_FWD_DEFINED__
- #define __ITfCompartmentMgr_FWD_DEFINED__
- typedef interface ITfCompartmentMgr ITfCompartmentMgr;
- #endif /* __ITfCompartmentMgr_FWD_DEFINED__ */
- #ifndef __ITfFunction_FWD_DEFINED__
- #define __ITfFunction_FWD_DEFINED__
- typedef interface ITfFunction ITfFunction;
- #endif /* __ITfFunction_FWD_DEFINED__ */
- #ifndef __ITfFunctionProvider_FWD_DEFINED__
- #define __ITfFunctionProvider_FWD_DEFINED__
- typedef interface ITfFunctionProvider ITfFunctionProvider;
- #endif /* __ITfFunctionProvider_FWD_DEFINED__ */
- #ifndef __IEnumTfFunctionProviders_FWD_DEFINED__
- #define __IEnumTfFunctionProviders_FWD_DEFINED__
- typedef interface IEnumTfFunctionProviders IEnumTfFunctionProviders;
- #endif /* __IEnumTfFunctionProviders_FWD_DEFINED__ */
- #ifndef __ITfInputProcessorProfiles_FWD_DEFINED__
- #define __ITfInputProcessorProfiles_FWD_DEFINED__
- typedef interface ITfInputProcessorProfiles ITfInputProcessorProfiles;
- #endif /* __ITfInputProcessorProfiles_FWD_DEFINED__ */
- #ifndef __ITfInputProcessorProfilesEx_FWD_DEFINED__
- #define __ITfInputProcessorProfilesEx_FWD_DEFINED__
- typedef interface ITfInputProcessorProfilesEx ITfInputProcessorProfilesEx;
- #endif /* __ITfInputProcessorProfilesEx_FWD_DEFINED__ */
- #ifndef __ITfInputProcessorProfileSubstituteLayout_FWD_DEFINED__
- #define __ITfInputProcessorProfileSubstituteLayout_FWD_DEFINED__
- typedef interface ITfInputProcessorProfileSubstituteLayout ITfInputProcessorProfileSubstituteLayout;
- #endif /* __ITfInputProcessorProfileSubstituteLayout_FWD_DEFINED__ */
- #ifndef __ITfActiveLanguageProfileNotifySink_FWD_DEFINED__
- #define __ITfActiveLanguageProfileNotifySink_FWD_DEFINED__
- typedef interface ITfActiveLanguageProfileNotifySink ITfActiveLanguageProfileNotifySink;
- #endif /* __ITfActiveLanguageProfileNotifySink_FWD_DEFINED__ */
- #ifndef __IEnumTfLanguageProfiles_FWD_DEFINED__
- #define __IEnumTfLanguageProfiles_FWD_DEFINED__
- typedef interface IEnumTfLanguageProfiles IEnumTfLanguageProfiles;
- #endif /* __IEnumTfLanguageProfiles_FWD_DEFINED__ */
- #ifndef __ITfLanguageProfileNotifySink_FWD_DEFINED__
- #define __ITfLanguageProfileNotifySink_FWD_DEFINED__
- typedef interface ITfLanguageProfileNotifySink ITfLanguageProfileNotifySink;
- #endif /* __ITfLanguageProfileNotifySink_FWD_DEFINED__ */
- #ifndef __ITfKeystrokeMgr_FWD_DEFINED__
- #define __ITfKeystrokeMgr_FWD_DEFINED__
- typedef interface ITfKeystrokeMgr ITfKeystrokeMgr;
- #endif /* __ITfKeystrokeMgr_FWD_DEFINED__ */
- #ifndef __ITfKeyEventSink_FWD_DEFINED__
- #define __ITfKeyEventSink_FWD_DEFINED__
- typedef interface ITfKeyEventSink ITfKeyEventSink;
- #endif /* __ITfKeyEventSink_FWD_DEFINED__ */
- #ifndef __ITfKeyTraceEventSink_FWD_DEFINED__
- #define __ITfKeyTraceEventSink_FWD_DEFINED__
- typedef interface ITfKeyTraceEventSink ITfKeyTraceEventSink;
- #endif /* __ITfKeyTraceEventSink_FWD_DEFINED__ */
- #ifndef __ITfPreservedKeyNotifySink_FWD_DEFINED__
- #define __ITfPreservedKeyNotifySink_FWD_DEFINED__
- typedef interface ITfPreservedKeyNotifySink ITfPreservedKeyNotifySink;
- #endif /* __ITfPreservedKeyNotifySink_FWD_DEFINED__ */
- #ifndef __ITfMessagePump_FWD_DEFINED__
- #define __ITfMessagePump_FWD_DEFINED__
- typedef interface ITfMessagePump ITfMessagePump;
- #endif /* __ITfMessagePump_FWD_DEFINED__ */
- #ifndef __ITfThreadFocusSink_FWD_DEFINED__
- #define __ITfThreadFocusSink_FWD_DEFINED__
- typedef interface ITfThreadFocusSink ITfThreadFocusSink;
- #endif /* __ITfThreadFocusSink_FWD_DEFINED__ */
- #ifndef __ITfTextInputProcessor_FWD_DEFINED__
- #define __ITfTextInputProcessor_FWD_DEFINED__
- typedef interface ITfTextInputProcessor ITfTextInputProcessor;
- #endif /* __ITfTextInputProcessor_FWD_DEFINED__ */
- #ifndef __ITfClientId_FWD_DEFINED__
- #define __ITfClientId_FWD_DEFINED__
- typedef interface ITfClientId ITfClientId;
- #endif /* __ITfClientId_FWD_DEFINED__ */
- #ifndef __ITfDisplayAttributeInfo_FWD_DEFINED__
- #define __ITfDisplayAttributeInfo_FWD_DEFINED__
- typedef interface ITfDisplayAttributeInfo ITfDisplayAttributeInfo;
- #endif /* __ITfDisplayAttributeInfo_FWD_DEFINED__ */
- #ifndef __IEnumTfDisplayAttributeInfo_FWD_DEFINED__
- #define __IEnumTfDisplayAttributeInfo_FWD_DEFINED__
- typedef interface IEnumTfDisplayAttributeInfo IEnumTfDisplayAttributeInfo;
- #endif /* __IEnumTfDisplayAttributeInfo_FWD_DEFINED__ */
- #ifndef __ITfDisplayAttributeProvider_FWD_DEFINED__
- #define __ITfDisplayAttributeProvider_FWD_DEFINED__
- typedef interface ITfDisplayAttributeProvider ITfDisplayAttributeProvider;
- #endif /* __ITfDisplayAttributeProvider_FWD_DEFINED__ */
- #ifndef __ITfDisplayAttributeMgr_FWD_DEFINED__
- #define __ITfDisplayAttributeMgr_FWD_DEFINED__
- typedef interface ITfDisplayAttributeMgr ITfDisplayAttributeMgr;
- #endif /* __ITfDisplayAttributeMgr_FWD_DEFINED__ */
- #ifndef __ITfDisplayAttributeNotifySink_FWD_DEFINED__
- #define __ITfDisplayAttributeNotifySink_FWD_DEFINED__
- typedef interface ITfDisplayAttributeNotifySink ITfDisplayAttributeNotifySink;
- #endif /* __ITfDisplayAttributeNotifySink_FWD_DEFINED__ */
- #ifndef __ITfCategoryMgr_FWD_DEFINED__
- #define __ITfCategoryMgr_FWD_DEFINED__
- typedef interface ITfCategoryMgr ITfCategoryMgr;
- #endif /* __ITfCategoryMgr_FWD_DEFINED__ */
- #ifndef __ITfSource_FWD_DEFINED__
- #define __ITfSource_FWD_DEFINED__
- typedef interface ITfSource ITfSource;
- #endif /* __ITfSource_FWD_DEFINED__ */
- #ifndef __ITfSourceSingle_FWD_DEFINED__
- #define __ITfSourceSingle_FWD_DEFINED__
- typedef interface ITfSourceSingle ITfSourceSingle;
- #endif /* __ITfSourceSingle_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "comcat.h"
- #include "textstor.h"
- #include "ctfutb.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- /* interface __MIDL_itf_msctf_0000 */
- /* [local] */
- //=--------------------------------------------------------------------------=
- // msctf.h
- // Text Framework declarations.
- //=--------------------------------------------------------------------------=
- // (C) Copyright 1995-2001 Microsoft Corporation. All Rights Reserved.
- //
- // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
- // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
- // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- // PARTICULAR PURPOSE.
- //=--------------------------------------------------------------------------=
- #ifndef MSCTF_DEFINED
- #define MSCTF_DEFINED
- #include <windows.h>
- #ifdef __cplusplus
- extern "C" {
- #endif /* __cplusplus */
- #define TF_E_LOCKED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0500)
- #define TF_E_STACKFULL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0501)
- #define TF_E_NOTOWNEDRANGE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0502)
- #define TF_E_NOPROVIDER MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0503)
- #define TF_E_DISCONNECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0504)
- #define TF_E_INVALIDVIEW MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0505)
- #define TF_E_ALREADY_EXISTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0506)
- #define TF_E_RANGE_NOT_COVERED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0507)
- #define TF_E_COMPOSITION_REJECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0508)
- #define TF_E_EMPTYCONTEXT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0509)
- #define TF_E_INVALIDPOS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
- #define TF_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201)
- #define TF_E_NOOBJECT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0202)
- #define TF_E_NOSERVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0203)
- #define TF_E_NOINTERFACE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0204)
- #define TF_E_NOSELECTION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0205)
- #define TF_E_NOLAYOUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0206)
- #define TF_E_INVALIDPOINT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0207)
- #define TF_E_SYNCHRONOUS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0208)
- #define TF_E_READONLY MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0209)
- #define TF_E_FORMAT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x020a)
- #define TF_S_ASYNC MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0x0300)
- HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim);
- HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim);
- HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr);
- HRESULT WINAPI TF_CreateDisplayAttributeMgr(ITfDisplayAttributeMgr **ppdam);
- HRESULT WINAPI TF_CreateLangBarMgr(ITfLangBarMgr **pppbm);
- HRESULT WINAPI TF_CreateLangBarItemMgr(ITfLangBarItemMgr **pplbim);
- EXTERN_C const GUID GUID_PROP_TEXTOWNER;
- EXTERN_C const GUID GUID_PROP_ATTRIBUTE;
- EXTERN_C const GUID GUID_PROP_LANGID;
- EXTERN_C const GUID GUID_PROP_READING;
- EXTERN_C const GUID GUID_PROP_COMPOSING;
- EXTERN_C const CLSID CLSID_TF_ThreadMgr;
- EXTERN_C const CLSID CLSID_TF_InputProcessorProfiles;
- EXTERN_C const CLSID CLSID_TF_LangBarMgr;
- EXTERN_C const CLSID CLSID_TF_DisplayAttributeMgr;
- EXTERN_C const CLSID CLSID_TF_CategoryMgr;
- EXTERN_C const CLSID CLSID_TF_LangBarItemMgr;
- EXTERN_C const GUID GUID_SYSTEM_FUNCTIONPROVIDER;
- EXTERN_C const GUID GUID_APP_FUNCTIONPROVIDER;
- EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_DISABLED;
- EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_OPENCLOSE;
- EXTERN_C const GUID GUID_COMPARTMENT_HANDWRITING_OPENCLOSE;
- EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_DISABLED;
- EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_OPENCLOSE;
- EXTERN_C const GUID GUID_COMPARTMENT_SPEECH_GLOBALSTATE;
- EXTERN_C const GUID GUID_COMPARTMENT_PERSISTMENUENABLED;
- EXTERN_C const GUID GUID_COMPARTMENT_EMPTYCONTEXT;
- EXTERN_C const GUID GUID_COMPARTMENT_TIPUISTATUS;
- EXTERN_C const GUID GUID_PROP_MODEBIAS;
- EXTERN_C const GUID GUID_MODEBIAS_NONE;
- EXTERN_C const GUID GUID_MODEBIAS_URLHISTORY;
- EXTERN_C const GUID GUID_MODEBIAS_FILENAME;
- EXTERN_C const GUID GUID_MODEBIAS_READING;
- EXTERN_C const GUID GUID_MODEBIAS_DATETIME;
- EXTERN_C const GUID GUID_MODEBIAS_NAME;
- EXTERN_C const GUID GUID_MODEBIAS_CONVERSATION;
- EXTERN_C const GUID GUID_MODEBIAS_NUMERIC;
- EXTERN_C const GUID GUID_MODEBIAS_HIRAGANA;
- EXTERN_C const GUID GUID_MODEBIAS_KATAKANA;
- EXTERN_C const GUID GUID_MODEBIAS_HANGUL;
- EXTERN_C const GUID GUID_MODEBIAS_CHINESE;
- EXTERN_C const GUID GUID_MODEBIAS_HALFWIDTHKATAKANA;
- EXTERN_C const GUID GUID_MODEBIAS_FULLWIDTHALPHANUMERIC;
- EXTERN_C const GUID GUID_MODEBIAS_HALFWIDTHALPHANUMERIC;
- EXTERN_C const GUID GUID_MODEBIAS_FULLWIDTHHANGUL;
- EXTERN_C const GUID GUID_TFCAT_CATEGORY_OF_TIP;
- EXTERN_C const GUID GUID_TFCAT_TIP_KEYBOARD;
- EXTERN_C const GUID GUID_TFCAT_TIP_SPEECH;
- EXTERN_C const GUID GUID_TFCAT_TIP_HANDWRITING;
- EXTERN_C const GUID GUID_TFCAT_PROP_AUDIODATA;
- EXTERN_C const GUID GUID_TFCAT_PROP_INKDATA;
- EXTERN_C const GUID GUID_TFCAT_PROPSTYLE_CUSTOM;
- EXTERN_C const GUID GUID_TFCAT_PROPSTYLE_STATIC;
- EXTERN_C const GUID GUID_TFCAT_PROPSTYLE_STATICCOMPACT;
- EXTERN_C const GUID GUID_TFCAT_DISPLAYATTRIBUTEPROVIDER;
- EXTERN_C const GUID GUID_TFCAT_DISPLAYATTRIBUTEPROPERTY;
- #define TF_INVALID_GUIDATOM ((TfGuidAtom)0)
- #define TF_CLIENTID_NULL ((TfClientId)0)
- #define TF_MOD_ALT 0x0001
- #define TF_MOD_CONTROL 0x0002
- #define TF_MOD_SHIFT 0x0004
- #define TF_MOD_RALT 0x0008
- #define TF_MOD_RCONTROL 0x0010
- #define TF_MOD_RSHIFT 0x0020
- #define TF_MOD_LALT 0x0040
- #define TF_MOD_LCONTROL 0x0080
- #define TF_MOD_LSHIFT 0x0100
- #define TF_MOD_ON_KEYUP 0x0200
- #define TF_MOD_IGNORE_ALL_MODIFIER 0x0400
- #define TF_US_HIDETIPUI 0x00000001
- #define TF_DISABLE_SPEECH 0x00000001
- #define TF_DISABLE_DICTATION 0x00000002
- #define TF_DISABLE_COMMANDING 0x00000004
- #define TF_PROCESS_ATOM TEXT("_CTF_PROCESS_ATOM_")
- #define TF_ENABLE_PROCESS_ATOM TEXT("_CTF_ENABLE_PROCESS_ATOM_")
- #ifdef __cplusplus
- }
- #endif /* __cplusplus */
- #if 0
- typedef /* [uuid] */ DECLSPEC_UUID("4f5d560f-5ab5-4dde-8c4d-404592857ab0") UINT_PTR HKL;
- #endif
- typedef /* [uuid] */ DECLSPEC_UUID("7213778c-7bb0-4270-b050-6189ee594e97") DWORD TfEditCookie;
- #define TF_INVALID_EDIT_COOKIE ( 0 )
- typedef /* [uuid] */ DECLSPEC_UUID("88a9c478-f3ec-4763-8345-cd9250443f8d") DWORD TfGuidAtom;
- typedef /* [uuid] */ DECLSPEC_UUID("de403c21-89fd-4f85-8b87-64584d063fbc") DWORD TfClientId;
- typedef /* [uuid] */ DECLSPEC_UUID("e26d9e1d-691e-4f29-90d7-338dcf1f8cef") struct TF_PERSISTENT_PROPERTY_HEADER_ACP
- {
- GUID guidType;
- LONG ichStart;
- LONG cch;
- ULONG cb;
- DWORD dwPrivate;
- CLSID clsidTIP;
- } TF_PERSISTENT_PROPERTY_HEADER_ACP;
- typedef /* [uuid] */ DECLSPEC_UUID("e1b5808d-1e46-4c19-84dc-68c5f5978cc8") struct TF_LANGUAGEPROFILE
- {
- CLSID clsid;
- LANGID langid;
- GUID catid;
- BOOL fActive;
- GUID guidProfile;
- } TF_LANGUAGEPROFILE;
- typedef /* [public][public][public][public][public][public][public][public][public][public][public][public][uuid] */ DECLSPEC_UUID("5a886226-ae9a-489b-b991-2b1e25ee59a9")
- enum __MIDL___MIDL_itf_msctf_0000_0001
- { TF_ANCHOR_START = 0,
- TF_ANCHOR_END = 1
- } TfAnchor;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0000_v0_0_s_ifspec;
- #ifndef __ITfThreadMgr_INTERFACE_DEFINED__
- #define __ITfThreadMgr_INTERFACE_DEFINED__
- /* interface ITfThreadMgr */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfThreadMgr;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e801-2021-11d2-93e0-0060b067b86e")
- ITfThreadMgr : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Activate(
- /* [out] */ TfClientId *ptid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Deactivate( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateDocumentMgr(
- /* [out] */ ITfDocumentMgr **ppdim) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumDocumentMgrs(
- /* [out] */ IEnumTfDocumentMgrs **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetFocus(
- /* [out] */ ITfDocumentMgr **ppdimFocus) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetFocus(
- /* [in] */ ITfDocumentMgr *pdimFocus) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AssociateFocus(
- /* [in] */ HWND hwnd,
- /* [unique][in] */ ITfDocumentMgr *pdimNew,
- /* [out] */ ITfDocumentMgr **ppdimPrev) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsThreadFocus(
- /* [out] */ BOOL *pfThreadFocus) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetFunctionProvider(
- /* [in] */ REFCLSID clsid,
- /* [out] */ ITfFunctionProvider **ppFuncProv) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumFunctionProviders(
- /* [out] */ IEnumTfFunctionProviders **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetGlobalCompartment(
- /* [out] */ ITfCompartmentMgr **ppCompMgr) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfThreadMgrVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfThreadMgr * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfThreadMgr * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfThreadMgr * This);
-
- HRESULT ( STDMETHODCALLTYPE *Activate )(
- ITfThreadMgr * This,
- /* [out] */ TfClientId *ptid);
-
- HRESULT ( STDMETHODCALLTYPE *Deactivate )(
- ITfThreadMgr * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDocumentMgr )(
- ITfThreadMgr * This,
- /* [out] */ ITfDocumentMgr **ppdim);
-
- HRESULT ( STDMETHODCALLTYPE *EnumDocumentMgrs )(
- ITfThreadMgr * This,
- /* [out] */ IEnumTfDocumentMgrs **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *GetFocus )(
- ITfThreadMgr * This,
- /* [out] */ ITfDocumentMgr **ppdimFocus);
-
- HRESULT ( STDMETHODCALLTYPE *SetFocus )(
- ITfThreadMgr * This,
- /* [in] */ ITfDocumentMgr *pdimFocus);
-
- HRESULT ( STDMETHODCALLTYPE *AssociateFocus )(
- ITfThreadMgr * This,
- /* [in] */ HWND hwnd,
- /* [unique][in] */ ITfDocumentMgr *pdimNew,
- /* [out] */ ITfDocumentMgr **ppdimPrev);
-
- HRESULT ( STDMETHODCALLTYPE *IsThreadFocus )(
- ITfThreadMgr * This,
- /* [out] */ BOOL *pfThreadFocus);
-
- HRESULT ( STDMETHODCALLTYPE *GetFunctionProvider )(
- ITfThreadMgr * This,
- /* [in] */ REFCLSID clsid,
- /* [out] */ ITfFunctionProvider **ppFuncProv);
-
- HRESULT ( STDMETHODCALLTYPE *EnumFunctionProviders )(
- ITfThreadMgr * This,
- /* [out] */ IEnumTfFunctionProviders **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *GetGlobalCompartment )(
- ITfThreadMgr * This,
- /* [out] */ ITfCompartmentMgr **ppCompMgr);
-
- END_INTERFACE
- } ITfThreadMgrVtbl;
- interface ITfThreadMgr
- {
- CONST_VTBL struct ITfThreadMgrVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfThreadMgr_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfThreadMgr_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfThreadMgr_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfThreadMgr_Activate(This,ptid) \
- (This)->lpVtbl -> Activate(This,ptid)
- #define ITfThreadMgr_Deactivate(This) \
- (This)->lpVtbl -> Deactivate(This)
- #define ITfThreadMgr_CreateDocumentMgr(This,ppdim) \
- (This)->lpVtbl -> CreateDocumentMgr(This,ppdim)
- #define ITfThreadMgr_EnumDocumentMgrs(This,ppEnum) \
- (This)->lpVtbl -> EnumDocumentMgrs(This,ppEnum)
- #define ITfThreadMgr_GetFocus(This,ppdimFocus) \
- (This)->lpVtbl -> GetFocus(This,ppdimFocus)
- #define ITfThreadMgr_SetFocus(This,pdimFocus) \
- (This)->lpVtbl -> SetFocus(This,pdimFocus)
- #define ITfThreadMgr_AssociateFocus(This,hwnd,pdimNew,ppdimPrev) \
- (This)->lpVtbl -> AssociateFocus(This,hwnd,pdimNew,ppdimPrev)
- #define ITfThreadMgr_IsThreadFocus(This,pfThreadFocus) \
- (This)->lpVtbl -> IsThreadFocus(This,pfThreadFocus)
- #define ITfThreadMgr_GetFunctionProvider(This,clsid,ppFuncProv) \
- (This)->lpVtbl -> GetFunctionProvider(This,clsid,ppFuncProv)
- #define ITfThreadMgr_EnumFunctionProviders(This,ppEnum) \
- (This)->lpVtbl -> EnumFunctionProviders(This,ppEnum)
- #define ITfThreadMgr_GetGlobalCompartment(This,ppCompMgr) \
- (This)->lpVtbl -> GetGlobalCompartment(This,ppCompMgr)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_Activate_Proxy(
- ITfThreadMgr * This,
- /* [out] */ TfClientId *ptid);
- void __RPC_STUB ITfThreadMgr_Activate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_Deactivate_Proxy(
- ITfThreadMgr * This);
- void __RPC_STUB ITfThreadMgr_Deactivate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_CreateDocumentMgr_Proxy(
- ITfThreadMgr * This,
- /* [out] */ ITfDocumentMgr **ppdim);
- void __RPC_STUB ITfThreadMgr_CreateDocumentMgr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_EnumDocumentMgrs_Proxy(
- ITfThreadMgr * This,
- /* [out] */ IEnumTfDocumentMgrs **ppEnum);
- void __RPC_STUB ITfThreadMgr_EnumDocumentMgrs_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_GetFocus_Proxy(
- ITfThreadMgr * This,
- /* [out] */ ITfDocumentMgr **ppdimFocus);
- void __RPC_STUB ITfThreadMgr_GetFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_SetFocus_Proxy(
- ITfThreadMgr * This,
- /* [in] */ ITfDocumentMgr *pdimFocus);
- void __RPC_STUB ITfThreadMgr_SetFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_AssociateFocus_Proxy(
- ITfThreadMgr * This,
- /* [in] */ HWND hwnd,
- /* [unique][in] */ ITfDocumentMgr *pdimNew,
- /* [out] */ ITfDocumentMgr **ppdimPrev);
- void __RPC_STUB ITfThreadMgr_AssociateFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_IsThreadFocus_Proxy(
- ITfThreadMgr * This,
- /* [out] */ BOOL *pfThreadFocus);
- void __RPC_STUB ITfThreadMgr_IsThreadFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_GetFunctionProvider_Proxy(
- ITfThreadMgr * This,
- /* [in] */ REFCLSID clsid,
- /* [out] */ ITfFunctionProvider **ppFuncProv);
- void __RPC_STUB ITfThreadMgr_GetFunctionProvider_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_EnumFunctionProviders_Proxy(
- ITfThreadMgr * This,
- /* [out] */ IEnumTfFunctionProviders **ppEnum);
- void __RPC_STUB ITfThreadMgr_EnumFunctionProviders_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgr_GetGlobalCompartment_Proxy(
- ITfThreadMgr * This,
- /* [out] */ ITfCompartmentMgr **ppCompMgr);
- void __RPC_STUB ITfThreadMgr_GetGlobalCompartment_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfThreadMgr_INTERFACE_DEFINED__ */
- #ifndef __ITfThreadMgrEventSink_INTERFACE_DEFINED__
- #define __ITfThreadMgrEventSink_INTERFACE_DEFINED__
- /* interface ITfThreadMgrEventSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfThreadMgrEventSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e80e-2021-11d2-93e0-0060b067b86e")
- ITfThreadMgrEventSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnInitDocumentMgr(
- /* [in] */ ITfDocumentMgr *pdim) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnUninitDocumentMgr(
- /* [in] */ ITfDocumentMgr *pdim) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnSetFocus(
- /* [in] */ ITfDocumentMgr *pdimFocus,
- /* [in] */ ITfDocumentMgr *pdimPrevFocus) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnPushContext(
- /* [in] */ ITfContext *pic) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnPopContext(
- /* [in] */ ITfContext *pic) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfThreadMgrEventSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfThreadMgrEventSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfThreadMgrEventSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfThreadMgrEventSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnInitDocumentMgr )(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfDocumentMgr *pdim);
-
- HRESULT ( STDMETHODCALLTYPE *OnUninitDocumentMgr )(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfDocumentMgr *pdim);
-
- HRESULT ( STDMETHODCALLTYPE *OnSetFocus )(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfDocumentMgr *pdimFocus,
- /* [in] */ ITfDocumentMgr *pdimPrevFocus);
-
- HRESULT ( STDMETHODCALLTYPE *OnPushContext )(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfContext *pic);
-
- HRESULT ( STDMETHODCALLTYPE *OnPopContext )(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfContext *pic);
-
- END_INTERFACE
- } ITfThreadMgrEventSinkVtbl;
- interface ITfThreadMgrEventSink
- {
- CONST_VTBL struct ITfThreadMgrEventSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfThreadMgrEventSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfThreadMgrEventSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfThreadMgrEventSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfThreadMgrEventSink_OnInitDocumentMgr(This,pdim) \
- (This)->lpVtbl -> OnInitDocumentMgr(This,pdim)
- #define ITfThreadMgrEventSink_OnUninitDocumentMgr(This,pdim) \
- (This)->lpVtbl -> OnUninitDocumentMgr(This,pdim)
- #define ITfThreadMgrEventSink_OnSetFocus(This,pdimFocus,pdimPrevFocus) \
- (This)->lpVtbl -> OnSetFocus(This,pdimFocus,pdimPrevFocus)
- #define ITfThreadMgrEventSink_OnPushContext(This,pic) \
- (This)->lpVtbl -> OnPushContext(This,pic)
- #define ITfThreadMgrEventSink_OnPopContext(This,pic) \
- (This)->lpVtbl -> OnPopContext(This,pic)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfThreadMgrEventSink_OnInitDocumentMgr_Proxy(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfDocumentMgr *pdim);
- void __RPC_STUB ITfThreadMgrEventSink_OnInitDocumentMgr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgrEventSink_OnUninitDocumentMgr_Proxy(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfDocumentMgr *pdim);
- void __RPC_STUB ITfThreadMgrEventSink_OnUninitDocumentMgr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgrEventSink_OnSetFocus_Proxy(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfDocumentMgr *pdimFocus,
- /* [in] */ ITfDocumentMgr *pdimPrevFocus);
- void __RPC_STUB ITfThreadMgrEventSink_OnSetFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgrEventSink_OnPushContext_Proxy(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfContext *pic);
- void __RPC_STUB ITfThreadMgrEventSink_OnPushContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadMgrEventSink_OnPopContext_Proxy(
- ITfThreadMgrEventSink * This,
- /* [in] */ ITfContext *pic);
- void __RPC_STUB ITfThreadMgrEventSink_OnPopContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfThreadMgrEventSink_INTERFACE_DEFINED__ */
- #ifndef __ITfConfigureSystemKeystrokeFeed_INTERFACE_DEFINED__
- #define __ITfConfigureSystemKeystrokeFeed_INTERFACE_DEFINED__
- /* interface ITfConfigureSystemKeystrokeFeed */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfConfigureSystemKeystrokeFeed;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0d2c969a-bc9c-437c-84ee-951c49b1a764")
- ITfConfigureSystemKeystrokeFeed : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE DisableSystemKeystrokeFeed( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnableSystemKeystrokeFeed( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfConfigureSystemKeystrokeFeedVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfConfigureSystemKeystrokeFeed * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfConfigureSystemKeystrokeFeed * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfConfigureSystemKeystrokeFeed * This);
-
- HRESULT ( STDMETHODCALLTYPE *DisableSystemKeystrokeFeed )(
- ITfConfigureSystemKeystrokeFeed * This);
-
- HRESULT ( STDMETHODCALLTYPE *EnableSystemKeystrokeFeed )(
- ITfConfigureSystemKeystrokeFeed * This);
-
- END_INTERFACE
- } ITfConfigureSystemKeystrokeFeedVtbl;
- interface ITfConfigureSystemKeystrokeFeed
- {
- CONST_VTBL struct ITfConfigureSystemKeystrokeFeedVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfConfigureSystemKeystrokeFeed_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfConfigureSystemKeystrokeFeed_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfConfigureSystemKeystrokeFeed_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfConfigureSystemKeystrokeFeed_DisableSystemKeystrokeFeed(This) \
- (This)->lpVtbl -> DisableSystemKeystrokeFeed(This)
- #define ITfConfigureSystemKeystrokeFeed_EnableSystemKeystrokeFeed(This) \
- (This)->lpVtbl -> EnableSystemKeystrokeFeed(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfConfigureSystemKeystrokeFeed_DisableSystemKeystrokeFeed_Proxy(
- ITfConfigureSystemKeystrokeFeed * This);
- void __RPC_STUB ITfConfigureSystemKeystrokeFeed_DisableSystemKeystrokeFeed_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfConfigureSystemKeystrokeFeed_EnableSystemKeystrokeFeed_Proxy(
- ITfConfigureSystemKeystrokeFeed * This);
- void __RPC_STUB ITfConfigureSystemKeystrokeFeed_EnableSystemKeystrokeFeed_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfConfigureSystemKeystrokeFeed_INTERFACE_DEFINED__ */
- #ifndef __IEnumTfDocumentMgrs_INTERFACE_DEFINED__
- #define __IEnumTfDocumentMgrs_INTERFACE_DEFINED__
- /* interface IEnumTfDocumentMgrs */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfDocumentMgrs;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e808-2021-11d2-93e0-0060b067b86e")
- IEnumTfDocumentMgrs : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfDocumentMgrs **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfDocumentMgr **rgDocumentMgr,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfDocumentMgrsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfDocumentMgrs * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfDocumentMgrs * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfDocumentMgrs * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfDocumentMgrs * This,
- /* [out] */ IEnumTfDocumentMgrs **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfDocumentMgrs * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfDocumentMgr **rgDocumentMgr,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfDocumentMgrs * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfDocumentMgrs * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfDocumentMgrsVtbl;
- interface IEnumTfDocumentMgrs
- {
- CONST_VTBL struct IEnumTfDocumentMgrsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfDocumentMgrs_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfDocumentMgrs_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfDocumentMgrs_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumTfDocumentMgrs_Clone(This,ppEnum) \
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfDocumentMgrs_Next(This,ulCount,rgDocumentMgr,pcFetched) \
- (This)->lpVtbl -> Next(This,ulCount,rgDocumentMgr,pcFetched)
- #define IEnumTfDocumentMgrs_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfDocumentMgrs_Skip(This,ulCount) \
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfDocumentMgrs_Clone_Proxy(
- IEnumTfDocumentMgrs * This,
- /* [out] */ IEnumTfDocumentMgrs **ppEnum);
- void __RPC_STUB IEnumTfDocumentMgrs_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfDocumentMgrs_Next_Proxy(
- IEnumTfDocumentMgrs * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfDocumentMgr **rgDocumentMgr,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumTfDocumentMgrs_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfDocumentMgrs_Reset_Proxy(
- IEnumTfDocumentMgrs * This);
- void __RPC_STUB IEnumTfDocumentMgrs_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfDocumentMgrs_Skip_Proxy(
- IEnumTfDocumentMgrs * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumTfDocumentMgrs_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfDocumentMgrs_INTERFACE_DEFINED__ */
- #ifndef __ITfDocumentMgr_INTERFACE_DEFINED__
- #define __ITfDocumentMgr_INTERFACE_DEFINED__
- /* interface ITfDocumentMgr */
- /* [unique][uuid][object] */
- #define TF_POPF_ALL ( 0x1 )
- EXTERN_C const IID IID_ITfDocumentMgr;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e7f4-2021-11d2-93e0-0060b067b86e")
- ITfDocumentMgr : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE CreateContext(
- /* [in] */ TfClientId tidOwner,
- /* [in] */ DWORD dwFlags,
- /* [unique][in] */ IUnknown *punk,
- /* [out] */ ITfContext **ppic,
- /* [out] */ TfEditCookie *pecTextStore) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Push(
- /* [in] */ ITfContext *pic) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Pop(
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetTop(
- /* [out] */ ITfContext **ppic) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetBase(
- /* [out] */ ITfContext **ppic) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumContexts(
- /* [out] */ IEnumTfContexts **ppEnum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfDocumentMgrVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfDocumentMgr * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfDocumentMgr * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfDocumentMgr * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateContext )(
- ITfDocumentMgr * This,
- /* [in] */ TfClientId tidOwner,
- /* [in] */ DWORD dwFlags,
- /* [unique][in] */ IUnknown *punk,
- /* [out] */ ITfContext **ppic,
- /* [out] */ TfEditCookie *pecTextStore);
-
- HRESULT ( STDMETHODCALLTYPE *Push )(
- ITfDocumentMgr * This,
- /* [in] */ ITfContext *pic);
-
- HRESULT ( STDMETHODCALLTYPE *Pop )(
- ITfDocumentMgr * This,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *GetTop )(
- ITfDocumentMgr * This,
- /* [out] */ ITfContext **ppic);
-
- HRESULT ( STDMETHODCALLTYPE *GetBase )(
- ITfDocumentMgr * This,
- /* [out] */ ITfContext **ppic);
-
- HRESULT ( STDMETHODCALLTYPE *EnumContexts )(
- ITfDocumentMgr * This,
- /* [out] */ IEnumTfContexts **ppEnum);
-
- END_INTERFACE
- } ITfDocumentMgrVtbl;
- interface ITfDocumentMgr
- {
- CONST_VTBL struct ITfDocumentMgrVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfDocumentMgr_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfDocumentMgr_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfDocumentMgr_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfDocumentMgr_CreateContext(This,tidOwner,dwFlags,punk,ppic,pecTextStore) \
- (This)->lpVtbl -> CreateContext(This,tidOwner,dwFlags,punk,ppic,pecTextStore)
- #define ITfDocumentMgr_Push(This,pic) \
- (This)->lpVtbl -> Push(This,pic)
- #define ITfDocumentMgr_Pop(This,dwFlags) \
- (This)->lpVtbl -> Pop(This,dwFlags)
- #define ITfDocumentMgr_GetTop(This,ppic) \
- (This)->lpVtbl -> GetTop(This,ppic)
- #define ITfDocumentMgr_GetBase(This,ppic) \
- (This)->lpVtbl -> GetBase(This,ppic)
- #define ITfDocumentMgr_EnumContexts(This,ppEnum) \
- (This)->lpVtbl -> EnumContexts(This,ppEnum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfDocumentMgr_CreateContext_Proxy(
- ITfDocumentMgr * This,
- /* [in] */ TfClientId tidOwner,
- /* [in] */ DWORD dwFlags,
- /* [unique][in] */ IUnknown *punk,
- /* [out] */ ITfContext **ppic,
- /* [out] */ TfEditCookie *pecTextStore);
- void __RPC_STUB ITfDocumentMgr_CreateContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDocumentMgr_Push_Proxy(
- ITfDocumentMgr * This,
- /* [in] */ ITfContext *pic);
- void __RPC_STUB ITfDocumentMgr_Push_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDocumentMgr_Pop_Proxy(
- ITfDocumentMgr * This,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB ITfDocumentMgr_Pop_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDocumentMgr_GetTop_Proxy(
- ITfDocumentMgr * This,
- /* [out] */ ITfContext **ppic);
- void __RPC_STUB ITfDocumentMgr_GetTop_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDocumentMgr_GetBase_Proxy(
- ITfDocumentMgr * This,
- /* [out] */ ITfContext **ppic);
- void __RPC_STUB ITfDocumentMgr_GetBase_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDocumentMgr_EnumContexts_Proxy(
- ITfDocumentMgr * This,
- /* [out] */ IEnumTfContexts **ppEnum);
- void __RPC_STUB ITfDocumentMgr_EnumContexts_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfDocumentMgr_INTERFACE_DEFINED__ */
- #ifndef __IEnumTfContexts_INTERFACE_DEFINED__
- #define __IEnumTfContexts_INTERFACE_DEFINED__
- /* interface IEnumTfContexts */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfContexts;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8f1a7ea6-1654-4502-a86e-b2902344d507")
- IEnumTfContexts : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfContexts **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfContext **rgContext,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfContextsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfContexts * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfContexts * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfContexts * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfContexts * This,
- /* [out] */ IEnumTfContexts **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfContexts * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfContext **rgContext,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfContexts * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfContexts * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfContextsVtbl;
- interface IEnumTfContexts
- {
- CONST_VTBL struct IEnumTfContextsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfContexts_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfContexts_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfContexts_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumTfContexts_Clone(This,ppEnum) \
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfContexts_Next(This,ulCount,rgContext,pcFetched) \
- (This)->lpVtbl -> Next(This,ulCount,rgContext,pcFetched)
- #define IEnumTfContexts_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfContexts_Skip(This,ulCount) \
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfContexts_Clone_Proxy(
- IEnumTfContexts * This,
- /* [out] */ IEnumTfContexts **ppEnum);
- void __RPC_STUB IEnumTfContexts_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfContexts_Next_Proxy(
- IEnumTfContexts * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfContext **rgContext,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumTfContexts_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfContexts_Reset_Proxy(
- IEnumTfContexts * This);
- void __RPC_STUB IEnumTfContexts_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfContexts_Skip_Proxy(
- IEnumTfContexts * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumTfContexts_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfContexts_INTERFACE_DEFINED__ */
- #ifndef __ITfCompositionView_INTERFACE_DEFINED__
- #define __ITfCompositionView_INTERFACE_DEFINED__
- /* interface ITfCompositionView */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfCompositionView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("D7540241-F9A1-4364-BEFC-DBCD2C4395B7")
- ITfCompositionView : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetOwnerClsid(
- /* [out] */ CLSID *pclsid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetRange(
- /* [out] */ ITfRange **ppRange) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCompositionViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCompositionView * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCompositionView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCompositionView * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetOwnerClsid )(
- ITfCompositionView * This,
- /* [out] */ CLSID *pclsid);
-
- HRESULT ( STDMETHODCALLTYPE *GetRange )(
- ITfCompositionView * This,
- /* [out] */ ITfRange **ppRange);
-
- END_INTERFACE
- } ITfCompositionViewVtbl;
- interface ITfCompositionView
- {
- CONST_VTBL struct ITfCompositionViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCompositionView_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCompositionView_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfCompositionView_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfCompositionView_GetOwnerClsid(This,pclsid) \
- (This)->lpVtbl -> GetOwnerClsid(This,pclsid)
- #define ITfCompositionView_GetRange(This,ppRange) \
- (This)->lpVtbl -> GetRange(This,ppRange)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCompositionView_GetOwnerClsid_Proxy(
- ITfCompositionView * This,
- /* [out] */ CLSID *pclsid);
- void __RPC_STUB ITfCompositionView_GetOwnerClsid_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCompositionView_GetRange_Proxy(
- ITfCompositionView * This,
- /* [out] */ ITfRange **ppRange);
- void __RPC_STUB ITfCompositionView_GetRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCompositionView_INTERFACE_DEFINED__ */
- #ifndef __IEnumITfCompositionView_INTERFACE_DEFINED__
- #define __IEnumITfCompositionView_INTERFACE_DEFINED__
- /* interface IEnumITfCompositionView */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumITfCompositionView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("5EFD22BA-7838-46CB-88E2-CADB14124F8F")
- IEnumITfCompositionView : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumITfCompositionView **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfCompositionView **rgCompositionView,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumITfCompositionViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumITfCompositionView * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumITfCompositionView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumITfCompositionView * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumITfCompositionView * This,
- /* [out] */ IEnumITfCompositionView **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumITfCompositionView * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfCompositionView **rgCompositionView,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumITfCompositionView * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumITfCompositionView * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumITfCompositionViewVtbl;
- interface IEnumITfCompositionView
- {
- CONST_VTBL struct IEnumITfCompositionViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumITfCompositionView_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumITfCompositionView_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumITfCompositionView_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumITfCompositionView_Clone(This,ppEnum) \
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumITfCompositionView_Next(This,ulCount,rgCompositionView,pcFetched) \
- (This)->lpVtbl -> Next(This,ulCount,rgCompositionView,pcFetched)
- #define IEnumITfCompositionView_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumITfCompositionView_Skip(This,ulCount) \
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumITfCompositionView_Clone_Proxy(
- IEnumITfCompositionView * This,
- /* [out] */ IEnumITfCompositionView **ppEnum);
- void __RPC_STUB IEnumITfCompositionView_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumITfCompositionView_Next_Proxy(
- IEnumITfCompositionView * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfCompositionView **rgCompositionView,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumITfCompositionView_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumITfCompositionView_Reset_Proxy(
- IEnumITfCompositionView * This);
- void __RPC_STUB IEnumITfCompositionView_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumITfCompositionView_Skip_Proxy(
- IEnumITfCompositionView * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumITfCompositionView_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumITfCompositionView_INTERFACE_DEFINED__ */
- #ifndef __ITfComposition_INTERFACE_DEFINED__
- #define __ITfComposition_INTERFACE_DEFINED__
- /* interface ITfComposition */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfComposition;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("20168D64-5A8F-4A5A-B7BD-CFA29F4D0FD9")
- ITfComposition : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetRange(
- /* [out] */ ITfRange **ppRange) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftStart(
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pNewStart) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftEnd(
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pNewEnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EndComposition(
- /* [in] */ TfEditCookie ecWrite) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCompositionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfComposition * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfComposition * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfComposition * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetRange )(
- ITfComposition * This,
- /* [out] */ ITfRange **ppRange);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftStart )(
- ITfComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pNewStart);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftEnd )(
- ITfComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pNewEnd);
-
- HRESULT ( STDMETHODCALLTYPE *EndComposition )(
- ITfComposition * This,
- /* [in] */ TfEditCookie ecWrite);
-
- END_INTERFACE
- } ITfCompositionVtbl;
- interface ITfComposition
- {
- CONST_VTBL struct ITfCompositionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfComposition_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfComposition_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfComposition_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfComposition_GetRange(This,ppRange) \
- (This)->lpVtbl -> GetRange(This,ppRange)
- #define ITfComposition_ShiftStart(This,ecWrite,pNewStart) \
- (This)->lpVtbl -> ShiftStart(This,ecWrite,pNewStart)
- #define ITfComposition_ShiftEnd(This,ecWrite,pNewEnd) \
- (This)->lpVtbl -> ShiftEnd(This,ecWrite,pNewEnd)
- #define ITfComposition_EndComposition(This,ecWrite) \
- (This)->lpVtbl -> EndComposition(This,ecWrite)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfComposition_GetRange_Proxy(
- ITfComposition * This,
- /* [out] */ ITfRange **ppRange);
- void __RPC_STUB ITfComposition_GetRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfComposition_ShiftStart_Proxy(
- ITfComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pNewStart);
- void __RPC_STUB ITfComposition_ShiftStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfComposition_ShiftEnd_Proxy(
- ITfComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pNewEnd);
- void __RPC_STUB ITfComposition_ShiftEnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfComposition_EndComposition_Proxy(
- ITfComposition * This,
- /* [in] */ TfEditCookie ecWrite);
- void __RPC_STUB ITfComposition_EndComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfComposition_INTERFACE_DEFINED__ */
- #ifndef __ITfCompositionSink_INTERFACE_DEFINED__
- #define __ITfCompositionSink_INTERFACE_DEFINED__
- /* interface ITfCompositionSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfCompositionSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("A781718C-579A-4B15-A280-32B8577ACC5E")
- ITfCompositionSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnCompositionTerminated(
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfComposition *pComposition) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCompositionSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCompositionSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCompositionSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCompositionSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnCompositionTerminated )(
- ITfCompositionSink * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfComposition *pComposition);
-
- END_INTERFACE
- } ITfCompositionSinkVtbl;
- interface ITfCompositionSink
- {
- CONST_VTBL struct ITfCompositionSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCompositionSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCompositionSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfCompositionSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfCompositionSink_OnCompositionTerminated(This,ecWrite,pComposition) \
- (This)->lpVtbl -> OnCompositionTerminated(This,ecWrite,pComposition)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCompositionSink_OnCompositionTerminated_Proxy(
- ITfCompositionSink * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfComposition *pComposition);
- void __RPC_STUB ITfCompositionSink_OnCompositionTerminated_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCompositionSink_INTERFACE_DEFINED__ */
- #ifndef __ITfContextComposition_INTERFACE_DEFINED__
- #define __ITfContextComposition_INTERFACE_DEFINED__
- /* interface ITfContextComposition */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfContextComposition;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("D40C8AAE-AC92-4FC7-9A11-0EE0E23AA39B")
- ITfContextComposition : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE StartComposition(
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pCompositionRange,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumCompositions(
- /* [out] */ IEnumITfCompositionView **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE FindComposition(
- /* [in] */ TfEditCookie ecRead,
- /* [in] */ ITfRange *pTestRange,
- /* [out] */ IEnumITfCompositionView **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE TakeOwnership(
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextCompositionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextComposition * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextComposition * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextComposition * This);
-
- HRESULT ( STDMETHODCALLTYPE *StartComposition )(
- ITfContextComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pCompositionRange,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition);
-
- HRESULT ( STDMETHODCALLTYPE *EnumCompositions )(
- ITfContextComposition * This,
- /* [out] */ IEnumITfCompositionView **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *FindComposition )(
- ITfContextComposition * This,
- /* [in] */ TfEditCookie ecRead,
- /* [in] */ ITfRange *pTestRange,
- /* [out] */ IEnumITfCompositionView **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *TakeOwnership )(
- ITfContextComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition);
-
- END_INTERFACE
- } ITfContextCompositionVtbl;
- interface ITfContextComposition
- {
- CONST_VTBL struct ITfContextCompositionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextComposition_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextComposition_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextComposition_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfContextComposition_StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition) \
- (This)->lpVtbl -> StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition)
- #define ITfContextComposition_EnumCompositions(This,ppEnum) \
- (This)->lpVtbl -> EnumCompositions(This,ppEnum)
- #define ITfContextComposition_FindComposition(This,ecRead,pTestRange,ppEnum) \
- (This)->lpVtbl -> FindComposition(This,ecRead,pTestRange,ppEnum)
- #define ITfContextComposition_TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition) \
- (This)->lpVtbl -> TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextComposition_StartComposition_Proxy(
- ITfContextComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pCompositionRange,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition);
- void __RPC_STUB ITfContextComposition_StartComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextComposition_EnumCompositions_Proxy(
- ITfContextComposition * This,
- /* [out] */ IEnumITfCompositionView **ppEnum);
- void __RPC_STUB ITfContextComposition_EnumCompositions_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextComposition_FindComposition_Proxy(
- ITfContextComposition * This,
- /* [in] */ TfEditCookie ecRead,
- /* [in] */ ITfRange *pTestRange,
- /* [out] */ IEnumITfCompositionView **ppEnum);
- void __RPC_STUB ITfContextComposition_FindComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextComposition_TakeOwnership_Proxy(
- ITfContextComposition * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition);
- void __RPC_STUB ITfContextComposition_TakeOwnership_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextComposition_INTERFACE_DEFINED__ */
- #ifndef __ITfContextOwnerCompositionServices_INTERFACE_DEFINED__
- #define __ITfContextOwnerCompositionServices_INTERFACE_DEFINED__
- /* interface ITfContextOwnerCompositionServices */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfContextOwnerCompositionServices;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("86462810-593B-4916-9764-19C08E9CE110")
- ITfContextOwnerCompositionServices : public ITfContextComposition
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE TerminateComposition(
- /* [in] */ ITfCompositionView *pComposition) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextOwnerCompositionServicesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextOwnerCompositionServices * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextOwnerCompositionServices * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextOwnerCompositionServices * This);
-
- HRESULT ( STDMETHODCALLTYPE *StartComposition )(
- ITfContextOwnerCompositionServices * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfRange *pCompositionRange,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition);
-
- HRESULT ( STDMETHODCALLTYPE *EnumCompositions )(
- ITfContextOwnerCompositionServices * This,
- /* [out] */ IEnumITfCompositionView **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *FindComposition )(
- ITfContextOwnerCompositionServices * This,
- /* [in] */ TfEditCookie ecRead,
- /* [in] */ ITfRange *pTestRange,
- /* [out] */ IEnumITfCompositionView **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *TakeOwnership )(
- ITfContextOwnerCompositionServices * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfCompositionSink *pSink,
- /* [out] */ ITfComposition **ppComposition);
-
- HRESULT ( STDMETHODCALLTYPE *TerminateComposition )(
- ITfContextOwnerCompositionServices * This,
- /* [in] */ ITfCompositionView *pComposition);
-
- END_INTERFACE
- } ITfContextOwnerCompositionServicesVtbl;
- interface ITfContextOwnerCompositionServices
- {
- CONST_VTBL struct ITfContextOwnerCompositionServicesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextOwnerCompositionServices_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextOwnerCompositionServices_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextOwnerCompositionServices_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfContextOwnerCompositionServices_StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition) \
- (This)->lpVtbl -> StartComposition(This,ecWrite,pCompositionRange,pSink,ppComposition)
- #define ITfContextOwnerCompositionServices_EnumCompositions(This,ppEnum) \
- (This)->lpVtbl -> EnumCompositions(This,ppEnum)
- #define ITfContextOwnerCompositionServices_FindComposition(This,ecRead,pTestRange,ppEnum) \
- (This)->lpVtbl -> FindComposition(This,ecRead,pTestRange,ppEnum)
- #define ITfContextOwnerCompositionServices_TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition) \
- (This)->lpVtbl -> TakeOwnership(This,ecWrite,pComposition,pSink,ppComposition)
- #define ITfContextOwnerCompositionServices_TerminateComposition(This,pComposition) \
- (This)->lpVtbl -> TerminateComposition(This,pComposition)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextOwnerCompositionServices_TerminateComposition_Proxy(
- ITfContextOwnerCompositionServices * This,
- /* [in] */ ITfCompositionView *pComposition);
- void __RPC_STUB ITfContextOwnerCompositionServices_TerminateComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextOwnerCompositionServices_INTERFACE_DEFINED__ */
- #ifndef __ITfContextOwnerCompositionSink_INTERFACE_DEFINED__
- #define __ITfContextOwnerCompositionSink_INTERFACE_DEFINED__
- /* interface ITfContextOwnerCompositionSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfContextOwnerCompositionSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("5F20AA40-B57A-4F34-96AB-3576F377CC79")
- ITfContextOwnerCompositionSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnStartComposition(
- /* [in] */ ITfCompositionView *pComposition,
- /* [out] */ BOOL *pfOk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnUpdateComposition(
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfRange *pRangeNew) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnEndComposition(
- /* [in] */ ITfCompositionView *pComposition) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextOwnerCompositionSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextOwnerCompositionSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextOwnerCompositionSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnStartComposition )(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ ITfCompositionView *pComposition,
- /* [out] */ BOOL *pfOk);
-
- HRESULT ( STDMETHODCALLTYPE *OnUpdateComposition )(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfRange *pRangeNew);
-
- HRESULT ( STDMETHODCALLTYPE *OnEndComposition )(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ ITfCompositionView *pComposition);
-
- END_INTERFACE
- } ITfContextOwnerCompositionSinkVtbl;
- interface ITfContextOwnerCompositionSink
- {
- CONST_VTBL struct ITfContextOwnerCompositionSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextOwnerCompositionSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextOwnerCompositionSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextOwnerCompositionSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfContextOwnerCompositionSink_OnStartComposition(This,pComposition,pfOk) \
- (This)->lpVtbl -> OnStartComposition(This,pComposition,pfOk)
- #define ITfContextOwnerCompositionSink_OnUpdateComposition(This,pComposition,pRangeNew) \
- (This)->lpVtbl -> OnUpdateComposition(This,pComposition,pRangeNew)
- #define ITfContextOwnerCompositionSink_OnEndComposition(This,pComposition) \
- (This)->lpVtbl -> OnEndComposition(This,pComposition)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextOwnerCompositionSink_OnStartComposition_Proxy(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ ITfCompositionView *pComposition,
- /* [out] */ BOOL *pfOk);
- void __RPC_STUB ITfContextOwnerCompositionSink_OnStartComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerCompositionSink_OnUpdateComposition_Proxy(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ ITfCompositionView *pComposition,
- /* [in] */ ITfRange *pRangeNew);
- void __RPC_STUB ITfContextOwnerCompositionSink_OnUpdateComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerCompositionSink_OnEndComposition_Proxy(
- ITfContextOwnerCompositionSink * This,
- /* [in] */ ITfCompositionView *pComposition);
- void __RPC_STUB ITfContextOwnerCompositionSink_OnEndComposition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextOwnerCompositionSink_INTERFACE_DEFINED__ */
- #ifndef __ITfContextView_INTERFACE_DEFINED__
- #define __ITfContextView_INTERFACE_DEFINED__
- /* interface ITfContextView */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfContextView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("2433bf8e-0f9b-435c-ba2c-180611978c30")
- ITfContextView : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetRangeFromPoint(
- /* [in] */ TfEditCookie ec,
- /* [in] */ const POINT *ppt,
- /* [in] */ DWORD dwFlags,
- /* [out] */ ITfRange **ppRange) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetTextExt(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ RECT *prc,
- /* [out] */ BOOL *pfClipped) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetScreenExt(
- /* [out] */ RECT *prc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetWnd(
- /* [out] */ HWND *phwnd) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextView * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextView * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetRangeFromPoint )(
- ITfContextView * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ const POINT *ppt,
- /* [in] */ DWORD dwFlags,
- /* [out] */ ITfRange **ppRange);
-
- HRESULT ( STDMETHODCALLTYPE *GetTextExt )(
- ITfContextView * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ RECT *prc,
- /* [out] */ BOOL *pfClipped);
-
- HRESULT ( STDMETHODCALLTYPE *GetScreenExt )(
- ITfContextView * This,
- /* [out] */ RECT *prc);
-
- HRESULT ( STDMETHODCALLTYPE *GetWnd )(
- ITfContextView * This,
- /* [out] */ HWND *phwnd);
-
- END_INTERFACE
- } ITfContextViewVtbl;
- interface ITfContextView
- {
- CONST_VTBL struct ITfContextViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextView_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextView_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextView_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfContextView_GetRangeFromPoint(This,ec,ppt,dwFlags,ppRange) \
- (This)->lpVtbl -> GetRangeFromPoint(This,ec,ppt,dwFlags,ppRange)
- #define ITfContextView_GetTextExt(This,ec,pRange,prc,pfClipped) \
- (This)->lpVtbl -> GetTextExt(This,ec,pRange,prc,pfClipped)
- #define ITfContextView_GetScreenExt(This,prc) \
- (This)->lpVtbl -> GetScreenExt(This,prc)
- #define ITfContextView_GetWnd(This,phwnd) \
- (This)->lpVtbl -> GetWnd(This,phwnd)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextView_GetRangeFromPoint_Proxy(
- ITfContextView * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ const POINT *ppt,
- /* [in] */ DWORD dwFlags,
- /* [out] */ ITfRange **ppRange);
- void __RPC_STUB ITfContextView_GetRangeFromPoint_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextView_GetTextExt_Proxy(
- ITfContextView * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ RECT *prc,
- /* [out] */ BOOL *pfClipped);
- void __RPC_STUB ITfContextView_GetTextExt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextView_GetScreenExt_Proxy(
- ITfContextView * This,
- /* [out] */ RECT *prc);
- void __RPC_STUB ITfContextView_GetScreenExt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextView_GetWnd_Proxy(
- ITfContextView * This,
- /* [out] */ HWND *phwnd);
- void __RPC_STUB ITfContextView_GetWnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextView_INTERFACE_DEFINED__ */
- #ifndef __IEnumTfContextViews_INTERFACE_DEFINED__
- #define __IEnumTfContextViews_INTERFACE_DEFINED__
- /* interface IEnumTfContextViews */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfContextViews;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("F0C0F8DD-CF38-44E1-BB0F-68CF0D551C78")
- IEnumTfContextViews : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfContextViews **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfContextView **rgViews,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfContextViewsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfContextViews * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfContextViews * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfContextViews * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfContextViews * This,
- /* [out] */ IEnumTfContextViews **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfContextViews * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfContextView **rgViews,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfContextViews * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfContextViews * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfContextViewsVtbl;
- interface IEnumTfContextViews
- {
- CONST_VTBL struct IEnumTfContextViewsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfContextViews_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfContextViews_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfContextViews_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumTfContextViews_Clone(This,ppEnum) \
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfContextViews_Next(This,ulCount,rgViews,pcFetched) \
- (This)->lpVtbl -> Next(This,ulCount,rgViews,pcFetched)
- #define IEnumTfContextViews_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfContextViews_Skip(This,ulCount) \
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfContextViews_Clone_Proxy(
- IEnumTfContextViews * This,
- /* [out] */ IEnumTfContextViews **ppEnum);
- void __RPC_STUB IEnumTfContextViews_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfContextViews_Next_Proxy(
- IEnumTfContextViews * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfContextView **rgViews,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumTfContextViews_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfContextViews_Reset_Proxy(
- IEnumTfContextViews * This);
- void __RPC_STUB IEnumTfContextViews_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfContextViews_Skip_Proxy(
- IEnumTfContextViews * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumTfContextViews_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfContextViews_INTERFACE_DEFINED__ */
- #ifndef __ITfContext_INTERFACE_DEFINED__
- #define __ITfContext_INTERFACE_DEFINED__
- /* interface ITfContext */
- /* [unique][uuid][object] */
- #define TF_ES_ASYNCDONTCARE ( 0 )
- #define TF_ES_SYNC ( 0x1 )
- #define TF_ES_READ ( 0x2 )
- #define TF_ES_READWRITE ( 0x6 )
- #define TF_ES_ASYNC ( 0x8 )
- typedef /* [public][public][public][public][public][uuid] */ DECLSPEC_UUID("1690be9b-d3e9-49f6-8d8b-51b905af4c43")
- enum __MIDL_ITfContext_0001
- { TF_AE_NONE = 0,
- TF_AE_START = 1,
- TF_AE_END = 2
- } TfActiveSelEnd;
- typedef /* [uuid] */ DECLSPEC_UUID("36ae42a4-6989-4bdc-b48a-6137b7bf2e42") struct TF_SELECTIONSTYLE
- {
- TfActiveSelEnd ase;
- BOOL fInterimChar;
- } TF_SELECTIONSTYLE;
- typedef /* [uuid] */ DECLSPEC_UUID("75eb22f2-b0bf-46a8-8006-975a3b6efcf1") struct TF_SELECTION
- {
- ITfRange *range;
- TF_SELECTIONSTYLE style;
- } TF_SELECTION;
- #define TF_DEFAULT_SELECTION ( TS_DEFAULT_SELECTION )
- #define TF_SD_READONLY ( TS_SD_READONLY )
- #define TF_SD_LOADING ( TS_SD_LOADING )
- #define TF_SS_DISJOINTSEL ( TS_SS_DISJOINTSEL )
- #define TF_SS_REGIONS ( TS_SS_REGIONS )
- #define TF_SS_TRANSITORY ( TS_SS_TRANSITORY )
- typedef /* [uuid] */ DECLSPEC_UUID("bc7d979a-846a-444d-afef-0a9bfa82b961") TS_STATUS TF_STATUS;
- EXTERN_C const IID IID_ITfContext;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e7fd-2021-11d2-93e0-0060b067b86e")
- ITfContext : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE RequestEditSession(
- /* [in] */ TfClientId tid,
- /* [in] */ ITfEditSession *pes,
- /* [in] */ DWORD dwFlags,
- /* [out] */ HRESULT *phrSession) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE InWriteSession(
- /* [in] */ TfClientId tid,
- /* [out] */ BOOL *pfWriteSession) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSelection(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG ulIndex,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_SELECTION *pSelection,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetSelection(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG ulCount,
- /* [size_is][in] */ const TF_SELECTION *pSelection) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetStart(
- /* [in] */ TfEditCookie ec,
- /* [out] */ ITfRange **ppStart) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetEnd(
- /* [in] */ TfEditCookie ec,
- /* [out] */ ITfRange **ppEnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetActiveView(
- /* [out] */ ITfContextView **ppView) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumViews(
- /* [out] */ IEnumTfContextViews **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetStatus(
- /* [out] */ TF_STATUS *pdcs) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetProperty(
- /* [in] */ REFGUID guidProp,
- /* [out] */ ITfProperty **ppProp) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetAppProperty(
- /* [in] */ REFGUID guidProp,
- /* [out] */ ITfReadOnlyProperty **ppProp) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE TrackProperties(
- /* [size_is][in] */ const GUID **prgProp,
- /* [in] */ ULONG cProp,
- /* [size_is][in] */ const GUID **prgAppProp,
- /* [in] */ ULONG cAppProp,
- /* [out] */ ITfReadOnlyProperty **ppProperty) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumProperties(
- /* [out] */ IEnumTfProperties **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDocumentMgr(
- /* [out] */ ITfDocumentMgr **ppDm) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateRangeBackup(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ ITfRangeBackup **ppBackup) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContext * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContext * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContext * This);
-
- HRESULT ( STDMETHODCALLTYPE *RequestEditSession )(
- ITfContext * This,
- /* [in] */ TfClientId tid,
- /* [in] */ ITfEditSession *pes,
- /* [in] */ DWORD dwFlags,
- /* [out] */ HRESULT *phrSession);
-
- HRESULT ( STDMETHODCALLTYPE *InWriteSession )(
- ITfContext * This,
- /* [in] */ TfClientId tid,
- /* [out] */ BOOL *pfWriteSession);
-
- HRESULT ( STDMETHODCALLTYPE *GetSelection )(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG ulIndex,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_SELECTION *pSelection,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *SetSelection )(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG ulCount,
- /* [size_is][in] */ const TF_SELECTION *pSelection);
-
- HRESULT ( STDMETHODCALLTYPE *GetStart )(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ ITfRange **ppStart);
-
- HRESULT ( STDMETHODCALLTYPE *GetEnd )(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ ITfRange **ppEnd);
-
- HRESULT ( STDMETHODCALLTYPE *GetActiveView )(
- ITfContext * This,
- /* [out] */ ITfContextView **ppView);
-
- HRESULT ( STDMETHODCALLTYPE *EnumViews )(
- ITfContext * This,
- /* [out] */ IEnumTfContextViews **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *GetStatus )(
- ITfContext * This,
- /* [out] */ TF_STATUS *pdcs);
-
- HRESULT ( STDMETHODCALLTYPE *GetProperty )(
- ITfContext * This,
- /* [in] */ REFGUID guidProp,
- /* [out] */ ITfProperty **ppProp);
-
- HRESULT ( STDMETHODCALLTYPE *GetAppProperty )(
- ITfContext * This,
- /* [in] */ REFGUID guidProp,
- /* [out] */ ITfReadOnlyProperty **ppProp);
-
- HRESULT ( STDMETHODCALLTYPE *TrackProperties )(
- ITfContext * This,
- /* [size_is][in] */ const GUID **prgProp,
- /* [in] */ ULONG cProp,
- /* [size_is][in] */ const GUID **prgAppProp,
- /* [in] */ ULONG cAppProp,
- /* [out] */ ITfReadOnlyProperty **ppProperty);
-
- HRESULT ( STDMETHODCALLTYPE *EnumProperties )(
- ITfContext * This,
- /* [out] */ IEnumTfProperties **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *GetDocumentMgr )(
- ITfContext * This,
- /* [out] */ ITfDocumentMgr **ppDm);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRangeBackup )(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ ITfRangeBackup **ppBackup);
-
- END_INTERFACE
- } ITfContextVtbl;
- interface ITfContext
- {
- CONST_VTBL struct ITfContextVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContext_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContext_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfContext_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfContext_RequestEditSession(This,tid,pes,dwFlags,phrSession) \
- (This)->lpVtbl -> RequestEditSession(This,tid,pes,dwFlags,phrSession)
- #define ITfContext_InWriteSession(This,tid,pfWriteSession) \
- (This)->lpVtbl -> InWriteSession(This,tid,pfWriteSession)
- #define ITfContext_GetSelection(This,ec,ulIndex,ulCount,pSelection,pcFetched) \
- (This)->lpVtbl -> GetSelection(This,ec,ulIndex,ulCount,pSelection,pcFetched)
- #define ITfContext_SetSelection(This,ec,ulCount,pSelection) \
- (This)->lpVtbl -> SetSelection(This,ec,ulCount,pSelection)
- #define ITfContext_GetStart(This,ec,ppStart) \
- (This)->lpVtbl -> GetStart(This,ec,ppStart)
- #define ITfContext_GetEnd(This,ec,ppEnd) \
- (This)->lpVtbl -> GetEnd(This,ec,ppEnd)
- #define ITfContext_GetActiveView(This,ppView) \
- (This)->lpVtbl -> GetActiveView(This,ppView)
- #define ITfContext_EnumViews(This,ppEnum) \
- (This)->lpVtbl -> EnumViews(This,ppEnum)
- #define ITfContext_GetStatus(This,pdcs) \
- (This)->lpVtbl -> GetStatus(This,pdcs)
- #define ITfContext_GetProperty(This,guidProp,ppProp) \
- (This)->lpVtbl -> GetProperty(This,guidProp,ppProp)
- #define ITfContext_GetAppProperty(This,guidProp,ppProp) \
- (This)->lpVtbl -> GetAppProperty(This,guidProp,ppProp)
- #define ITfContext_TrackProperties(This,prgProp,cProp,prgAppProp,cAppProp,ppProperty) \
- (This)->lpVtbl -> TrackProperties(This,prgProp,cProp,prgAppProp,cAppProp,ppProperty)
- #define ITfContext_EnumProperties(This,ppEnum) \
- (This)->lpVtbl -> EnumProperties(This,ppEnum)
- #define ITfContext_GetDocumentMgr(This,ppDm) \
- (This)->lpVtbl -> GetDocumentMgr(This,ppDm)
- #define ITfContext_CreateRangeBackup(This,ec,pRange,ppBackup) \
- (This)->lpVtbl -> CreateRangeBackup(This,ec,pRange,ppBackup)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContext_RequestEditSession_Proxy(
- ITfContext * This,
- /* [in] */ TfClientId tid,
- /* [in] */ ITfEditSession *pes,
- /* [in] */ DWORD dwFlags,
- /* [out] */ HRESULT *phrSession);
- void __RPC_STUB ITfContext_RequestEditSession_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_InWriteSession_Proxy(
- ITfContext * This,
- /* [in] */ TfClientId tid,
- /* [out] */ BOOL *pfWriteSession);
- void __RPC_STUB ITfContext_InWriteSession_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetSelection_Proxy(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG ulIndex,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_SELECTION *pSelection,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB ITfContext_GetSelection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_SetSelection_Proxy(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG ulCount,
- /* [size_is][in] */ const TF_SELECTION *pSelection);
- void __RPC_STUB ITfContext_SetSelection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetStart_Proxy(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ ITfRange **ppStart);
- void __RPC_STUB ITfContext_GetStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetEnd_Proxy(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ ITfRange **ppEnd);
- void __RPC_STUB ITfContext_GetEnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetActiveView_Proxy(
- ITfContext * This,
- /* [out] */ ITfContextView **ppView);
- void __RPC_STUB ITfContext_GetActiveView_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_EnumViews_Proxy(
- ITfContext * This,
- /* [out] */ IEnumTfContextViews **ppEnum);
- void __RPC_STUB ITfContext_EnumViews_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetStatus_Proxy(
- ITfContext * This,
- /* [out] */ TF_STATUS *pdcs);
- void __RPC_STUB ITfContext_GetStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetProperty_Proxy(
- ITfContext * This,
- /* [in] */ REFGUID guidProp,
- /* [out] */ ITfProperty **ppProp);
- void __RPC_STUB ITfContext_GetProperty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetAppProperty_Proxy(
- ITfContext * This,
- /* [in] */ REFGUID guidProp,
- /* [out] */ ITfReadOnlyProperty **ppProp);
- void __RPC_STUB ITfContext_GetAppProperty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_TrackProperties_Proxy(
- ITfContext * This,
- /* [size_is][in] */ const GUID **prgProp,
- /* [in] */ ULONG cProp,
- /* [size_is][in] */ const GUID **prgAppProp,
- /* [in] */ ULONG cAppProp,
- /* [out] */ ITfReadOnlyProperty **ppProperty);
- void __RPC_STUB ITfContext_TrackProperties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_EnumProperties_Proxy(
- ITfContext * This,
- /* [out] */ IEnumTfProperties **ppEnum);
- void __RPC_STUB ITfContext_EnumProperties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_GetDocumentMgr_Proxy(
- ITfContext * This,
- /* [out] */ ITfDocumentMgr **ppDm);
- void __RPC_STUB ITfContext_GetDocumentMgr_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContext_CreateRangeBackup_Proxy(
- ITfContext * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ ITfRangeBackup **ppBackup);
- void __RPC_STUB ITfContext_CreateRangeBackup_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContext_INTERFACE_DEFINED__ */
- #ifndef __ITfQueryEmbedded_INTERFACE_DEFINED__
- #define __ITfQueryEmbedded_INTERFACE_DEFINED__
- /* interface ITfQueryEmbedded */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfQueryEmbedded;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0fab9bdb-d250-4169-84e5-6be118fdd7a8")
- ITfQueryEmbedded : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE QueryInsertEmbedded(
- /* [in] */ const GUID *pguidService,
- /* [in] */ const FORMATETC *pFormatEtc,
- /* [out] */ BOOL *pfInsertable) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfQueryEmbeddedVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfQueryEmbedded * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfQueryEmbedded * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfQueryEmbedded * This);
-
- HRESULT ( STDMETHODCALLTYPE *QueryInsertEmbedded )(
- ITfQueryEmbedded * This,
- /* [in] */ const GUID *pguidService,
- /* [in] */ const FORMATETC *pFormatEtc,
- /* [out] */ BOOL *pfInsertable);
-
- END_INTERFACE
- } ITfQueryEmbeddedVtbl;
- interface ITfQueryEmbedded
- {
- CONST_VTBL struct ITfQueryEmbeddedVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfQueryEmbedded_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfQueryEmbedded_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfQueryEmbedded_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfQueryEmbedded_QueryInsertEmbedded(This,pguidService,pFormatEtc,pfInsertable) \
- (This)->lpVtbl -> QueryInsertEmbedded(This,pguidService,pFormatEtc,pfInsertable)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfQueryEmbedded_QueryInsertEmbedded_Proxy(
- ITfQueryEmbedded * This,
- /* [in] */ const GUID *pguidService,
- /* [in] */ const FORMATETC *pFormatEtc,
- /* [out] */ BOOL *pfInsertable);
- void __RPC_STUB ITfQueryEmbedded_QueryInsertEmbedded_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfQueryEmbedded_INTERFACE_DEFINED__ */
- #ifndef __ITfInsertAtSelection_INTERFACE_DEFINED__
- #define __ITfInsertAtSelection_INTERFACE_DEFINED__
- /* interface ITfInsertAtSelection */
- /* [unique][uuid][object] */
- #define TF_IAS_NOQUERY ( 0x1 )
- #define TF_IAS_QUERYONLY ( 0x2 )
- #define TF_IAS_NO_DEFAULT_COMPOSITION ( 0x80000000 )
- EXTERN_C const IID IID_ITfInsertAtSelection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("55ce16ba-3014-41c1-9ceb-fade1446ac6c")
- ITfInsertAtSelection : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE InsertTextAtSelection(
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch,
- /* [out] */ ITfRange **ppRange) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE InsertEmbeddedAtSelection(
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject,
- /* [out] */ ITfRange **ppRange) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfInsertAtSelectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfInsertAtSelection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfInsertAtSelection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfInsertAtSelection * This);
-
- HRESULT ( STDMETHODCALLTYPE *InsertTextAtSelection )(
- ITfInsertAtSelection * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch,
- /* [out] */ ITfRange **ppRange);
-
- HRESULT ( STDMETHODCALLTYPE *InsertEmbeddedAtSelection )(
- ITfInsertAtSelection * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject,
- /* [out] */ ITfRange **ppRange);
-
- END_INTERFACE
- } ITfInsertAtSelectionVtbl;
- interface ITfInsertAtSelection
- {
- CONST_VTBL struct ITfInsertAtSelectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfInsertAtSelection_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfInsertAtSelection_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfInsertAtSelection_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfInsertAtSelection_InsertTextAtSelection(This,ec,dwFlags,pchText,cch,ppRange) \
- (This)->lpVtbl -> InsertTextAtSelection(This,ec,dwFlags,pchText,cch,ppRange)
- #define ITfInsertAtSelection_InsertEmbeddedAtSelection(This,ec,dwFlags,pDataObject,ppRange) \
- (This)->lpVtbl -> InsertEmbeddedAtSelection(This,ec,dwFlags,pDataObject,ppRange)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfInsertAtSelection_InsertTextAtSelection_Proxy(
- ITfInsertAtSelection * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch,
- /* [out] */ ITfRange **ppRange);
- void __RPC_STUB ITfInsertAtSelection_InsertTextAtSelection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInsertAtSelection_InsertEmbeddedAtSelection_Proxy(
- ITfInsertAtSelection * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject,
- /* [out] */ ITfRange **ppRange);
- void __RPC_STUB ITfInsertAtSelection_InsertEmbeddedAtSelection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfInsertAtSelection_INTERFACE_DEFINED__ */
- #ifndef __ITfCleanupContextSink_INTERFACE_DEFINED__
- #define __ITfCleanupContextSink_INTERFACE_DEFINED__
- /* interface ITfCleanupContextSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfCleanupContextSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("01689689-7acb-4e9b-ab7c-7ea46b12b522")
- ITfCleanupContextSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnCleanupContext(
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfContext *pic) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCleanupContextSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCleanupContextSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCleanupContextSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCleanupContextSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnCleanupContext )(
- ITfCleanupContextSink * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfContext *pic);
-
- END_INTERFACE
- } ITfCleanupContextSinkVtbl;
- interface ITfCleanupContextSink
- {
- CONST_VTBL struct ITfCleanupContextSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCleanupContextSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCleanupContextSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfCleanupContextSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfCleanupContextSink_OnCleanupContext(This,ecWrite,pic) \
- (This)->lpVtbl -> OnCleanupContext(This,ecWrite,pic)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCleanupContextSink_OnCleanupContext_Proxy(
- ITfCleanupContextSink * This,
- /* [in] */ TfEditCookie ecWrite,
- /* [in] */ ITfContext *pic);
- void __RPC_STUB ITfCleanupContextSink_OnCleanupContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCleanupContextSink_INTERFACE_DEFINED__ */
- #ifndef __ITfCleanupContextDurationSink_INTERFACE_DEFINED__
- #define __ITfCleanupContextDurationSink_INTERFACE_DEFINED__
- /* interface ITfCleanupContextDurationSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfCleanupContextDurationSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("45c35144-154e-4797-bed8-d33ae7bf8794")
- ITfCleanupContextDurationSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnStartCleanupContext( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnEndCleanupContext( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCleanupContextDurationSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCleanupContextDurationSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCleanupContextDurationSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCleanupContextDurationSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnStartCleanupContext )(
- ITfCleanupContextDurationSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnEndCleanupContext )(
- ITfCleanupContextDurationSink * This);
-
- END_INTERFACE
- } ITfCleanupContextDurationSinkVtbl;
- interface ITfCleanupContextDurationSink
- {
- CONST_VTBL struct ITfCleanupContextDurationSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCleanupContextDurationSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCleanupContextDurationSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfCleanupContextDurationSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfCleanupContextDurationSink_OnStartCleanupContext(This) \
- (This)->lpVtbl -> OnStartCleanupContext(This)
- #define ITfCleanupContextDurationSink_OnEndCleanupContext(This) \
- (This)->lpVtbl -> OnEndCleanupContext(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCleanupContextDurationSink_OnStartCleanupContext_Proxy(
- ITfCleanupContextDurationSink * This);
- void __RPC_STUB ITfCleanupContextDurationSink_OnStartCleanupContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCleanupContextDurationSink_OnEndCleanupContext_Proxy(
- ITfCleanupContextDurationSink * This);
- void __RPC_STUB ITfCleanupContextDurationSink_OnEndCleanupContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCleanupContextDurationSink_INTERFACE_DEFINED__ */
- #ifndef __ITfReadOnlyProperty_INTERFACE_DEFINED__
- #define __ITfReadOnlyProperty_INTERFACE_DEFINED__
- /* interface ITfReadOnlyProperty */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfReadOnlyProperty;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("17d49a3d-f8b8-4b2f-b254-52319dd64c53")
- ITfReadOnlyProperty : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetType(
- /* [out] */ GUID *pguid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumRanges(
- /* [in] */ TfEditCookie ec,
- /* [out] */ IEnumTfRanges **ppEnum,
- /* [in] */ ITfRange *pTargetRange) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetValue(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ VARIANT *pvarValue) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetContext(
- /* [out] */ ITfContext **ppContext) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfReadOnlyPropertyVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfReadOnlyProperty * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfReadOnlyProperty * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfReadOnlyProperty * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetType )(
- ITfReadOnlyProperty * This,
- /* [out] */ GUID *pguid);
-
- HRESULT ( STDMETHODCALLTYPE *EnumRanges )(
- ITfReadOnlyProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ IEnumTfRanges **ppEnum,
- /* [in] */ ITfRange *pTargetRange);
-
- HRESULT ( STDMETHODCALLTYPE *GetValue )(
- ITfReadOnlyProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ VARIANT *pvarValue);
-
- HRESULT ( STDMETHODCALLTYPE *GetContext )(
- ITfReadOnlyProperty * This,
- /* [out] */ ITfContext **ppContext);
-
- END_INTERFACE
- } ITfReadOnlyPropertyVtbl;
- interface ITfReadOnlyProperty
- {
- CONST_VTBL struct ITfReadOnlyPropertyVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfReadOnlyProperty_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfReadOnlyProperty_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfReadOnlyProperty_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfReadOnlyProperty_GetType(This,pguid) \
- (This)->lpVtbl -> GetType(This,pguid)
- #define ITfReadOnlyProperty_EnumRanges(This,ec,ppEnum,pTargetRange) \
- (This)->lpVtbl -> EnumRanges(This,ec,ppEnum,pTargetRange)
- #define ITfReadOnlyProperty_GetValue(This,ec,pRange,pvarValue) \
- (This)->lpVtbl -> GetValue(This,ec,pRange,pvarValue)
- #define ITfReadOnlyProperty_GetContext(This,ppContext) \
- (This)->lpVtbl -> GetContext(This,ppContext)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfReadOnlyProperty_GetType_Proxy(
- ITfReadOnlyProperty * This,
- /* [out] */ GUID *pguid);
- void __RPC_STUB ITfReadOnlyProperty_GetType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfReadOnlyProperty_EnumRanges_Proxy(
- ITfReadOnlyProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ IEnumTfRanges **ppEnum,
- /* [in] */ ITfRange *pTargetRange);
- void __RPC_STUB ITfReadOnlyProperty_EnumRanges_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfReadOnlyProperty_GetValue_Proxy(
- ITfReadOnlyProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ VARIANT *pvarValue);
- void __RPC_STUB ITfReadOnlyProperty_GetValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfReadOnlyProperty_GetContext_Proxy(
- ITfReadOnlyProperty * This,
- /* [out] */ ITfContext **ppContext);
- void __RPC_STUB ITfReadOnlyProperty_GetContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfReadOnlyProperty_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_msctf_0161 */
- /* [local] */
- typedef /* [uuid] */ DECLSPEC_UUID("d678c645-eb6a-45c9-b4ee-0f3e3a991348") struct TF_PROPERTYVAL
- {
- GUID guidId;
- VARIANT varValue;
- } TF_PROPERTYVAL;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0161_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0161_v0_0_s_ifspec;
- #ifndef __IEnumTfPropertyValue_INTERFACE_DEFINED__
- #define __IEnumTfPropertyValue_INTERFACE_DEFINED__
- /* interface IEnumTfPropertyValue */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfPropertyValue;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8ed8981b-7c10-4d7d-9fb3-ab72e9c75f72")
- IEnumTfPropertyValue : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfPropertyValue **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_PROPERTYVAL *rgValues,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfPropertyValueVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfPropertyValue * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfPropertyValue * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfPropertyValue * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfPropertyValue * This,
- /* [out] */ IEnumTfPropertyValue **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfPropertyValue * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_PROPERTYVAL *rgValues,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfPropertyValue * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfPropertyValue * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfPropertyValueVtbl;
- interface IEnumTfPropertyValue
- {
- CONST_VTBL struct IEnumTfPropertyValueVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfPropertyValue_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfPropertyValue_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfPropertyValue_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumTfPropertyValue_Clone(This,ppEnum) \
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfPropertyValue_Next(This,ulCount,rgValues,pcFetched) \
- (This)->lpVtbl -> Next(This,ulCount,rgValues,pcFetched)
- #define IEnumTfPropertyValue_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfPropertyValue_Skip(This,ulCount) \
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfPropertyValue_Clone_Proxy(
- IEnumTfPropertyValue * This,
- /* [out] */ IEnumTfPropertyValue **ppEnum);
- void __RPC_STUB IEnumTfPropertyValue_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfPropertyValue_Next_Proxy(
- IEnumTfPropertyValue * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_PROPERTYVAL *rgValues,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumTfPropertyValue_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfPropertyValue_Reset_Proxy(
- IEnumTfPropertyValue * This);
- void __RPC_STUB IEnumTfPropertyValue_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfPropertyValue_Skip_Proxy(
- IEnumTfPropertyValue * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumTfPropertyValue_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfPropertyValue_INTERFACE_DEFINED__ */
- #ifndef __ITfMouseTracker_INTERFACE_DEFINED__
- #define __ITfMouseTracker_INTERFACE_DEFINED__
- /* interface ITfMouseTracker */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfMouseTracker;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("09d146cd-a544-4132-925b-7afa8ef322d0")
- ITfMouseTracker : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AdviseMouseSink(
- /* [in] */ ITfRange *range,
- /* [in] */ ITfMouseSink *pSink,
- /* [out] */ DWORD *pdwCookie) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnadviseMouseSink(
- /* [in] */ DWORD dwCookie) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfMouseTrackerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfMouseTracker * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfMouseTracker * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfMouseTracker * This);
-
- HRESULT ( STDMETHODCALLTYPE *AdviseMouseSink )(
- ITfMouseTracker * This,
- /* [in] */ ITfRange *range,
- /* [in] */ ITfMouseSink *pSink,
- /* [out] */ DWORD *pdwCookie);
-
- HRESULT ( STDMETHODCALLTYPE *UnadviseMouseSink )(
- ITfMouseTracker * This,
- /* [in] */ DWORD dwCookie);
-
- END_INTERFACE
- } ITfMouseTrackerVtbl;
- interface ITfMouseTracker
- {
- CONST_VTBL struct ITfMouseTrackerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfMouseTracker_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfMouseTracker_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfMouseTracker_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfMouseTracker_AdviseMouseSink(This,range,pSink,pdwCookie) \
- (This)->lpVtbl -> AdviseMouseSink(This,range,pSink,pdwCookie)
- #define ITfMouseTracker_UnadviseMouseSink(This,dwCookie) \
- (This)->lpVtbl -> UnadviseMouseSink(This,dwCookie)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfMouseTracker_AdviseMouseSink_Proxy(
- ITfMouseTracker * This,
- /* [in] */ ITfRange *range,
- /* [in] */ ITfMouseSink *pSink,
- /* [out] */ DWORD *pdwCookie);
- void __RPC_STUB ITfMouseTracker_AdviseMouseSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfMouseTracker_UnadviseMouseSink_Proxy(
- ITfMouseTracker * This,
- /* [in] */ DWORD dwCookie);
- void __RPC_STUB ITfMouseTracker_UnadviseMouseSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfMouseTracker_INTERFACE_DEFINED__ */
- #ifndef __ITfMouseTrackerACP_INTERFACE_DEFINED__
- #define __ITfMouseTrackerACP_INTERFACE_DEFINED__
- /* interface ITfMouseTrackerACP */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfMouseTrackerACP;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("3bdd78e2-c16e-47fd-b883-ce6facc1a208")
- ITfMouseTrackerACP : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AdviseMouseSink(
- /* [in] */ ITfRangeACP *range,
- /* [in] */ ITfMouseSink *pSink,
- /* [out] */ DWORD *pdwCookie) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnadviseMouseSink(
- /* [in] */ DWORD dwCookie) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfMouseTrackerACPVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfMouseTrackerACP * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfMouseTrackerACP * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfMouseTrackerACP * This);
-
- HRESULT ( STDMETHODCALLTYPE *AdviseMouseSink )(
- ITfMouseTrackerACP * This,
- /* [in] */ ITfRangeACP *range,
- /* [in] */ ITfMouseSink *pSink,
- /* [out] */ DWORD *pdwCookie);
-
- HRESULT ( STDMETHODCALLTYPE *UnadviseMouseSink )(
- ITfMouseTrackerACP * This,
- /* [in] */ DWORD dwCookie);
-
- END_INTERFACE
- } ITfMouseTrackerACPVtbl;
- interface ITfMouseTrackerACP
- {
- CONST_VTBL struct ITfMouseTrackerACPVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfMouseTrackerACP_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfMouseTrackerACP_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfMouseTrackerACP_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfMouseTrackerACP_AdviseMouseSink(This,range,pSink,pdwCookie) \
- (This)->lpVtbl -> AdviseMouseSink(This,range,pSink,pdwCookie)
- #define ITfMouseTrackerACP_UnadviseMouseSink(This,dwCookie) \
- (This)->lpVtbl -> UnadviseMouseSink(This,dwCookie)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfMouseTrackerACP_AdviseMouseSink_Proxy(
- ITfMouseTrackerACP * This,
- /* [in] */ ITfRangeACP *range,
- /* [in] */ ITfMouseSink *pSink,
- /* [out] */ DWORD *pdwCookie);
- void __RPC_STUB ITfMouseTrackerACP_AdviseMouseSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfMouseTrackerACP_UnadviseMouseSink_Proxy(
- ITfMouseTrackerACP * This,
- /* [in] */ DWORD dwCookie);
- void __RPC_STUB ITfMouseTrackerACP_UnadviseMouseSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfMouseTrackerACP_INTERFACE_DEFINED__ */
- #ifndef __ITfMouseSink_INTERFACE_DEFINED__
- #define __ITfMouseSink_INTERFACE_DEFINED__
- /* interface ITfMouseSink */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfMouseSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("a1adaaa2-3a24-449d-ac96-5183e7f5c217")
- ITfMouseSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnMouseEvent(
- /* [in] */ ULONG uEdge,
- /* [in] */ ULONG uQuadrant,
- /* [in] */ DWORD dwBtnStatus,
- /* [out] */ BOOL *pfEaten) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfMouseSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfMouseSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfMouseSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfMouseSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnMouseEvent )(
- ITfMouseSink * This,
- /* [in] */ ULONG uEdge,
- /* [in] */ ULONG uQuadrant,
- /* [in] */ DWORD dwBtnStatus,
- /* [out] */ BOOL *pfEaten);
-
- END_INTERFACE
- } ITfMouseSinkVtbl;
- interface ITfMouseSink
- {
- CONST_VTBL struct ITfMouseSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfMouseSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfMouseSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfMouseSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfMouseSink_OnMouseEvent(This,uEdge,uQuadrant,dwBtnStatus,pfEaten) \
- (This)->lpVtbl -> OnMouseEvent(This,uEdge,uQuadrant,dwBtnStatus,pfEaten)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfMouseSink_OnMouseEvent_Proxy(
- ITfMouseSink * This,
- /* [in] */ ULONG uEdge,
- /* [in] */ ULONG uQuadrant,
- /* [in] */ DWORD dwBtnStatus,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfMouseSink_OnMouseEvent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfMouseSink_INTERFACE_DEFINED__ */
- #ifndef __ITfEditRecord_INTERFACE_DEFINED__
- #define __ITfEditRecord_INTERFACE_DEFINED__
- /* interface ITfEditRecord */
- /* [unique][uuid][object] */
- #define TF_GTP_INCL_TEXT ( 0x1 )
- EXTERN_C const IID IID_ITfEditRecord;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("42d4d099-7c1a-4a89-b836-6c6f22160df0")
- ITfEditRecord : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetSelectionStatus(
- /* [out] */ BOOL *pfChanged) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetTextAndPropertyUpdates(
- /* [in] */ DWORD dwFlags,
- /* [size_is][in] */ const GUID **prgProperties,
- /* [in] */ ULONG cProperties,
- /* [out] */ IEnumTfRanges **ppEnum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfEditRecordVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfEditRecord * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfEditRecord * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfEditRecord * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetSelectionStatus )(
- ITfEditRecord * This,
- /* [out] */ BOOL *pfChanged);
-
- HRESULT ( STDMETHODCALLTYPE *GetTextAndPropertyUpdates )(
- ITfEditRecord * This,
- /* [in] */ DWORD dwFlags,
- /* [size_is][in] */ const GUID **prgProperties,
- /* [in] */ ULONG cProperties,
- /* [out] */ IEnumTfRanges **ppEnum);
-
- END_INTERFACE
- } ITfEditRecordVtbl;
- interface ITfEditRecord
- {
- CONST_VTBL struct ITfEditRecordVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfEditRecord_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfEditRecord_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfEditRecord_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfEditRecord_GetSelectionStatus(This,pfChanged) \
- (This)->lpVtbl -> GetSelectionStatus(This,pfChanged)
- #define ITfEditRecord_GetTextAndPropertyUpdates(This,dwFlags,prgProperties,cProperties,ppEnum) \
- (This)->lpVtbl -> GetTextAndPropertyUpdates(This,dwFlags,prgProperties,cProperties,ppEnum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfEditRecord_GetSelectionStatus_Proxy(
- ITfEditRecord * This,
- /* [out] */ BOOL *pfChanged);
- void __RPC_STUB ITfEditRecord_GetSelectionStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfEditRecord_GetTextAndPropertyUpdates_Proxy(
- ITfEditRecord * This,
- /* [in] */ DWORD dwFlags,
- /* [size_is][in] */ const GUID **prgProperties,
- /* [in] */ ULONG cProperties,
- /* [out] */ IEnumTfRanges **ppEnum);
- void __RPC_STUB ITfEditRecord_GetTextAndPropertyUpdates_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfEditRecord_INTERFACE_DEFINED__ */
- #ifndef __ITfTextEditSink_INTERFACE_DEFINED__
- #define __ITfTextEditSink_INTERFACE_DEFINED__
- /* interface ITfTextEditSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfTextEditSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8127d409-ccd3-4683-967a-b43d5b482bf7")
- ITfTextEditSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnEndEdit(
- /* [in] */ ITfContext *pic,
- /* [in] */ TfEditCookie ecReadOnly,
- /* [in] */ ITfEditRecord *pEditRecord) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfTextEditSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfTextEditSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfTextEditSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfTextEditSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnEndEdit )(
- ITfTextEditSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ TfEditCookie ecReadOnly,
- /* [in] */ ITfEditRecord *pEditRecord);
-
- END_INTERFACE
- } ITfTextEditSinkVtbl;
- interface ITfTextEditSink
- {
- CONST_VTBL struct ITfTextEditSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfTextEditSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfTextEditSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfTextEditSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfTextEditSink_OnEndEdit(This,pic,ecReadOnly,pEditRecord) \
- (This)->lpVtbl -> OnEndEdit(This,pic,ecReadOnly,pEditRecord)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfTextEditSink_OnEndEdit_Proxy(
- ITfTextEditSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ TfEditCookie ecReadOnly,
- /* [in] */ ITfEditRecord *pEditRecord);
- void __RPC_STUB ITfTextEditSink_OnEndEdit_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfTextEditSink_INTERFACE_DEFINED__ */
- #ifndef __ITfTextLayoutSink_INTERFACE_DEFINED__
- #define __ITfTextLayoutSink_INTERFACE_DEFINED__
- /* interface ITfTextLayoutSink */
- /* [unique][uuid][object] */
- typedef /* [public][public][uuid] */ DECLSPEC_UUID("603553cf-9edd-4cc1-9ecc-069e4a427734")
- enum __MIDL_ITfTextLayoutSink_0001
- { TF_LC_CREATE = 0,
- TF_LC_CHANGE = 1,
- TF_LC_DESTROY = 2
- } TfLayoutCode;
- EXTERN_C const IID IID_ITfTextLayoutSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("2af2d06a-dd5b-4927-a0b4-54f19c91fade")
- ITfTextLayoutSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnLayoutChange(
- /* [in] */ ITfContext *pic,
- /* [in] */ TfLayoutCode lcode,
- /* [in] */ ITfContextView *pView) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfTextLayoutSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfTextLayoutSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfTextLayoutSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfTextLayoutSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnLayoutChange )(
- ITfTextLayoutSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ TfLayoutCode lcode,
- /* [in] */ ITfContextView *pView);
-
- END_INTERFACE
- } ITfTextLayoutSinkVtbl;
- interface ITfTextLayoutSink
- {
- CONST_VTBL struct ITfTextLayoutSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfTextLayoutSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfTextLayoutSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfTextLayoutSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfTextLayoutSink_OnLayoutChange(This,pic,lcode,pView) \
- (This)->lpVtbl -> OnLayoutChange(This,pic,lcode,pView)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfTextLayoutSink_OnLayoutChange_Proxy(
- ITfTextLayoutSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ TfLayoutCode lcode,
- /* [in] */ ITfContextView *pView);
- void __RPC_STUB ITfTextLayoutSink_OnLayoutChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfTextLayoutSink_INTERFACE_DEFINED__ */
- #ifndef __ITfStatusSink_INTERFACE_DEFINED__
- #define __ITfStatusSink_INTERFACE_DEFINED__
- /* interface ITfStatusSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfStatusSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6b7d8d73-b267-4f69-b32e-1ca321ce4f45")
- ITfStatusSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnStatusChange(
- /* [in] */ ITfContext *pic,
- /* [in] */ DWORD dwFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfStatusSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfStatusSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfStatusSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfStatusSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnStatusChange )(
- ITfStatusSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ DWORD dwFlags);
-
- END_INTERFACE
- } ITfStatusSinkVtbl;
- interface ITfStatusSink
- {
- CONST_VTBL struct ITfStatusSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfStatusSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfStatusSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfStatusSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfStatusSink_OnStatusChange(This,pic,dwFlags) \
- (This)->lpVtbl -> OnStatusChange(This,pic,dwFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfStatusSink_OnStatusChange_Proxy(
- ITfStatusSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB ITfStatusSink_OnStatusChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfStatusSink_INTERFACE_DEFINED__ */
- #ifndef __ITfEditTransactionSink_INTERFACE_DEFINED__
- #define __ITfEditTransactionSink_INTERFACE_DEFINED__
- /* interface ITfEditTransactionSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfEditTransactionSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("708fbf70-b520-416b-b06c-2c41ab44f8ba")
- ITfEditTransactionSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnStartEditTransaction(
- /* [in] */ ITfContext *pic) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnEndEditTransaction(
- /* [in] */ ITfContext *pic) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfEditTransactionSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfEditTransactionSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfEditTransactionSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfEditTransactionSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnStartEditTransaction )(
- ITfEditTransactionSink * This,
- /* [in] */ ITfContext *pic);
-
- HRESULT ( STDMETHODCALLTYPE *OnEndEditTransaction )(
- ITfEditTransactionSink * This,
- /* [in] */ ITfContext *pic);
-
- END_INTERFACE
- } ITfEditTransactionSinkVtbl;
- interface ITfEditTransactionSink
- {
- CONST_VTBL struct ITfEditTransactionSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfEditTransactionSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfEditTransactionSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfEditTransactionSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfEditTransactionSink_OnStartEditTransaction(This,pic) \
- (This)->lpVtbl -> OnStartEditTransaction(This,pic)
- #define ITfEditTransactionSink_OnEndEditTransaction(This,pic) \
- (This)->lpVtbl -> OnEndEditTransaction(This,pic)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfEditTransactionSink_OnStartEditTransaction_Proxy(
- ITfEditTransactionSink * This,
- /* [in] */ ITfContext *pic);
- void __RPC_STUB ITfEditTransactionSink_OnStartEditTransaction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfEditTransactionSink_OnEndEditTransaction_Proxy(
- ITfEditTransactionSink * This,
- /* [in] */ ITfContext *pic);
- void __RPC_STUB ITfEditTransactionSink_OnEndEditTransaction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfEditTransactionSink_INTERFACE_DEFINED__ */
- #ifndef __ITfContextOwner_INTERFACE_DEFINED__
- #define __ITfContextOwner_INTERFACE_DEFINED__
- /* interface ITfContextOwner */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfContextOwner;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e80c-2021-11d2-93e0-0060b067b86e")
- ITfContextOwner : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetACPFromPoint(
- /* [in] */ const POINT *ptScreen,
- /* [in] */ DWORD dwFlags,
- /* [out] */ LONG *pacp) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetTextExt(
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ RECT *prc,
- /* [out] */ BOOL *pfClipped) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetScreenExt(
- /* [out] */ RECT *prc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetStatus(
- /* [out] */ TF_STATUS *pdcs) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetWnd(
- /* [out] */ HWND *phwnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetAttribute(
- /* [in] */ REFGUID rguidAttribute,
- /* [out] */ VARIANT *pvarValue) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextOwnerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextOwner * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextOwner * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextOwner * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetACPFromPoint )(
- ITfContextOwner * This,
- /* [in] */ const POINT *ptScreen,
- /* [in] */ DWORD dwFlags,
- /* [out] */ LONG *pacp);
-
- HRESULT ( STDMETHODCALLTYPE *GetTextExt )(
- ITfContextOwner * This,
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ RECT *prc,
- /* [out] */ BOOL *pfClipped);
-
- HRESULT ( STDMETHODCALLTYPE *GetScreenExt )(
- ITfContextOwner * This,
- /* [out] */ RECT *prc);
-
- HRESULT ( STDMETHODCALLTYPE *GetStatus )(
- ITfContextOwner * This,
- /* [out] */ TF_STATUS *pdcs);
-
- HRESULT ( STDMETHODCALLTYPE *GetWnd )(
- ITfContextOwner * This,
- /* [out] */ HWND *phwnd);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttribute )(
- ITfContextOwner * This,
- /* [in] */ REFGUID rguidAttribute,
- /* [out] */ VARIANT *pvarValue);
-
- END_INTERFACE
- } ITfContextOwnerVtbl;
- interface ITfContextOwner
- {
- CONST_VTBL struct ITfContextOwnerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextOwner_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextOwner_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextOwner_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfContextOwner_GetACPFromPoint(This,ptScreen,dwFlags,pacp) \
- (This)->lpVtbl -> GetACPFromPoint(This,ptScreen,dwFlags,pacp)
- #define ITfContextOwner_GetTextExt(This,acpStart,acpEnd,prc,pfClipped) \
- (This)->lpVtbl -> GetTextExt(This,acpStart,acpEnd,prc,pfClipped)
- #define ITfContextOwner_GetScreenExt(This,prc) \
- (This)->lpVtbl -> GetScreenExt(This,prc)
- #define ITfContextOwner_GetStatus(This,pdcs) \
- (This)->lpVtbl -> GetStatus(This,pdcs)
- #define ITfContextOwner_GetWnd(This,phwnd) \
- (This)->lpVtbl -> GetWnd(This,phwnd)
- #define ITfContextOwner_GetAttribute(This,rguidAttribute,pvarValue) \
- (This)->lpVtbl -> GetAttribute(This,rguidAttribute,pvarValue)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextOwner_GetACPFromPoint_Proxy(
- ITfContextOwner * This,
- /* [in] */ const POINT *ptScreen,
- /* [in] */ DWORD dwFlags,
- /* [out] */ LONG *pacp);
- void __RPC_STUB ITfContextOwner_GetACPFromPoint_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwner_GetTextExt_Proxy(
- ITfContextOwner * This,
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ RECT *prc,
- /* [out] */ BOOL *pfClipped);
- void __RPC_STUB ITfContextOwner_GetTextExt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwner_GetScreenExt_Proxy(
- ITfContextOwner * This,
- /* [out] */ RECT *prc);
- void __RPC_STUB ITfContextOwner_GetScreenExt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwner_GetStatus_Proxy(
- ITfContextOwner * This,
- /* [out] */ TF_STATUS *pdcs);
- void __RPC_STUB ITfContextOwner_GetStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwner_GetWnd_Proxy(
- ITfContextOwner * This,
- /* [out] */ HWND *phwnd);
- void __RPC_STUB ITfContextOwner_GetWnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwner_GetAttribute_Proxy(
- ITfContextOwner * This,
- /* [in] */ REFGUID rguidAttribute,
- /* [out] */ VARIANT *pvarValue);
- void __RPC_STUB ITfContextOwner_GetAttribute_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextOwner_INTERFACE_DEFINED__ */
- #ifndef __ITfContextOwnerServices_INTERFACE_DEFINED__
- #define __ITfContextOwnerServices_INTERFACE_DEFINED__
- /* interface ITfContextOwnerServices */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfContextOwnerServices;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("b23eb630-3e1c-11d3-a745-0050040ab407")
- ITfContextOwnerServices : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnLayoutChange( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnStatusChange(
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnAttributeChange(
- /* [in] */ REFGUID rguidAttribute) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Serialize(
- /* [in] */ ITfProperty *pProp,
- /* [in] */ ITfRange *pRange,
- /* [out] */ TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Unserialize(
- /* [in] */ ITfProperty *pProp,
- /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream,
- /* [in] */ ITfPersistentPropertyLoaderACP *pLoader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ForceLoadProperty(
- /* [in] */ ITfProperty *pProp) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateRange(
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ ITfRangeACP **ppRange) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextOwnerServicesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextOwnerServices * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextOwnerServices * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextOwnerServices * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnLayoutChange )(
- ITfContextOwnerServices * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnStatusChange )(
- ITfContextOwnerServices * This,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *OnAttributeChange )(
- ITfContextOwnerServices * This,
- /* [in] */ REFGUID rguidAttribute);
-
- HRESULT ( STDMETHODCALLTYPE *Serialize )(
- ITfContextOwnerServices * This,
- /* [in] */ ITfProperty *pProp,
- /* [in] */ ITfRange *pRange,
- /* [out] */ TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream);
-
- HRESULT ( STDMETHODCALLTYPE *Unserialize )(
- ITfContextOwnerServices * This,
- /* [in] */ ITfProperty *pProp,
- /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream,
- /* [in] */ ITfPersistentPropertyLoaderACP *pLoader);
-
- HRESULT ( STDMETHODCALLTYPE *ForceLoadProperty )(
- ITfContextOwnerServices * This,
- /* [in] */ ITfProperty *pProp);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRange )(
- ITfContextOwnerServices * This,
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ ITfRangeACP **ppRange);
-
- END_INTERFACE
- } ITfContextOwnerServicesVtbl;
- interface ITfContextOwnerServices
- {
- CONST_VTBL struct ITfContextOwnerServicesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextOwnerServices_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextOwnerServices_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextOwnerServices_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfContextOwnerServices_OnLayoutChange(This) \
- (This)->lpVtbl -> OnLayoutChange(This)
- #define ITfContextOwnerServices_OnStatusChange(This,dwFlags) \
- (This)->lpVtbl -> OnStatusChange(This,dwFlags)
- #define ITfContextOwnerServices_OnAttributeChange(This,rguidAttribute) \
- (This)->lpVtbl -> OnAttributeChange(This,rguidAttribute)
- #define ITfContextOwnerServices_Serialize(This,pProp,pRange,pHdr,pStream) \
- (This)->lpVtbl -> Serialize(This,pProp,pRange,pHdr,pStream)
- #define ITfContextOwnerServices_Unserialize(This,pProp,pHdr,pStream,pLoader) \
- (This)->lpVtbl -> Unserialize(This,pProp,pHdr,pStream,pLoader)
- #define ITfContextOwnerServices_ForceLoadProperty(This,pProp) \
- (This)->lpVtbl -> ForceLoadProperty(This,pProp)
- #define ITfContextOwnerServices_CreateRange(This,acpStart,acpEnd,ppRange) \
- (This)->lpVtbl -> CreateRange(This,acpStart,acpEnd,ppRange)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_OnLayoutChange_Proxy(
- ITfContextOwnerServices * This);
- void __RPC_STUB ITfContextOwnerServices_OnLayoutChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_OnStatusChange_Proxy(
- ITfContextOwnerServices * This,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB ITfContextOwnerServices_OnStatusChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_OnAttributeChange_Proxy(
- ITfContextOwnerServices * This,
- /* [in] */ REFGUID rguidAttribute);
- void __RPC_STUB ITfContextOwnerServices_OnAttributeChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_Serialize_Proxy(
- ITfContextOwnerServices * This,
- /* [in] */ ITfProperty *pProp,
- /* [in] */ ITfRange *pRange,
- /* [out] */ TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream);
- void __RPC_STUB ITfContextOwnerServices_Serialize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_Unserialize_Proxy(
- ITfContextOwnerServices * This,
- /* [in] */ ITfProperty *pProp,
- /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream,
- /* [in] */ ITfPersistentPropertyLoaderACP *pLoader);
- void __RPC_STUB ITfContextOwnerServices_Unserialize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_ForceLoadProperty_Proxy(
- ITfContextOwnerServices * This,
- /* [in] */ ITfProperty *pProp);
- void __RPC_STUB ITfContextOwnerServices_ForceLoadProperty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextOwnerServices_CreateRange_Proxy(
- ITfContextOwnerServices * This,
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ ITfRangeACP **ppRange);
- void __RPC_STUB ITfContextOwnerServices_CreateRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextOwnerServices_INTERFACE_DEFINED__ */
- #ifndef __ITfContextKeyEventSink_INTERFACE_DEFINED__
- #define __ITfContextKeyEventSink_INTERFACE_DEFINED__
- /* interface ITfContextKeyEventSink */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfContextKeyEventSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0552ba5d-c835-4934-bf50-846aaa67432f")
- ITfContextKeyEventSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnKeyDown(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnKeyUp(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnTestKeyDown(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnTestKeyUp(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfContextKeyEventSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfContextKeyEventSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfContextKeyEventSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfContextKeyEventSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnKeyDown )(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *OnKeyUp )(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *OnTestKeyDown )(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *OnTestKeyUp )(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- END_INTERFACE
- } ITfContextKeyEventSinkVtbl;
- interface ITfContextKeyEventSink
- {
- CONST_VTBL struct ITfContextKeyEventSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfContextKeyEventSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfContextKeyEventSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfContextKeyEventSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfContextKeyEventSink_OnKeyDown(This,wParam,lParam,pfEaten) \
- (This)->lpVtbl -> OnKeyDown(This,wParam,lParam,pfEaten)
- #define ITfContextKeyEventSink_OnKeyUp(This,wParam,lParam,pfEaten) \
- (This)->lpVtbl -> OnKeyUp(This,wParam,lParam,pfEaten)
- #define ITfContextKeyEventSink_OnTestKeyDown(This,wParam,lParam,pfEaten) \
- (This)->lpVtbl -> OnTestKeyDown(This,wParam,lParam,pfEaten)
- #define ITfContextKeyEventSink_OnTestKeyUp(This,wParam,lParam,pfEaten) \
- (This)->lpVtbl -> OnTestKeyUp(This,wParam,lParam,pfEaten)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfContextKeyEventSink_OnKeyDown_Proxy(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfContextKeyEventSink_OnKeyDown_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextKeyEventSink_OnKeyUp_Proxy(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfContextKeyEventSink_OnKeyUp_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextKeyEventSink_OnTestKeyDown_Proxy(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfContextKeyEventSink_OnTestKeyDown_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfContextKeyEventSink_OnTestKeyUp_Proxy(
- ITfContextKeyEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfContextKeyEventSink_OnTestKeyUp_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfContextKeyEventSink_INTERFACE_DEFINED__ */
- #ifndef __ITfEditSession_INTERFACE_DEFINED__
- #define __ITfEditSession_INTERFACE_DEFINED__
- /* interface ITfEditSession */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfEditSession;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e803-2021-11d2-93e0-0060b067b86e")
- ITfEditSession : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE DoEditSession(
- /* [in] */ TfEditCookie ec) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfEditSessionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfEditSession * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfEditSession * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfEditSession * This);
-
- HRESULT ( STDMETHODCALLTYPE *DoEditSession )(
- ITfEditSession * This,
- /* [in] */ TfEditCookie ec);
-
- END_INTERFACE
- } ITfEditSessionVtbl;
- interface ITfEditSession
- {
- CONST_VTBL struct ITfEditSessionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfEditSession_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfEditSession_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfEditSession_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfEditSession_DoEditSession(This,ec) \
- (This)->lpVtbl -> DoEditSession(This,ec)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfEditSession_DoEditSession_Proxy(
- ITfEditSession * This,
- /* [in] */ TfEditCookie ec);
- void __RPC_STUB ITfEditSession_DoEditSession_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfEditSession_INTERFACE_DEFINED__ */
- #ifndef __ITfRange_INTERFACE_DEFINED__
- #define __ITfRange_INTERFACE_DEFINED__
- /* interface ITfRange */
- /* [unique][uuid][object] */
- #define TF_CHAR_EMBEDDED ( TS_CHAR_EMBEDDED )
- typedef /* [public][public][public][public][public][uuid] */ DECLSPEC_UUID("cf610f06-2882-46f6-abe5-298568b664c4")
- enum __MIDL_ITfRange_0001
- { TF_GRAVITY_BACKWARD = 0,
- TF_GRAVITY_FORWARD = 1
- } TfGravity;
- typedef /* [public][public][public][uuid] */ DECLSPEC_UUID("1e512533-bbdc-4530-9a8e-a1dc0af67468")
- enum __MIDL_ITfRange_0002
- { TF_SD_BACKWARD = 0,
- TF_SD_FORWARD = 1
- } TfShiftDir;
- #define TF_HF_OBJECT ( 1 )
- #define TF_TF_MOVESTART ( 1 )
- #define TF_TF_IGNOREEND ( 2 )
- #define TF_ST_CORRECTION ( 1 )
- #define TF_IE_CORRECTION ( 1 )
- typedef /* [uuid] */ DECLSPEC_UUID("49930d51-7d93-448c-a48c-fea5dac192b1") struct TF_HALTCOND
- {
- ITfRange *pHaltRange;
- TfAnchor aHaltPos;
- DWORD dwFlags;
- } TF_HALTCOND;
- EXTERN_C const IID IID_ITfRange;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e7ff-2021-11d2-93e0-0060b067b86e")
- ITfRange : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetText(
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [length_is][size_is][out] */ WCHAR *pchText,
- /* [in] */ ULONG cchMax,
- /* [out] */ ULONG *pcch) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetText(
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [unique][size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetFormattedText(
- /* [in] */ TfEditCookie ec,
- /* [out] */ IDataObject **ppDataObject) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetEmbedded(
- /* [in] */ TfEditCookie ec,
- /* [in] */ REFGUID rguidService,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppunk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE InsertEmbedded(
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftStart(
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftEnd(
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftStartToRange(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftEndToRange(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftStartRegion(
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShiftEndRegion(
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsEmpty(
- /* [in] */ TfEditCookie ec,
- /* [out] */ BOOL *pfEmpty) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Collapse(
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfAnchor aPos) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsEqualStart(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ BOOL *pfEqual) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsEqualEnd(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ BOOL *pfEqual) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CompareStart(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ LONG *plResult) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CompareEnd(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ LONG *plResult) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AdjustForInsert(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG cchInsert,
- /* [out] */ BOOL *pfInsertOk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetGravity(
- /* [out] */ TfGravity *pgStart,
- /* [out] */ TfGravity *pgEnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetGravity(
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfGravity gStart,
- /* [in] */ TfGravity gEnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ ITfRange **ppClone) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetContext(
- /* [out] */ ITfContext **ppContext) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfRangeVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfRange * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfRange * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfRange * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetText )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [length_is][size_is][out] */ WCHAR *pchText,
- /* [in] */ ULONG cchMax,
- /* [out] */ ULONG *pcch);
-
- HRESULT ( STDMETHODCALLTYPE *SetText )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [unique][size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch);
-
- HRESULT ( STDMETHODCALLTYPE *GetFormattedText )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ IDataObject **ppDataObject);
-
- HRESULT ( STDMETHODCALLTYPE *GetEmbedded )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ REFGUID rguidService,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppunk);
-
- HRESULT ( STDMETHODCALLTYPE *InsertEmbedded )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftStart )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftEnd )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftStartToRange )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftEndToRange )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftStartRegion )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftEndRegion )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion);
-
- HRESULT ( STDMETHODCALLTYPE *IsEmpty )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ BOOL *pfEmpty);
-
- HRESULT ( STDMETHODCALLTYPE *Collapse )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfAnchor aPos);
-
- HRESULT ( STDMETHODCALLTYPE *IsEqualStart )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ BOOL *pfEqual);
-
- HRESULT ( STDMETHODCALLTYPE *IsEqualEnd )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ BOOL *pfEqual);
-
- HRESULT ( STDMETHODCALLTYPE *CompareStart )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ LONG *plResult);
-
- HRESULT ( STDMETHODCALLTYPE *CompareEnd )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ LONG *plResult);
-
- HRESULT ( STDMETHODCALLTYPE *AdjustForInsert )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG cchInsert,
- /* [out] */ BOOL *pfInsertOk);
-
- HRESULT ( STDMETHODCALLTYPE *GetGravity )(
- ITfRange * This,
- /* [out] */ TfGravity *pgStart,
- /* [out] */ TfGravity *pgEnd);
-
- HRESULT ( STDMETHODCALLTYPE *SetGravity )(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfGravity gStart,
- /* [in] */ TfGravity gEnd);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- ITfRange * This,
- /* [out] */ ITfRange **ppClone);
-
- HRESULT ( STDMETHODCALLTYPE *GetContext )(
- ITfRange * This,
- /* [out] */ ITfContext **ppContext);
-
- END_INTERFACE
- } ITfRangeVtbl;
- interface ITfRange
- {
- CONST_VTBL struct ITfRangeVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfRange_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfRange_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfRange_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfRange_GetText(This,ec,dwFlags,pchText,cchMax,pcch) \
- (This)->lpVtbl -> GetText(This,ec,dwFlags,pchText,cchMax,pcch)
- #define ITfRange_SetText(This,ec,dwFlags,pchText,cch) \
- (This)->lpVtbl -> SetText(This,ec,dwFlags,pchText,cch)
- #define ITfRange_GetFormattedText(This,ec,ppDataObject) \
- (This)->lpVtbl -> GetFormattedText(This,ec,ppDataObject)
- #define ITfRange_GetEmbedded(This,ec,rguidService,riid,ppunk) \
- (This)->lpVtbl -> GetEmbedded(This,ec,rguidService,riid,ppunk)
- #define ITfRange_InsertEmbedded(This,ec,dwFlags,pDataObject) \
- (This)->lpVtbl -> InsertEmbedded(This,ec,dwFlags,pDataObject)
- #define ITfRange_ShiftStart(This,ec,cchReq,pcch,pHalt) \
- (This)->lpVtbl -> ShiftStart(This,ec,cchReq,pcch,pHalt)
- #define ITfRange_ShiftEnd(This,ec,cchReq,pcch,pHalt) \
- (This)->lpVtbl -> ShiftEnd(This,ec,cchReq,pcch,pHalt)
- #define ITfRange_ShiftStartToRange(This,ec,pRange,aPos) \
- (This)->lpVtbl -> ShiftStartToRange(This,ec,pRange,aPos)
- #define ITfRange_ShiftEndToRange(This,ec,pRange,aPos) \
- (This)->lpVtbl -> ShiftEndToRange(This,ec,pRange,aPos)
- #define ITfRange_ShiftStartRegion(This,ec,dir,pfNoRegion) \
- (This)->lpVtbl -> ShiftStartRegion(This,ec,dir,pfNoRegion)
- #define ITfRange_ShiftEndRegion(This,ec,dir,pfNoRegion) \
- (This)->lpVtbl -> ShiftEndRegion(This,ec,dir,pfNoRegion)
- #define ITfRange_IsEmpty(This,ec,pfEmpty) \
- (This)->lpVtbl -> IsEmpty(This,ec,pfEmpty)
- #define ITfRange_Collapse(This,ec,aPos) \
- (This)->lpVtbl -> Collapse(This,ec,aPos)
- #define ITfRange_IsEqualStart(This,ec,pWith,aPos,pfEqual) \
- (This)->lpVtbl -> IsEqualStart(This,ec,pWith,aPos,pfEqual)
- #define ITfRange_IsEqualEnd(This,ec,pWith,aPos,pfEqual) \
- (This)->lpVtbl -> IsEqualEnd(This,ec,pWith,aPos,pfEqual)
- #define ITfRange_CompareStart(This,ec,pWith,aPos,plResult) \
- (This)->lpVtbl -> CompareStart(This,ec,pWith,aPos,plResult)
- #define ITfRange_CompareEnd(This,ec,pWith,aPos,plResult) \
- (This)->lpVtbl -> CompareEnd(This,ec,pWith,aPos,plResult)
- #define ITfRange_AdjustForInsert(This,ec,cchInsert,pfInsertOk) \
- (This)->lpVtbl -> AdjustForInsert(This,ec,cchInsert,pfInsertOk)
- #define ITfRange_GetGravity(This,pgStart,pgEnd) \
- (This)->lpVtbl -> GetGravity(This,pgStart,pgEnd)
- #define ITfRange_SetGravity(This,ec,gStart,gEnd) \
- (This)->lpVtbl -> SetGravity(This,ec,gStart,gEnd)
- #define ITfRange_Clone(This,ppClone) \
- (This)->lpVtbl -> Clone(This,ppClone)
- #define ITfRange_GetContext(This,ppContext) \
- (This)->lpVtbl -> GetContext(This,ppContext)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfRange_GetText_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [length_is][size_is][out] */ WCHAR *pchText,
- /* [in] */ ULONG cchMax,
- /* [out] */ ULONG *pcch);
- void __RPC_STUB ITfRange_GetText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_SetText_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [unique][size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch);
- void __RPC_STUB ITfRange_SetText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_GetFormattedText_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ IDataObject **ppDataObject);
- void __RPC_STUB ITfRange_GetFormattedText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_GetEmbedded_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ REFGUID rguidService,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppunk);
- void __RPC_STUB ITfRange_GetEmbedded_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_InsertEmbedded_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject);
- void __RPC_STUB ITfRange_InsertEmbedded_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_ShiftStart_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt);
- void __RPC_STUB ITfRange_ShiftStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_ShiftEnd_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt);
- void __RPC_STUB ITfRange_ShiftEnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_ShiftStartToRange_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos);
- void __RPC_STUB ITfRange_ShiftStartToRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_ShiftEndToRange_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos);
- void __RPC_STUB ITfRange_ShiftEndToRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_ShiftStartRegion_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion);
- void __RPC_STUB ITfRange_ShiftStartRegion_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_ShiftEndRegion_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion);
- void __RPC_STUB ITfRange_ShiftEndRegion_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_IsEmpty_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ BOOL *pfEmpty);
- void __RPC_STUB ITfRange_IsEmpty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_Collapse_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfAnchor aPos);
- void __RPC_STUB ITfRange_Collapse_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_IsEqualStart_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ BOOL *pfEqual);
- void __RPC_STUB ITfRange_IsEqualStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_IsEqualEnd_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ BOOL *pfEqual);
- void __RPC_STUB ITfRange_IsEqualEnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_CompareStart_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ LONG *plResult);
- void __RPC_STUB ITfRange_CompareStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_CompareEnd_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ LONG *plResult);
- void __RPC_STUB ITfRange_CompareEnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_AdjustForInsert_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG cchInsert,
- /* [out] */ BOOL *pfInsertOk);
- void __RPC_STUB ITfRange_AdjustForInsert_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_GetGravity_Proxy(
- ITfRange * This,
- /* [out] */ TfGravity *pgStart,
- /* [out] */ TfGravity *pgEnd);
- void __RPC_STUB ITfRange_GetGravity_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_SetGravity_Proxy(
- ITfRange * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfGravity gStart,
- /* [in] */ TfGravity gEnd);
- void __RPC_STUB ITfRange_SetGravity_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_Clone_Proxy(
- ITfRange * This,
- /* [out] */ ITfRange **ppClone);
- void __RPC_STUB ITfRange_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRange_GetContext_Proxy(
- ITfRange * This,
- /* [out] */ ITfContext **ppContext);
- void __RPC_STUB ITfRange_GetContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfRange_INTERFACE_DEFINED__ */
- #ifndef __ITfRangeACP_INTERFACE_DEFINED__
- #define __ITfRangeACP_INTERFACE_DEFINED__
- /* interface ITfRangeACP */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfRangeACP;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("057a6296-029b-4154-b79a-0d461d4ea94c")
- ITfRangeACP : public ITfRange
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetExtent(
- /* [out] */ LONG *pacpAnchor,
- /* [out] */ LONG *pcch) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetExtent(
- /* [in] */ LONG acpAnchor,
- /* [in] */ LONG cch) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfRangeACPVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfRangeACP * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfRangeACP * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfRangeACP * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetText )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [length_is][size_is][out] */ WCHAR *pchText,
- /* [in] */ ULONG cchMax,
- /* [out] */ ULONG *pcch);
-
- HRESULT ( STDMETHODCALLTYPE *SetText )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [unique][size_is][in] */ const WCHAR *pchText,
- /* [in] */ LONG cch);
-
- HRESULT ( STDMETHODCALLTYPE *GetFormattedText )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ IDataObject **ppDataObject);
-
- HRESULT ( STDMETHODCALLTYPE *GetEmbedded )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ REFGUID rguidService,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppunk);
-
- HRESULT ( STDMETHODCALLTYPE *InsertEmbedded )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IDataObject *pDataObject);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftStart )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftEnd )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ LONG cchReq,
- /* [out] */ LONG *pcch,
- /* [unique][in] */ const TF_HALTCOND *pHalt);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftStartToRange )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftEndToRange )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ TfAnchor aPos);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftStartRegion )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion);
-
- HRESULT ( STDMETHODCALLTYPE *ShiftEndRegion )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfShiftDir dir,
- /* [out] */ BOOL *pfNoRegion);
-
- HRESULT ( STDMETHODCALLTYPE *IsEmpty )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ BOOL *pfEmpty);
-
- HRESULT ( STDMETHODCALLTYPE *Collapse )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfAnchor aPos);
-
- HRESULT ( STDMETHODCALLTYPE *IsEqualStart )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ BOOL *pfEqual);
-
- HRESULT ( STDMETHODCALLTYPE *IsEqualEnd )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ BOOL *pfEqual);
-
- HRESULT ( STDMETHODCALLTYPE *CompareStart )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ LONG *plResult);
-
- HRESULT ( STDMETHODCALLTYPE *CompareEnd )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pWith,
- /* [in] */ TfAnchor aPos,
- /* [out] */ LONG *plResult);
-
- HRESULT ( STDMETHODCALLTYPE *AdjustForInsert )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ULONG cchInsert,
- /* [out] */ BOOL *pfInsertOk);
-
- HRESULT ( STDMETHODCALLTYPE *GetGravity )(
- ITfRangeACP * This,
- /* [out] */ TfGravity *pgStart,
- /* [out] */ TfGravity *pgEnd);
-
- HRESULT ( STDMETHODCALLTYPE *SetGravity )(
- ITfRangeACP * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ TfGravity gStart,
- /* [in] */ TfGravity gEnd);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- ITfRangeACP * This,
- /* [out] */ ITfRange **ppClone);
-
- HRESULT ( STDMETHODCALLTYPE *GetContext )(
- ITfRangeACP * This,
- /* [out] */ ITfContext **ppContext);
-
- HRESULT ( STDMETHODCALLTYPE *GetExtent )(
- ITfRangeACP * This,
- /* [out] */ LONG *pacpAnchor,
- /* [out] */ LONG *pcch);
-
- HRESULT ( STDMETHODCALLTYPE *SetExtent )(
- ITfRangeACP * This,
- /* [in] */ LONG acpAnchor,
- /* [in] */ LONG cch);
-
- END_INTERFACE
- } ITfRangeACPVtbl;
- interface ITfRangeACP
- {
- CONST_VTBL struct ITfRangeACPVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfRangeACP_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfRangeACP_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfRangeACP_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfRangeACP_GetText(This,ec,dwFlags,pchText,cchMax,pcch) \
- (This)->lpVtbl -> GetText(This,ec,dwFlags,pchText,cchMax,pcch)
- #define ITfRangeACP_SetText(This,ec,dwFlags,pchText,cch) \
- (This)->lpVtbl -> SetText(This,ec,dwFlags,pchText,cch)
- #define ITfRangeACP_GetFormattedText(This,ec,ppDataObject) \
- (This)->lpVtbl -> GetFormattedText(This,ec,ppDataObject)
- #define ITfRangeACP_GetEmbedded(This,ec,rguidService,riid,ppunk) \
- (This)->lpVtbl -> GetEmbedded(This,ec,rguidService,riid,ppunk)
- #define ITfRangeACP_InsertEmbedded(This,ec,dwFlags,pDataObject) \
- (This)->lpVtbl -> InsertEmbedded(This,ec,dwFlags,pDataObject)
- #define ITfRangeACP_ShiftStart(This,ec,cchReq,pcch,pHalt) \
- (This)->lpVtbl -> ShiftStart(This,ec,cchReq,pcch,pHalt)
- #define ITfRangeACP_ShiftEnd(This,ec,cchReq,pcch,pHalt) \
- (This)->lpVtbl -> ShiftEnd(This,ec,cchReq,pcch,pHalt)
- #define ITfRangeACP_ShiftStartToRange(This,ec,pRange,aPos) \
- (This)->lpVtbl -> ShiftStartToRange(This,ec,pRange,aPos)
- #define ITfRangeACP_ShiftEndToRange(This,ec,pRange,aPos) \
- (This)->lpVtbl -> ShiftEndToRange(This,ec,pRange,aPos)
- #define ITfRangeACP_ShiftStartRegion(This,ec,dir,pfNoRegion) \
- (This)->lpVtbl -> ShiftStartRegion(This,ec,dir,pfNoRegion)
- #define ITfRangeACP_ShiftEndRegion(This,ec,dir,pfNoRegion) \
- (This)->lpVtbl -> ShiftEndRegion(This,ec,dir,pfNoRegion)
- #define ITfRangeACP_IsEmpty(This,ec,pfEmpty) \
- (This)->lpVtbl -> IsEmpty(This,ec,pfEmpty)
- #define ITfRangeACP_Collapse(This,ec,aPos) \
- (This)->lpVtbl -> Collapse(This,ec,aPos)
- #define ITfRangeACP_IsEqualStart(This,ec,pWith,aPos,pfEqual) \
- (This)->lpVtbl -> IsEqualStart(This,ec,pWith,aPos,pfEqual)
- #define ITfRangeACP_IsEqualEnd(This,ec,pWith,aPos,pfEqual) \
- (This)->lpVtbl -> IsEqualEnd(This,ec,pWith,aPos,pfEqual)
- #define ITfRangeACP_CompareStart(This,ec,pWith,aPos,plResult) \
- (This)->lpVtbl -> CompareStart(This,ec,pWith,aPos,plResult)
- #define ITfRangeACP_CompareEnd(This,ec,pWith,aPos,plResult) \
- (This)->lpVtbl -> CompareEnd(This,ec,pWith,aPos,plResult)
- #define ITfRangeACP_AdjustForInsert(This,ec,cchInsert,pfInsertOk) \
- (This)->lpVtbl -> AdjustForInsert(This,ec,cchInsert,pfInsertOk)
- #define ITfRangeACP_GetGravity(This,pgStart,pgEnd) \
- (This)->lpVtbl -> GetGravity(This,pgStart,pgEnd)
- #define ITfRangeACP_SetGravity(This,ec,gStart,gEnd) \
- (This)->lpVtbl -> SetGravity(This,ec,gStart,gEnd)
- #define ITfRangeACP_Clone(This,ppClone) \
- (This)->lpVtbl -> Clone(This,ppClone)
- #define ITfRangeACP_GetContext(This,ppContext) \
- (This)->lpVtbl -> GetContext(This,ppContext)
- #define ITfRangeACP_GetExtent(This,pacpAnchor,pcch) \
- (This)->lpVtbl -> GetExtent(This,pacpAnchor,pcch)
- #define ITfRangeACP_SetExtent(This,acpAnchor,cch) \
- (This)->lpVtbl -> SetExtent(This,acpAnchor,cch)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfRangeACP_GetExtent_Proxy(
- ITfRangeACP * This,
- /* [out] */ LONG *pacpAnchor,
- /* [out] */ LONG *pcch);
- void __RPC_STUB ITfRangeACP_GetExtent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfRangeACP_SetExtent_Proxy(
- ITfRangeACP * This,
- /* [in] */ LONG acpAnchor,
- /* [in] */ LONG cch);
- void __RPC_STUB ITfRangeACP_SetExtent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfRangeACP_INTERFACE_DEFINED__ */
- #ifndef __ITextStoreACPServices_INTERFACE_DEFINED__
- #define __ITextStoreACPServices_INTERFACE_DEFINED__
- /* interface ITextStoreACPServices */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITextStoreACPServices;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e901-2021-11d2-93e0-0060b067b86e")
- ITextStoreACPServices : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Serialize(
- /* [in] */ ITfProperty *pProp,
- /* [in] */ ITfRange *pRange,
- /* [out] */ TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Unserialize(
- /* [in] */ ITfProperty *pProp,
- /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream,
- /* [in] */ ITfPersistentPropertyLoaderACP *pLoader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ForceLoadProperty(
- /* [in] */ ITfProperty *pProp) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateRange(
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ ITfRangeACP **ppRange) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITextStoreACPServicesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITextStoreACPServices * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITextStoreACPServices * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITextStoreACPServices * This);
-
- HRESULT ( STDMETHODCALLTYPE *Serialize )(
- ITextStoreACPServices * This,
- /* [in] */ ITfProperty *pProp,
- /* [in] */ ITfRange *pRange,
- /* [out] */ TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream);
-
- HRESULT ( STDMETHODCALLTYPE *Unserialize )(
- ITextStoreACPServices * This,
- /* [in] */ ITfProperty *pProp,
- /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream,
- /* [in] */ ITfPersistentPropertyLoaderACP *pLoader);
-
- HRESULT ( STDMETHODCALLTYPE *ForceLoadProperty )(
- ITextStoreACPServices * This,
- /* [in] */ ITfProperty *pProp);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRange )(
- ITextStoreACPServices * This,
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ ITfRangeACP **ppRange);
-
- END_INTERFACE
- } ITextStoreACPServicesVtbl;
- interface ITextStoreACPServices
- {
- CONST_VTBL struct ITextStoreACPServicesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITextStoreACPServices_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITextStoreACPServices_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITextStoreACPServices_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITextStoreACPServices_Serialize(This,pProp,pRange,pHdr,pStream) \
- (This)->lpVtbl -> Serialize(This,pProp,pRange,pHdr,pStream)
- #define ITextStoreACPServices_Unserialize(This,pProp,pHdr,pStream,pLoader) \
- (This)->lpVtbl -> Unserialize(This,pProp,pHdr,pStream,pLoader)
- #define ITextStoreACPServices_ForceLoadProperty(This,pProp) \
- (This)->lpVtbl -> ForceLoadProperty(This,pProp)
- #define ITextStoreACPServices_CreateRange(This,acpStart,acpEnd,ppRange) \
- (This)->lpVtbl -> CreateRange(This,acpStart,acpEnd,ppRange)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITextStoreACPServices_Serialize_Proxy(
- ITextStoreACPServices * This,
- /* [in] */ ITfProperty *pProp,
- /* [in] */ ITfRange *pRange,
- /* [out] */ TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream);
- void __RPC_STUB ITextStoreACPServices_Serialize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITextStoreACPServices_Unserialize_Proxy(
- ITextStoreACPServices * This,
- /* [in] */ ITfProperty *pProp,
- /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [in] */ IStream *pStream,
- /* [in] */ ITfPersistentPropertyLoaderACP *pLoader);
- void __RPC_STUB ITextStoreACPServices_Unserialize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITextStoreACPServices_ForceLoadProperty_Proxy(
- ITextStoreACPServices * This,
- /* [in] */ ITfProperty *pProp);
- void __RPC_STUB ITextStoreACPServices_ForceLoadProperty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITextStoreACPServices_CreateRange_Proxy(
- ITextStoreACPServices * This,
- /* [in] */ LONG acpStart,
- /* [in] */ LONG acpEnd,
- /* [out] */ ITfRangeACP **ppRange);
- void __RPC_STUB ITextStoreACPServices_CreateRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITextStoreACPServices_INTERFACE_DEFINED__ */
- #ifndef __ITfRangeBackup_INTERFACE_DEFINED__
- #define __ITfRangeBackup_INTERFACE_DEFINED__
- /* interface ITfRangeBackup */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfRangeBackup;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("463a506d-6992-49d2-9b88-93d55e70bb16")
- ITfRangeBackup : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Restore(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfRangeBackupVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfRangeBackup * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfRangeBackup * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfRangeBackup * This);
-
- HRESULT ( STDMETHODCALLTYPE *Restore )(
- ITfRangeBackup * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange);
-
- END_INTERFACE
- } ITfRangeBackupVtbl;
- interface ITfRangeBackup
- {
- CONST_VTBL struct ITfRangeBackupVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfRangeBackup_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfRangeBackup_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfRangeBackup_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfRangeBackup_Restore(This,ec,pRange) \
- (This)->lpVtbl -> Restore(This,ec,pRange)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfRangeBackup_Restore_Proxy(
- ITfRangeBackup * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange);
- void __RPC_STUB ITfRangeBackup_Restore_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfRangeBackup_INTERFACE_DEFINED__ */
- #ifndef __ITfPropertyStore_INTERFACE_DEFINED__
- #define __ITfPropertyStore_INTERFACE_DEFINED__
- /* interface ITfPropertyStore */
- /* [unique][uuid][object] */
- #define TF_TU_CORRECTION ( 0x1 )
- EXTERN_C const IID IID_ITfPropertyStore;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6834b120-88cb-11d2-bf45-00105a2799b5")
- ITfPropertyStore : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetType(
- /* [out] */ GUID *pguid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDataType(
- /* [out] */ DWORD *pdwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetData(
- /* [out] */ VARIANT *pvarValue) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnTextUpdated(
- /* [in] */ DWORD dwFlags,
- /* [in] */ ITfRange *pRangeNew,
- /* [out] */ BOOL *pfAccept) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Shrink(
- /* [in] */ ITfRange *pRangeNew,
- /* [out] */ BOOL *pfFree) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Divide(
- /* [in] */ ITfRange *pRangeThis,
- /* [in] */ ITfRange *pRangeNew,
- /* [out] */ ITfPropertyStore **ppPropStore) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ ITfPropertyStore **pPropStore) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetPropertyRangeCreator(
- /* [out] */ CLSID *pclsid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Serialize(
- /* [in] */ IStream *pStream,
- /* [out] */ ULONG *pcb) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfPropertyStoreVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfPropertyStore * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfPropertyStore * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfPropertyStore * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetType )(
- ITfPropertyStore * This,
- /* [out] */ GUID *pguid);
-
- HRESULT ( STDMETHODCALLTYPE *GetDataType )(
- ITfPropertyStore * This,
- /* [out] */ DWORD *pdwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *GetData )(
- ITfPropertyStore * This,
- /* [out] */ VARIANT *pvarValue);
-
- HRESULT ( STDMETHODCALLTYPE *OnTextUpdated )(
- ITfPropertyStore * This,
- /* [in] */ DWORD dwFlags,
- /* [in] */ ITfRange *pRangeNew,
- /* [out] */ BOOL *pfAccept);
-
- HRESULT ( STDMETHODCALLTYPE *Shrink )(
- ITfPropertyStore * This,
- /* [in] */ ITfRange *pRangeNew,
- /* [out] */ BOOL *pfFree);
-
- HRESULT ( STDMETHODCALLTYPE *Divide )(
- ITfPropertyStore * This,
- /* [in] */ ITfRange *pRangeThis,
- /* [in] */ ITfRange *pRangeNew,
- /* [out] */ ITfPropertyStore **ppPropStore);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- ITfPropertyStore * This,
- /* [out] */ ITfPropertyStore **pPropStore);
-
- HRESULT ( STDMETHODCALLTYPE *GetPropertyRangeCreator )(
- ITfPropertyStore * This,
- /* [out] */ CLSID *pclsid);
-
- HRESULT ( STDMETHODCALLTYPE *Serialize )(
- ITfPropertyStore * This,
- /* [in] */ IStream *pStream,
- /* [out] */ ULONG *pcb);
-
- END_INTERFACE
- } ITfPropertyStoreVtbl;
- interface ITfPropertyStore
- {
- CONST_VTBL struct ITfPropertyStoreVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfPropertyStore_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfPropertyStore_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfPropertyStore_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfPropertyStore_GetType(This,pguid) \
- (This)->lpVtbl -> GetType(This,pguid)
- #define ITfPropertyStore_GetDataType(This,pdwReserved) \
- (This)->lpVtbl -> GetDataType(This,pdwReserved)
- #define ITfPropertyStore_GetData(This,pvarValue) \
- (This)->lpVtbl -> GetData(This,pvarValue)
- #define ITfPropertyStore_OnTextUpdated(This,dwFlags,pRangeNew,pfAccept) \
- (This)->lpVtbl -> OnTextUpdated(This,dwFlags,pRangeNew,pfAccept)
- #define ITfPropertyStore_Shrink(This,pRangeNew,pfFree) \
- (This)->lpVtbl -> Shrink(This,pRangeNew,pfFree)
- #define ITfPropertyStore_Divide(This,pRangeThis,pRangeNew,ppPropStore) \
- (This)->lpVtbl -> Divide(This,pRangeThis,pRangeNew,ppPropStore)
- #define ITfPropertyStore_Clone(This,pPropStore) \
- (This)->lpVtbl -> Clone(This,pPropStore)
- #define ITfPropertyStore_GetPropertyRangeCreator(This,pclsid) \
- (This)->lpVtbl -> GetPropertyRangeCreator(This,pclsid)
- #define ITfPropertyStore_Serialize(This,pStream,pcb) \
- (This)->lpVtbl -> Serialize(This,pStream,pcb)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfPropertyStore_GetType_Proxy(
- ITfPropertyStore * This,
- /* [out] */ GUID *pguid);
- void __RPC_STUB ITfPropertyStore_GetType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfPropertyStore_GetDataType_Proxy(
- ITfPropertyStore * This,
- /* [out] */ DWORD *pdwReserved);
- void __RPC_STUB ITfPropertyStore_GetDataType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfPropertyStore_GetData_Proxy(
- ITfPropertyStore * This,
- /* [out] */ VARIANT *pvarValue);
- void __RPC_STUB ITfPropertyStore_GetData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfPropertyStore_OnTextUpdated_Proxy(
- ITfPropertyStore * This,
- /* [in] */ DWORD dwFlags,
- /* [in] */ ITfRange *pRangeNew,
- /* [out] */ BOOL *pfAccept);
- void __RPC_STUB ITfPropertyStore_OnTextUpdated_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfPropertyStore_Shrink_Proxy(
- ITfPropertyStore * This,
- /* [in] */ ITfRange *pRangeNew,
- /* [out] */ BOOL *pfFree);
- void __RPC_STUB ITfPropertyStore_Shrink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfPropertyStore_Divide_Proxy(
- ITfPropertyStore * This,
- /* [in] */ ITfRange *pRangeThis,
- /* [in] */ ITfRange *pRangeNew,
- /* [out] */ ITfPropertyStore **ppPropStore);
- void __RPC_STUB ITfPropertyStore_Divide_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfPropertyStore_Clone_Proxy(
- ITfPropertyStore * This,
- /* [out] */ ITfPropertyStore **pPropStore);
- void __RPC_STUB ITfPropertyStore_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfPropertyStore_GetPropertyRangeCreator_Proxy(
- ITfPropertyStore * This,
- /* [out] */ CLSID *pclsid);
- void __RPC_STUB ITfPropertyStore_GetPropertyRangeCreator_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfPropertyStore_Serialize_Proxy(
- ITfPropertyStore * This,
- /* [in] */ IStream *pStream,
- /* [out] */ ULONG *pcb);
- void __RPC_STUB ITfPropertyStore_Serialize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfPropertyStore_INTERFACE_DEFINED__ */
- #ifndef __IEnumTfRanges_INTERFACE_DEFINED__
- #define __IEnumTfRanges_INTERFACE_DEFINED__
- /* interface IEnumTfRanges */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfRanges;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("f99d3f40-8e32-11d2-bf46-00105a2799b5")
- IEnumTfRanges : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfRanges **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfRange **ppRange,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfRangesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfRanges * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfRanges * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfRanges * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfRanges * This,
- /* [out] */ IEnumTfRanges **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfRanges * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfRange **ppRange,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfRanges * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfRanges * This,
- ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfRangesVtbl;
- interface IEnumTfRanges
- {
- CONST_VTBL struct IEnumTfRangesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfRanges_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfRanges_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfRanges_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumTfRanges_Clone(This,ppEnum) \
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfRanges_Next(This,ulCount,ppRange,pcFetched) \
- (This)->lpVtbl -> Next(This,ulCount,ppRange,pcFetched)
- #define IEnumTfRanges_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfRanges_Skip(This,ulCount) \
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfRanges_Clone_Proxy(
- IEnumTfRanges * This,
- /* [out] */ IEnumTfRanges **ppEnum);
- void __RPC_STUB IEnumTfRanges_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfRanges_Next_Proxy(
- IEnumTfRanges * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfRange **ppRange,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumTfRanges_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfRanges_Reset_Proxy(
- IEnumTfRanges * This);
- void __RPC_STUB IEnumTfRanges_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfRanges_Skip_Proxy(
- IEnumTfRanges * This,
- ULONG ulCount);
- void __RPC_STUB IEnumTfRanges_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfRanges_INTERFACE_DEFINED__ */
- #ifndef __ITfCreatePropertyStore_INTERFACE_DEFINED__
- #define __ITfCreatePropertyStore_INTERFACE_DEFINED__
- /* interface ITfCreatePropertyStore */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfCreatePropertyStore;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("2463fbf0-b0af-11d2-afc5-00105a2799b5")
- ITfCreatePropertyStore : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE IsStoreSerializable(
- /* [in] */ REFGUID guidProp,
- /* [in] */ ITfRange *pRange,
- /* [in] */ ITfPropertyStore *pPropStore,
- /* [out] */ BOOL *pfSerializable) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreatePropertyStore(
- /* [in] */ REFGUID guidProp,
- /* [in] */ ITfRange *pRange,
- /* [in] */ ULONG cb,
- /* [in] */ IStream *pStream,
- /* [out] */ ITfPropertyStore **ppStore) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCreatePropertyStoreVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCreatePropertyStore * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCreatePropertyStore * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCreatePropertyStore * This);
-
- HRESULT ( STDMETHODCALLTYPE *IsStoreSerializable )(
- ITfCreatePropertyStore * This,
- /* [in] */ REFGUID guidProp,
- /* [in] */ ITfRange *pRange,
- /* [in] */ ITfPropertyStore *pPropStore,
- /* [out] */ BOOL *pfSerializable);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePropertyStore )(
- ITfCreatePropertyStore * This,
- /* [in] */ REFGUID guidProp,
- /* [in] */ ITfRange *pRange,
- /* [in] */ ULONG cb,
- /* [in] */ IStream *pStream,
- /* [out] */ ITfPropertyStore **ppStore);
-
- END_INTERFACE
- } ITfCreatePropertyStoreVtbl;
- interface ITfCreatePropertyStore
- {
- CONST_VTBL struct ITfCreatePropertyStoreVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCreatePropertyStore_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCreatePropertyStore_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfCreatePropertyStore_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfCreatePropertyStore_IsStoreSerializable(This,guidProp,pRange,pPropStore,pfSerializable) \
- (This)->lpVtbl -> IsStoreSerializable(This,guidProp,pRange,pPropStore,pfSerializable)
- #define ITfCreatePropertyStore_CreatePropertyStore(This,guidProp,pRange,cb,pStream,ppStore) \
- (This)->lpVtbl -> CreatePropertyStore(This,guidProp,pRange,cb,pStream,ppStore)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCreatePropertyStore_IsStoreSerializable_Proxy(
- ITfCreatePropertyStore * This,
- /* [in] */ REFGUID guidProp,
- /* [in] */ ITfRange *pRange,
- /* [in] */ ITfPropertyStore *pPropStore,
- /* [out] */ BOOL *pfSerializable);
- void __RPC_STUB ITfCreatePropertyStore_IsStoreSerializable_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCreatePropertyStore_CreatePropertyStore_Proxy(
- ITfCreatePropertyStore * This,
- /* [in] */ REFGUID guidProp,
- /* [in] */ ITfRange *pRange,
- /* [in] */ ULONG cb,
- /* [in] */ IStream *pStream,
- /* [out] */ ITfPropertyStore **ppStore);
- void __RPC_STUB ITfCreatePropertyStore_CreatePropertyStore_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCreatePropertyStore_INTERFACE_DEFINED__ */
- #ifndef __ITfPersistentPropertyLoaderACP_INTERFACE_DEFINED__
- #define __ITfPersistentPropertyLoaderACP_INTERFACE_DEFINED__
- /* interface ITfPersistentPropertyLoaderACP */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfPersistentPropertyLoaderACP;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("4ef89150-0807-11d3-8df0-00105a2799b5")
- ITfPersistentPropertyLoaderACP : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE LoadProperty(
- /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [out] */ IStream **ppStream) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfPersistentPropertyLoaderACPVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfPersistentPropertyLoaderACP * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfPersistentPropertyLoaderACP * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfPersistentPropertyLoaderACP * This);
-
- HRESULT ( STDMETHODCALLTYPE *LoadProperty )(
- ITfPersistentPropertyLoaderACP * This,
- /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [out] */ IStream **ppStream);
-
- END_INTERFACE
- } ITfPersistentPropertyLoaderACPVtbl;
- interface ITfPersistentPropertyLoaderACP
- {
- CONST_VTBL struct ITfPersistentPropertyLoaderACPVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfPersistentPropertyLoaderACP_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfPersistentPropertyLoaderACP_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfPersistentPropertyLoaderACP_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfPersistentPropertyLoaderACP_LoadProperty(This,pHdr,ppStream) \
- (This)->lpVtbl -> LoadProperty(This,pHdr,ppStream)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfPersistentPropertyLoaderACP_LoadProperty_Proxy(
- ITfPersistentPropertyLoaderACP * This,
- /* [in] */ const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
- /* [out] */ IStream **ppStream);
- void __RPC_STUB ITfPersistentPropertyLoaderACP_LoadProperty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfPersistentPropertyLoaderACP_INTERFACE_DEFINED__ */
- #ifndef __ITfProperty_INTERFACE_DEFINED__
- #define __ITfProperty_INTERFACE_DEFINED__
- /* interface ITfProperty */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfProperty;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("e2449660-9542-11d2-bf46-00105a2799b5")
- ITfProperty : public ITfReadOnlyProperty
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE FindRange(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ ITfRange **ppRange,
- /* [in] */ TfAnchor aPos) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetValueStore(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ ITfPropertyStore *pPropStore) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetValue(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ const VARIANT *pvarValue) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clear(
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfPropertyVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfProperty * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfProperty * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfProperty * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetType )(
- ITfProperty * This,
- /* [out] */ GUID *pguid);
-
- HRESULT ( STDMETHODCALLTYPE *EnumRanges )(
- ITfProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [out] */ IEnumTfRanges **ppEnum,
- /* [in] */ ITfRange *pTargetRange);
-
- HRESULT ( STDMETHODCALLTYPE *GetValue )(
- ITfProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ VARIANT *pvarValue);
-
- HRESULT ( STDMETHODCALLTYPE *GetContext )(
- ITfProperty * This,
- /* [out] */ ITfContext **ppContext);
-
- HRESULT ( STDMETHODCALLTYPE *FindRange )(
- ITfProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ ITfRange **ppRange,
- /* [in] */ TfAnchor aPos);
-
- HRESULT ( STDMETHODCALLTYPE *SetValueStore )(
- ITfProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ ITfPropertyStore *pPropStore);
-
- HRESULT ( STDMETHODCALLTYPE *SetValue )(
- ITfProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ const VARIANT *pvarValue);
-
- HRESULT ( STDMETHODCALLTYPE *Clear )(
- ITfProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange);
-
- END_INTERFACE
- } ITfPropertyVtbl;
- interface ITfProperty
- {
- CONST_VTBL struct ITfPropertyVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfProperty_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfProperty_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfProperty_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfProperty_GetType(This,pguid) \
- (This)->lpVtbl -> GetType(This,pguid)
- #define ITfProperty_EnumRanges(This,ec,ppEnum,pTargetRange) \
- (This)->lpVtbl -> EnumRanges(This,ec,ppEnum,pTargetRange)
- #define ITfProperty_GetValue(This,ec,pRange,pvarValue) \
- (This)->lpVtbl -> GetValue(This,ec,pRange,pvarValue)
- #define ITfProperty_GetContext(This,ppContext) \
- (This)->lpVtbl -> GetContext(This,ppContext)
- #define ITfProperty_FindRange(This,ec,pRange,ppRange,aPos) \
- (This)->lpVtbl -> FindRange(This,ec,pRange,ppRange,aPos)
- #define ITfProperty_SetValueStore(This,ec,pRange,pPropStore) \
- (This)->lpVtbl -> SetValueStore(This,ec,pRange,pPropStore)
- #define ITfProperty_SetValue(This,ec,pRange,pvarValue) \
- (This)->lpVtbl -> SetValue(This,ec,pRange,pvarValue)
- #define ITfProperty_Clear(This,ec,pRange) \
- (This)->lpVtbl -> Clear(This,ec,pRange)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfProperty_FindRange_Proxy(
- ITfProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [out] */ ITfRange **ppRange,
- /* [in] */ TfAnchor aPos);
- void __RPC_STUB ITfProperty_FindRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfProperty_SetValueStore_Proxy(
- ITfProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ ITfPropertyStore *pPropStore);
- void __RPC_STUB ITfProperty_SetValueStore_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfProperty_SetValue_Proxy(
- ITfProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange,
- /* [in] */ const VARIANT *pvarValue);
- void __RPC_STUB ITfProperty_SetValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfProperty_Clear_Proxy(
- ITfProperty * This,
- /* [in] */ TfEditCookie ec,
- /* [in] */ ITfRange *pRange);
- void __RPC_STUB ITfProperty_Clear_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfProperty_INTERFACE_DEFINED__ */
- #ifndef __IEnumTfProperties_INTERFACE_DEFINED__
- #define __IEnumTfProperties_INTERFACE_DEFINED__
- /* interface IEnumTfProperties */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfProperties;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("19188cb0-aca9-11d2-afc5-00105a2799b5")
- IEnumTfProperties : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfProperties **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfProperty **ppProp,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfPropertiesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfProperties * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfProperties * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfProperties * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfProperties * This,
- /* [out] */ IEnumTfProperties **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfProperties * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfProperty **ppProp,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfProperties * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfProperties * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfPropertiesVtbl;
- interface IEnumTfProperties
- {
- CONST_VTBL struct IEnumTfPropertiesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfProperties_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfProperties_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfProperties_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumTfProperties_Clone(This,ppEnum) \
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfProperties_Next(This,ulCount,ppProp,pcFetched) \
- (This)->lpVtbl -> Next(This,ulCount,ppProp,pcFetched)
- #define IEnumTfProperties_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfProperties_Skip(This,ulCount) \
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfProperties_Clone_Proxy(
- IEnumTfProperties * This,
- /* [out] */ IEnumTfProperties **ppEnum);
- void __RPC_STUB IEnumTfProperties_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfProperties_Next_Proxy(
- IEnumTfProperties * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfProperty **ppProp,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumTfProperties_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfProperties_Reset_Proxy(
- IEnumTfProperties * This);
- void __RPC_STUB IEnumTfProperties_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfProperties_Skip_Proxy(
- IEnumTfProperties * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumTfProperties_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfProperties_INTERFACE_DEFINED__ */
- #ifndef __ITfCompartment_INTERFACE_DEFINED__
- #define __ITfCompartment_INTERFACE_DEFINED__
- /* interface ITfCompartment */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfCompartment;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("bb08f7a9-607a-4384-8623-056892b64371")
- ITfCompartment : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetValue(
- /* [in] */ TfClientId tid,
- /* [in] */ const VARIANT *pvarValue) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetValue(
- /* [out] */ VARIANT *pvarValue) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCompartmentVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCompartment * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCompartment * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCompartment * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetValue )(
- ITfCompartment * This,
- /* [in] */ TfClientId tid,
- /* [in] */ const VARIANT *pvarValue);
-
- HRESULT ( STDMETHODCALLTYPE *GetValue )(
- ITfCompartment * This,
- /* [out] */ VARIANT *pvarValue);
-
- END_INTERFACE
- } ITfCompartmentVtbl;
- interface ITfCompartment
- {
- CONST_VTBL struct ITfCompartmentVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCompartment_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCompartment_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfCompartment_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfCompartment_SetValue(This,tid,pvarValue) \
- (This)->lpVtbl -> SetValue(This,tid,pvarValue)
- #define ITfCompartment_GetValue(This,pvarValue) \
- (This)->lpVtbl -> GetValue(This,pvarValue)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCompartment_SetValue_Proxy(
- ITfCompartment * This,
- /* [in] */ TfClientId tid,
- /* [in] */ const VARIANT *pvarValue);
- void __RPC_STUB ITfCompartment_SetValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCompartment_GetValue_Proxy(
- ITfCompartment * This,
- /* [out] */ VARIANT *pvarValue);
- void __RPC_STUB ITfCompartment_GetValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCompartment_INTERFACE_DEFINED__ */
- #ifndef __ITfCompartmentEventSink_INTERFACE_DEFINED__
- #define __ITfCompartmentEventSink_INTERFACE_DEFINED__
- /* interface ITfCompartmentEventSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfCompartmentEventSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("743abd5f-f26d-48df-8cc5-238492419b64")
- ITfCompartmentEventSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnChange(
- /* [in] */ REFGUID rguid) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCompartmentEventSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCompartmentEventSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCompartmentEventSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCompartmentEventSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnChange )(
- ITfCompartmentEventSink * This,
- /* [in] */ REFGUID rguid);
-
- END_INTERFACE
- } ITfCompartmentEventSinkVtbl;
- interface ITfCompartmentEventSink
- {
- CONST_VTBL struct ITfCompartmentEventSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCompartmentEventSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCompartmentEventSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfCompartmentEventSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfCompartmentEventSink_OnChange(This,rguid) \
- (This)->lpVtbl -> OnChange(This,rguid)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCompartmentEventSink_OnChange_Proxy(
- ITfCompartmentEventSink * This,
- /* [in] */ REFGUID rguid);
- void __RPC_STUB ITfCompartmentEventSink_OnChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCompartmentEventSink_INTERFACE_DEFINED__ */
- #ifndef __ITfCompartmentMgr_INTERFACE_DEFINED__
- #define __ITfCompartmentMgr_INTERFACE_DEFINED__
- /* interface ITfCompartmentMgr */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfCompartmentMgr;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("7dcf57ac-18ad-438b-824d-979bffb74b7c")
- ITfCompartmentMgr : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetCompartment(
- /* [in] */ REFGUID rguid,
- /* [out] */ ITfCompartment **ppcomp) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ClearCompartment(
- /* [in] */ TfClientId tid,
- /* [in] */ REFGUID rguid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumCompartments(
- /* [out] */ IEnumGUID **ppEnum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCompartmentMgrVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCompartmentMgr * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCompartmentMgr * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCompartmentMgr * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetCompartment )(
- ITfCompartmentMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ ITfCompartment **ppcomp);
-
- HRESULT ( STDMETHODCALLTYPE *ClearCompartment )(
- ITfCompartmentMgr * This,
- /* [in] */ TfClientId tid,
- /* [in] */ REFGUID rguid);
-
- HRESULT ( STDMETHODCALLTYPE *EnumCompartments )(
- ITfCompartmentMgr * This,
- /* [out] */ IEnumGUID **ppEnum);
-
- END_INTERFACE
- } ITfCompartmentMgrVtbl;
- interface ITfCompartmentMgr
- {
- CONST_VTBL struct ITfCompartmentMgrVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCompartmentMgr_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCompartmentMgr_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfCompartmentMgr_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfCompartmentMgr_GetCompartment(This,rguid,ppcomp) \
- (This)->lpVtbl -> GetCompartment(This,rguid,ppcomp)
- #define ITfCompartmentMgr_ClearCompartment(This,tid,rguid) \
- (This)->lpVtbl -> ClearCompartment(This,tid,rguid)
- #define ITfCompartmentMgr_EnumCompartments(This,ppEnum) \
- (This)->lpVtbl -> EnumCompartments(This,ppEnum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCompartmentMgr_GetCompartment_Proxy(
- ITfCompartmentMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ ITfCompartment **ppcomp);
- void __RPC_STUB ITfCompartmentMgr_GetCompartment_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCompartmentMgr_ClearCompartment_Proxy(
- ITfCompartmentMgr * This,
- /* [in] */ TfClientId tid,
- /* [in] */ REFGUID rguid);
- void __RPC_STUB ITfCompartmentMgr_ClearCompartment_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCompartmentMgr_EnumCompartments_Proxy(
- ITfCompartmentMgr * This,
- /* [out] */ IEnumGUID **ppEnum);
- void __RPC_STUB ITfCompartmentMgr_EnumCompartments_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCompartmentMgr_INTERFACE_DEFINED__ */
- #ifndef __ITfFunction_INTERFACE_DEFINED__
- #define __ITfFunction_INTERFACE_DEFINED__
- /* interface ITfFunction */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfFunction;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("db593490-098f-11d3-8df0-00105a2799b5")
- ITfFunction : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetDisplayName(
- /* [out] */ BSTR *pbstrName) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfFunctionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfFunction * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfFunction * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfFunction * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
- ITfFunction * This,
- /* [out] */ BSTR *pbstrName);
-
- END_INTERFACE
- } ITfFunctionVtbl;
- interface ITfFunction
- {
- CONST_VTBL struct ITfFunctionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfFunction_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfFunction_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfFunction_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfFunction_GetDisplayName(This,pbstrName) \
- (This)->lpVtbl -> GetDisplayName(This,pbstrName)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfFunction_GetDisplayName_Proxy(
- ITfFunction * This,
- /* [out] */ BSTR *pbstrName);
- void __RPC_STUB ITfFunction_GetDisplayName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfFunction_INTERFACE_DEFINED__ */
- #ifndef __ITfFunctionProvider_INTERFACE_DEFINED__
- #define __ITfFunctionProvider_INTERFACE_DEFINED__
- /* interface ITfFunctionProvider */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfFunctionProvider;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("101d6610-0990-11d3-8df0-00105a2799b5")
- ITfFunctionProvider : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetType(
- /* [out] */ GUID *pguid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDescription(
- /* [out] */ BSTR *pbstrDesc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetFunction(
- /* [in] */ REFGUID rguid,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppunk) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfFunctionProviderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfFunctionProvider * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfFunctionProvider * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfFunctionProvider * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetType )(
- ITfFunctionProvider * This,
- /* [out] */ GUID *pguid);
-
- HRESULT ( STDMETHODCALLTYPE *GetDescription )(
- ITfFunctionProvider * This,
- /* [out] */ BSTR *pbstrDesc);
-
- HRESULT ( STDMETHODCALLTYPE *GetFunction )(
- ITfFunctionProvider * This,
- /* [in] */ REFGUID rguid,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppunk);
-
- END_INTERFACE
- } ITfFunctionProviderVtbl;
- interface ITfFunctionProvider
- {
- CONST_VTBL struct ITfFunctionProviderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfFunctionProvider_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfFunctionProvider_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfFunctionProvider_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfFunctionProvider_GetType(This,pguid) \
- (This)->lpVtbl -> GetType(This,pguid)
- #define ITfFunctionProvider_GetDescription(This,pbstrDesc) \
- (This)->lpVtbl -> GetDescription(This,pbstrDesc)
- #define ITfFunctionProvider_GetFunction(This,rguid,riid,ppunk) \
- (This)->lpVtbl -> GetFunction(This,rguid,riid,ppunk)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfFunctionProvider_GetType_Proxy(
- ITfFunctionProvider * This,
- /* [out] */ GUID *pguid);
- void __RPC_STUB ITfFunctionProvider_GetType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfFunctionProvider_GetDescription_Proxy(
- ITfFunctionProvider * This,
- /* [out] */ BSTR *pbstrDesc);
- void __RPC_STUB ITfFunctionProvider_GetDescription_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfFunctionProvider_GetFunction_Proxy(
- ITfFunctionProvider * This,
- /* [in] */ REFGUID rguid,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppunk);
- void __RPC_STUB ITfFunctionProvider_GetFunction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfFunctionProvider_INTERFACE_DEFINED__ */
- #ifndef __IEnumTfFunctionProviders_INTERFACE_DEFINED__
- #define __IEnumTfFunctionProviders_INTERFACE_DEFINED__
- /* interface IEnumTfFunctionProviders */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfFunctionProviders;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("e4b24db0-0990-11d3-8df0-00105a2799b5")
- IEnumTfFunctionProviders : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfFunctionProviders **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfFunctionProvider **ppCmdobj,
- /* [out] */ ULONG *pcFetch) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfFunctionProvidersVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfFunctionProviders * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfFunctionProviders * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfFunctionProviders * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfFunctionProviders * This,
- /* [out] */ IEnumTfFunctionProviders **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfFunctionProviders * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfFunctionProvider **ppCmdobj,
- /* [out] */ ULONG *pcFetch);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfFunctionProviders * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfFunctionProviders * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfFunctionProvidersVtbl;
- interface IEnumTfFunctionProviders
- {
- CONST_VTBL struct IEnumTfFunctionProvidersVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfFunctionProviders_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfFunctionProviders_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfFunctionProviders_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumTfFunctionProviders_Clone(This,ppEnum) \
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfFunctionProviders_Next(This,ulCount,ppCmdobj,pcFetch) \
- (This)->lpVtbl -> Next(This,ulCount,ppCmdobj,pcFetch)
- #define IEnumTfFunctionProviders_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfFunctionProviders_Skip(This,ulCount) \
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfFunctionProviders_Clone_Proxy(
- IEnumTfFunctionProviders * This,
- /* [out] */ IEnumTfFunctionProviders **ppEnum);
- void __RPC_STUB IEnumTfFunctionProviders_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfFunctionProviders_Next_Proxy(
- IEnumTfFunctionProviders * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfFunctionProvider **ppCmdobj,
- /* [out] */ ULONG *pcFetch);
- void __RPC_STUB IEnumTfFunctionProviders_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfFunctionProviders_Reset_Proxy(
- IEnumTfFunctionProviders * This);
- void __RPC_STUB IEnumTfFunctionProviders_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfFunctionProviders_Skip_Proxy(
- IEnumTfFunctionProviders * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumTfFunctionProviders_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfFunctionProviders_INTERFACE_DEFINED__ */
- #ifndef __ITfInputProcessorProfiles_INTERFACE_DEFINED__
- #define __ITfInputProcessorProfiles_INTERFACE_DEFINED__
- /* interface ITfInputProcessorProfiles */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfInputProcessorProfiles;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("1F02B6C5-7842-4EE6-8A0B-9A24183A95CA")
- ITfInputProcessorProfiles : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Register(
- /* [in] */ REFCLSID rclsid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Unregister(
- /* [in] */ REFCLSID rclsid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddLanguageProfile(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cchDesc,
- /* [size_is][in] */ const WCHAR *pchIconFile,
- /* [in] */ ULONG cchFile,
- /* [in] */ ULONG uIconIndex) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RemoveLanguageProfile(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumInputProcessorInfo(
- /* [out] */ IEnumGUID **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDefaultLanguageProfile(
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID catid,
- /* [out] */ CLSID *pclsid,
- /* [out] */ GUID *pguidProfile) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetDefaultLanguageProfile(
- /* [in] */ LANGID langid,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID guidProfiles) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ActivateLanguageProfile(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfiles) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetActiveLanguageProfile(
- /* [in] */ REFCLSID rclsid,
- /* [out] */ LANGID *plangid,
- /* [out] */ GUID *pguidProfile) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetLanguageProfileDescription(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ BSTR *pbstrProfile) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetCurrentLanguage(
- /* [out] */ LANGID *plangid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ChangeCurrentLanguage(
- /* [in] */ LANGID langid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetLanguageList(
- /* [out] */ LANGID **ppLangId,
- /* [out] */ ULONG *pulCount) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumLanguageProfiles(
- /* [in] */ LANGID langid,
- /* [out] */ IEnumTfLanguageProfiles **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnableLanguageProfile(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ BOOL fEnable) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsEnabledLanguageProfile(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ BOOL *pfEnable) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnableLanguageProfileByDefault(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ BOOL fEnable) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SubstituteKeyboardLayout(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ HKL hKL) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfInputProcessorProfilesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfInputProcessorProfiles * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfInputProcessorProfiles * This);
-
- HRESULT ( STDMETHODCALLTYPE *Register )(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid);
-
- HRESULT ( STDMETHODCALLTYPE *Unregister )(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid);
-
- HRESULT ( STDMETHODCALLTYPE *AddLanguageProfile )(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cchDesc,
- /* [size_is][in] */ const WCHAR *pchIconFile,
- /* [in] */ ULONG cchFile,
- /* [in] */ ULONG uIconIndex);
-
- HRESULT ( STDMETHODCALLTYPE *RemoveLanguageProfile )(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile);
-
- HRESULT ( STDMETHODCALLTYPE *EnumInputProcessorInfo )(
- ITfInputProcessorProfiles * This,
- /* [out] */ IEnumGUID **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *GetDefaultLanguageProfile )(
- ITfInputProcessorProfiles * This,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID catid,
- /* [out] */ CLSID *pclsid,
- /* [out] */ GUID *pguidProfile);
-
- HRESULT ( STDMETHODCALLTYPE *SetDefaultLanguageProfile )(
- ITfInputProcessorProfiles * This,
- /* [in] */ LANGID langid,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID guidProfiles);
-
- HRESULT ( STDMETHODCALLTYPE *ActivateLanguageProfile )(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfiles);
-
- HRESULT ( STDMETHODCALLTYPE *GetActiveLanguageProfile )(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [out] */ LANGID *plangid,
- /* [out] */ GUID *pguidProfile);
-
- HRESULT ( STDMETHODCALLTYPE *GetLanguageProfileDescription )(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ BSTR *pbstrProfile);
-
- HRESULT ( STDMETHODCALLTYPE *GetCurrentLanguage )(
- ITfInputProcessorProfiles * This,
- /* [out] */ LANGID *plangid);
-
- HRESULT ( STDMETHODCALLTYPE *ChangeCurrentLanguage )(
- ITfInputProcessorProfiles * This,
- /* [in] */ LANGID langid);
-
- HRESULT ( STDMETHODCALLTYPE *GetLanguageList )(
- ITfInputProcessorProfiles * This,
- /* [out] */ LANGID **ppLangId,
- /* [out] */ ULONG *pulCount);
-
- HRESULT ( STDMETHODCALLTYPE *EnumLanguageProfiles )(
- ITfInputProcessorProfiles * This,
- /* [in] */ LANGID langid,
- /* [out] */ IEnumTfLanguageProfiles **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *EnableLanguageProfile )(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ BOOL fEnable);
-
- HRESULT ( STDMETHODCALLTYPE *IsEnabledLanguageProfile )(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ BOOL *pfEnable);
-
- HRESULT ( STDMETHODCALLTYPE *EnableLanguageProfileByDefault )(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ BOOL fEnable);
-
- HRESULT ( STDMETHODCALLTYPE *SubstituteKeyboardLayout )(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ HKL hKL);
-
- END_INTERFACE
- } ITfInputProcessorProfilesVtbl;
- interface ITfInputProcessorProfiles
- {
- CONST_VTBL struct ITfInputProcessorProfilesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfInputProcessorProfiles_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfInputProcessorProfiles_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfInputProcessorProfiles_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfInputProcessorProfiles_Register(This,rclsid) \
- (This)->lpVtbl -> Register(This,rclsid)
- #define ITfInputProcessorProfiles_Unregister(This,rclsid) \
- (This)->lpVtbl -> Unregister(This,rclsid)
- #define ITfInputProcessorProfiles_AddLanguageProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex) \
- (This)->lpVtbl -> AddLanguageProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex)
- #define ITfInputProcessorProfiles_RemoveLanguageProfile(This,rclsid,langid,guidProfile) \
- (This)->lpVtbl -> RemoveLanguageProfile(This,rclsid,langid,guidProfile)
- #define ITfInputProcessorProfiles_EnumInputProcessorInfo(This,ppEnum) \
- (This)->lpVtbl -> EnumInputProcessorInfo(This,ppEnum)
- #define ITfInputProcessorProfiles_GetDefaultLanguageProfile(This,langid,catid,pclsid,pguidProfile) \
- (This)->lpVtbl -> GetDefaultLanguageProfile(This,langid,catid,pclsid,pguidProfile)
- #define ITfInputProcessorProfiles_SetDefaultLanguageProfile(This,langid,rclsid,guidProfiles) \
- (This)->lpVtbl -> SetDefaultLanguageProfile(This,langid,rclsid,guidProfiles)
- #define ITfInputProcessorProfiles_ActivateLanguageProfile(This,rclsid,langid,guidProfiles) \
- (This)->lpVtbl -> ActivateLanguageProfile(This,rclsid,langid,guidProfiles)
- #define ITfInputProcessorProfiles_GetActiveLanguageProfile(This,rclsid,plangid,pguidProfile) \
- (This)->lpVtbl -> GetActiveLanguageProfile(This,rclsid,plangid,pguidProfile)
- #define ITfInputProcessorProfiles_GetLanguageProfileDescription(This,rclsid,langid,guidProfile,pbstrProfile) \
- (This)->lpVtbl -> GetLanguageProfileDescription(This,rclsid,langid,guidProfile,pbstrProfile)
- #define ITfInputProcessorProfiles_GetCurrentLanguage(This,plangid) \
- (This)->lpVtbl -> GetCurrentLanguage(This,plangid)
- #define ITfInputProcessorProfiles_ChangeCurrentLanguage(This,langid) \
- (This)->lpVtbl -> ChangeCurrentLanguage(This,langid)
- #define ITfInputProcessorProfiles_GetLanguageList(This,ppLangId,pulCount) \
- (This)->lpVtbl -> GetLanguageList(This,ppLangId,pulCount)
- #define ITfInputProcessorProfiles_EnumLanguageProfiles(This,langid,ppEnum) \
- (This)->lpVtbl -> EnumLanguageProfiles(This,langid,ppEnum)
- #define ITfInputProcessorProfiles_EnableLanguageProfile(This,rclsid,langid,guidProfile,fEnable) \
- (This)->lpVtbl -> EnableLanguageProfile(This,rclsid,langid,guidProfile,fEnable)
- #define ITfInputProcessorProfiles_IsEnabledLanguageProfile(This,rclsid,langid,guidProfile,pfEnable) \
- (This)->lpVtbl -> IsEnabledLanguageProfile(This,rclsid,langid,guidProfile,pfEnable)
- #define ITfInputProcessorProfiles_EnableLanguageProfileByDefault(This,rclsid,langid,guidProfile,fEnable) \
- (This)->lpVtbl -> EnableLanguageProfileByDefault(This,rclsid,langid,guidProfile,fEnable)
- #define ITfInputProcessorProfiles_SubstituteKeyboardLayout(This,rclsid,langid,guidProfile,hKL) \
- (This)->lpVtbl -> SubstituteKeyboardLayout(This,rclsid,langid,guidProfile,hKL)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_Register_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid);
- void __RPC_STUB ITfInputProcessorProfiles_Register_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_Unregister_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid);
- void __RPC_STUB ITfInputProcessorProfiles_Unregister_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_AddLanguageProfile_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cchDesc,
- /* [size_is][in] */ const WCHAR *pchIconFile,
- /* [in] */ ULONG cchFile,
- /* [in] */ ULONG uIconIndex);
- void __RPC_STUB ITfInputProcessorProfiles_AddLanguageProfile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_RemoveLanguageProfile_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile);
- void __RPC_STUB ITfInputProcessorProfiles_RemoveLanguageProfile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_EnumInputProcessorInfo_Proxy(
- ITfInputProcessorProfiles * This,
- /* [out] */ IEnumGUID **ppEnum);
- void __RPC_STUB ITfInputProcessorProfiles_EnumInputProcessorInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_GetDefaultLanguageProfile_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID catid,
- /* [out] */ CLSID *pclsid,
- /* [out] */ GUID *pguidProfile);
- void __RPC_STUB ITfInputProcessorProfiles_GetDefaultLanguageProfile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_SetDefaultLanguageProfile_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ LANGID langid,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID guidProfiles);
- void __RPC_STUB ITfInputProcessorProfiles_SetDefaultLanguageProfile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_ActivateLanguageProfile_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfiles);
- void __RPC_STUB ITfInputProcessorProfiles_ActivateLanguageProfile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_GetActiveLanguageProfile_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [out] */ LANGID *plangid,
- /* [out] */ GUID *pguidProfile);
- void __RPC_STUB ITfInputProcessorProfiles_GetActiveLanguageProfile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_GetLanguageProfileDescription_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ BSTR *pbstrProfile);
- void __RPC_STUB ITfInputProcessorProfiles_GetLanguageProfileDescription_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_GetCurrentLanguage_Proxy(
- ITfInputProcessorProfiles * This,
- /* [out] */ LANGID *plangid);
- void __RPC_STUB ITfInputProcessorProfiles_GetCurrentLanguage_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_ChangeCurrentLanguage_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ LANGID langid);
- void __RPC_STUB ITfInputProcessorProfiles_ChangeCurrentLanguage_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_GetLanguageList_Proxy(
- ITfInputProcessorProfiles * This,
- /* [out] */ LANGID **ppLangId,
- /* [out] */ ULONG *pulCount);
- void __RPC_STUB ITfInputProcessorProfiles_GetLanguageList_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_EnumLanguageProfiles_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ LANGID langid,
- /* [out] */ IEnumTfLanguageProfiles **ppEnum);
- void __RPC_STUB ITfInputProcessorProfiles_EnumLanguageProfiles_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_EnableLanguageProfile_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ BOOL fEnable);
- void __RPC_STUB ITfInputProcessorProfiles_EnableLanguageProfile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_IsEnabledLanguageProfile_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ BOOL *pfEnable);
- void __RPC_STUB ITfInputProcessorProfiles_IsEnabledLanguageProfile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_EnableLanguageProfileByDefault_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ BOOL fEnable);
- void __RPC_STUB ITfInputProcessorProfiles_EnableLanguageProfileByDefault_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfiles_SubstituteKeyboardLayout_Proxy(
- ITfInputProcessorProfiles * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ HKL hKL);
- void __RPC_STUB ITfInputProcessorProfiles_SubstituteKeyboardLayout_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfInputProcessorProfiles_INTERFACE_DEFINED__ */
- #ifndef __ITfInputProcessorProfilesEx_INTERFACE_DEFINED__
- #define __ITfInputProcessorProfilesEx_INTERFACE_DEFINED__
- /* interface ITfInputProcessorProfilesEx */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfInputProcessorProfilesEx;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("892f230f-fe00-4a41-a98e-fcd6de0d35ef")
- ITfInputProcessorProfilesEx : public ITfInputProcessorProfiles
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetLanguageProfileDisplayName(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [size_is][in] */ const WCHAR *pchFile,
- /* [in] */ ULONG cchFile,
- /* [in] */ ULONG uResId) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfInputProcessorProfilesExVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfInputProcessorProfilesEx * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfInputProcessorProfilesEx * This);
-
- HRESULT ( STDMETHODCALLTYPE *Register )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid);
-
- HRESULT ( STDMETHODCALLTYPE *Unregister )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid);
-
- HRESULT ( STDMETHODCALLTYPE *AddLanguageProfile )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cchDesc,
- /* [size_is][in] */ const WCHAR *pchIconFile,
- /* [in] */ ULONG cchFile,
- /* [in] */ ULONG uIconIndex);
-
- HRESULT ( STDMETHODCALLTYPE *RemoveLanguageProfile )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile);
-
- HRESULT ( STDMETHODCALLTYPE *EnumInputProcessorInfo )(
- ITfInputProcessorProfilesEx * This,
- /* [out] */ IEnumGUID **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *GetDefaultLanguageProfile )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID catid,
- /* [out] */ CLSID *pclsid,
- /* [out] */ GUID *pguidProfile);
-
- HRESULT ( STDMETHODCALLTYPE *SetDefaultLanguageProfile )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ LANGID langid,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID guidProfiles);
-
- HRESULT ( STDMETHODCALLTYPE *ActivateLanguageProfile )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfiles);
-
- HRESULT ( STDMETHODCALLTYPE *GetActiveLanguageProfile )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid,
- /* [out] */ LANGID *plangid,
- /* [out] */ GUID *pguidProfile);
-
- HRESULT ( STDMETHODCALLTYPE *GetLanguageProfileDescription )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ BSTR *pbstrProfile);
-
- HRESULT ( STDMETHODCALLTYPE *GetCurrentLanguage )(
- ITfInputProcessorProfilesEx * This,
- /* [out] */ LANGID *plangid);
-
- HRESULT ( STDMETHODCALLTYPE *ChangeCurrentLanguage )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ LANGID langid);
-
- HRESULT ( STDMETHODCALLTYPE *GetLanguageList )(
- ITfInputProcessorProfilesEx * This,
- /* [out] */ LANGID **ppLangId,
- /* [out] */ ULONG *pulCount);
-
- HRESULT ( STDMETHODCALLTYPE *EnumLanguageProfiles )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ LANGID langid,
- /* [out] */ IEnumTfLanguageProfiles **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *EnableLanguageProfile )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ BOOL fEnable);
-
- HRESULT ( STDMETHODCALLTYPE *IsEnabledLanguageProfile )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ BOOL *pfEnable);
-
- HRESULT ( STDMETHODCALLTYPE *EnableLanguageProfileByDefault )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ BOOL fEnable);
-
- HRESULT ( STDMETHODCALLTYPE *SubstituteKeyboardLayout )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ HKL hKL);
-
- HRESULT ( STDMETHODCALLTYPE *SetLanguageProfileDisplayName )(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [size_is][in] */ const WCHAR *pchFile,
- /* [in] */ ULONG cchFile,
- /* [in] */ ULONG uResId);
-
- END_INTERFACE
- } ITfInputProcessorProfilesExVtbl;
- interface ITfInputProcessorProfilesEx
- {
- CONST_VTBL struct ITfInputProcessorProfilesExVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfInputProcessorProfilesEx_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfInputProcessorProfilesEx_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfInputProcessorProfilesEx_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfInputProcessorProfilesEx_Register(This,rclsid) \
- (This)->lpVtbl -> Register(This,rclsid)
- #define ITfInputProcessorProfilesEx_Unregister(This,rclsid) \
- (This)->lpVtbl -> Unregister(This,rclsid)
- #define ITfInputProcessorProfilesEx_AddLanguageProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex) \
- (This)->lpVtbl -> AddLanguageProfile(This,rclsid,langid,guidProfile,pchDesc,cchDesc,pchIconFile,cchFile,uIconIndex)
- #define ITfInputProcessorProfilesEx_RemoveLanguageProfile(This,rclsid,langid,guidProfile) \
- (This)->lpVtbl -> RemoveLanguageProfile(This,rclsid,langid,guidProfile)
- #define ITfInputProcessorProfilesEx_EnumInputProcessorInfo(This,ppEnum) \
- (This)->lpVtbl -> EnumInputProcessorInfo(This,ppEnum)
- #define ITfInputProcessorProfilesEx_GetDefaultLanguageProfile(This,langid,catid,pclsid,pguidProfile) \
- (This)->lpVtbl -> GetDefaultLanguageProfile(This,langid,catid,pclsid,pguidProfile)
- #define ITfInputProcessorProfilesEx_SetDefaultLanguageProfile(This,langid,rclsid,guidProfiles) \
- (This)->lpVtbl -> SetDefaultLanguageProfile(This,langid,rclsid,guidProfiles)
- #define ITfInputProcessorProfilesEx_ActivateLanguageProfile(This,rclsid,langid,guidProfiles) \
- (This)->lpVtbl -> ActivateLanguageProfile(This,rclsid,langid,guidProfiles)
- #define ITfInputProcessorProfilesEx_GetActiveLanguageProfile(This,rclsid,plangid,pguidProfile) \
- (This)->lpVtbl -> GetActiveLanguageProfile(This,rclsid,plangid,pguidProfile)
- #define ITfInputProcessorProfilesEx_GetLanguageProfileDescription(This,rclsid,langid,guidProfile,pbstrProfile) \
- (This)->lpVtbl -> GetLanguageProfileDescription(This,rclsid,langid,guidProfile,pbstrProfile)
- #define ITfInputProcessorProfilesEx_GetCurrentLanguage(This,plangid) \
- (This)->lpVtbl -> GetCurrentLanguage(This,plangid)
- #define ITfInputProcessorProfilesEx_ChangeCurrentLanguage(This,langid) \
- (This)->lpVtbl -> ChangeCurrentLanguage(This,langid)
- #define ITfInputProcessorProfilesEx_GetLanguageList(This,ppLangId,pulCount) \
- (This)->lpVtbl -> GetLanguageList(This,ppLangId,pulCount)
- #define ITfInputProcessorProfilesEx_EnumLanguageProfiles(This,langid,ppEnum) \
- (This)->lpVtbl -> EnumLanguageProfiles(This,langid,ppEnum)
- #define ITfInputProcessorProfilesEx_EnableLanguageProfile(This,rclsid,langid,guidProfile,fEnable) \
- (This)->lpVtbl -> EnableLanguageProfile(This,rclsid,langid,guidProfile,fEnable)
- #define ITfInputProcessorProfilesEx_IsEnabledLanguageProfile(This,rclsid,langid,guidProfile,pfEnable) \
- (This)->lpVtbl -> IsEnabledLanguageProfile(This,rclsid,langid,guidProfile,pfEnable)
- #define ITfInputProcessorProfilesEx_EnableLanguageProfileByDefault(This,rclsid,langid,guidProfile,fEnable) \
- (This)->lpVtbl -> EnableLanguageProfileByDefault(This,rclsid,langid,guidProfile,fEnable)
- #define ITfInputProcessorProfilesEx_SubstituteKeyboardLayout(This,rclsid,langid,guidProfile,hKL) \
- (This)->lpVtbl -> SubstituteKeyboardLayout(This,rclsid,langid,guidProfile,hKL)
- #define ITfInputProcessorProfilesEx_SetLanguageProfileDisplayName(This,rclsid,langid,guidProfile,pchFile,cchFile,uResId) \
- (This)->lpVtbl -> SetLanguageProfileDisplayName(This,rclsid,langid,guidProfile,pchFile,cchFile,uResId)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfilesEx_SetLanguageProfileDisplayName_Proxy(
- ITfInputProcessorProfilesEx * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [size_is][in] */ const WCHAR *pchFile,
- /* [in] */ ULONG cchFile,
- /* [in] */ ULONG uResId);
- void __RPC_STUB ITfInputProcessorProfilesEx_SetLanguageProfileDisplayName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfInputProcessorProfilesEx_INTERFACE_DEFINED__ */
- #ifndef __ITfInputProcessorProfileSubstituteLayout_INTERFACE_DEFINED__
- #define __ITfInputProcessorProfileSubstituteLayout_INTERFACE_DEFINED__
- /* interface ITfInputProcessorProfileSubstituteLayout */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfInputProcessorProfileSubstituteLayout;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("4fd67194-1002-4513-bff2-c0ddf6258552")
- ITfInputProcessorProfileSubstituteLayout : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetSubstituteKeyboardLayout(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ HKL *phKL) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfInputProcessorProfileSubstituteLayoutVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfInputProcessorProfileSubstituteLayout * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfInputProcessorProfileSubstituteLayout * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfInputProcessorProfileSubstituteLayout * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetSubstituteKeyboardLayout )(
- ITfInputProcessorProfileSubstituteLayout * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ HKL *phKL);
-
- END_INTERFACE
- } ITfInputProcessorProfileSubstituteLayoutVtbl;
- interface ITfInputProcessorProfileSubstituteLayout
- {
- CONST_VTBL struct ITfInputProcessorProfileSubstituteLayoutVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfInputProcessorProfileSubstituteLayout_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfInputProcessorProfileSubstituteLayout_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfInputProcessorProfileSubstituteLayout_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfInputProcessorProfileSubstituteLayout_GetSubstituteKeyboardLayout(This,rclsid,langid,guidProfile,phKL) \
- (This)->lpVtbl -> GetSubstituteKeyboardLayout(This,rclsid,langid,guidProfile,phKL)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfInputProcessorProfileSubstituteLayout_GetSubstituteKeyboardLayout_Proxy(
- ITfInputProcessorProfileSubstituteLayout * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LANGID langid,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ HKL *phKL);
- void __RPC_STUB ITfInputProcessorProfileSubstituteLayout_GetSubstituteKeyboardLayout_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfInputProcessorProfileSubstituteLayout_INTERFACE_DEFINED__ */
- #ifndef __ITfActiveLanguageProfileNotifySink_INTERFACE_DEFINED__
- #define __ITfActiveLanguageProfileNotifySink_INTERFACE_DEFINED__
- /* interface ITfActiveLanguageProfileNotifySink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfActiveLanguageProfileNotifySink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("b246cb75-a93e-4652-bf8c-b3fe0cfd7e57")
- ITfActiveLanguageProfileNotifySink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnActivated(
- /* [in] */ REFCLSID clsid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ BOOL fActivated) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfActiveLanguageProfileNotifySinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfActiveLanguageProfileNotifySink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfActiveLanguageProfileNotifySink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfActiveLanguageProfileNotifySink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnActivated )(
- ITfActiveLanguageProfileNotifySink * This,
- /* [in] */ REFCLSID clsid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ BOOL fActivated);
-
- END_INTERFACE
- } ITfActiveLanguageProfileNotifySinkVtbl;
- interface ITfActiveLanguageProfileNotifySink
- {
- CONST_VTBL struct ITfActiveLanguageProfileNotifySinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfActiveLanguageProfileNotifySink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfActiveLanguageProfileNotifySink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfActiveLanguageProfileNotifySink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfActiveLanguageProfileNotifySink_OnActivated(This,clsid,guidProfile,fActivated) \
- (This)->lpVtbl -> OnActivated(This,clsid,guidProfile,fActivated)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfActiveLanguageProfileNotifySink_OnActivated_Proxy(
- ITfActiveLanguageProfileNotifySink * This,
- /* [in] */ REFCLSID clsid,
- /* [in] */ REFGUID guidProfile,
- /* [in] */ BOOL fActivated);
- void __RPC_STUB ITfActiveLanguageProfileNotifySink_OnActivated_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfActiveLanguageProfileNotifySink_INTERFACE_DEFINED__ */
- #ifndef __IEnumTfLanguageProfiles_INTERFACE_DEFINED__
- #define __IEnumTfLanguageProfiles_INTERFACE_DEFINED__
- /* interface IEnumTfLanguageProfiles */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfLanguageProfiles;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("3d61bf11-ac5f-42c8-a4cb-931bcc28c744")
- IEnumTfLanguageProfiles : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfLanguageProfiles **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_LANGUAGEPROFILE *pProfile,
- /* [out] */ ULONG *pcFetch) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfLanguageProfilesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfLanguageProfiles * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfLanguageProfiles * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfLanguageProfiles * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfLanguageProfiles * This,
- /* [out] */ IEnumTfLanguageProfiles **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfLanguageProfiles * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_LANGUAGEPROFILE *pProfile,
- /* [out] */ ULONG *pcFetch);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfLanguageProfiles * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfLanguageProfiles * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfLanguageProfilesVtbl;
- interface IEnumTfLanguageProfiles
- {
- CONST_VTBL struct IEnumTfLanguageProfilesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfLanguageProfiles_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfLanguageProfiles_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfLanguageProfiles_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumTfLanguageProfiles_Clone(This,ppEnum) \
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfLanguageProfiles_Next(This,ulCount,pProfile,pcFetch) \
- (This)->lpVtbl -> Next(This,ulCount,pProfile,pcFetch)
- #define IEnumTfLanguageProfiles_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfLanguageProfiles_Skip(This,ulCount) \
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfLanguageProfiles_Clone_Proxy(
- IEnumTfLanguageProfiles * This,
- /* [out] */ IEnumTfLanguageProfiles **ppEnum);
- void __RPC_STUB IEnumTfLanguageProfiles_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfLanguageProfiles_Next_Proxy(
- IEnumTfLanguageProfiles * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ TF_LANGUAGEPROFILE *pProfile,
- /* [out] */ ULONG *pcFetch);
- void __RPC_STUB IEnumTfLanguageProfiles_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfLanguageProfiles_Reset_Proxy(
- IEnumTfLanguageProfiles * This);
- void __RPC_STUB IEnumTfLanguageProfiles_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfLanguageProfiles_Skip_Proxy(
- IEnumTfLanguageProfiles * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumTfLanguageProfiles_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfLanguageProfiles_INTERFACE_DEFINED__ */
- #ifndef __ITfLanguageProfileNotifySink_INTERFACE_DEFINED__
- #define __ITfLanguageProfileNotifySink_INTERFACE_DEFINED__
- /* interface ITfLanguageProfileNotifySink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfLanguageProfileNotifySink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("43c9fe15-f494-4c17-9de2-b8a4ac350aa8")
- ITfLanguageProfileNotifySink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnLanguageChange(
- /* [in] */ LANGID langid,
- /* [out] */ BOOL *pfAccept) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnLanguageChanged( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfLanguageProfileNotifySinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfLanguageProfileNotifySink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfLanguageProfileNotifySink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfLanguageProfileNotifySink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnLanguageChange )(
- ITfLanguageProfileNotifySink * This,
- /* [in] */ LANGID langid,
- /* [out] */ BOOL *pfAccept);
-
- HRESULT ( STDMETHODCALLTYPE *OnLanguageChanged )(
- ITfLanguageProfileNotifySink * This);
-
- END_INTERFACE
- } ITfLanguageProfileNotifySinkVtbl;
- interface ITfLanguageProfileNotifySink
- {
- CONST_VTBL struct ITfLanguageProfileNotifySinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfLanguageProfileNotifySink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfLanguageProfileNotifySink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfLanguageProfileNotifySink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfLanguageProfileNotifySink_OnLanguageChange(This,langid,pfAccept) \
- (This)->lpVtbl -> OnLanguageChange(This,langid,pfAccept)
- #define ITfLanguageProfileNotifySink_OnLanguageChanged(This) \
- (This)->lpVtbl -> OnLanguageChanged(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfLanguageProfileNotifySink_OnLanguageChange_Proxy(
- ITfLanguageProfileNotifySink * This,
- /* [in] */ LANGID langid,
- /* [out] */ BOOL *pfAccept);
- void __RPC_STUB ITfLanguageProfileNotifySink_OnLanguageChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfLanguageProfileNotifySink_OnLanguageChanged_Proxy(
- ITfLanguageProfileNotifySink * This);
- void __RPC_STUB ITfLanguageProfileNotifySink_OnLanguageChanged_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfLanguageProfileNotifySink_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_msctf_0196 */
- /* [local] */
- typedef /* [uuid] */ DECLSPEC_UUID("77c12f95-b783-450d-879f-1cd2362c6521") struct TF_PRESERVEDKEY
- {
- UINT uVKey;
- UINT uModifiers;
- } TF_PRESERVEDKEY;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0196_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0196_v0_0_s_ifspec;
- #ifndef __ITfKeystrokeMgr_INTERFACE_DEFINED__
- #define __ITfKeystrokeMgr_INTERFACE_DEFINED__
- /* interface ITfKeystrokeMgr */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfKeystrokeMgr;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e7f0-2021-11d2-93e0-0060b067b86e")
- ITfKeystrokeMgr : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AdviseKeyEventSink(
- /* [in] */ TfClientId tid,
- /* [in] */ ITfKeyEventSink *pSink,
- /* [in] */ BOOL fForeground) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnadviseKeyEventSink(
- /* [in] */ TfClientId tid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetForeground(
- /* [out] */ CLSID *pclsid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE TestKeyDown(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE TestKeyUp(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE KeyDown(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE KeyUp(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetPreservedKey(
- /* [in] */ ITfContext *pic,
- /* [in] */ const TF_PRESERVEDKEY *pprekey,
- /* [out] */ GUID *pguid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsPreservedKey(
- /* [in] */ REFGUID rguid,
- /* [in] */ const TF_PRESERVEDKEY *pprekey,
- /* [out] */ BOOL *pfRegistered) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE PreserveKey(
- /* [in] */ TfClientId tid,
- /* [in] */ REFGUID rguid,
- /* [in] */ const TF_PRESERVEDKEY *prekey,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cchDesc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnpreserveKey(
- /* [in] */ REFGUID rguid,
- /* [in] */ const TF_PRESERVEDKEY *pprekey) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetPreservedKeyDescription(
- /* [in] */ REFGUID rguid,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cchDesc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetPreservedKeyDescription(
- /* [in] */ REFGUID rguid,
- /* [out] */ BSTR *pbstrDesc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SimulatePreservedKey(
- /* [in] */ ITfContext *pic,
- /* [in] */ REFGUID rguid,
- /* [out] */ BOOL *pfEaten) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfKeystrokeMgrVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfKeystrokeMgr * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfKeystrokeMgr * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfKeystrokeMgr * This);
-
- HRESULT ( STDMETHODCALLTYPE *AdviseKeyEventSink )(
- ITfKeystrokeMgr * This,
- /* [in] */ TfClientId tid,
- /* [in] */ ITfKeyEventSink *pSink,
- /* [in] */ BOOL fForeground);
-
- HRESULT ( STDMETHODCALLTYPE *UnadviseKeyEventSink )(
- ITfKeystrokeMgr * This,
- /* [in] */ TfClientId tid);
-
- HRESULT ( STDMETHODCALLTYPE *GetForeground )(
- ITfKeystrokeMgr * This,
- /* [out] */ CLSID *pclsid);
-
- HRESULT ( STDMETHODCALLTYPE *TestKeyDown )(
- ITfKeystrokeMgr * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *TestKeyUp )(
- ITfKeystrokeMgr * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *KeyDown )(
- ITfKeystrokeMgr * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *KeyUp )(
- ITfKeystrokeMgr * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *GetPreservedKey )(
- ITfKeystrokeMgr * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ const TF_PRESERVEDKEY *pprekey,
- /* [out] */ GUID *pguid);
-
- HRESULT ( STDMETHODCALLTYPE *IsPreservedKey )(
- ITfKeystrokeMgr * This,
- /* [in] */ REFGUID rguid,
- /* [in] */ const TF_PRESERVEDKEY *pprekey,
- /* [out] */ BOOL *pfRegistered);
-
- HRESULT ( STDMETHODCALLTYPE *PreserveKey )(
- ITfKeystrokeMgr * This,
- /* [in] */ TfClientId tid,
- /* [in] */ REFGUID rguid,
- /* [in] */ const TF_PRESERVEDKEY *prekey,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cchDesc);
-
- HRESULT ( STDMETHODCALLTYPE *UnpreserveKey )(
- ITfKeystrokeMgr * This,
- /* [in] */ REFGUID rguid,
- /* [in] */ const TF_PRESERVEDKEY *pprekey);
-
- HRESULT ( STDMETHODCALLTYPE *SetPreservedKeyDescription )(
- ITfKeystrokeMgr * This,
- /* [in] */ REFGUID rguid,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cchDesc);
-
- HRESULT ( STDMETHODCALLTYPE *GetPreservedKeyDescription )(
- ITfKeystrokeMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ BSTR *pbstrDesc);
-
- HRESULT ( STDMETHODCALLTYPE *SimulatePreservedKey )(
- ITfKeystrokeMgr * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ REFGUID rguid,
- /* [out] */ BOOL *pfEaten);
-
- END_INTERFACE
- } ITfKeystrokeMgrVtbl;
- interface ITfKeystrokeMgr
- {
- CONST_VTBL struct ITfKeystrokeMgrVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfKeystrokeMgr_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfKeystrokeMgr_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfKeystrokeMgr_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfKeystrokeMgr_AdviseKeyEventSink(This,tid,pSink,fForeground) \
- (This)->lpVtbl -> AdviseKeyEventSink(This,tid,pSink,fForeground)
- #define ITfKeystrokeMgr_UnadviseKeyEventSink(This,tid) \
- (This)->lpVtbl -> UnadviseKeyEventSink(This,tid)
- #define ITfKeystrokeMgr_GetForeground(This,pclsid) \
- (This)->lpVtbl -> GetForeground(This,pclsid)
- #define ITfKeystrokeMgr_TestKeyDown(This,wParam,lParam,pfEaten) \
- (This)->lpVtbl -> TestKeyDown(This,wParam,lParam,pfEaten)
- #define ITfKeystrokeMgr_TestKeyUp(This,wParam,lParam,pfEaten) \
- (This)->lpVtbl -> TestKeyUp(This,wParam,lParam,pfEaten)
- #define ITfKeystrokeMgr_KeyDown(This,wParam,lParam,pfEaten) \
- (This)->lpVtbl -> KeyDown(This,wParam,lParam,pfEaten)
- #define ITfKeystrokeMgr_KeyUp(This,wParam,lParam,pfEaten) \
- (This)->lpVtbl -> KeyUp(This,wParam,lParam,pfEaten)
- #define ITfKeystrokeMgr_GetPreservedKey(This,pic,pprekey,pguid) \
- (This)->lpVtbl -> GetPreservedKey(This,pic,pprekey,pguid)
- #define ITfKeystrokeMgr_IsPreservedKey(This,rguid,pprekey,pfRegistered) \
- (This)->lpVtbl -> IsPreservedKey(This,rguid,pprekey,pfRegistered)
- #define ITfKeystrokeMgr_PreserveKey(This,tid,rguid,prekey,pchDesc,cchDesc) \
- (This)->lpVtbl -> PreserveKey(This,tid,rguid,prekey,pchDesc,cchDesc)
- #define ITfKeystrokeMgr_UnpreserveKey(This,rguid,pprekey) \
- (This)->lpVtbl -> UnpreserveKey(This,rguid,pprekey)
- #define ITfKeystrokeMgr_SetPreservedKeyDescription(This,rguid,pchDesc,cchDesc) \
- (This)->lpVtbl -> SetPreservedKeyDescription(This,rguid,pchDesc,cchDesc)
- #define ITfKeystrokeMgr_GetPreservedKeyDescription(This,rguid,pbstrDesc) \
- (This)->lpVtbl -> GetPreservedKeyDescription(This,rguid,pbstrDesc)
- #define ITfKeystrokeMgr_SimulatePreservedKey(This,pic,rguid,pfEaten) \
- (This)->lpVtbl -> SimulatePreservedKey(This,pic,rguid,pfEaten)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_AdviseKeyEventSink_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ TfClientId tid,
- /* [in] */ ITfKeyEventSink *pSink,
- /* [in] */ BOOL fForeground);
- void __RPC_STUB ITfKeystrokeMgr_AdviseKeyEventSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_UnadviseKeyEventSink_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ TfClientId tid);
- void __RPC_STUB ITfKeystrokeMgr_UnadviseKeyEventSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_GetForeground_Proxy(
- ITfKeystrokeMgr * This,
- /* [out] */ CLSID *pclsid);
- void __RPC_STUB ITfKeystrokeMgr_GetForeground_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_TestKeyDown_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfKeystrokeMgr_TestKeyDown_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_TestKeyUp_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfKeystrokeMgr_TestKeyUp_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_KeyDown_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfKeystrokeMgr_KeyDown_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_KeyUp_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfKeystrokeMgr_KeyUp_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_GetPreservedKey_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ const TF_PRESERVEDKEY *pprekey,
- /* [out] */ GUID *pguid);
- void __RPC_STUB ITfKeystrokeMgr_GetPreservedKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_IsPreservedKey_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ REFGUID rguid,
- /* [in] */ const TF_PRESERVEDKEY *pprekey,
- /* [out] */ BOOL *pfRegistered);
- void __RPC_STUB ITfKeystrokeMgr_IsPreservedKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_PreserveKey_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ TfClientId tid,
- /* [in] */ REFGUID rguid,
- /* [in] */ const TF_PRESERVEDKEY *prekey,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cchDesc);
- void __RPC_STUB ITfKeystrokeMgr_PreserveKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_UnpreserveKey_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ REFGUID rguid,
- /* [in] */ const TF_PRESERVEDKEY *pprekey);
- void __RPC_STUB ITfKeystrokeMgr_UnpreserveKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_SetPreservedKeyDescription_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ REFGUID rguid,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cchDesc);
- void __RPC_STUB ITfKeystrokeMgr_SetPreservedKeyDescription_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_GetPreservedKeyDescription_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ BSTR *pbstrDesc);
- void __RPC_STUB ITfKeystrokeMgr_GetPreservedKeyDescription_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeystrokeMgr_SimulatePreservedKey_Proxy(
- ITfKeystrokeMgr * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ REFGUID rguid,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfKeystrokeMgr_SimulatePreservedKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfKeystrokeMgr_INTERFACE_DEFINED__ */
- #ifndef __ITfKeyEventSink_INTERFACE_DEFINED__
- #define __ITfKeyEventSink_INTERFACE_DEFINED__
- /* interface ITfKeyEventSink */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfKeyEventSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e7f5-2021-11d2-93e0-0060b067b86e")
- ITfKeyEventSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnSetFocus(
- /* [in] */ BOOL fForeground) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnTestKeyDown(
- /* [in] */ ITfContext *pic,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnTestKeyUp(
- /* [in] */ ITfContext *pic,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnKeyDown(
- /* [in] */ ITfContext *pic,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnKeyUp(
- /* [in] */ ITfContext *pic,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnPreservedKey(
- /* [in] */ ITfContext *pic,
- /* [in] */ REFGUID rguid,
- /* [out] */ BOOL *pfEaten) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfKeyEventSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfKeyEventSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfKeyEventSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfKeyEventSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnSetFocus )(
- ITfKeyEventSink * This,
- /* [in] */ BOOL fForeground);
-
- HRESULT ( STDMETHODCALLTYPE *OnTestKeyDown )(
- ITfKeyEventSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *OnTestKeyUp )(
- ITfKeyEventSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *OnKeyDown )(
- ITfKeyEventSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *OnKeyUp )(
- ITfKeyEventSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
-
- HRESULT ( STDMETHODCALLTYPE *OnPreservedKey )(
- ITfKeyEventSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ REFGUID rguid,
- /* [out] */ BOOL *pfEaten);
-
- END_INTERFACE
- } ITfKeyEventSinkVtbl;
- interface ITfKeyEventSink
- {
- CONST_VTBL struct ITfKeyEventSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfKeyEventSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfKeyEventSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfKeyEventSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfKeyEventSink_OnSetFocus(This,fForeground) \
- (This)->lpVtbl -> OnSetFocus(This,fForeground)
- #define ITfKeyEventSink_OnTestKeyDown(This,pic,wParam,lParam,pfEaten) \
- (This)->lpVtbl -> OnTestKeyDown(This,pic,wParam,lParam,pfEaten)
- #define ITfKeyEventSink_OnTestKeyUp(This,pic,wParam,lParam,pfEaten) \
- (This)->lpVtbl -> OnTestKeyUp(This,pic,wParam,lParam,pfEaten)
- #define ITfKeyEventSink_OnKeyDown(This,pic,wParam,lParam,pfEaten) \
- (This)->lpVtbl -> OnKeyDown(This,pic,wParam,lParam,pfEaten)
- #define ITfKeyEventSink_OnKeyUp(This,pic,wParam,lParam,pfEaten) \
- (This)->lpVtbl -> OnKeyUp(This,pic,wParam,lParam,pfEaten)
- #define ITfKeyEventSink_OnPreservedKey(This,pic,rguid,pfEaten) \
- (This)->lpVtbl -> OnPreservedKey(This,pic,rguid,pfEaten)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfKeyEventSink_OnSetFocus_Proxy(
- ITfKeyEventSink * This,
- /* [in] */ BOOL fForeground);
- void __RPC_STUB ITfKeyEventSink_OnSetFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeyEventSink_OnTestKeyDown_Proxy(
- ITfKeyEventSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfKeyEventSink_OnTestKeyDown_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeyEventSink_OnTestKeyUp_Proxy(
- ITfKeyEventSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfKeyEventSink_OnTestKeyUp_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeyEventSink_OnKeyDown_Proxy(
- ITfKeyEventSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfKeyEventSink_OnKeyDown_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeyEventSink_OnKeyUp_Proxy(
- ITfKeyEventSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfKeyEventSink_OnKeyUp_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeyEventSink_OnPreservedKey_Proxy(
- ITfKeyEventSink * This,
- /* [in] */ ITfContext *pic,
- /* [in] */ REFGUID rguid,
- /* [out] */ BOOL *pfEaten);
- void __RPC_STUB ITfKeyEventSink_OnPreservedKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfKeyEventSink_INTERFACE_DEFINED__ */
- #ifndef __ITfKeyTraceEventSink_INTERFACE_DEFINED__
- #define __ITfKeyTraceEventSink_INTERFACE_DEFINED__
- /* interface ITfKeyTraceEventSink */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfKeyTraceEventSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("1cd4c13b-1c36-4191-a70a-7f3e611f367d")
- ITfKeyTraceEventSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnKeyTraceDown(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnKeyTraceUp(
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfKeyTraceEventSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfKeyTraceEventSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfKeyTraceEventSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfKeyTraceEventSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnKeyTraceDown )(
- ITfKeyTraceEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam);
-
- HRESULT ( STDMETHODCALLTYPE *OnKeyTraceUp )(
- ITfKeyTraceEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam);
-
- END_INTERFACE
- } ITfKeyTraceEventSinkVtbl;
- interface ITfKeyTraceEventSink
- {
- CONST_VTBL struct ITfKeyTraceEventSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfKeyTraceEventSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfKeyTraceEventSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfKeyTraceEventSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfKeyTraceEventSink_OnKeyTraceDown(This,wParam,lParam) \
- (This)->lpVtbl -> OnKeyTraceDown(This,wParam,lParam)
- #define ITfKeyTraceEventSink_OnKeyTraceUp(This,wParam,lParam) \
- (This)->lpVtbl -> OnKeyTraceUp(This,wParam,lParam)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfKeyTraceEventSink_OnKeyTraceDown_Proxy(
- ITfKeyTraceEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam);
- void __RPC_STUB ITfKeyTraceEventSink_OnKeyTraceDown_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfKeyTraceEventSink_OnKeyTraceUp_Proxy(
- ITfKeyTraceEventSink * This,
- /* [in] */ WPARAM wParam,
- /* [in] */ LPARAM lParam);
- void __RPC_STUB ITfKeyTraceEventSink_OnKeyTraceUp_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfKeyTraceEventSink_INTERFACE_DEFINED__ */
- #ifndef __ITfPreservedKeyNotifySink_INTERFACE_DEFINED__
- #define __ITfPreservedKeyNotifySink_INTERFACE_DEFINED__
- /* interface ITfPreservedKeyNotifySink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfPreservedKeyNotifySink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6f77c993-d2b1-446e-853e-5912efc8a286")
- ITfPreservedKeyNotifySink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnUpdated(
- /* [in] */ const TF_PRESERVEDKEY *pprekey) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfPreservedKeyNotifySinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfPreservedKeyNotifySink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfPreservedKeyNotifySink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfPreservedKeyNotifySink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnUpdated )(
- ITfPreservedKeyNotifySink * This,
- /* [in] */ const TF_PRESERVEDKEY *pprekey);
-
- END_INTERFACE
- } ITfPreservedKeyNotifySinkVtbl;
- interface ITfPreservedKeyNotifySink
- {
- CONST_VTBL struct ITfPreservedKeyNotifySinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfPreservedKeyNotifySink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfPreservedKeyNotifySink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfPreservedKeyNotifySink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfPreservedKeyNotifySink_OnUpdated(This,pprekey) \
- (This)->lpVtbl -> OnUpdated(This,pprekey)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfPreservedKeyNotifySink_OnUpdated_Proxy(
- ITfPreservedKeyNotifySink * This,
- /* [in] */ const TF_PRESERVEDKEY *pprekey);
- void __RPC_STUB ITfPreservedKeyNotifySink_OnUpdated_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfPreservedKeyNotifySink_INTERFACE_DEFINED__ */
- #ifndef __ITfMessagePump_INTERFACE_DEFINED__
- #define __ITfMessagePump_INTERFACE_DEFINED__
- /* interface ITfMessagePump */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfMessagePump;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8f1b8ad8-0b6b-4874-90c5-bd76011e8f7c")
- ITfMessagePump : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE PeekMessageA(
- /* [out] */ LPMSG pMsg,
- /* [in] */ HWND hwnd,
- /* [in] */ UINT wMsgFilterMin,
- /* [in] */ UINT wMsgFilterMax,
- /* [in] */ UINT wRemoveMsg,
- /* [out] */ BOOL *pfResult) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetMessageA(
- /* [out] */ LPMSG pMsg,
- /* [in] */ HWND hwnd,
- /* [in] */ UINT wMsgFilterMin,
- /* [in] */ UINT wMsgFilterMax,
- /* [out] */ BOOL *pfResult) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE PeekMessageW(
- /* [out] */ LPMSG pMsg,
- /* [in] */ HWND hwnd,
- /* [in] */ UINT wMsgFilterMin,
- /* [in] */ UINT wMsgFilterMax,
- /* [in] */ UINT wRemoveMsg,
- /* [out] */ BOOL *pfResult) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetMessageW(
- /* [out] */ LPMSG pMsg,
- /* [in] */ HWND hwnd,
- /* [in] */ UINT wMsgFilterMin,
- /* [in] */ UINT wMsgFilterMax,
- /* [out] */ BOOL *pfResult) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfMessagePumpVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfMessagePump * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfMessagePump * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfMessagePump * This);
-
- HRESULT ( STDMETHODCALLTYPE *PeekMessageA )(
- ITfMessagePump * This,
- /* [out] */ LPMSG pMsg,
- /* [in] */ HWND hwnd,
- /* [in] */ UINT wMsgFilterMin,
- /* [in] */ UINT wMsgFilterMax,
- /* [in] */ UINT wRemoveMsg,
- /* [out] */ BOOL *pfResult);
-
- HRESULT ( STDMETHODCALLTYPE *GetMessageA )(
- ITfMessagePump * This,
- /* [out] */ LPMSG pMsg,
- /* [in] */ HWND hwnd,
- /* [in] */ UINT wMsgFilterMin,
- /* [in] */ UINT wMsgFilterMax,
- /* [out] */ BOOL *pfResult);
-
- HRESULT ( STDMETHODCALLTYPE *PeekMessageW )(
- ITfMessagePump * This,
- /* [out] */ LPMSG pMsg,
- /* [in] */ HWND hwnd,
- /* [in] */ UINT wMsgFilterMin,
- /* [in] */ UINT wMsgFilterMax,
- /* [in] */ UINT wRemoveMsg,
- /* [out] */ BOOL *pfResult);
-
- HRESULT ( STDMETHODCALLTYPE *GetMessageW )(
- ITfMessagePump * This,
- /* [out] */ LPMSG pMsg,
- /* [in] */ HWND hwnd,
- /* [in] */ UINT wMsgFilterMin,
- /* [in] */ UINT wMsgFilterMax,
- /* [out] */ BOOL *pfResult);
-
- END_INTERFACE
- } ITfMessagePumpVtbl;
- interface ITfMessagePump
- {
- CONST_VTBL struct ITfMessagePumpVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfMessagePump_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfMessagePump_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfMessagePump_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfMessagePump_PeekMessageA(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,wRemoveMsg,pfResult) \
- (This)->lpVtbl -> PeekMessageA(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,wRemoveMsg,pfResult)
- #define ITfMessagePump_GetMessageA(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,pfResult) \
- (This)->lpVtbl -> GetMessageA(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,pfResult)
- #define ITfMessagePump_PeekMessageW(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,wRemoveMsg,pfResult) \
- (This)->lpVtbl -> PeekMessageW(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,wRemoveMsg,pfResult)
- #define ITfMessagePump_GetMessageW(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,pfResult) \
- (This)->lpVtbl -> GetMessageW(This,pMsg,hwnd,wMsgFilterMin,wMsgFilterMax,pfResult)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfMessagePump_PeekMessageA_Proxy(
- ITfMessagePump * This,
- /* [out] */ LPMSG pMsg,
- /* [in] */ HWND hwnd,
- /* [in] */ UINT wMsgFilterMin,
- /* [in] */ UINT wMsgFilterMax,
- /* [in] */ UINT wRemoveMsg,
- /* [out] */ BOOL *pfResult);
- void __RPC_STUB ITfMessagePump_PeekMessageA_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfMessagePump_GetMessageA_Proxy(
- ITfMessagePump * This,
- /* [out] */ LPMSG pMsg,
- /* [in] */ HWND hwnd,
- /* [in] */ UINT wMsgFilterMin,
- /* [in] */ UINT wMsgFilterMax,
- /* [out] */ BOOL *pfResult);
- void __RPC_STUB ITfMessagePump_GetMessageA_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfMessagePump_PeekMessageW_Proxy(
- ITfMessagePump * This,
- /* [out] */ LPMSG pMsg,
- /* [in] */ HWND hwnd,
- /* [in] */ UINT wMsgFilterMin,
- /* [in] */ UINT wMsgFilterMax,
- /* [in] */ UINT wRemoveMsg,
- /* [out] */ BOOL *pfResult);
- void __RPC_STUB ITfMessagePump_PeekMessageW_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfMessagePump_GetMessageW_Proxy(
- ITfMessagePump * This,
- /* [out] */ LPMSG pMsg,
- /* [in] */ HWND hwnd,
- /* [in] */ UINT wMsgFilterMin,
- /* [in] */ UINT wMsgFilterMax,
- /* [out] */ BOOL *pfResult);
- void __RPC_STUB ITfMessagePump_GetMessageW_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfMessagePump_INTERFACE_DEFINED__ */
- #ifndef __ITfThreadFocusSink_INTERFACE_DEFINED__
- #define __ITfThreadFocusSink_INTERFACE_DEFINED__
- /* interface ITfThreadFocusSink */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfThreadFocusSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("c0f1db0c-3a20-405c-a303-96b6010a885f")
- ITfThreadFocusSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnSetThreadFocus( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnKillThreadFocus( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfThreadFocusSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfThreadFocusSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfThreadFocusSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfThreadFocusSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnSetThreadFocus )(
- ITfThreadFocusSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnKillThreadFocus )(
- ITfThreadFocusSink * This);
-
- END_INTERFACE
- } ITfThreadFocusSinkVtbl;
- interface ITfThreadFocusSink
- {
- CONST_VTBL struct ITfThreadFocusSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfThreadFocusSink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfThreadFocusSink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfThreadFocusSink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfThreadFocusSink_OnSetThreadFocus(This) \
- (This)->lpVtbl -> OnSetThreadFocus(This)
- #define ITfThreadFocusSink_OnKillThreadFocus(This) \
- (This)->lpVtbl -> OnKillThreadFocus(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfThreadFocusSink_OnSetThreadFocus_Proxy(
- ITfThreadFocusSink * This);
- void __RPC_STUB ITfThreadFocusSink_OnSetThreadFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfThreadFocusSink_OnKillThreadFocus_Proxy(
- ITfThreadFocusSink * This);
- void __RPC_STUB ITfThreadFocusSink_OnKillThreadFocus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfThreadFocusSink_INTERFACE_DEFINED__ */
- #ifndef __ITfTextInputProcessor_INTERFACE_DEFINED__
- #define __ITfTextInputProcessor_INTERFACE_DEFINED__
- /* interface ITfTextInputProcessor */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfTextInputProcessor;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("aa80e7f7-2021-11d2-93e0-0060b067b86e")
- ITfTextInputProcessor : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Activate(
- /* [in] */ ITfThreadMgr *ptim,
- /* [in] */ TfClientId tid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Deactivate( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfTextInputProcessorVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfTextInputProcessor * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfTextInputProcessor * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfTextInputProcessor * This);
-
- HRESULT ( STDMETHODCALLTYPE *Activate )(
- ITfTextInputProcessor * This,
- /* [in] */ ITfThreadMgr *ptim,
- /* [in] */ TfClientId tid);
-
- HRESULT ( STDMETHODCALLTYPE *Deactivate )(
- ITfTextInputProcessor * This);
-
- END_INTERFACE
- } ITfTextInputProcessorVtbl;
- interface ITfTextInputProcessor
- {
- CONST_VTBL struct ITfTextInputProcessorVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfTextInputProcessor_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfTextInputProcessor_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfTextInputProcessor_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfTextInputProcessor_Activate(This,ptim,tid) \
- (This)->lpVtbl -> Activate(This,ptim,tid)
- #define ITfTextInputProcessor_Deactivate(This) \
- (This)->lpVtbl -> Deactivate(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfTextInputProcessor_Activate_Proxy(
- ITfTextInputProcessor * This,
- /* [in] */ ITfThreadMgr *ptim,
- /* [in] */ TfClientId tid);
- void __RPC_STUB ITfTextInputProcessor_Activate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfTextInputProcessor_Deactivate_Proxy(
- ITfTextInputProcessor * This);
- void __RPC_STUB ITfTextInputProcessor_Deactivate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfTextInputProcessor_INTERFACE_DEFINED__ */
- #ifndef __ITfClientId_INTERFACE_DEFINED__
- #define __ITfClientId_INTERFACE_DEFINED__
- /* interface ITfClientId */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfClientId;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("d60a7b49-1b9f-4be2-b702-47e9dc05dec3")
- ITfClientId : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetClientId(
- /* [in] */ REFCLSID rclsid,
- /* [out] */ TfClientId *ptid) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfClientIdVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfClientId * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfClientId * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfClientId * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetClientId )(
- ITfClientId * This,
- /* [in] */ REFCLSID rclsid,
- /* [out] */ TfClientId *ptid);
-
- END_INTERFACE
- } ITfClientIdVtbl;
- interface ITfClientId
- {
- CONST_VTBL struct ITfClientIdVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfClientId_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfClientId_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfClientId_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfClientId_GetClientId(This,rclsid,ptid) \
- (This)->lpVtbl -> GetClientId(This,rclsid,ptid)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfClientId_GetClientId_Proxy(
- ITfClientId * This,
- /* [in] */ REFCLSID rclsid,
- /* [out] */ TfClientId *ptid);
- void __RPC_STUB ITfClientId_GetClientId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfClientId_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_msctf_0204 */
- /* [local] */
- typedef /* [public][public][public][public][uuid] */ DECLSPEC_UUID("c4cc07f1-80cc-4a7b-bc54-98512782cbe3")
- enum __MIDL___MIDL_itf_msctf_0204_0001
- { TF_LS_NONE = 0,
- TF_LS_SOLID = 1,
- TF_LS_DOT = 2,
- TF_LS_DASH = 3,
- TF_LS_SQUIGGLE = 4
- } TF_DA_LINESTYLE;
- typedef /* [public][public][public][public][public][public][public][public][public][public][public][uuid] */ DECLSPEC_UUID("d9b92e21-084a-401b-9c64-1e6dad91a1ab")
- enum __MIDL___MIDL_itf_msctf_0204_0002
- { TF_CT_NONE = 0,
- TF_CT_SYSCOLOR = 1,
- TF_CT_COLORREF = 2
- } TF_DA_COLORTYPE;
- typedef /* [uuid] */ DECLSPEC_UUID("90d0cb5e-6520-4a0f-b47c-c39bd955f0d6") struct TF_DA_COLOR
- {
- TF_DA_COLORTYPE type;
- /* [switch_is][switch_type] */ union
- {
- /* [case()] */ int nIndex;
- /* [case()] */ COLORREF cr;
- } ;
- } TF_DA_COLOR;
- typedef /* [public][public][public][public][uuid] */ DECLSPEC_UUID("33d2fe4b-6c24-4f67-8d75-3bc1819e4126")
- enum __MIDL___MIDL_itf_msctf_0204_0004
- { TF_ATTR_INPUT = 0,
- TF_ATTR_TARGET_CONVERTED = 1,
- TF_ATTR_CONVERTED = 2,
- TF_ATTR_TARGET_NOTCONVERTED = 3,
- TF_ATTR_INPUT_ERROR = 4,
- TF_ATTR_FIXEDCONVERTED = 5,
- TF_ATTR_OTHER = -1
- } TF_DA_ATTR_INFO;
- typedef /* [uuid] */ DECLSPEC_UUID("1bf1c305-419b-4182-a4d2-9bfadc3f021f") struct TF_DISPLAYATTRIBUTE
- {
- TF_DA_COLOR crText;
- TF_DA_COLOR crBk;
- TF_DA_LINESTYLE lsStyle;
- BOOL fBoldLine;
- TF_DA_COLOR crLine;
- TF_DA_ATTR_INFO bAttr;
- } TF_DISPLAYATTRIBUTE;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0204_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0204_v0_0_s_ifspec;
- #ifndef __ITfDisplayAttributeInfo_INTERFACE_DEFINED__
- #define __ITfDisplayAttributeInfo_INTERFACE_DEFINED__
- /* interface ITfDisplayAttributeInfo */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfDisplayAttributeInfo;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("70528852-2f26-4aea-8c96-215150578932")
- ITfDisplayAttributeInfo : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetGUID(
- /* [out] */ GUID *pguid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDescription(
- /* [out] */ BSTR *pbstrDesc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetAttributeInfo(
- /* [out] */ TF_DISPLAYATTRIBUTE *pda) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetAttributeInfo(
- /* [in] */ const TF_DISPLAYATTRIBUTE *pda) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfDisplayAttributeInfoVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfDisplayAttributeInfo * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfDisplayAttributeInfo * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfDisplayAttributeInfo * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetGUID )(
- ITfDisplayAttributeInfo * This,
- /* [out] */ GUID *pguid);
-
- HRESULT ( STDMETHODCALLTYPE *GetDescription )(
- ITfDisplayAttributeInfo * This,
- /* [out] */ BSTR *pbstrDesc);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeInfo )(
- ITfDisplayAttributeInfo * This,
- /* [out] */ TF_DISPLAYATTRIBUTE *pda);
-
- HRESULT ( STDMETHODCALLTYPE *SetAttributeInfo )(
- ITfDisplayAttributeInfo * This,
- /* [in] */ const TF_DISPLAYATTRIBUTE *pda);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- ITfDisplayAttributeInfo * This);
-
- END_INTERFACE
- } ITfDisplayAttributeInfoVtbl;
- interface ITfDisplayAttributeInfo
- {
- CONST_VTBL struct ITfDisplayAttributeInfoVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfDisplayAttributeInfo_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfDisplayAttributeInfo_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfDisplayAttributeInfo_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfDisplayAttributeInfo_GetGUID(This,pguid) \
- (This)->lpVtbl -> GetGUID(This,pguid)
- #define ITfDisplayAttributeInfo_GetDescription(This,pbstrDesc) \
- (This)->lpVtbl -> GetDescription(This,pbstrDesc)
- #define ITfDisplayAttributeInfo_GetAttributeInfo(This,pda) \
- (This)->lpVtbl -> GetAttributeInfo(This,pda)
- #define ITfDisplayAttributeInfo_SetAttributeInfo(This,pda) \
- (This)->lpVtbl -> SetAttributeInfo(This,pda)
- #define ITfDisplayAttributeInfo_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfDisplayAttributeInfo_GetGUID_Proxy(
- ITfDisplayAttributeInfo * This,
- /* [out] */ GUID *pguid);
- void __RPC_STUB ITfDisplayAttributeInfo_GetGUID_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDisplayAttributeInfo_GetDescription_Proxy(
- ITfDisplayAttributeInfo * This,
- /* [out] */ BSTR *pbstrDesc);
- void __RPC_STUB ITfDisplayAttributeInfo_GetDescription_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDisplayAttributeInfo_GetAttributeInfo_Proxy(
- ITfDisplayAttributeInfo * This,
- /* [out] */ TF_DISPLAYATTRIBUTE *pda);
- void __RPC_STUB ITfDisplayAttributeInfo_GetAttributeInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDisplayAttributeInfo_SetAttributeInfo_Proxy(
- ITfDisplayAttributeInfo * This,
- /* [in] */ const TF_DISPLAYATTRIBUTE *pda);
- void __RPC_STUB ITfDisplayAttributeInfo_SetAttributeInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDisplayAttributeInfo_Reset_Proxy(
- ITfDisplayAttributeInfo * This);
- void __RPC_STUB ITfDisplayAttributeInfo_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfDisplayAttributeInfo_INTERFACE_DEFINED__ */
- #ifndef __IEnumTfDisplayAttributeInfo_INTERFACE_DEFINED__
- #define __IEnumTfDisplayAttributeInfo_INTERFACE_DEFINED__
- /* interface IEnumTfDisplayAttributeInfo */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumTfDisplayAttributeInfo;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("7cef04d7-cb75-4e80-a7ab-5f5bc7d332de")
- IEnumTfDisplayAttributeInfo : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumTfDisplayAttributeInfo **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfDisplayAttributeInfo **rgInfo,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG ulCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumTfDisplayAttributeInfoVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumTfDisplayAttributeInfo * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumTfDisplayAttributeInfo * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumTfDisplayAttributeInfo * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumTfDisplayAttributeInfo * This,
- /* [out] */ IEnumTfDisplayAttributeInfo **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumTfDisplayAttributeInfo * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfDisplayAttributeInfo **rgInfo,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumTfDisplayAttributeInfo * This);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumTfDisplayAttributeInfo * This,
- /* [in] */ ULONG ulCount);
-
- END_INTERFACE
- } IEnumTfDisplayAttributeInfoVtbl;
- interface IEnumTfDisplayAttributeInfo
- {
- CONST_VTBL struct IEnumTfDisplayAttributeInfoVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumTfDisplayAttributeInfo_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumTfDisplayAttributeInfo_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumTfDisplayAttributeInfo_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumTfDisplayAttributeInfo_Clone(This,ppEnum) \
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumTfDisplayAttributeInfo_Next(This,ulCount,rgInfo,pcFetched) \
- (This)->lpVtbl -> Next(This,ulCount,rgInfo,pcFetched)
- #define IEnumTfDisplayAttributeInfo_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumTfDisplayAttributeInfo_Skip(This,ulCount) \
- (This)->lpVtbl -> Skip(This,ulCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumTfDisplayAttributeInfo_Clone_Proxy(
- IEnumTfDisplayAttributeInfo * This,
- /* [out] */ IEnumTfDisplayAttributeInfo **ppEnum);
- void __RPC_STUB IEnumTfDisplayAttributeInfo_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfDisplayAttributeInfo_Next_Proxy(
- IEnumTfDisplayAttributeInfo * This,
- /* [in] */ ULONG ulCount,
- /* [length_is][size_is][out] */ ITfDisplayAttributeInfo **rgInfo,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumTfDisplayAttributeInfo_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfDisplayAttributeInfo_Reset_Proxy(
- IEnumTfDisplayAttributeInfo * This);
- void __RPC_STUB IEnumTfDisplayAttributeInfo_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumTfDisplayAttributeInfo_Skip_Proxy(
- IEnumTfDisplayAttributeInfo * This,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB IEnumTfDisplayAttributeInfo_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumTfDisplayAttributeInfo_INTERFACE_DEFINED__ */
- #ifndef __ITfDisplayAttributeProvider_INTERFACE_DEFINED__
- #define __ITfDisplayAttributeProvider_INTERFACE_DEFINED__
- /* interface ITfDisplayAttributeProvider */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfDisplayAttributeProvider;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("fee47777-163c-4769-996a-6e9c50ad8f54")
- ITfDisplayAttributeProvider : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE EnumDisplayAttributeInfo(
- /* [out] */ IEnumTfDisplayAttributeInfo **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDisplayAttributeInfo(
- /* [in] */ REFGUID guid,
- /* [out] */ ITfDisplayAttributeInfo **ppInfo) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfDisplayAttributeProviderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfDisplayAttributeProvider * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfDisplayAttributeProvider * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfDisplayAttributeProvider * This);
-
- HRESULT ( STDMETHODCALLTYPE *EnumDisplayAttributeInfo )(
- ITfDisplayAttributeProvider * This,
- /* [out] */ IEnumTfDisplayAttributeInfo **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *GetDisplayAttributeInfo )(
- ITfDisplayAttributeProvider * This,
- /* [in] */ REFGUID guid,
- /* [out] */ ITfDisplayAttributeInfo **ppInfo);
-
- END_INTERFACE
- } ITfDisplayAttributeProviderVtbl;
- interface ITfDisplayAttributeProvider
- {
- CONST_VTBL struct ITfDisplayAttributeProviderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfDisplayAttributeProvider_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfDisplayAttributeProvider_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfDisplayAttributeProvider_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfDisplayAttributeProvider_EnumDisplayAttributeInfo(This,ppEnum) \
- (This)->lpVtbl -> EnumDisplayAttributeInfo(This,ppEnum)
- #define ITfDisplayAttributeProvider_GetDisplayAttributeInfo(This,guid,ppInfo) \
- (This)->lpVtbl -> GetDisplayAttributeInfo(This,guid,ppInfo)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfDisplayAttributeProvider_EnumDisplayAttributeInfo_Proxy(
- ITfDisplayAttributeProvider * This,
- /* [out] */ IEnumTfDisplayAttributeInfo **ppEnum);
- void __RPC_STUB ITfDisplayAttributeProvider_EnumDisplayAttributeInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDisplayAttributeProvider_GetDisplayAttributeInfo_Proxy(
- ITfDisplayAttributeProvider * This,
- /* [in] */ REFGUID guid,
- /* [out] */ ITfDisplayAttributeInfo **ppInfo);
- void __RPC_STUB ITfDisplayAttributeProvider_GetDisplayAttributeInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfDisplayAttributeProvider_INTERFACE_DEFINED__ */
- #ifndef __ITfDisplayAttributeMgr_INTERFACE_DEFINED__
- #define __ITfDisplayAttributeMgr_INTERFACE_DEFINED__
- /* interface ITfDisplayAttributeMgr */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfDisplayAttributeMgr;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8ded7393-5db1-475c-9e71-a39111b0ff67")
- ITfDisplayAttributeMgr : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnUpdateInfo( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumDisplayAttributeInfo(
- /* [out] */ IEnumTfDisplayAttributeInfo **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDisplayAttributeInfo(
- /* [in] */ REFGUID guid,
- /* [out] */ ITfDisplayAttributeInfo **ppInfo,
- /* [out] */ CLSID *pclsidOwner) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfDisplayAttributeMgrVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfDisplayAttributeMgr * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfDisplayAttributeMgr * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfDisplayAttributeMgr * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnUpdateInfo )(
- ITfDisplayAttributeMgr * This);
-
- HRESULT ( STDMETHODCALLTYPE *EnumDisplayAttributeInfo )(
- ITfDisplayAttributeMgr * This,
- /* [out] */ IEnumTfDisplayAttributeInfo **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *GetDisplayAttributeInfo )(
- ITfDisplayAttributeMgr * This,
- /* [in] */ REFGUID guid,
- /* [out] */ ITfDisplayAttributeInfo **ppInfo,
- /* [out] */ CLSID *pclsidOwner);
-
- END_INTERFACE
- } ITfDisplayAttributeMgrVtbl;
- interface ITfDisplayAttributeMgr
- {
- CONST_VTBL struct ITfDisplayAttributeMgrVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfDisplayAttributeMgr_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfDisplayAttributeMgr_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfDisplayAttributeMgr_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfDisplayAttributeMgr_OnUpdateInfo(This) \
- (This)->lpVtbl -> OnUpdateInfo(This)
- #define ITfDisplayAttributeMgr_EnumDisplayAttributeInfo(This,ppEnum) \
- (This)->lpVtbl -> EnumDisplayAttributeInfo(This,ppEnum)
- #define ITfDisplayAttributeMgr_GetDisplayAttributeInfo(This,guid,ppInfo,pclsidOwner) \
- (This)->lpVtbl -> GetDisplayAttributeInfo(This,guid,ppInfo,pclsidOwner)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfDisplayAttributeMgr_OnUpdateInfo_Proxy(
- ITfDisplayAttributeMgr * This);
- void __RPC_STUB ITfDisplayAttributeMgr_OnUpdateInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDisplayAttributeMgr_EnumDisplayAttributeInfo_Proxy(
- ITfDisplayAttributeMgr * This,
- /* [out] */ IEnumTfDisplayAttributeInfo **ppEnum);
- void __RPC_STUB ITfDisplayAttributeMgr_EnumDisplayAttributeInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfDisplayAttributeMgr_GetDisplayAttributeInfo_Proxy(
- ITfDisplayAttributeMgr * This,
- /* [in] */ REFGUID guid,
- /* [out] */ ITfDisplayAttributeInfo **ppInfo,
- /* [out] */ CLSID *pclsidOwner);
- void __RPC_STUB ITfDisplayAttributeMgr_GetDisplayAttributeInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfDisplayAttributeMgr_INTERFACE_DEFINED__ */
- #ifndef __ITfDisplayAttributeNotifySink_INTERFACE_DEFINED__
- #define __ITfDisplayAttributeNotifySink_INTERFACE_DEFINED__
- /* interface ITfDisplayAttributeNotifySink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfDisplayAttributeNotifySink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("ad56f402-e162-4f25-908f-7d577cf9bda9")
- ITfDisplayAttributeNotifySink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnUpdateInfo( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfDisplayAttributeNotifySinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfDisplayAttributeNotifySink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfDisplayAttributeNotifySink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfDisplayAttributeNotifySink * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnUpdateInfo )(
- ITfDisplayAttributeNotifySink * This);
-
- END_INTERFACE
- } ITfDisplayAttributeNotifySinkVtbl;
- interface ITfDisplayAttributeNotifySink
- {
- CONST_VTBL struct ITfDisplayAttributeNotifySinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfDisplayAttributeNotifySink_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfDisplayAttributeNotifySink_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfDisplayAttributeNotifySink_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfDisplayAttributeNotifySink_OnUpdateInfo(This) \
- (This)->lpVtbl -> OnUpdateInfo(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfDisplayAttributeNotifySink_OnUpdateInfo_Proxy(
- ITfDisplayAttributeNotifySink * This);
- void __RPC_STUB ITfDisplayAttributeNotifySink_OnUpdateInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfDisplayAttributeNotifySink_INTERFACE_DEFINED__ */
- #ifndef __ITfCategoryMgr_INTERFACE_DEFINED__
- #define __ITfCategoryMgr_INTERFACE_DEFINED__
- /* interface ITfCategoryMgr */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_ITfCategoryMgr;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("c3acefb5-f69d-4905-938f-fcadcf4be830")
- ITfCategoryMgr : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE RegisterCategory(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rcatid,
- /* [in] */ REFGUID rguid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnregisterCategory(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rcatid,
- /* [in] */ REFGUID rguid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumCategoriesInItem(
- /* [in] */ REFGUID rguid,
- /* [out] */ IEnumGUID **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumItemsInCategory(
- /* [in] */ REFGUID rcatid,
- /* [out] */ IEnumGUID **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE FindClosestCategory(
- /* [in] */ REFGUID rguid,
- /* [out] */ GUID *pcatid,
- /* [size_is][in] */ const GUID **ppcatidList,
- /* [in] */ ULONG ulCount) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RegisterGUIDDescription(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rguid,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cch) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnregisterGUIDDescription(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rguid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetGUIDDescription(
- /* [in] */ REFGUID rguid,
- /* [out] */ BSTR *pbstrDesc) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RegisterGUIDDWORD(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rguid,
- /* [in] */ DWORD dw) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnregisterGUIDDWORD(
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rguid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetGUIDDWORD(
- /* [in] */ REFGUID rguid,
- /* [out] */ DWORD *pdw) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RegisterGUID(
- /* [in] */ REFGUID rguid,
- /* [out] */ TfGuidAtom *pguidatom) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetGUID(
- /* [in] */ TfGuidAtom guidatom,
- /* [out] */ GUID *pguid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsEqualTfGuidAtom(
- /* [in] */ TfGuidAtom guidatom,
- /* [in] */ REFGUID rguid,
- /* [out] */ BOOL *pfEqual) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfCategoryMgrVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfCategoryMgr * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfCategoryMgr * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfCategoryMgr * This);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterCategory )(
- ITfCategoryMgr * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rcatid,
- /* [in] */ REFGUID rguid);
-
- HRESULT ( STDMETHODCALLTYPE *UnregisterCategory )(
- ITfCategoryMgr * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rcatid,
- /* [in] */ REFGUID rguid);
-
- HRESULT ( STDMETHODCALLTYPE *EnumCategoriesInItem )(
- ITfCategoryMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ IEnumGUID **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *EnumItemsInCategory )(
- ITfCategoryMgr * This,
- /* [in] */ REFGUID rcatid,
- /* [out] */ IEnumGUID **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *FindClosestCategory )(
- ITfCategoryMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ GUID *pcatid,
- /* [size_is][in] */ const GUID **ppcatidList,
- /* [in] */ ULONG ulCount);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterGUIDDescription )(
- ITfCategoryMgr * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rguid,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cch);
-
- HRESULT ( STDMETHODCALLTYPE *UnregisterGUIDDescription )(
- ITfCategoryMgr * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rguid);
-
- HRESULT ( STDMETHODCALLTYPE *GetGUIDDescription )(
- ITfCategoryMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ BSTR *pbstrDesc);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterGUIDDWORD )(
- ITfCategoryMgr * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rguid,
- /* [in] */ DWORD dw);
-
- HRESULT ( STDMETHODCALLTYPE *UnregisterGUIDDWORD )(
- ITfCategoryMgr * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rguid);
-
- HRESULT ( STDMETHODCALLTYPE *GetGUIDDWORD )(
- ITfCategoryMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ DWORD *pdw);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterGUID )(
- ITfCategoryMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ TfGuidAtom *pguidatom);
-
- HRESULT ( STDMETHODCALLTYPE *GetGUID )(
- ITfCategoryMgr * This,
- /* [in] */ TfGuidAtom guidatom,
- /* [out] */ GUID *pguid);
-
- HRESULT ( STDMETHODCALLTYPE *IsEqualTfGuidAtom )(
- ITfCategoryMgr * This,
- /* [in] */ TfGuidAtom guidatom,
- /* [in] */ REFGUID rguid,
- /* [out] */ BOOL *pfEqual);
-
- END_INTERFACE
- } ITfCategoryMgrVtbl;
- interface ITfCategoryMgr
- {
- CONST_VTBL struct ITfCategoryMgrVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfCategoryMgr_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfCategoryMgr_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfCategoryMgr_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfCategoryMgr_RegisterCategory(This,rclsid,rcatid,rguid) \
- (This)->lpVtbl -> RegisterCategory(This,rclsid,rcatid,rguid)
- #define ITfCategoryMgr_UnregisterCategory(This,rclsid,rcatid,rguid) \
- (This)->lpVtbl -> UnregisterCategory(This,rclsid,rcatid,rguid)
- #define ITfCategoryMgr_EnumCategoriesInItem(This,rguid,ppEnum) \
- (This)->lpVtbl -> EnumCategoriesInItem(This,rguid,ppEnum)
- #define ITfCategoryMgr_EnumItemsInCategory(This,rcatid,ppEnum) \
- (This)->lpVtbl -> EnumItemsInCategory(This,rcatid,ppEnum)
- #define ITfCategoryMgr_FindClosestCategory(This,rguid,pcatid,ppcatidList,ulCount) \
- (This)->lpVtbl -> FindClosestCategory(This,rguid,pcatid,ppcatidList,ulCount)
- #define ITfCategoryMgr_RegisterGUIDDescription(This,rclsid,rguid,pchDesc,cch) \
- (This)->lpVtbl -> RegisterGUIDDescription(This,rclsid,rguid,pchDesc,cch)
- #define ITfCategoryMgr_UnregisterGUIDDescription(This,rclsid,rguid) \
- (This)->lpVtbl -> UnregisterGUIDDescription(This,rclsid,rguid)
- #define ITfCategoryMgr_GetGUIDDescription(This,rguid,pbstrDesc) \
- (This)->lpVtbl -> GetGUIDDescription(This,rguid,pbstrDesc)
- #define ITfCategoryMgr_RegisterGUIDDWORD(This,rclsid,rguid,dw) \
- (This)->lpVtbl -> RegisterGUIDDWORD(This,rclsid,rguid,dw)
- #define ITfCategoryMgr_UnregisterGUIDDWORD(This,rclsid,rguid) \
- (This)->lpVtbl -> UnregisterGUIDDWORD(This,rclsid,rguid)
- #define ITfCategoryMgr_GetGUIDDWORD(This,rguid,pdw) \
- (This)->lpVtbl -> GetGUIDDWORD(This,rguid,pdw)
- #define ITfCategoryMgr_RegisterGUID(This,rguid,pguidatom) \
- (This)->lpVtbl -> RegisterGUID(This,rguid,pguidatom)
- #define ITfCategoryMgr_GetGUID(This,guidatom,pguid) \
- (This)->lpVtbl -> GetGUID(This,guidatom,pguid)
- #define ITfCategoryMgr_IsEqualTfGuidAtom(This,guidatom,rguid,pfEqual) \
- (This)->lpVtbl -> IsEqualTfGuidAtom(This,guidatom,rguid,pfEqual)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_RegisterCategory_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rcatid,
- /* [in] */ REFGUID rguid);
- void __RPC_STUB ITfCategoryMgr_RegisterCategory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_UnregisterCategory_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rcatid,
- /* [in] */ REFGUID rguid);
- void __RPC_STUB ITfCategoryMgr_UnregisterCategory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_EnumCategoriesInItem_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ IEnumGUID **ppEnum);
- void __RPC_STUB ITfCategoryMgr_EnumCategoriesInItem_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_EnumItemsInCategory_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ REFGUID rcatid,
- /* [out] */ IEnumGUID **ppEnum);
- void __RPC_STUB ITfCategoryMgr_EnumItemsInCategory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_FindClosestCategory_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ GUID *pcatid,
- /* [size_is][in] */ const GUID **ppcatidList,
- /* [in] */ ULONG ulCount);
- void __RPC_STUB ITfCategoryMgr_FindClosestCategory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_RegisterGUIDDescription_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rguid,
- /* [size_is][in] */ const WCHAR *pchDesc,
- /* [in] */ ULONG cch);
- void __RPC_STUB ITfCategoryMgr_RegisterGUIDDescription_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_UnregisterGUIDDescription_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rguid);
- void __RPC_STUB ITfCategoryMgr_UnregisterGUIDDescription_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_GetGUIDDescription_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ BSTR *pbstrDesc);
- void __RPC_STUB ITfCategoryMgr_GetGUIDDescription_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_RegisterGUIDDWORD_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rguid,
- /* [in] */ DWORD dw);
- void __RPC_STUB ITfCategoryMgr_RegisterGUIDDWORD_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_UnregisterGUIDDWORD_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ REFGUID rguid);
- void __RPC_STUB ITfCategoryMgr_UnregisterGUIDDWORD_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_GetGUIDDWORD_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ DWORD *pdw);
- void __RPC_STUB ITfCategoryMgr_GetGUIDDWORD_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_RegisterGUID_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ REFGUID rguid,
- /* [out] */ TfGuidAtom *pguidatom);
- void __RPC_STUB ITfCategoryMgr_RegisterGUID_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_GetGUID_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ TfGuidAtom guidatom,
- /* [out] */ GUID *pguid);
- void __RPC_STUB ITfCategoryMgr_GetGUID_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfCategoryMgr_IsEqualTfGuidAtom_Proxy(
- ITfCategoryMgr * This,
- /* [in] */ TfGuidAtom guidatom,
- /* [in] */ REFGUID rguid,
- /* [out] */ BOOL *pfEqual);
- void __RPC_STUB ITfCategoryMgr_IsEqualTfGuidAtom_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfCategoryMgr_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_msctf_0210 */
- /* [local] */
- #define TF_INVALID_COOKIE ( 0xffffffff )
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0210_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0210_v0_0_s_ifspec;
- #ifndef __ITfSource_INTERFACE_DEFINED__
- #define __ITfSource_INTERFACE_DEFINED__
- /* interface ITfSource */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfSource;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("4ea48a35-60ae-446f-8fd6-e6a8d82459f7")
- ITfSource : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AdviseSink(
- /* [in] */ REFIID riid,
- /* [iid_is][in] */ IUnknown *punk,
- /* [out] */ DWORD *pdwCookie) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnadviseSink(
- /* [in] */ DWORD dwCookie) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfSourceVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfSource * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfSource * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfSource * This);
-
- HRESULT ( STDMETHODCALLTYPE *AdviseSink )(
- ITfSource * This,
- /* [in] */ REFIID riid,
- /* [iid_is][in] */ IUnknown *punk,
- /* [out] */ DWORD *pdwCookie);
-
- HRESULT ( STDMETHODCALLTYPE *UnadviseSink )(
- ITfSource * This,
- /* [in] */ DWORD dwCookie);
-
- END_INTERFACE
- } ITfSourceVtbl;
- interface ITfSource
- {
- CONST_VTBL struct ITfSourceVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfSource_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfSource_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfSource_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfSource_AdviseSink(This,riid,punk,pdwCookie) \
- (This)->lpVtbl -> AdviseSink(This,riid,punk,pdwCookie)
- #define ITfSource_UnadviseSink(This,dwCookie) \
- (This)->lpVtbl -> UnadviseSink(This,dwCookie)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfSource_AdviseSink_Proxy(
- ITfSource * This,
- /* [in] */ REFIID riid,
- /* [iid_is][in] */ IUnknown *punk,
- /* [out] */ DWORD *pdwCookie);
- void __RPC_STUB ITfSource_AdviseSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfSource_UnadviseSink_Proxy(
- ITfSource * This,
- /* [in] */ DWORD dwCookie);
- void __RPC_STUB ITfSource_UnadviseSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfSource_INTERFACE_DEFINED__ */
- #ifndef __ITfSourceSingle_INTERFACE_DEFINED__
- #define __ITfSourceSingle_INTERFACE_DEFINED__
- /* interface ITfSourceSingle */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ITfSourceSingle;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("73131f9c-56a9-49dd-b0ee-d046633f7528")
- ITfSourceSingle : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AdviseSingleSink(
- /* [in] */ TfClientId tid,
- /* [in] */ REFIID riid,
- /* [iid_is][in] */ IUnknown *punk) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnadviseSingleSink(
- /* [in] */ TfClientId tid,
- /* [in] */ REFIID riid) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITfSourceSingleVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITfSourceSingle * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITfSourceSingle * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITfSourceSingle * This);
-
- HRESULT ( STDMETHODCALLTYPE *AdviseSingleSink )(
- ITfSourceSingle * This,
- /* [in] */ TfClientId tid,
- /* [in] */ REFIID riid,
- /* [iid_is][in] */ IUnknown *punk);
-
- HRESULT ( STDMETHODCALLTYPE *UnadviseSingleSink )(
- ITfSourceSingle * This,
- /* [in] */ TfClientId tid,
- /* [in] */ REFIID riid);
-
- END_INTERFACE
- } ITfSourceSingleVtbl;
- interface ITfSourceSingle
- {
- CONST_VTBL struct ITfSourceSingleVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITfSourceSingle_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITfSourceSingle_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define ITfSourceSingle_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define ITfSourceSingle_AdviseSingleSink(This,tid,riid,punk) \
- (This)->lpVtbl -> AdviseSingleSink(This,tid,riid,punk)
- #define ITfSourceSingle_UnadviseSingleSink(This,tid,riid) \
- (This)->lpVtbl -> UnadviseSingleSink(This,tid,riid)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ITfSourceSingle_AdviseSingleSink_Proxy(
- ITfSourceSingle * This,
- /* [in] */ TfClientId tid,
- /* [in] */ REFIID riid,
- /* [iid_is][in] */ IUnknown *punk);
- void __RPC_STUB ITfSourceSingle_AdviseSingleSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ITfSourceSingle_UnadviseSingleSink_Proxy(
- ITfSourceSingle * This,
- /* [in] */ TfClientId tid,
- /* [in] */ REFIID riid);
- void __RPC_STUB ITfSourceSingle_UnadviseSingleSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITfSourceSingle_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_msctf_0212 */
- /* [local] */
- #endif // MSCTF_DEFINED
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0212_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_msctf_0212_v0_0_s_ifspec;
- /* Additional Prototypes for ALL interfaces */
- unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
- unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
- unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
- void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
- unsigned long __RPC_USER CLIPFORMAT_UserSize( unsigned long *, unsigned long , CLIPFORMAT * );
- unsigned char * __RPC_USER CLIPFORMAT_UserMarshal( unsigned long *, unsigned char *, CLIPFORMAT * );
- unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(unsigned long *, unsigned char *, CLIPFORMAT * );
- void __RPC_USER CLIPFORMAT_UserFree( unsigned long *, CLIPFORMAT * );
- unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
- unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
- unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
- void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
- unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
- unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
- unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
- void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif
|