windows.gaming.input.h 442 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396
  1. /*** Autogenerated by WIDL 7.7 from include/windows.gaming.input.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __windows_gaming_input_h__
  14. #define __windows_gaming_input_h__
  15. /* Forward declarations */
  16. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIArcadeStick_FWD_DEFINED__
  17. #define ____x_ABI_CWindows_CGaming_CInput_CIArcadeStick_FWD_DEFINED__
  18. typedef interface __x_ABI_CWindows_CGaming_CInput_CIArcadeStick __x_ABI_CWindows_CGaming_CInput_CIArcadeStick;
  19. #ifdef __cplusplus
  20. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStick ABI::Windows::Gaming::Input::IArcadeStick
  21. namespace ABI {
  22. namespace Windows {
  23. namespace Gaming {
  24. namespace Input {
  25. interface IArcadeStick;
  26. }
  27. }
  28. }
  29. }
  30. #endif /* __cplusplus */
  31. #endif
  32. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_FWD_DEFINED__
  33. #define ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_FWD_DEFINED__
  34. typedef interface __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics;
  35. #ifdef __cplusplus
  36. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics ABI::Windows::Gaming::Input::IArcadeStickStatics
  37. namespace ABI {
  38. namespace Windows {
  39. namespace Gaming {
  40. namespace Input {
  41. interface IArcadeStickStatics;
  42. }
  43. }
  44. }
  45. }
  46. #endif /* __cplusplus */
  47. #endif
  48. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_FWD_DEFINED__
  49. #define ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_FWD_DEFINED__
  50. typedef interface __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2 __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2;
  51. #ifdef __cplusplus
  52. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2 ABI::Windows::Gaming::Input::IArcadeStickStatics2
  53. namespace ABI {
  54. namespace Windows {
  55. namespace Gaming {
  56. namespace Input {
  57. interface IArcadeStickStatics2;
  58. }
  59. }
  60. }
  61. }
  62. #endif /* __cplusplus */
  63. #endif
  64. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIFlightStick_FWD_DEFINED__
  65. #define ____x_ABI_CWindows_CGaming_CInput_CIFlightStick_FWD_DEFINED__
  66. typedef interface __x_ABI_CWindows_CGaming_CInput_CIFlightStick __x_ABI_CWindows_CGaming_CInput_CIFlightStick;
  67. #ifdef __cplusplus
  68. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStick ABI::Windows::Gaming::Input::IFlightStick
  69. namespace ABI {
  70. namespace Windows {
  71. namespace Gaming {
  72. namespace Input {
  73. interface IFlightStick;
  74. }
  75. }
  76. }
  77. }
  78. #endif /* __cplusplus */
  79. #endif
  80. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_FWD_DEFINED__
  81. #define ____x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_FWD_DEFINED__
  82. typedef interface __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics;
  83. #ifdef __cplusplus
  84. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics ABI::Windows::Gaming::Input::IFlightStickStatics
  85. namespace ABI {
  86. namespace Windows {
  87. namespace Gaming {
  88. namespace Input {
  89. interface IFlightStickStatics;
  90. }
  91. }
  92. }
  93. }
  94. #endif /* __cplusplus */
  95. #endif
  96. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGameController_FWD_DEFINED__
  97. #define ____x_ABI_CWindows_CGaming_CInput_CIGameController_FWD_DEFINED__
  98. typedef interface __x_ABI_CWindows_CGaming_CInput_CIGameController __x_ABI_CWindows_CGaming_CInput_CIGameController;
  99. #ifdef __cplusplus
  100. #define __x_ABI_CWindows_CGaming_CInput_CIGameController ABI::Windows::Gaming::Input::IGameController
  101. namespace ABI {
  102. namespace Windows {
  103. namespace Gaming {
  104. namespace Input {
  105. interface IGameController;
  106. }
  107. }
  108. }
  109. }
  110. #endif /* __cplusplus */
  111. #endif
  112. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepad_FWD_DEFINED__
  113. #define ____x_ABI_CWindows_CGaming_CInput_CIGamepad_FWD_DEFINED__
  114. typedef interface __x_ABI_CWindows_CGaming_CInput_CIGamepad __x_ABI_CWindows_CGaming_CInput_CIGamepad;
  115. #ifdef __cplusplus
  116. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad ABI::Windows::Gaming::Input::IGamepad
  117. namespace ABI {
  118. namespace Windows {
  119. namespace Gaming {
  120. namespace Input {
  121. interface IGamepad;
  122. }
  123. }
  124. }
  125. }
  126. #endif /* __cplusplus */
  127. #endif
  128. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepad2_FWD_DEFINED__
  129. #define ____x_ABI_CWindows_CGaming_CInput_CIGamepad2_FWD_DEFINED__
  130. typedef interface __x_ABI_CWindows_CGaming_CInput_CIGamepad2 __x_ABI_CWindows_CGaming_CInput_CIGamepad2;
  131. #ifdef __cplusplus
  132. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad2 ABI::Windows::Gaming::Input::IGamepad2
  133. namespace ABI {
  134. namespace Windows {
  135. namespace Gaming {
  136. namespace Input {
  137. interface IGamepad2;
  138. }
  139. }
  140. }
  141. }
  142. #endif /* __cplusplus */
  143. #endif
  144. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRacingWheel_FWD_DEFINED__
  145. #define ____x_ABI_CWindows_CGaming_CInput_CIRacingWheel_FWD_DEFINED__
  146. typedef interface __x_ABI_CWindows_CGaming_CInput_CIRacingWheel __x_ABI_CWindows_CGaming_CInput_CIRacingWheel;
  147. #ifdef __cplusplus
  148. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel ABI::Windows::Gaming::Input::IRacingWheel
  149. namespace ABI {
  150. namespace Windows {
  151. namespace Gaming {
  152. namespace Input {
  153. interface IRacingWheel;
  154. }
  155. }
  156. }
  157. }
  158. #endif /* __cplusplus */
  159. #endif
  160. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_FWD_DEFINED__
  161. #define ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_FWD_DEFINED__
  162. typedef interface __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics;
  163. #ifdef __cplusplus
  164. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics ABI::Windows::Gaming::Input::IRacingWheelStatics
  165. namespace ABI {
  166. namespace Windows {
  167. namespace Gaming {
  168. namespace Input {
  169. interface IRacingWheelStatics;
  170. }
  171. }
  172. }
  173. }
  174. #endif /* __cplusplus */
  175. #endif
  176. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_FWD_DEFINED__
  177. #define ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_FWD_DEFINED__
  178. typedef interface __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2 __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2;
  179. #ifdef __cplusplus
  180. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2 ABI::Windows::Gaming::Input::IRacingWheelStatics2
  181. namespace ABI {
  182. namespace Windows {
  183. namespace Gaming {
  184. namespace Input {
  185. interface IRacingWheelStatics2;
  186. }
  187. }
  188. }
  189. }
  190. #endif /* __cplusplus */
  191. #endif
  192. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRawGameController_FWD_DEFINED__
  193. #define ____x_ABI_CWindows_CGaming_CInput_CIRawGameController_FWD_DEFINED__
  194. typedef interface __x_ABI_CWindows_CGaming_CInput_CIRawGameController __x_ABI_CWindows_CGaming_CInput_CIRawGameController;
  195. #ifdef __cplusplus
  196. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController ABI::Windows::Gaming::Input::IRawGameController
  197. namespace ABI {
  198. namespace Windows {
  199. namespace Gaming {
  200. namespace Input {
  201. interface IRawGameController;
  202. }
  203. }
  204. }
  205. }
  206. #endif /* __cplusplus */
  207. #endif
  208. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRawGameController2_FWD_DEFINED__
  209. #define ____x_ABI_CWindows_CGaming_CInput_CIRawGameController2_FWD_DEFINED__
  210. typedef interface __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 __x_ABI_CWindows_CGaming_CInput_CIRawGameController2;
  211. #ifdef __cplusplus
  212. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 ABI::Windows::Gaming::Input::IRawGameController2
  213. namespace ABI {
  214. namespace Windows {
  215. namespace Gaming {
  216. namespace Input {
  217. interface IRawGameController2;
  218. }
  219. }
  220. }
  221. }
  222. #endif /* __cplusplus */
  223. #endif
  224. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_FWD_DEFINED__
  225. #define ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_FWD_DEFINED__
  226. typedef interface __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics;
  227. #ifdef __cplusplus
  228. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics ABI::Windows::Gaming::Input::IGamepadStatics
  229. namespace ABI {
  230. namespace Windows {
  231. namespace Gaming {
  232. namespace Input {
  233. interface IGamepadStatics;
  234. }
  235. }
  236. }
  237. }
  238. #endif /* __cplusplus */
  239. #endif
  240. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_FWD_DEFINED__
  241. #define ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_FWD_DEFINED__
  242. typedef interface __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2 __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2;
  243. #ifdef __cplusplus
  244. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2 ABI::Windows::Gaming::Input::IGamepadStatics2
  245. namespace ABI {
  246. namespace Windows {
  247. namespace Gaming {
  248. namespace Input {
  249. interface IGamepadStatics2;
  250. }
  251. }
  252. }
  253. }
  254. #endif /* __cplusplus */
  255. #endif
  256. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIHeadset_FWD_DEFINED__
  257. #define ____x_ABI_CWindows_CGaming_CInput_CIHeadset_FWD_DEFINED__
  258. typedef interface __x_ABI_CWindows_CGaming_CInput_CIHeadset __x_ABI_CWindows_CGaming_CInput_CIHeadset;
  259. #ifdef __cplusplus
  260. #define __x_ABI_CWindows_CGaming_CInput_CIHeadset ABI::Windows::Gaming::Input::IHeadset
  261. namespace ABI {
  262. namespace Windows {
  263. namespace Gaming {
  264. namespace Input {
  265. interface IHeadset;
  266. }
  267. }
  268. }
  269. }
  270. #endif /* __cplusplus */
  271. #endif
  272. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_FWD_DEFINED__
  273. #define ____x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_FWD_DEFINED__
  274. typedef interface __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics;
  275. #ifdef __cplusplus
  276. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics ABI::Windows::Gaming::Input::IRawGameControllerStatics
  277. namespace ABI {
  278. namespace Windows {
  279. namespace Gaming {
  280. namespace Input {
  281. interface IRawGameControllerStatics;
  282. }
  283. }
  284. }
  285. }
  286. #endif /* __cplusplus */
  287. #endif
  288. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_FWD_DEFINED__
  289. #define ____x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_FWD_DEFINED__
  290. typedef interface __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo;
  291. #ifdef __cplusplus
  292. #define __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo ABI::Windows::Gaming::Input::IGameControllerBatteryInfo
  293. namespace ABI {
  294. namespace Windows {
  295. namespace Gaming {
  296. namespace Input {
  297. interface IGameControllerBatteryInfo;
  298. }
  299. }
  300. }
  301. }
  302. #endif /* __cplusplus */
  303. #endif
  304. #ifndef ____x_ABI_CWindows_CGaming_CInput_CArcadeStick_FWD_DEFINED__
  305. #define ____x_ABI_CWindows_CGaming_CInput_CArcadeStick_FWD_DEFINED__
  306. #ifdef __cplusplus
  307. namespace ABI {
  308. namespace Windows {
  309. namespace Gaming {
  310. namespace Input {
  311. class ArcadeStick;
  312. }
  313. }
  314. }
  315. }
  316. #else
  317. typedef struct __x_ABI_CWindows_CGaming_CInput_CArcadeStick __x_ABI_CWindows_CGaming_CInput_CArcadeStick;
  318. #endif /* defined __cplusplus */
  319. #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CArcadeStick_FWD_DEFINED__ */
  320. #ifndef ____x_ABI_CWindows_CGaming_CInput_CFlightStick_FWD_DEFINED__
  321. #define ____x_ABI_CWindows_CGaming_CInput_CFlightStick_FWD_DEFINED__
  322. #ifdef __cplusplus
  323. namespace ABI {
  324. namespace Windows {
  325. namespace Gaming {
  326. namespace Input {
  327. class FlightStick;
  328. }
  329. }
  330. }
  331. }
  332. #else
  333. typedef struct __x_ABI_CWindows_CGaming_CInput_CFlightStick __x_ABI_CWindows_CGaming_CInput_CFlightStick;
  334. #endif /* defined __cplusplus */
  335. #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CFlightStick_FWD_DEFINED__ */
  336. #ifndef ____x_ABI_CWindows_CGaming_CInput_CGamepad_FWD_DEFINED__
  337. #define ____x_ABI_CWindows_CGaming_CInput_CGamepad_FWD_DEFINED__
  338. #ifdef __cplusplus
  339. namespace ABI {
  340. namespace Windows {
  341. namespace Gaming {
  342. namespace Input {
  343. class Gamepad;
  344. }
  345. }
  346. }
  347. }
  348. #else
  349. typedef struct __x_ABI_CWindows_CGaming_CInput_CGamepad __x_ABI_CWindows_CGaming_CInput_CGamepad;
  350. #endif /* defined __cplusplus */
  351. #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CGamepad_FWD_DEFINED__ */
  352. #ifndef ____x_ABI_CWindows_CGaming_CInput_CHeadset_FWD_DEFINED__
  353. #define ____x_ABI_CWindows_CGaming_CInput_CHeadset_FWD_DEFINED__
  354. #ifdef __cplusplus
  355. namespace ABI {
  356. namespace Windows {
  357. namespace Gaming {
  358. namespace Input {
  359. class Headset;
  360. }
  361. }
  362. }
  363. }
  364. #else
  365. typedef struct __x_ABI_CWindows_CGaming_CInput_CHeadset __x_ABI_CWindows_CGaming_CInput_CHeadset;
  366. #endif /* defined __cplusplus */
  367. #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CHeadset_FWD_DEFINED__ */
  368. #ifndef ____x_ABI_CWindows_CGaming_CInput_CRacingWheel_FWD_DEFINED__
  369. #define ____x_ABI_CWindows_CGaming_CInput_CRacingWheel_FWD_DEFINED__
  370. #ifdef __cplusplus
  371. namespace ABI {
  372. namespace Windows {
  373. namespace Gaming {
  374. namespace Input {
  375. class RacingWheel;
  376. }
  377. }
  378. }
  379. }
  380. #else
  381. typedef struct __x_ABI_CWindows_CGaming_CInput_CRacingWheel __x_ABI_CWindows_CGaming_CInput_CRacingWheel;
  382. #endif /* defined __cplusplus */
  383. #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CRacingWheel_FWD_DEFINED__ */
  384. #ifndef ____x_ABI_CWindows_CGaming_CInput_CRawGameController_FWD_DEFINED__
  385. #define ____x_ABI_CWindows_CGaming_CInput_CRawGameController_FWD_DEFINED__
  386. #ifdef __cplusplus
  387. namespace ABI {
  388. namespace Windows {
  389. namespace Gaming {
  390. namespace Input {
  391. class RawGameController;
  392. }
  393. }
  394. }
  395. }
  396. #else
  397. typedef struct __x_ABI_CWindows_CGaming_CInput_CRawGameController __x_ABI_CWindows_CGaming_CInput_CRawGameController;
  398. #endif /* defined __cplusplus */
  399. #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CRawGameController_FWD_DEFINED__ */
  400. #ifndef ____FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  401. #define ____FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  402. typedef interface __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick;
  403. #ifdef __cplusplus
  404. #define __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::ArcadeStick* >
  405. #endif /* __cplusplus */
  406. #endif
  407. #ifndef ____FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  408. #define ____FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  409. typedef interface __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick;
  410. #ifdef __cplusplus
  411. #define __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::FlightStick* >
  412. #endif /* __cplusplus */
  413. #endif
  414. #ifndef ____FIEventHandler_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  415. #define ____FIEventHandler_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  416. typedef interface __FIEventHandler_1_Windows__CGaming__CInput__CGamepad __FIEventHandler_1_Windows__CGaming__CInput__CGamepad;
  417. #ifdef __cplusplus
  418. #define __FIEventHandler_1_Windows__CGaming__CInput__CGamepad ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::Gamepad* >
  419. #endif /* __cplusplus */
  420. #endif
  421. #ifndef ____FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  422. #define ____FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  423. typedef interface __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel;
  424. #ifdef __cplusplus
  425. #define __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::RacingWheel* >
  426. #endif /* __cplusplus */
  427. #endif
  428. #ifndef ____FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  429. #define ____FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  430. typedef interface __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController;
  431. #ifdef __cplusplus
  432. #define __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::RawGameController* >
  433. #endif /* __cplusplus */
  434. #endif
  435. #ifndef ____FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_FWD_DEFINED__
  436. #define ____FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_FWD_DEFINED__
  437. typedef interface __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset;
  438. #ifdef __cplusplus
  439. #define __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::Gaming::Input::Headset* >
  440. #endif /* __cplusplus */
  441. #endif
  442. #ifndef ____FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_FWD_DEFINED__
  443. #define ____FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_FWD_DEFINED__
  444. typedef interface __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs;
  445. #ifdef __cplusplus
  446. #define __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::System::UserChangedEventArgs* >
  447. #endif /* __cplusplus */
  448. #endif
  449. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  450. #define ____FIIterator_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  451. typedef interface __FIIterator_1_Windows__CGaming__CInput__CArcadeStick __FIIterator_1_Windows__CGaming__CInput__CArcadeStick;
  452. #ifdef __cplusplus
  453. #define __FIIterator_1_Windows__CGaming__CInput__CArcadeStick ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Gaming::Input::ArcadeStick* >
  454. #endif /* __cplusplus */
  455. #endif
  456. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  457. #define ____FIIterable_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  458. typedef interface __FIIterable_1_Windows__CGaming__CInput__CArcadeStick __FIIterable_1_Windows__CGaming__CInput__CArcadeStick;
  459. #ifdef __cplusplus
  460. #define __FIIterable_1_Windows__CGaming__CInput__CArcadeStick ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Gaming::Input::ArcadeStick* >
  461. #endif /* __cplusplus */
  462. #endif
  463. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  464. #define ____FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  465. typedef interface __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick;
  466. #ifdef __cplusplus
  467. #define __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::ArcadeStick* >
  468. #endif /* __cplusplus */
  469. #endif
  470. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  471. #define ____FIIterator_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  472. typedef interface __FIIterator_1_Windows__CGaming__CInput__CFlightStick __FIIterator_1_Windows__CGaming__CInput__CFlightStick;
  473. #ifdef __cplusplus
  474. #define __FIIterator_1_Windows__CGaming__CInput__CFlightStick ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Gaming::Input::FlightStick* >
  475. #endif /* __cplusplus */
  476. #endif
  477. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  478. #define ____FIIterable_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  479. typedef interface __FIIterable_1_Windows__CGaming__CInput__CFlightStick __FIIterable_1_Windows__CGaming__CInput__CFlightStick;
  480. #ifdef __cplusplus
  481. #define __FIIterable_1_Windows__CGaming__CInput__CFlightStick ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Gaming::Input::FlightStick* >
  482. #endif /* __cplusplus */
  483. #endif
  484. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  485. #define ____FIVectorView_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  486. typedef interface __FIVectorView_1_Windows__CGaming__CInput__CFlightStick __FIVectorView_1_Windows__CGaming__CInput__CFlightStick;
  487. #ifdef __cplusplus
  488. #define __FIVectorView_1_Windows__CGaming__CInput__CFlightStick ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::FlightStick* >
  489. #endif /* __cplusplus */
  490. #endif
  491. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  492. #define ____FIIterator_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  493. typedef interface __FIIterator_1_Windows__CGaming__CInput__CGamepad __FIIterator_1_Windows__CGaming__CInput__CGamepad;
  494. #ifdef __cplusplus
  495. #define __FIIterator_1_Windows__CGaming__CInput__CGamepad ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Gaming::Input::Gamepad* >
  496. #endif /* __cplusplus */
  497. #endif
  498. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  499. #define ____FIIterable_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  500. typedef interface __FIIterable_1_Windows__CGaming__CInput__CGamepad __FIIterable_1_Windows__CGaming__CInput__CGamepad;
  501. #ifdef __cplusplus
  502. #define __FIIterable_1_Windows__CGaming__CInput__CGamepad ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Gaming::Input::Gamepad* >
  503. #endif /* __cplusplus */
  504. #endif
  505. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  506. #define ____FIVectorView_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  507. typedef interface __FIVectorView_1_Windows__CGaming__CInput__CGamepad __FIVectorView_1_Windows__CGaming__CInput__CGamepad;
  508. #ifdef __cplusplus
  509. #define __FIVectorView_1_Windows__CGaming__CInput__CGamepad ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::Gamepad* >
  510. #endif /* __cplusplus */
  511. #endif
  512. #ifndef ____FIVector_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  513. #define ____FIVector_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  514. typedef interface __FIVector_1_Windows__CGaming__CInput__CGamepad __FIVector_1_Windows__CGaming__CInput__CGamepad;
  515. #ifdef __cplusplus
  516. #define __FIVector_1_Windows__CGaming__CInput__CGamepad ABI::Windows::Foundation::Collections::IVector<ABI::Windows::Gaming::Input::Gamepad* >
  517. #endif /* __cplusplus */
  518. #endif
  519. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  520. #define ____FIIterator_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  521. typedef interface __FIIterator_1_Windows__CGaming__CInput__CRacingWheel __FIIterator_1_Windows__CGaming__CInput__CRacingWheel;
  522. #ifdef __cplusplus
  523. #define __FIIterator_1_Windows__CGaming__CInput__CRacingWheel ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Gaming::Input::RacingWheel* >
  524. #endif /* __cplusplus */
  525. #endif
  526. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  527. #define ____FIIterable_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  528. typedef interface __FIIterable_1_Windows__CGaming__CInput__CRacingWheel __FIIterable_1_Windows__CGaming__CInput__CRacingWheel;
  529. #ifdef __cplusplus
  530. #define __FIIterable_1_Windows__CGaming__CInput__CRacingWheel ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Gaming::Input::RacingWheel* >
  531. #endif /* __cplusplus */
  532. #endif
  533. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  534. #define ____FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  535. typedef interface __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel;
  536. #ifdef __cplusplus
  537. #define __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::RacingWheel* >
  538. #endif /* __cplusplus */
  539. #endif
  540. #ifndef ____FIVector_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  541. #define ____FIVector_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  542. typedef interface __FIVector_1_Windows__CGaming__CInput__CRacingWheel __FIVector_1_Windows__CGaming__CInput__CRacingWheel;
  543. #ifdef __cplusplus
  544. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel ABI::Windows::Foundation::Collections::IVector<ABI::Windows::Gaming::Input::RacingWheel* >
  545. #endif /* __cplusplus */
  546. #endif
  547. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  548. #define ____FIIterator_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  549. typedef interface __FIIterator_1_Windows__CGaming__CInput__CRawGameController __FIIterator_1_Windows__CGaming__CInput__CRawGameController;
  550. #ifdef __cplusplus
  551. #define __FIIterator_1_Windows__CGaming__CInput__CRawGameController ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Gaming::Input::RawGameController* >
  552. #endif /* __cplusplus */
  553. #endif
  554. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  555. #define ____FIIterable_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  556. typedef interface __FIIterable_1_Windows__CGaming__CInput__CRawGameController __FIIterable_1_Windows__CGaming__CInput__CRawGameController;
  557. #ifdef __cplusplus
  558. #define __FIIterable_1_Windows__CGaming__CInput__CRawGameController ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Gaming::Input::RawGameController* >
  559. #endif /* __cplusplus */
  560. #endif
  561. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  562. #define ____FIVectorView_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  563. typedef interface __FIVectorView_1_Windows__CGaming__CInput__CRawGameController __FIVectorView_1_Windows__CGaming__CInput__CRawGameController;
  564. #ifdef __cplusplus
  565. #define __FIVectorView_1_Windows__CGaming__CInput__CRawGameController ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::RawGameController* >
  566. #endif /* __cplusplus */
  567. #endif
  568. #ifndef ____FIVector_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  569. #define ____FIVector_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  570. typedef interface __FIVector_1_Windows__CGaming__CInput__CRawGameController __FIVector_1_Windows__CGaming__CInput__CRawGameController;
  571. #ifdef __cplusplus
  572. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController ABI::Windows::Foundation::Collections::IVector<ABI::Windows::Gaming::Input::RawGameController* >
  573. #endif /* __cplusplus */
  574. #endif
  575. /* Headers for imported files */
  576. #include <inspectable.h>
  577. #include <asyncinfo.h>
  578. #include <eventtoken.h>
  579. #include <windowscontracts.h>
  580. #include <windows.foundation.h>
  581. #include <windows.devices.haptics.h>
  582. #include <windows.gaming.input.forcefeedback.h>
  583. #include <windows.system.h>
  584. #include <windows.devices.power.h>
  585. #ifdef __cplusplus
  586. extern "C" {
  587. #endif
  588. #ifndef __cplusplus
  589. typedef enum __x_ABI_CWindows_CGaming_CInput_CArcadeStickButtons __x_ABI_CWindows_CGaming_CInput_CArcadeStickButtons;
  590. #endif /* __cplusplus */
  591. #ifndef __cplusplus
  592. typedef enum __x_ABI_CWindows_CGaming_CInput_CFlightStickButtons __x_ABI_CWindows_CGaming_CInput_CFlightStickButtons;
  593. #endif /* __cplusplus */
  594. #ifndef __cplusplus
  595. typedef enum __x_ABI_CWindows_CGaming_CInput_CGamepadButtons __x_ABI_CWindows_CGaming_CInput_CGamepadButtons;
  596. #endif /* __cplusplus */
  597. #ifndef __cplusplus
  598. typedef enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel;
  599. #endif /* __cplusplus */
  600. #ifndef __cplusplus
  601. typedef enum __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchKind __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchKind;
  602. #endif /* __cplusplus */
  603. #ifndef __cplusplus
  604. typedef enum __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchPosition __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchPosition;
  605. #endif /* __cplusplus */
  606. #ifndef __cplusplus
  607. typedef enum __x_ABI_CWindows_CGaming_CInput_CRacingWheelButtons __x_ABI_CWindows_CGaming_CInput_CRacingWheelButtons;
  608. #endif /* __cplusplus */
  609. #ifndef __cplusplus
  610. typedef struct __x_ABI_CWindows_CGaming_CInput_CArcadeStickReading __x_ABI_CWindows_CGaming_CInput_CArcadeStickReading;
  611. #else /* __cplusplus */
  612. namespace ABI {
  613. namespace Windows {
  614. namespace Gaming {
  615. namespace Input {
  616. typedef struct ArcadeStickReading ArcadeStickReading;
  617. }
  618. }
  619. }
  620. }
  621. #endif /* __cplusplus */
  622. #ifndef __cplusplus
  623. typedef struct __x_ABI_CWindows_CGaming_CInput_CFlightStickReading __x_ABI_CWindows_CGaming_CInput_CFlightStickReading;
  624. #else /* __cplusplus */
  625. namespace ABI {
  626. namespace Windows {
  627. namespace Gaming {
  628. namespace Input {
  629. typedef struct FlightStickReading FlightStickReading;
  630. }
  631. }
  632. }
  633. }
  634. #endif /* __cplusplus */
  635. #ifndef __cplusplus
  636. typedef struct __x_ABI_CWindows_CGaming_CInput_CGamepadReading __x_ABI_CWindows_CGaming_CInput_CGamepadReading;
  637. #else /* __cplusplus */
  638. namespace ABI {
  639. namespace Windows {
  640. namespace Gaming {
  641. namespace Input {
  642. typedef struct GamepadReading GamepadReading;
  643. }
  644. }
  645. }
  646. }
  647. #endif /* __cplusplus */
  648. #ifndef __cplusplus
  649. typedef struct __x_ABI_CWindows_CGaming_CInput_CGamepadVibration __x_ABI_CWindows_CGaming_CInput_CGamepadVibration;
  650. #else /* __cplusplus */
  651. namespace ABI {
  652. namespace Windows {
  653. namespace Gaming {
  654. namespace Input {
  655. typedef struct GamepadVibration GamepadVibration;
  656. }
  657. }
  658. }
  659. }
  660. #endif /* __cplusplus */
  661. #ifndef __cplusplus
  662. typedef struct __x_ABI_CWindows_CGaming_CInput_CRacingWheelReading __x_ABI_CWindows_CGaming_CInput_CRacingWheelReading;
  663. #else /* __cplusplus */
  664. namespace ABI {
  665. namespace Windows {
  666. namespace Gaming {
  667. namespace Input {
  668. typedef struct RacingWheelReading RacingWheelReading;
  669. }
  670. }
  671. }
  672. }
  673. #endif /* __cplusplus */
  674. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIArcadeStick_FWD_DEFINED__
  675. #define ____x_ABI_CWindows_CGaming_CInput_CIArcadeStick_FWD_DEFINED__
  676. typedef interface __x_ABI_CWindows_CGaming_CInput_CIArcadeStick __x_ABI_CWindows_CGaming_CInput_CIArcadeStick;
  677. #ifdef __cplusplus
  678. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStick ABI::Windows::Gaming::Input::IArcadeStick
  679. namespace ABI {
  680. namespace Windows {
  681. namespace Gaming {
  682. namespace Input {
  683. interface IArcadeStick;
  684. }
  685. }
  686. }
  687. }
  688. #endif /* __cplusplus */
  689. #endif
  690. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_FWD_DEFINED__
  691. #define ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_FWD_DEFINED__
  692. typedef interface __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics;
  693. #ifdef __cplusplus
  694. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics ABI::Windows::Gaming::Input::IArcadeStickStatics
  695. namespace ABI {
  696. namespace Windows {
  697. namespace Gaming {
  698. namespace Input {
  699. interface IArcadeStickStatics;
  700. }
  701. }
  702. }
  703. }
  704. #endif /* __cplusplus */
  705. #endif
  706. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_FWD_DEFINED__
  707. #define ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_FWD_DEFINED__
  708. typedef interface __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2 __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2;
  709. #ifdef __cplusplus
  710. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2 ABI::Windows::Gaming::Input::IArcadeStickStatics2
  711. namespace ABI {
  712. namespace Windows {
  713. namespace Gaming {
  714. namespace Input {
  715. interface IArcadeStickStatics2;
  716. }
  717. }
  718. }
  719. }
  720. #endif /* __cplusplus */
  721. #endif
  722. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIFlightStick_FWD_DEFINED__
  723. #define ____x_ABI_CWindows_CGaming_CInput_CIFlightStick_FWD_DEFINED__
  724. typedef interface __x_ABI_CWindows_CGaming_CInput_CIFlightStick __x_ABI_CWindows_CGaming_CInput_CIFlightStick;
  725. #ifdef __cplusplus
  726. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStick ABI::Windows::Gaming::Input::IFlightStick
  727. namespace ABI {
  728. namespace Windows {
  729. namespace Gaming {
  730. namespace Input {
  731. interface IFlightStick;
  732. }
  733. }
  734. }
  735. }
  736. #endif /* __cplusplus */
  737. #endif
  738. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_FWD_DEFINED__
  739. #define ____x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_FWD_DEFINED__
  740. typedef interface __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics;
  741. #ifdef __cplusplus
  742. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics ABI::Windows::Gaming::Input::IFlightStickStatics
  743. namespace ABI {
  744. namespace Windows {
  745. namespace Gaming {
  746. namespace Input {
  747. interface IFlightStickStatics;
  748. }
  749. }
  750. }
  751. }
  752. #endif /* __cplusplus */
  753. #endif
  754. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGameController_FWD_DEFINED__
  755. #define ____x_ABI_CWindows_CGaming_CInput_CIGameController_FWD_DEFINED__
  756. typedef interface __x_ABI_CWindows_CGaming_CInput_CIGameController __x_ABI_CWindows_CGaming_CInput_CIGameController;
  757. #ifdef __cplusplus
  758. #define __x_ABI_CWindows_CGaming_CInput_CIGameController ABI::Windows::Gaming::Input::IGameController
  759. namespace ABI {
  760. namespace Windows {
  761. namespace Gaming {
  762. namespace Input {
  763. interface IGameController;
  764. }
  765. }
  766. }
  767. }
  768. #endif /* __cplusplus */
  769. #endif
  770. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_FWD_DEFINED__
  771. #define ____x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_FWD_DEFINED__
  772. typedef interface __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo;
  773. #ifdef __cplusplus
  774. #define __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo ABI::Windows::Gaming::Input::IGameControllerBatteryInfo
  775. namespace ABI {
  776. namespace Windows {
  777. namespace Gaming {
  778. namespace Input {
  779. interface IGameControllerBatteryInfo;
  780. }
  781. }
  782. }
  783. }
  784. #endif /* __cplusplus */
  785. #endif
  786. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepad_FWD_DEFINED__
  787. #define ____x_ABI_CWindows_CGaming_CInput_CIGamepad_FWD_DEFINED__
  788. typedef interface __x_ABI_CWindows_CGaming_CInput_CIGamepad __x_ABI_CWindows_CGaming_CInput_CIGamepad;
  789. #ifdef __cplusplus
  790. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad ABI::Windows::Gaming::Input::IGamepad
  791. namespace ABI {
  792. namespace Windows {
  793. namespace Gaming {
  794. namespace Input {
  795. interface IGamepad;
  796. }
  797. }
  798. }
  799. }
  800. #endif /* __cplusplus */
  801. #endif
  802. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepad2_FWD_DEFINED__
  803. #define ____x_ABI_CWindows_CGaming_CInput_CIGamepad2_FWD_DEFINED__
  804. typedef interface __x_ABI_CWindows_CGaming_CInput_CIGamepad2 __x_ABI_CWindows_CGaming_CInput_CIGamepad2;
  805. #ifdef __cplusplus
  806. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad2 ABI::Windows::Gaming::Input::IGamepad2
  807. namespace ABI {
  808. namespace Windows {
  809. namespace Gaming {
  810. namespace Input {
  811. interface IGamepad2;
  812. }
  813. }
  814. }
  815. }
  816. #endif /* __cplusplus */
  817. #endif
  818. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_FWD_DEFINED__
  819. #define ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_FWD_DEFINED__
  820. typedef interface __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics;
  821. #ifdef __cplusplus
  822. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics ABI::Windows::Gaming::Input::IGamepadStatics
  823. namespace ABI {
  824. namespace Windows {
  825. namespace Gaming {
  826. namespace Input {
  827. interface IGamepadStatics;
  828. }
  829. }
  830. }
  831. }
  832. #endif /* __cplusplus */
  833. #endif
  834. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_FWD_DEFINED__
  835. #define ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_FWD_DEFINED__
  836. typedef interface __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2 __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2;
  837. #ifdef __cplusplus
  838. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2 ABI::Windows::Gaming::Input::IGamepadStatics2
  839. namespace ABI {
  840. namespace Windows {
  841. namespace Gaming {
  842. namespace Input {
  843. interface IGamepadStatics2;
  844. }
  845. }
  846. }
  847. }
  848. #endif /* __cplusplus */
  849. #endif
  850. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRacingWheel_FWD_DEFINED__
  851. #define ____x_ABI_CWindows_CGaming_CInput_CIRacingWheel_FWD_DEFINED__
  852. typedef interface __x_ABI_CWindows_CGaming_CInput_CIRacingWheel __x_ABI_CWindows_CGaming_CInput_CIRacingWheel;
  853. #ifdef __cplusplus
  854. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel ABI::Windows::Gaming::Input::IRacingWheel
  855. namespace ABI {
  856. namespace Windows {
  857. namespace Gaming {
  858. namespace Input {
  859. interface IRacingWheel;
  860. }
  861. }
  862. }
  863. }
  864. #endif /* __cplusplus */
  865. #endif
  866. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_FWD_DEFINED__
  867. #define ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_FWD_DEFINED__
  868. typedef interface __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics;
  869. #ifdef __cplusplus
  870. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics ABI::Windows::Gaming::Input::IRacingWheelStatics
  871. namespace ABI {
  872. namespace Windows {
  873. namespace Gaming {
  874. namespace Input {
  875. interface IRacingWheelStatics;
  876. }
  877. }
  878. }
  879. }
  880. #endif /* __cplusplus */
  881. #endif
  882. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_FWD_DEFINED__
  883. #define ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_FWD_DEFINED__
  884. typedef interface __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2 __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2;
  885. #ifdef __cplusplus
  886. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2 ABI::Windows::Gaming::Input::IRacingWheelStatics2
  887. namespace ABI {
  888. namespace Windows {
  889. namespace Gaming {
  890. namespace Input {
  891. interface IRacingWheelStatics2;
  892. }
  893. }
  894. }
  895. }
  896. #endif /* __cplusplus */
  897. #endif
  898. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRawGameController_FWD_DEFINED__
  899. #define ____x_ABI_CWindows_CGaming_CInput_CIRawGameController_FWD_DEFINED__
  900. typedef interface __x_ABI_CWindows_CGaming_CInput_CIRawGameController __x_ABI_CWindows_CGaming_CInput_CIRawGameController;
  901. #ifdef __cplusplus
  902. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController ABI::Windows::Gaming::Input::IRawGameController
  903. namespace ABI {
  904. namespace Windows {
  905. namespace Gaming {
  906. namespace Input {
  907. interface IRawGameController;
  908. }
  909. }
  910. }
  911. }
  912. #endif /* __cplusplus */
  913. #endif
  914. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRawGameController2_FWD_DEFINED__
  915. #define ____x_ABI_CWindows_CGaming_CInput_CIRawGameController2_FWD_DEFINED__
  916. typedef interface __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 __x_ABI_CWindows_CGaming_CInput_CIRawGameController2;
  917. #ifdef __cplusplus
  918. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 ABI::Windows::Gaming::Input::IRawGameController2
  919. namespace ABI {
  920. namespace Windows {
  921. namespace Gaming {
  922. namespace Input {
  923. interface IRawGameController2;
  924. }
  925. }
  926. }
  927. }
  928. #endif /* __cplusplus */
  929. #endif
  930. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  931. #define ____FIIterator_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  932. typedef interface __FIIterator_1_Windows__CGaming__CInput__CArcadeStick __FIIterator_1_Windows__CGaming__CInput__CArcadeStick;
  933. #ifdef __cplusplus
  934. #define __FIIterator_1_Windows__CGaming__CInput__CArcadeStick ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Gaming::Input::ArcadeStick* >
  935. #endif /* __cplusplus */
  936. #endif
  937. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  938. #define ____FIIterable_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  939. typedef interface __FIIterable_1_Windows__CGaming__CInput__CArcadeStick __FIIterable_1_Windows__CGaming__CInput__CArcadeStick;
  940. #ifdef __cplusplus
  941. #define __FIIterable_1_Windows__CGaming__CInput__CArcadeStick ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Gaming::Input::ArcadeStick* >
  942. #endif /* __cplusplus */
  943. #endif
  944. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  945. #define ____FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_FWD_DEFINED__
  946. typedef interface __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick;
  947. #ifdef __cplusplus
  948. #define __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::ArcadeStick* >
  949. #endif /* __cplusplus */
  950. #endif
  951. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  952. #define ____FIIterator_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  953. typedef interface __FIIterator_1_Windows__CGaming__CInput__CFlightStick __FIIterator_1_Windows__CGaming__CInput__CFlightStick;
  954. #ifdef __cplusplus
  955. #define __FIIterator_1_Windows__CGaming__CInput__CFlightStick ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Gaming::Input::FlightStick* >
  956. #endif /* __cplusplus */
  957. #endif
  958. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  959. #define ____FIIterable_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  960. typedef interface __FIIterable_1_Windows__CGaming__CInput__CFlightStick __FIIterable_1_Windows__CGaming__CInput__CFlightStick;
  961. #ifdef __cplusplus
  962. #define __FIIterable_1_Windows__CGaming__CInput__CFlightStick ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Gaming::Input::FlightStick* >
  963. #endif /* __cplusplus */
  964. #endif
  965. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  966. #define ____FIVectorView_1_Windows__CGaming__CInput__CFlightStick_FWD_DEFINED__
  967. typedef interface __FIVectorView_1_Windows__CGaming__CInput__CFlightStick __FIVectorView_1_Windows__CGaming__CInput__CFlightStick;
  968. #ifdef __cplusplus
  969. #define __FIVectorView_1_Windows__CGaming__CInput__CFlightStick ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::FlightStick* >
  970. #endif /* __cplusplus */
  971. #endif
  972. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  973. #define ____FIIterator_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  974. typedef interface __FIIterator_1_Windows__CGaming__CInput__CGamepad __FIIterator_1_Windows__CGaming__CInput__CGamepad;
  975. #ifdef __cplusplus
  976. #define __FIIterator_1_Windows__CGaming__CInput__CGamepad ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Gaming::Input::Gamepad* >
  977. #endif /* __cplusplus */
  978. #endif
  979. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  980. #define ____FIIterable_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  981. typedef interface __FIIterable_1_Windows__CGaming__CInput__CGamepad __FIIterable_1_Windows__CGaming__CInput__CGamepad;
  982. #ifdef __cplusplus
  983. #define __FIIterable_1_Windows__CGaming__CInput__CGamepad ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Gaming::Input::Gamepad* >
  984. #endif /* __cplusplus */
  985. #endif
  986. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  987. #define ____FIVectorView_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  988. typedef interface __FIVectorView_1_Windows__CGaming__CInput__CGamepad __FIVectorView_1_Windows__CGaming__CInput__CGamepad;
  989. #ifdef __cplusplus
  990. #define __FIVectorView_1_Windows__CGaming__CInput__CGamepad ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::Gamepad* >
  991. #endif /* __cplusplus */
  992. #endif
  993. #ifndef ____FIVector_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  994. #define ____FIVector_1_Windows__CGaming__CInput__CGamepad_FWD_DEFINED__
  995. typedef interface __FIVector_1_Windows__CGaming__CInput__CGamepad __FIVector_1_Windows__CGaming__CInput__CGamepad;
  996. #ifdef __cplusplus
  997. #define __FIVector_1_Windows__CGaming__CInput__CGamepad ABI::Windows::Foundation::Collections::IVector<ABI::Windows::Gaming::Input::Gamepad* >
  998. #endif /* __cplusplus */
  999. #endif
  1000. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  1001. #define ____FIIterator_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  1002. typedef interface __FIIterator_1_Windows__CGaming__CInput__CRacingWheel __FIIterator_1_Windows__CGaming__CInput__CRacingWheel;
  1003. #ifdef __cplusplus
  1004. #define __FIIterator_1_Windows__CGaming__CInput__CRacingWheel ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Gaming::Input::RacingWheel* >
  1005. #endif /* __cplusplus */
  1006. #endif
  1007. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  1008. #define ____FIIterable_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  1009. typedef interface __FIIterable_1_Windows__CGaming__CInput__CRacingWheel __FIIterable_1_Windows__CGaming__CInput__CRacingWheel;
  1010. #ifdef __cplusplus
  1011. #define __FIIterable_1_Windows__CGaming__CInput__CRacingWheel ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Gaming::Input::RacingWheel* >
  1012. #endif /* __cplusplus */
  1013. #endif
  1014. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  1015. #define ____FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  1016. typedef interface __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel;
  1017. #ifdef __cplusplus
  1018. #define __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::RacingWheel* >
  1019. #endif /* __cplusplus */
  1020. #endif
  1021. #ifndef ____FIVector_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  1022. #define ____FIVector_1_Windows__CGaming__CInput__CRacingWheel_FWD_DEFINED__
  1023. typedef interface __FIVector_1_Windows__CGaming__CInput__CRacingWheel __FIVector_1_Windows__CGaming__CInput__CRacingWheel;
  1024. #ifdef __cplusplus
  1025. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel ABI::Windows::Foundation::Collections::IVector<ABI::Windows::Gaming::Input::RacingWheel* >
  1026. #endif /* __cplusplus */
  1027. #endif
  1028. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  1029. #define ____FIIterator_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  1030. typedef interface __FIIterator_1_Windows__CGaming__CInput__CRawGameController __FIIterator_1_Windows__CGaming__CInput__CRawGameController;
  1031. #ifdef __cplusplus
  1032. #define __FIIterator_1_Windows__CGaming__CInput__CRawGameController ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Gaming::Input::RawGameController* >
  1033. #endif /* __cplusplus */
  1034. #endif
  1035. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  1036. #define ____FIIterable_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  1037. typedef interface __FIIterable_1_Windows__CGaming__CInput__CRawGameController __FIIterable_1_Windows__CGaming__CInput__CRawGameController;
  1038. #ifdef __cplusplus
  1039. #define __FIIterable_1_Windows__CGaming__CInput__CRawGameController ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Gaming::Input::RawGameController* >
  1040. #endif /* __cplusplus */
  1041. #endif
  1042. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  1043. #define ____FIVectorView_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  1044. typedef interface __FIVectorView_1_Windows__CGaming__CInput__CRawGameController __FIVectorView_1_Windows__CGaming__CInput__CRawGameController;
  1045. #ifdef __cplusplus
  1046. #define __FIVectorView_1_Windows__CGaming__CInput__CRawGameController ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::RawGameController* >
  1047. #endif /* __cplusplus */
  1048. #endif
  1049. #ifndef ____FIVector_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  1050. #define ____FIVector_1_Windows__CGaming__CInput__CRawGameController_FWD_DEFINED__
  1051. typedef interface __FIVector_1_Windows__CGaming__CInput__CRawGameController __FIVector_1_Windows__CGaming__CInput__CRawGameController;
  1052. #ifdef __cplusplus
  1053. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController ABI::Windows::Foundation::Collections::IVector<ABI::Windows::Gaming::Input::RawGameController* >
  1054. #endif /* __cplusplus */
  1055. #endif
  1056. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1057. #ifdef __cplusplus
  1058. } /* extern "C" */
  1059. namespace ABI {
  1060. namespace Windows {
  1061. namespace Gaming {
  1062. namespace Input {
  1063. enum ArcadeStickButtons {
  1064. ArcadeStickButtons_None = 0x0,
  1065. ArcadeStickButtons_StickUp = 0x1,
  1066. ArcadeStickButtons_StickDown = 0x2,
  1067. ArcadeStickButtons_StickLeft = 0x4,
  1068. ArcadeStickButtons_StickRight = 0x8,
  1069. ArcadeStickButtons_Action1 = 0x10,
  1070. ArcadeStickButtons_Action2 = 0x20,
  1071. ArcadeStickButtons_Action3 = 0x40,
  1072. ArcadeStickButtons_Action4 = 0x80,
  1073. ArcadeStickButtons_Action5 = 0x100,
  1074. ArcadeStickButtons_Action6 = 0x200,
  1075. ArcadeStickButtons_Special1 = 0x400,
  1076. ArcadeStickButtons_Special2 = 0x800
  1077. };
  1078. }
  1079. }
  1080. }
  1081. }
  1082. extern "C" {
  1083. #else
  1084. enum __x_ABI_CWindows_CGaming_CInput_CArcadeStickButtons {
  1085. ArcadeStickButtons_None = 0x0,
  1086. ArcadeStickButtons_StickUp = 0x1,
  1087. ArcadeStickButtons_StickDown = 0x2,
  1088. ArcadeStickButtons_StickLeft = 0x4,
  1089. ArcadeStickButtons_StickRight = 0x8,
  1090. ArcadeStickButtons_Action1 = 0x10,
  1091. ArcadeStickButtons_Action2 = 0x20,
  1092. ArcadeStickButtons_Action3 = 0x40,
  1093. ArcadeStickButtons_Action4 = 0x80,
  1094. ArcadeStickButtons_Action5 = 0x100,
  1095. ArcadeStickButtons_Action6 = 0x200,
  1096. ArcadeStickButtons_Special1 = 0x400,
  1097. ArcadeStickButtons_Special2 = 0x800
  1098. };
  1099. #ifdef WIDL_using_Windows_Gaming_Input
  1100. #define ArcadeStickButtons __x_ABI_CWindows_CGaming_CInput_CArcadeStickButtons
  1101. #endif /* WIDL_using_Windows_Gaming_Input */
  1102. #endif
  1103. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1104. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  1105. #ifdef __cplusplus
  1106. } /* extern "C" */
  1107. namespace ABI {
  1108. namespace Windows {
  1109. namespace Gaming {
  1110. namespace Input {
  1111. enum FlightStickButtons {
  1112. FlightStickButtons_None = 0x0,
  1113. FlightStickButtons_FirePrimary = 0x1,
  1114. FlightStickButtons_FireSecondary = 0x2
  1115. };
  1116. }
  1117. }
  1118. }
  1119. }
  1120. extern "C" {
  1121. #else
  1122. enum __x_ABI_CWindows_CGaming_CInput_CFlightStickButtons {
  1123. FlightStickButtons_None = 0x0,
  1124. FlightStickButtons_FirePrimary = 0x1,
  1125. FlightStickButtons_FireSecondary = 0x2
  1126. };
  1127. #ifdef WIDL_using_Windows_Gaming_Input
  1128. #define FlightStickButtons __x_ABI_CWindows_CGaming_CInput_CFlightStickButtons
  1129. #endif /* WIDL_using_Windows_Gaming_Input */
  1130. #endif
  1131. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  1132. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  1133. #ifdef __cplusplus
  1134. } /* extern "C" */
  1135. namespace ABI {
  1136. namespace Windows {
  1137. namespace Gaming {
  1138. namespace Input {
  1139. enum GamepadButtons {
  1140. GamepadButtons_None = 0x0,
  1141. GamepadButtons_Menu = 0x1,
  1142. GamepadButtons_View = 0x2,
  1143. GamepadButtons_A = 0x4,
  1144. GamepadButtons_B = 0x8,
  1145. GamepadButtons_X = 0x10,
  1146. GamepadButtons_Y = 0x20,
  1147. GamepadButtons_DPadUp = 0x40,
  1148. GamepadButtons_DPadDown = 0x80,
  1149. GamepadButtons_DPadLeft = 0x100,
  1150. GamepadButtons_DPadRight = 0x200,
  1151. GamepadButtons_LeftShoulder = 0x400,
  1152. GamepadButtons_RightShoulder = 0x800,
  1153. GamepadButtons_LeftThumbstick = 0x1000,
  1154. GamepadButtons_RightThumbstick = 0x2000,
  1155. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1156. GamepadButtons_Paddle1 = 0x4000,
  1157. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1158. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1159. GamepadButtons_Paddle2 = 0x8000,
  1160. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1161. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1162. GamepadButtons_Paddle3 = 0x10000,
  1163. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1164. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1165. GamepadButtons_Paddle4 = 0x20000
  1166. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1167. };
  1168. }
  1169. }
  1170. }
  1171. }
  1172. extern "C" {
  1173. #else
  1174. enum __x_ABI_CWindows_CGaming_CInput_CGamepadButtons {
  1175. GamepadButtons_None = 0x0,
  1176. GamepadButtons_Menu = 0x1,
  1177. GamepadButtons_View = 0x2,
  1178. GamepadButtons_A = 0x4,
  1179. GamepadButtons_B = 0x8,
  1180. GamepadButtons_X = 0x10,
  1181. GamepadButtons_Y = 0x20,
  1182. GamepadButtons_DPadUp = 0x40,
  1183. GamepadButtons_DPadDown = 0x80,
  1184. GamepadButtons_DPadLeft = 0x100,
  1185. GamepadButtons_DPadRight = 0x200,
  1186. GamepadButtons_LeftShoulder = 0x400,
  1187. GamepadButtons_RightShoulder = 0x800,
  1188. GamepadButtons_LeftThumbstick = 0x1000,
  1189. GamepadButtons_RightThumbstick = 0x2000,
  1190. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1191. GamepadButtons_Paddle1 = 0x4000,
  1192. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1193. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1194. GamepadButtons_Paddle2 = 0x8000,
  1195. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1196. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1197. GamepadButtons_Paddle3 = 0x10000,
  1198. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1199. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1200. GamepadButtons_Paddle4 = 0x20000
  1201. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1202. };
  1203. #ifdef WIDL_using_Windows_Gaming_Input
  1204. #define GamepadButtons __x_ABI_CWindows_CGaming_CInput_CGamepadButtons
  1205. #endif /* WIDL_using_Windows_Gaming_Input */
  1206. #endif
  1207. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  1208. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1209. #ifdef __cplusplus
  1210. } /* extern "C" */
  1211. namespace ABI {
  1212. namespace Windows {
  1213. namespace Gaming {
  1214. namespace Input {
  1215. enum GameControllerButtonLabel {
  1216. GameControllerButtonLabel_None = 0,
  1217. GameControllerButtonLabel_XboxBack = 1,
  1218. GameControllerButtonLabel_XboxStart = 2,
  1219. GameControllerButtonLabel_XboxMenu = 3,
  1220. GameControllerButtonLabel_XboxView = 4,
  1221. GameControllerButtonLabel_XboxUp = 5,
  1222. GameControllerButtonLabel_XboxDown = 6,
  1223. GameControllerButtonLabel_XboxLeft = 7,
  1224. GameControllerButtonLabel_XboxRight = 8,
  1225. GameControllerButtonLabel_XboxA = 9,
  1226. GameControllerButtonLabel_XboxB = 10,
  1227. GameControllerButtonLabel_XboxX = 11,
  1228. GameControllerButtonLabel_XboxY = 12,
  1229. GameControllerButtonLabel_XboxLeftBumper = 13,
  1230. GameControllerButtonLabel_XboxLeftTrigger = 14,
  1231. GameControllerButtonLabel_XboxLeftStickButton = 15,
  1232. GameControllerButtonLabel_XboxRightBumper = 16,
  1233. GameControllerButtonLabel_XboxRightTrigger = 17,
  1234. GameControllerButtonLabel_XboxRightStickButton = 18,
  1235. GameControllerButtonLabel_XboxPaddle1 = 19,
  1236. GameControllerButtonLabel_XboxPaddle2 = 20,
  1237. GameControllerButtonLabel_XboxPaddle3 = 21,
  1238. GameControllerButtonLabel_XboxPaddle4 = 22,
  1239. GameControllerButtonLabel_Mode = 23,
  1240. GameControllerButtonLabel_Select = 24,
  1241. GameControllerButtonLabel_Menu = 25,
  1242. GameControllerButtonLabel_View = 26,
  1243. GameControllerButtonLabel_Back = 27,
  1244. GameControllerButtonLabel_Start = 28,
  1245. GameControllerButtonLabel_Options = 29,
  1246. GameControllerButtonLabel_Share = 30,
  1247. GameControllerButtonLabel_Up = 31,
  1248. GameControllerButtonLabel_Down = 32,
  1249. GameControllerButtonLabel_Left = 33,
  1250. GameControllerButtonLabel_Right = 34,
  1251. GameControllerButtonLabel_LetterA = 35,
  1252. GameControllerButtonLabel_LetterB = 36,
  1253. GameControllerButtonLabel_LetterC = 37,
  1254. GameControllerButtonLabel_LetterL = 38,
  1255. GameControllerButtonLabel_LetterR = 39,
  1256. GameControllerButtonLabel_LetterX = 40,
  1257. GameControllerButtonLabel_LetterY = 41,
  1258. GameControllerButtonLabel_LetterZ = 42,
  1259. GameControllerButtonLabel_Cross = 43,
  1260. GameControllerButtonLabel_Circle = 44,
  1261. GameControllerButtonLabel_Square = 45,
  1262. GameControllerButtonLabel_Triangle = 46,
  1263. GameControllerButtonLabel_LeftBumper = 47,
  1264. GameControllerButtonLabel_LeftTrigger = 48,
  1265. GameControllerButtonLabel_LeftStickButton = 49,
  1266. GameControllerButtonLabel_Left1 = 50,
  1267. GameControllerButtonLabel_Left2 = 51,
  1268. GameControllerButtonLabel_Left3 = 52,
  1269. GameControllerButtonLabel_RightBumper = 53,
  1270. GameControllerButtonLabel_RightTrigger = 54,
  1271. GameControllerButtonLabel_RightStickButton = 55,
  1272. GameControllerButtonLabel_Right1 = 56,
  1273. GameControllerButtonLabel_Right2 = 57,
  1274. GameControllerButtonLabel_Right3 = 58,
  1275. GameControllerButtonLabel_Paddle1 = 59,
  1276. GameControllerButtonLabel_Paddle2 = 60,
  1277. GameControllerButtonLabel_Paddle3 = 61,
  1278. GameControllerButtonLabel_Paddle4 = 62,
  1279. GameControllerButtonLabel_Plus = 63,
  1280. GameControllerButtonLabel_Minus = 64,
  1281. GameControllerButtonLabel_DownLeftArrow = 65,
  1282. GameControllerButtonLabel_DialLeft = 66,
  1283. GameControllerButtonLabel_DialRight = 67,
  1284. GameControllerButtonLabel_Suspension = 68
  1285. };
  1286. }
  1287. }
  1288. }
  1289. }
  1290. extern "C" {
  1291. #else
  1292. enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel {
  1293. GameControllerButtonLabel_None = 0,
  1294. GameControllerButtonLabel_XboxBack = 1,
  1295. GameControllerButtonLabel_XboxStart = 2,
  1296. GameControllerButtonLabel_XboxMenu = 3,
  1297. GameControllerButtonLabel_XboxView = 4,
  1298. GameControllerButtonLabel_XboxUp = 5,
  1299. GameControllerButtonLabel_XboxDown = 6,
  1300. GameControllerButtonLabel_XboxLeft = 7,
  1301. GameControllerButtonLabel_XboxRight = 8,
  1302. GameControllerButtonLabel_XboxA = 9,
  1303. GameControllerButtonLabel_XboxB = 10,
  1304. GameControllerButtonLabel_XboxX = 11,
  1305. GameControllerButtonLabel_XboxY = 12,
  1306. GameControllerButtonLabel_XboxLeftBumper = 13,
  1307. GameControllerButtonLabel_XboxLeftTrigger = 14,
  1308. GameControllerButtonLabel_XboxLeftStickButton = 15,
  1309. GameControllerButtonLabel_XboxRightBumper = 16,
  1310. GameControllerButtonLabel_XboxRightTrigger = 17,
  1311. GameControllerButtonLabel_XboxRightStickButton = 18,
  1312. GameControllerButtonLabel_XboxPaddle1 = 19,
  1313. GameControllerButtonLabel_XboxPaddle2 = 20,
  1314. GameControllerButtonLabel_XboxPaddle3 = 21,
  1315. GameControllerButtonLabel_XboxPaddle4 = 22,
  1316. GameControllerButtonLabel_Mode = 23,
  1317. GameControllerButtonLabel_Select = 24,
  1318. GameControllerButtonLabel_Menu = 25,
  1319. GameControllerButtonLabel_View = 26,
  1320. GameControllerButtonLabel_Back = 27,
  1321. GameControllerButtonLabel_Start = 28,
  1322. GameControllerButtonLabel_Options = 29,
  1323. GameControllerButtonLabel_Share = 30,
  1324. GameControllerButtonLabel_Up = 31,
  1325. GameControllerButtonLabel_Down = 32,
  1326. GameControllerButtonLabel_Left = 33,
  1327. GameControllerButtonLabel_Right = 34,
  1328. GameControllerButtonLabel_LetterA = 35,
  1329. GameControllerButtonLabel_LetterB = 36,
  1330. GameControllerButtonLabel_LetterC = 37,
  1331. GameControllerButtonLabel_LetterL = 38,
  1332. GameControllerButtonLabel_LetterR = 39,
  1333. GameControllerButtonLabel_LetterX = 40,
  1334. GameControllerButtonLabel_LetterY = 41,
  1335. GameControllerButtonLabel_LetterZ = 42,
  1336. GameControllerButtonLabel_Cross = 43,
  1337. GameControllerButtonLabel_Circle = 44,
  1338. GameControllerButtonLabel_Square = 45,
  1339. GameControllerButtonLabel_Triangle = 46,
  1340. GameControllerButtonLabel_LeftBumper = 47,
  1341. GameControllerButtonLabel_LeftTrigger = 48,
  1342. GameControllerButtonLabel_LeftStickButton = 49,
  1343. GameControllerButtonLabel_Left1 = 50,
  1344. GameControllerButtonLabel_Left2 = 51,
  1345. GameControllerButtonLabel_Left3 = 52,
  1346. GameControllerButtonLabel_RightBumper = 53,
  1347. GameControllerButtonLabel_RightTrigger = 54,
  1348. GameControllerButtonLabel_RightStickButton = 55,
  1349. GameControllerButtonLabel_Right1 = 56,
  1350. GameControllerButtonLabel_Right2 = 57,
  1351. GameControllerButtonLabel_Right3 = 58,
  1352. GameControllerButtonLabel_Paddle1 = 59,
  1353. GameControllerButtonLabel_Paddle2 = 60,
  1354. GameControllerButtonLabel_Paddle3 = 61,
  1355. GameControllerButtonLabel_Paddle4 = 62,
  1356. GameControllerButtonLabel_Plus = 63,
  1357. GameControllerButtonLabel_Minus = 64,
  1358. GameControllerButtonLabel_DownLeftArrow = 65,
  1359. GameControllerButtonLabel_DialLeft = 66,
  1360. GameControllerButtonLabel_DialRight = 67,
  1361. GameControllerButtonLabel_Suspension = 68
  1362. };
  1363. #ifdef WIDL_using_Windows_Gaming_Input
  1364. #define GameControllerButtonLabel __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel
  1365. #endif /* WIDL_using_Windows_Gaming_Input */
  1366. #endif
  1367. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1368. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  1369. #ifdef __cplusplus
  1370. } /* extern "C" */
  1371. namespace ABI {
  1372. namespace Windows {
  1373. namespace Gaming {
  1374. namespace Input {
  1375. enum GameControllerSwitchKind {
  1376. GameControllerSwitchKind_TwoWay = 0,
  1377. GameControllerSwitchKind_FourWay = 1,
  1378. GameControllerSwitchKind_EightWay = 2
  1379. };
  1380. }
  1381. }
  1382. }
  1383. }
  1384. extern "C" {
  1385. #else
  1386. enum __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchKind {
  1387. GameControllerSwitchKind_TwoWay = 0,
  1388. GameControllerSwitchKind_FourWay = 1,
  1389. GameControllerSwitchKind_EightWay = 2
  1390. };
  1391. #ifdef WIDL_using_Windows_Gaming_Input
  1392. #define GameControllerSwitchKind __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchKind
  1393. #endif /* WIDL_using_Windows_Gaming_Input */
  1394. #endif
  1395. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  1396. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  1397. #ifdef __cplusplus
  1398. } /* extern "C" */
  1399. namespace ABI {
  1400. namespace Windows {
  1401. namespace Gaming {
  1402. namespace Input {
  1403. enum GameControllerSwitchPosition {
  1404. GameControllerSwitchPosition_Center = 0,
  1405. GameControllerSwitchPosition_Up = 1,
  1406. GameControllerSwitchPosition_UpRight = 2,
  1407. GameControllerSwitchPosition_Right = 3,
  1408. GameControllerSwitchPosition_DownRight = 4,
  1409. GameControllerSwitchPosition_Down = 5,
  1410. GameControllerSwitchPosition_DownLeft = 6,
  1411. GameControllerSwitchPosition_Left = 7,
  1412. GameControllerSwitchPosition_UpLeft = 8
  1413. };
  1414. }
  1415. }
  1416. }
  1417. }
  1418. extern "C" {
  1419. #else
  1420. enum __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchPosition {
  1421. GameControllerSwitchPosition_Center = 0,
  1422. GameControllerSwitchPosition_Up = 1,
  1423. GameControllerSwitchPosition_UpRight = 2,
  1424. GameControllerSwitchPosition_Right = 3,
  1425. GameControllerSwitchPosition_DownRight = 4,
  1426. GameControllerSwitchPosition_Down = 5,
  1427. GameControllerSwitchPosition_DownLeft = 6,
  1428. GameControllerSwitchPosition_Left = 7,
  1429. GameControllerSwitchPosition_UpLeft = 8
  1430. };
  1431. #ifdef WIDL_using_Windows_Gaming_Input
  1432. #define GameControllerSwitchPosition __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchPosition
  1433. #endif /* WIDL_using_Windows_Gaming_Input */
  1434. #endif
  1435. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  1436. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1437. #ifdef __cplusplus
  1438. } /* extern "C" */
  1439. namespace ABI {
  1440. namespace Windows {
  1441. namespace Gaming {
  1442. namespace Input {
  1443. enum RacingWheelButtons {
  1444. RacingWheelButtons_None = 0x0,
  1445. RacingWheelButtons_PreviousGear = 0x1,
  1446. RacingWheelButtons_NextGear = 0x2,
  1447. RacingWheelButtons_DPadUp = 0x4,
  1448. RacingWheelButtons_DPadDown = 0x8,
  1449. RacingWheelButtons_DPadLeft = 0x10,
  1450. RacingWheelButtons_DPadRight = 0x20,
  1451. RacingWheelButtons_Button1 = 0x40,
  1452. RacingWheelButtons_Button2 = 0x80,
  1453. RacingWheelButtons_Button3 = 0x100,
  1454. RacingWheelButtons_Button4 = 0x200,
  1455. RacingWheelButtons_Button5 = 0x400,
  1456. RacingWheelButtons_Button6 = 0x800,
  1457. RacingWheelButtons_Button7 = 0x1000,
  1458. RacingWheelButtons_Button8 = 0x2000,
  1459. RacingWheelButtons_Button9 = 0x4000,
  1460. RacingWheelButtons_Button10 = 0x8000,
  1461. RacingWheelButtons_Button11 = 0x10000,
  1462. RacingWheelButtons_Button12 = 0x20000,
  1463. RacingWheelButtons_Button13 = 0x40000,
  1464. RacingWheelButtons_Button14 = 0x80000,
  1465. RacingWheelButtons_Button15 = 0x100000,
  1466. RacingWheelButtons_Button16 = 0x200000
  1467. };
  1468. }
  1469. }
  1470. }
  1471. }
  1472. extern "C" {
  1473. #else
  1474. enum __x_ABI_CWindows_CGaming_CInput_CRacingWheelButtons {
  1475. RacingWheelButtons_None = 0x0,
  1476. RacingWheelButtons_PreviousGear = 0x1,
  1477. RacingWheelButtons_NextGear = 0x2,
  1478. RacingWheelButtons_DPadUp = 0x4,
  1479. RacingWheelButtons_DPadDown = 0x8,
  1480. RacingWheelButtons_DPadLeft = 0x10,
  1481. RacingWheelButtons_DPadRight = 0x20,
  1482. RacingWheelButtons_Button1 = 0x40,
  1483. RacingWheelButtons_Button2 = 0x80,
  1484. RacingWheelButtons_Button3 = 0x100,
  1485. RacingWheelButtons_Button4 = 0x200,
  1486. RacingWheelButtons_Button5 = 0x400,
  1487. RacingWheelButtons_Button6 = 0x800,
  1488. RacingWheelButtons_Button7 = 0x1000,
  1489. RacingWheelButtons_Button8 = 0x2000,
  1490. RacingWheelButtons_Button9 = 0x4000,
  1491. RacingWheelButtons_Button10 = 0x8000,
  1492. RacingWheelButtons_Button11 = 0x10000,
  1493. RacingWheelButtons_Button12 = 0x20000,
  1494. RacingWheelButtons_Button13 = 0x40000,
  1495. RacingWheelButtons_Button14 = 0x80000,
  1496. RacingWheelButtons_Button15 = 0x100000,
  1497. RacingWheelButtons_Button16 = 0x200000
  1498. };
  1499. #ifdef WIDL_using_Windows_Gaming_Input
  1500. #define RacingWheelButtons __x_ABI_CWindows_CGaming_CInput_CRacingWheelButtons
  1501. #endif /* WIDL_using_Windows_Gaming_Input */
  1502. #endif
  1503. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1504. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1505. #ifdef __cplusplus
  1506. } /* extern "C" */
  1507. namespace ABI {
  1508. namespace Windows {
  1509. namespace Gaming {
  1510. namespace Input {
  1511. struct ArcadeStickReading {
  1512. UINT64 Timestamp;
  1513. enum ArcadeStickButtons Buttons;
  1514. };
  1515. }
  1516. }
  1517. }
  1518. }
  1519. extern "C" {
  1520. #else
  1521. struct __x_ABI_CWindows_CGaming_CInput_CArcadeStickReading {
  1522. UINT64 Timestamp;
  1523. enum __x_ABI_CWindows_CGaming_CInput_CArcadeStickButtons Buttons;
  1524. };
  1525. #ifdef WIDL_using_Windows_Gaming_Input
  1526. #define ArcadeStickReading __x_ABI_CWindows_CGaming_CInput_CArcadeStickReading
  1527. #endif /* WIDL_using_Windows_Gaming_Input */
  1528. #endif
  1529. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1530. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  1531. #ifdef __cplusplus
  1532. } /* extern "C" */
  1533. namespace ABI {
  1534. namespace Windows {
  1535. namespace Gaming {
  1536. namespace Input {
  1537. struct FlightStickReading {
  1538. UINT64 Timestamp;
  1539. enum FlightStickButtons Buttons;
  1540. enum GameControllerSwitchPosition HatSwitch;
  1541. DOUBLE Roll;
  1542. DOUBLE Pitch;
  1543. DOUBLE Yaw;
  1544. DOUBLE Throttle;
  1545. };
  1546. }
  1547. }
  1548. }
  1549. }
  1550. extern "C" {
  1551. #else
  1552. struct __x_ABI_CWindows_CGaming_CInput_CFlightStickReading {
  1553. UINT64 Timestamp;
  1554. enum __x_ABI_CWindows_CGaming_CInput_CFlightStickButtons Buttons;
  1555. enum __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchPosition HatSwitch;
  1556. DOUBLE Roll;
  1557. DOUBLE Pitch;
  1558. DOUBLE Yaw;
  1559. DOUBLE Throttle;
  1560. };
  1561. #ifdef WIDL_using_Windows_Gaming_Input
  1562. #define FlightStickReading __x_ABI_CWindows_CGaming_CInput_CFlightStickReading
  1563. #endif /* WIDL_using_Windows_Gaming_Input */
  1564. #endif
  1565. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  1566. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  1567. #ifdef __cplusplus
  1568. } /* extern "C" */
  1569. namespace ABI {
  1570. namespace Windows {
  1571. namespace Gaming {
  1572. namespace Input {
  1573. struct GamepadReading {
  1574. UINT64 Timestamp;
  1575. enum GamepadButtons Buttons;
  1576. DOUBLE LeftTrigger;
  1577. DOUBLE RightTrigger;
  1578. DOUBLE LeftThumbstickX;
  1579. DOUBLE LeftThumbstickY;
  1580. DOUBLE RightThumbstickX;
  1581. DOUBLE RightThumbstickY;
  1582. };
  1583. }
  1584. }
  1585. }
  1586. }
  1587. extern "C" {
  1588. #else
  1589. struct __x_ABI_CWindows_CGaming_CInput_CGamepadReading {
  1590. UINT64 Timestamp;
  1591. enum __x_ABI_CWindows_CGaming_CInput_CGamepadButtons Buttons;
  1592. DOUBLE LeftTrigger;
  1593. DOUBLE RightTrigger;
  1594. DOUBLE LeftThumbstickX;
  1595. DOUBLE LeftThumbstickY;
  1596. DOUBLE RightThumbstickX;
  1597. DOUBLE RightThumbstickY;
  1598. };
  1599. #ifdef WIDL_using_Windows_Gaming_Input
  1600. #define GamepadReading __x_ABI_CWindows_CGaming_CInput_CGamepadReading
  1601. #endif /* WIDL_using_Windows_Gaming_Input */
  1602. #endif
  1603. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  1604. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  1605. #ifdef __cplusplus
  1606. } /* extern "C" */
  1607. namespace ABI {
  1608. namespace Windows {
  1609. namespace Gaming {
  1610. namespace Input {
  1611. struct GamepadVibration {
  1612. DOUBLE LeftMotor;
  1613. DOUBLE RightMotor;
  1614. DOUBLE LeftTrigger;
  1615. DOUBLE RightTrigger;
  1616. };
  1617. }
  1618. }
  1619. }
  1620. }
  1621. extern "C" {
  1622. #else
  1623. struct __x_ABI_CWindows_CGaming_CInput_CGamepadVibration {
  1624. DOUBLE LeftMotor;
  1625. DOUBLE RightMotor;
  1626. DOUBLE LeftTrigger;
  1627. DOUBLE RightTrigger;
  1628. };
  1629. #ifdef WIDL_using_Windows_Gaming_Input
  1630. #define GamepadVibration __x_ABI_CWindows_CGaming_CInput_CGamepadVibration
  1631. #endif /* WIDL_using_Windows_Gaming_Input */
  1632. #endif
  1633. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  1634. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1635. #ifdef __cplusplus
  1636. } /* extern "C" */
  1637. namespace ABI {
  1638. namespace Windows {
  1639. namespace Gaming {
  1640. namespace Input {
  1641. struct RacingWheelReading {
  1642. UINT64 Timestamp;
  1643. enum RacingWheelButtons Buttons;
  1644. INT32 PatternShifterGear;
  1645. DOUBLE Wheel;
  1646. DOUBLE Throttle;
  1647. DOUBLE Brake;
  1648. DOUBLE Clutch;
  1649. DOUBLE Handbrake;
  1650. };
  1651. }
  1652. }
  1653. }
  1654. }
  1655. extern "C" {
  1656. #else
  1657. struct __x_ABI_CWindows_CGaming_CInput_CRacingWheelReading {
  1658. UINT64 Timestamp;
  1659. enum __x_ABI_CWindows_CGaming_CInput_CRacingWheelButtons Buttons;
  1660. INT32 PatternShifterGear;
  1661. DOUBLE Wheel;
  1662. DOUBLE Throttle;
  1663. DOUBLE Brake;
  1664. DOUBLE Clutch;
  1665. DOUBLE Handbrake;
  1666. };
  1667. #ifdef WIDL_using_Windows_Gaming_Input
  1668. #define RacingWheelReading __x_ABI_CWindows_CGaming_CInput_CRacingWheelReading
  1669. #endif /* WIDL_using_Windows_Gaming_Input */
  1670. #endif
  1671. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1672. /*****************************************************************************
  1673. * IArcadeStick interface
  1674. */
  1675. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1676. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIArcadeStick_INTERFACE_DEFINED__
  1677. #define ____x_ABI_CWindows_CGaming_CInput_CIArcadeStick_INTERFACE_DEFINED__
  1678. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIArcadeStick, 0xb14a539d, 0xbefb, 0x4c81, 0x80,0x51, 0x15,0xec,0xf3,0xb1,0x30,0x36);
  1679. #if defined(__cplusplus) && !defined(CINTERFACE)
  1680. } /* extern "C" */
  1681. namespace ABI {
  1682. namespace Windows {
  1683. namespace Gaming {
  1684. namespace Input {
  1685. MIDL_INTERFACE("b14a539d-befb-4c81-8051-15ecf3b13036")
  1686. IArcadeStick : public IInspectable
  1687. {
  1688. virtual HRESULT STDMETHODCALLTYPE GetButtonLabel(
  1689. enum ArcadeStickButtons button,
  1690. enum GameControllerButtonLabel *value) = 0;
  1691. virtual HRESULT STDMETHODCALLTYPE GetCurrentReading(
  1692. struct ArcadeStickReading *value) = 0;
  1693. };
  1694. }
  1695. }
  1696. }
  1697. }
  1698. extern "C" {
  1699. #ifdef __CRT_UUID_DECL
  1700. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIArcadeStick, 0xb14a539d, 0xbefb, 0x4c81, 0x80,0x51, 0x15,0xec,0xf3,0xb1,0x30,0x36)
  1701. #endif
  1702. #else
  1703. typedef struct __x_ABI_CWindows_CGaming_CInput_CIArcadeStickVtbl {
  1704. BEGIN_INTERFACE
  1705. /*** IUnknown methods ***/
  1706. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1707. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick *This,
  1708. REFIID riid,
  1709. void **ppvObject);
  1710. ULONG (STDMETHODCALLTYPE *AddRef)(
  1711. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick *This);
  1712. ULONG (STDMETHODCALLTYPE *Release)(
  1713. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick *This);
  1714. /*** IInspectable methods ***/
  1715. HRESULT (STDMETHODCALLTYPE *GetIids)(
  1716. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick *This,
  1717. ULONG *iidCount,
  1718. IID **iids);
  1719. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  1720. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick *This,
  1721. HSTRING *className);
  1722. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  1723. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick *This,
  1724. TrustLevel *trustLevel);
  1725. /*** IArcadeStick methods ***/
  1726. HRESULT (STDMETHODCALLTYPE *GetButtonLabel)(
  1727. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick *This,
  1728. enum __x_ABI_CWindows_CGaming_CInput_CArcadeStickButtons button,
  1729. enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel *value);
  1730. HRESULT (STDMETHODCALLTYPE *GetCurrentReading)(
  1731. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick *This,
  1732. struct __x_ABI_CWindows_CGaming_CInput_CArcadeStickReading *value);
  1733. END_INTERFACE
  1734. } __x_ABI_CWindows_CGaming_CInput_CIArcadeStickVtbl;
  1735. interface __x_ABI_CWindows_CGaming_CInput_CIArcadeStick {
  1736. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIArcadeStickVtbl* lpVtbl;
  1737. };
  1738. #ifdef COBJMACROS
  1739. #ifndef WIDL_C_INLINE_WRAPPERS
  1740. /*** IUnknown methods ***/
  1741. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1742. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_AddRef(This) (This)->lpVtbl->AddRef(This)
  1743. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_Release(This) (This)->lpVtbl->Release(This)
  1744. /*** IInspectable methods ***/
  1745. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  1746. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  1747. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  1748. /*** IArcadeStick methods ***/
  1749. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetButtonLabel(This,button,value) (This)->lpVtbl->GetButtonLabel(This,button,value)
  1750. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetCurrentReading(This,value) (This)->lpVtbl->GetCurrentReading(This,value)
  1751. #else
  1752. /*** IUnknown methods ***/
  1753. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIArcadeStick* This,REFIID riid,void **ppvObject) {
  1754. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1755. }
  1756. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_AddRef(__x_ABI_CWindows_CGaming_CInput_CIArcadeStick* This) {
  1757. return This->lpVtbl->AddRef(This);
  1758. }
  1759. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_Release(__x_ABI_CWindows_CGaming_CInput_CIArcadeStick* This) {
  1760. return This->lpVtbl->Release(This);
  1761. }
  1762. /*** IInspectable methods ***/
  1763. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetIids(__x_ABI_CWindows_CGaming_CInput_CIArcadeStick* This,ULONG *iidCount,IID **iids) {
  1764. return This->lpVtbl->GetIids(This,iidCount,iids);
  1765. }
  1766. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIArcadeStick* This,HSTRING *className) {
  1767. return This->lpVtbl->GetRuntimeClassName(This,className);
  1768. }
  1769. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIArcadeStick* This,TrustLevel *trustLevel) {
  1770. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  1771. }
  1772. /*** IArcadeStick methods ***/
  1773. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetButtonLabel(__x_ABI_CWindows_CGaming_CInput_CIArcadeStick* This,enum __x_ABI_CWindows_CGaming_CInput_CArcadeStickButtons button,enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel *value) {
  1774. return This->lpVtbl->GetButtonLabel(This,button,value);
  1775. }
  1776. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetCurrentReading(__x_ABI_CWindows_CGaming_CInput_CIArcadeStick* This,struct __x_ABI_CWindows_CGaming_CInput_CArcadeStickReading *value) {
  1777. return This->lpVtbl->GetCurrentReading(This,value);
  1778. }
  1779. #endif
  1780. #ifdef WIDL_using_Windows_Gaming_Input
  1781. #define IID_IArcadeStick IID___x_ABI_CWindows_CGaming_CInput_CIArcadeStick
  1782. #define IArcadeStickVtbl __x_ABI_CWindows_CGaming_CInput_CIArcadeStickVtbl
  1783. #define IArcadeStick __x_ABI_CWindows_CGaming_CInput_CIArcadeStick
  1784. #define IArcadeStick_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_QueryInterface
  1785. #define IArcadeStick_AddRef __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_AddRef
  1786. #define IArcadeStick_Release __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_Release
  1787. #define IArcadeStick_GetIids __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetIids
  1788. #define IArcadeStick_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetRuntimeClassName
  1789. #define IArcadeStick_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetTrustLevel
  1790. #define IArcadeStick_GetButtonLabel __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetButtonLabel
  1791. #define IArcadeStick_GetCurrentReading __x_ABI_CWindows_CGaming_CInput_CIArcadeStick_GetCurrentReading
  1792. #endif /* WIDL_using_Windows_Gaming_Input */
  1793. #endif
  1794. #endif
  1795. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIArcadeStick_INTERFACE_DEFINED__ */
  1796. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1797. /*****************************************************************************
  1798. * IArcadeStickStatics interface
  1799. */
  1800. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1801. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_INTERFACE_DEFINED__
  1802. #define ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_INTERFACE_DEFINED__
  1803. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics, 0x5c37b8c8, 0x37b1, 0x4ad8, 0x94,0x58, 0x20,0x0f,0x1a,0x30,0x01,0x8e);
  1804. #if defined(__cplusplus) && !defined(CINTERFACE)
  1805. } /* extern "C" */
  1806. namespace ABI {
  1807. namespace Windows {
  1808. namespace Gaming {
  1809. namespace Input {
  1810. MIDL_INTERFACE("5c37b8c8-37b1-4ad8-9458-200f1a30018e")
  1811. IArcadeStickStatics : public IInspectable
  1812. {
  1813. virtual HRESULT STDMETHODCALLTYPE add_ArcadeStickAdded(
  1814. ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::ArcadeStick* > *value,
  1815. EventRegistrationToken *token) = 0;
  1816. virtual HRESULT STDMETHODCALLTYPE remove_ArcadeStickAdded(
  1817. EventRegistrationToken token) = 0;
  1818. virtual HRESULT STDMETHODCALLTYPE add_ArcadeStickRemoved(
  1819. ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::ArcadeStick* > *value,
  1820. EventRegistrationToken *token) = 0;
  1821. virtual HRESULT STDMETHODCALLTYPE remove_ArcadeStickRemoved(
  1822. EventRegistrationToken token) = 0;
  1823. virtual HRESULT STDMETHODCALLTYPE get_ArcadeSticks(
  1824. ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::ArcadeStick* > **value) = 0;
  1825. };
  1826. }
  1827. }
  1828. }
  1829. }
  1830. extern "C" {
  1831. #ifdef __CRT_UUID_DECL
  1832. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics, 0x5c37b8c8, 0x37b1, 0x4ad8, 0x94,0x58, 0x20,0x0f,0x1a,0x30,0x01,0x8e)
  1833. #endif
  1834. #else
  1835. typedef struct __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStaticsVtbl {
  1836. BEGIN_INTERFACE
  1837. /*** IUnknown methods ***/
  1838. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1839. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics *This,
  1840. REFIID riid,
  1841. void **ppvObject);
  1842. ULONG (STDMETHODCALLTYPE *AddRef)(
  1843. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics *This);
  1844. ULONG (STDMETHODCALLTYPE *Release)(
  1845. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics *This);
  1846. /*** IInspectable methods ***/
  1847. HRESULT (STDMETHODCALLTYPE *GetIids)(
  1848. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics *This,
  1849. ULONG *iidCount,
  1850. IID **iids);
  1851. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  1852. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics *This,
  1853. HSTRING *className);
  1854. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  1855. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics *This,
  1856. TrustLevel *trustLevel);
  1857. /*** IArcadeStickStatics methods ***/
  1858. HRESULT (STDMETHODCALLTYPE *add_ArcadeStickAdded)(
  1859. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics *This,
  1860. __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick *value,
  1861. EventRegistrationToken *token);
  1862. HRESULT (STDMETHODCALLTYPE *remove_ArcadeStickAdded)(
  1863. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics *This,
  1864. EventRegistrationToken token);
  1865. HRESULT (STDMETHODCALLTYPE *add_ArcadeStickRemoved)(
  1866. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics *This,
  1867. __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick *value,
  1868. EventRegistrationToken *token);
  1869. HRESULT (STDMETHODCALLTYPE *remove_ArcadeStickRemoved)(
  1870. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics *This,
  1871. EventRegistrationToken token);
  1872. HRESULT (STDMETHODCALLTYPE *get_ArcadeSticks)(
  1873. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics *This,
  1874. __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick **value);
  1875. END_INTERFACE
  1876. } __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStaticsVtbl;
  1877. interface __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics {
  1878. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStaticsVtbl* lpVtbl;
  1879. };
  1880. #ifdef COBJMACROS
  1881. #ifndef WIDL_C_INLINE_WRAPPERS
  1882. /*** IUnknown methods ***/
  1883. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1884. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
  1885. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_Release(This) (This)->lpVtbl->Release(This)
  1886. /*** IInspectable methods ***/
  1887. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  1888. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  1889. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  1890. /*** IArcadeStickStatics methods ***/
  1891. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_add_ArcadeStickAdded(This,value,token) (This)->lpVtbl->add_ArcadeStickAdded(This,value,token)
  1892. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_remove_ArcadeStickAdded(This,token) (This)->lpVtbl->remove_ArcadeStickAdded(This,token)
  1893. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_add_ArcadeStickRemoved(This,value,token) (This)->lpVtbl->add_ArcadeStickRemoved(This,value,token)
  1894. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_remove_ArcadeStickRemoved(This,token) (This)->lpVtbl->remove_ArcadeStickRemoved(This,token)
  1895. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_get_ArcadeSticks(This,value) (This)->lpVtbl->get_ArcadeSticks(This,value)
  1896. #else
  1897. /*** IUnknown methods ***/
  1898. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics* This,REFIID riid,void **ppvObject) {
  1899. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1900. }
  1901. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_AddRef(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics* This) {
  1902. return This->lpVtbl->AddRef(This);
  1903. }
  1904. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_Release(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics* This) {
  1905. return This->lpVtbl->Release(This);
  1906. }
  1907. /*** IInspectable methods ***/
  1908. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_GetIids(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics* This,ULONG *iidCount,IID **iids) {
  1909. return This->lpVtbl->GetIids(This,iidCount,iids);
  1910. }
  1911. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics* This,HSTRING *className) {
  1912. return This->lpVtbl->GetRuntimeClassName(This,className);
  1913. }
  1914. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics* This,TrustLevel *trustLevel) {
  1915. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  1916. }
  1917. /*** IArcadeStickStatics methods ***/
  1918. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_add_ArcadeStickAdded(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics* This,__FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick *value,EventRegistrationToken *token) {
  1919. return This->lpVtbl->add_ArcadeStickAdded(This,value,token);
  1920. }
  1921. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_remove_ArcadeStickAdded(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics* This,EventRegistrationToken token) {
  1922. return This->lpVtbl->remove_ArcadeStickAdded(This,token);
  1923. }
  1924. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_add_ArcadeStickRemoved(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics* This,__FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick *value,EventRegistrationToken *token) {
  1925. return This->lpVtbl->add_ArcadeStickRemoved(This,value,token);
  1926. }
  1927. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_remove_ArcadeStickRemoved(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics* This,EventRegistrationToken token) {
  1928. return This->lpVtbl->remove_ArcadeStickRemoved(This,token);
  1929. }
  1930. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_get_ArcadeSticks(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics* This,__FIVectorView_1_Windows__CGaming__CInput__CArcadeStick **value) {
  1931. return This->lpVtbl->get_ArcadeSticks(This,value);
  1932. }
  1933. #endif
  1934. #ifdef WIDL_using_Windows_Gaming_Input
  1935. #define IID_IArcadeStickStatics IID___x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics
  1936. #define IArcadeStickStaticsVtbl __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStaticsVtbl
  1937. #define IArcadeStickStatics __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics
  1938. #define IArcadeStickStatics_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_QueryInterface
  1939. #define IArcadeStickStatics_AddRef __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_AddRef
  1940. #define IArcadeStickStatics_Release __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_Release
  1941. #define IArcadeStickStatics_GetIids __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_GetIids
  1942. #define IArcadeStickStatics_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_GetRuntimeClassName
  1943. #define IArcadeStickStatics_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_GetTrustLevel
  1944. #define IArcadeStickStatics_add_ArcadeStickAdded __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_add_ArcadeStickAdded
  1945. #define IArcadeStickStatics_remove_ArcadeStickAdded __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_remove_ArcadeStickAdded
  1946. #define IArcadeStickStatics_add_ArcadeStickRemoved __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_add_ArcadeStickRemoved
  1947. #define IArcadeStickStatics_remove_ArcadeStickRemoved __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_remove_ArcadeStickRemoved
  1948. #define IArcadeStickStatics_get_ArcadeSticks __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_get_ArcadeSticks
  1949. #endif /* WIDL_using_Windows_Gaming_Input */
  1950. #endif
  1951. #endif
  1952. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics_INTERFACE_DEFINED__ */
  1953. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1954. /*****************************************************************************
  1955. * IArcadeStickStatics2 interface
  1956. */
  1957. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  1958. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_INTERFACE_DEFINED__
  1959. #define ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_INTERFACE_DEFINED__
  1960. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2, 0x52b5d744, 0xbb86, 0x445a, 0xb5,0x9c, 0x59,0x6f,0x0e,0x2a,0x49,0xdf);
  1961. #if defined(__cplusplus) && !defined(CINTERFACE)
  1962. } /* extern "C" */
  1963. namespace ABI {
  1964. namespace Windows {
  1965. namespace Gaming {
  1966. namespace Input {
  1967. MIDL_INTERFACE("52b5d744-bb86-445a-b59c-596f0e2a49df")
  1968. IArcadeStickStatics2 : public IInspectable
  1969. {
  1970. virtual HRESULT STDMETHODCALLTYPE FromGameController(
  1971. ABI::Windows::Gaming::Input::IGameController *controller,
  1972. ABI::Windows::Gaming::Input::IArcadeStick **value) = 0;
  1973. };
  1974. }
  1975. }
  1976. }
  1977. }
  1978. extern "C" {
  1979. #ifdef __CRT_UUID_DECL
  1980. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2, 0x52b5d744, 0xbb86, 0x445a, 0xb5,0x9c, 0x59,0x6f,0x0e,0x2a,0x49,0xdf)
  1981. #endif
  1982. #else
  1983. typedef struct __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2Vtbl {
  1984. BEGIN_INTERFACE
  1985. /*** IUnknown methods ***/
  1986. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1987. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2 *This,
  1988. REFIID riid,
  1989. void **ppvObject);
  1990. ULONG (STDMETHODCALLTYPE *AddRef)(
  1991. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2 *This);
  1992. ULONG (STDMETHODCALLTYPE *Release)(
  1993. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2 *This);
  1994. /*** IInspectable methods ***/
  1995. HRESULT (STDMETHODCALLTYPE *GetIids)(
  1996. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2 *This,
  1997. ULONG *iidCount,
  1998. IID **iids);
  1999. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  2000. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2 *This,
  2001. HSTRING *className);
  2002. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  2003. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2 *This,
  2004. TrustLevel *trustLevel);
  2005. /*** IArcadeStickStatics2 methods ***/
  2006. HRESULT (STDMETHODCALLTYPE *FromGameController)(
  2007. __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2 *This,
  2008. __x_ABI_CWindows_CGaming_CInput_CIGameController *controller,
  2009. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick **value);
  2010. END_INTERFACE
  2011. } __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2Vtbl;
  2012. interface __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2 {
  2013. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2Vtbl* lpVtbl;
  2014. };
  2015. #ifdef COBJMACROS
  2016. #ifndef WIDL_C_INLINE_WRAPPERS
  2017. /*** IUnknown methods ***/
  2018. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2019. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_AddRef(This) (This)->lpVtbl->AddRef(This)
  2020. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_Release(This) (This)->lpVtbl->Release(This)
  2021. /*** IInspectable methods ***/
  2022. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  2023. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  2024. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  2025. /*** IArcadeStickStatics2 methods ***/
  2026. #define __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_FromGameController(This,controller,value) (This)->lpVtbl->FromGameController(This,controller,value)
  2027. #else
  2028. /*** IUnknown methods ***/
  2029. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2* This,REFIID riid,void **ppvObject) {
  2030. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2031. }
  2032. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_AddRef(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2* This) {
  2033. return This->lpVtbl->AddRef(This);
  2034. }
  2035. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_Release(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2* This) {
  2036. return This->lpVtbl->Release(This);
  2037. }
  2038. /*** IInspectable methods ***/
  2039. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_GetIids(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2* This,ULONG *iidCount,IID **iids) {
  2040. return This->lpVtbl->GetIids(This,iidCount,iids);
  2041. }
  2042. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2* This,HSTRING *className) {
  2043. return This->lpVtbl->GetRuntimeClassName(This,className);
  2044. }
  2045. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2* This,TrustLevel *trustLevel) {
  2046. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  2047. }
  2048. /*** IArcadeStickStatics2 methods ***/
  2049. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_FromGameController(__x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2* This,__x_ABI_CWindows_CGaming_CInput_CIGameController *controller,__x_ABI_CWindows_CGaming_CInput_CIArcadeStick **value) {
  2050. return This->lpVtbl->FromGameController(This,controller,value);
  2051. }
  2052. #endif
  2053. #ifdef WIDL_using_Windows_Gaming_Input
  2054. #define IID_IArcadeStickStatics2 IID___x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2
  2055. #define IArcadeStickStatics2Vtbl __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2Vtbl
  2056. #define IArcadeStickStatics2 __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2
  2057. #define IArcadeStickStatics2_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_QueryInterface
  2058. #define IArcadeStickStatics2_AddRef __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_AddRef
  2059. #define IArcadeStickStatics2_Release __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_Release
  2060. #define IArcadeStickStatics2_GetIids __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_GetIids
  2061. #define IArcadeStickStatics2_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_GetRuntimeClassName
  2062. #define IArcadeStickStatics2_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_GetTrustLevel
  2063. #define IArcadeStickStatics2_FromGameController __x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_FromGameController
  2064. #endif /* WIDL_using_Windows_Gaming_Input */
  2065. #endif
  2066. #endif
  2067. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIArcadeStickStatics2_INTERFACE_DEFINED__ */
  2068. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  2069. /*****************************************************************************
  2070. * IFlightStick interface
  2071. */
  2072. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  2073. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIFlightStick_INTERFACE_DEFINED__
  2074. #define ____x_ABI_CWindows_CGaming_CInput_CIFlightStick_INTERFACE_DEFINED__
  2075. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIFlightStick, 0xb4a2c01c, 0xb83b, 0x4459, 0xa1,0xa9, 0x97,0xb0,0x3c,0x33,0xda,0x7c);
  2076. #if defined(__cplusplus) && !defined(CINTERFACE)
  2077. } /* extern "C" */
  2078. namespace ABI {
  2079. namespace Windows {
  2080. namespace Gaming {
  2081. namespace Input {
  2082. MIDL_INTERFACE("b4a2c01c-b83b-4459-a1a9-97b03c33da7c")
  2083. IFlightStick : public IInspectable
  2084. {
  2085. virtual HRESULT STDMETHODCALLTYPE get_HatSwitchKind(
  2086. enum GameControllerSwitchKind *value) = 0;
  2087. virtual HRESULT STDMETHODCALLTYPE GetButtonLabel(
  2088. enum FlightStickButtons button,
  2089. enum GameControllerButtonLabel *value) = 0;
  2090. virtual HRESULT STDMETHODCALLTYPE GetCurrentReading(
  2091. struct FlightStickReading *value) = 0;
  2092. };
  2093. }
  2094. }
  2095. }
  2096. }
  2097. extern "C" {
  2098. #ifdef __CRT_UUID_DECL
  2099. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIFlightStick, 0xb4a2c01c, 0xb83b, 0x4459, 0xa1,0xa9, 0x97,0xb0,0x3c,0x33,0xda,0x7c)
  2100. #endif
  2101. #else
  2102. typedef struct __x_ABI_CWindows_CGaming_CInput_CIFlightStickVtbl {
  2103. BEGIN_INTERFACE
  2104. /*** IUnknown methods ***/
  2105. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2106. __x_ABI_CWindows_CGaming_CInput_CIFlightStick *This,
  2107. REFIID riid,
  2108. void **ppvObject);
  2109. ULONG (STDMETHODCALLTYPE *AddRef)(
  2110. __x_ABI_CWindows_CGaming_CInput_CIFlightStick *This);
  2111. ULONG (STDMETHODCALLTYPE *Release)(
  2112. __x_ABI_CWindows_CGaming_CInput_CIFlightStick *This);
  2113. /*** IInspectable methods ***/
  2114. HRESULT (STDMETHODCALLTYPE *GetIids)(
  2115. __x_ABI_CWindows_CGaming_CInput_CIFlightStick *This,
  2116. ULONG *iidCount,
  2117. IID **iids);
  2118. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  2119. __x_ABI_CWindows_CGaming_CInput_CIFlightStick *This,
  2120. HSTRING *className);
  2121. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  2122. __x_ABI_CWindows_CGaming_CInput_CIFlightStick *This,
  2123. TrustLevel *trustLevel);
  2124. /*** IFlightStick methods ***/
  2125. HRESULT (STDMETHODCALLTYPE *get_HatSwitchKind)(
  2126. __x_ABI_CWindows_CGaming_CInput_CIFlightStick *This,
  2127. enum __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchKind *value);
  2128. HRESULT (STDMETHODCALLTYPE *GetButtonLabel)(
  2129. __x_ABI_CWindows_CGaming_CInput_CIFlightStick *This,
  2130. enum __x_ABI_CWindows_CGaming_CInput_CFlightStickButtons button,
  2131. enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel *value);
  2132. HRESULT (STDMETHODCALLTYPE *GetCurrentReading)(
  2133. __x_ABI_CWindows_CGaming_CInput_CIFlightStick *This,
  2134. struct __x_ABI_CWindows_CGaming_CInput_CFlightStickReading *value);
  2135. END_INTERFACE
  2136. } __x_ABI_CWindows_CGaming_CInput_CIFlightStickVtbl;
  2137. interface __x_ABI_CWindows_CGaming_CInput_CIFlightStick {
  2138. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIFlightStickVtbl* lpVtbl;
  2139. };
  2140. #ifdef COBJMACROS
  2141. #ifndef WIDL_C_INLINE_WRAPPERS
  2142. /*** IUnknown methods ***/
  2143. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStick_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2144. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStick_AddRef(This) (This)->lpVtbl->AddRef(This)
  2145. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStick_Release(This) (This)->lpVtbl->Release(This)
  2146. /*** IInspectable methods ***/
  2147. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  2148. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  2149. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  2150. /*** IFlightStick methods ***/
  2151. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStick_get_HatSwitchKind(This,value) (This)->lpVtbl->get_HatSwitchKind(This,value)
  2152. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetButtonLabel(This,button,value) (This)->lpVtbl->GetButtonLabel(This,button,value)
  2153. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetCurrentReading(This,value) (This)->lpVtbl->GetCurrentReading(This,value)
  2154. #else
  2155. /*** IUnknown methods ***/
  2156. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStick_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIFlightStick* This,REFIID riid,void **ppvObject) {
  2157. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2158. }
  2159. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIFlightStick_AddRef(__x_ABI_CWindows_CGaming_CInput_CIFlightStick* This) {
  2160. return This->lpVtbl->AddRef(This);
  2161. }
  2162. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIFlightStick_Release(__x_ABI_CWindows_CGaming_CInput_CIFlightStick* This) {
  2163. return This->lpVtbl->Release(This);
  2164. }
  2165. /*** IInspectable methods ***/
  2166. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetIids(__x_ABI_CWindows_CGaming_CInput_CIFlightStick* This,ULONG *iidCount,IID **iids) {
  2167. return This->lpVtbl->GetIids(This,iidCount,iids);
  2168. }
  2169. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIFlightStick* This,HSTRING *className) {
  2170. return This->lpVtbl->GetRuntimeClassName(This,className);
  2171. }
  2172. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIFlightStick* This,TrustLevel *trustLevel) {
  2173. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  2174. }
  2175. /*** IFlightStick methods ***/
  2176. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStick_get_HatSwitchKind(__x_ABI_CWindows_CGaming_CInput_CIFlightStick* This,enum __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchKind *value) {
  2177. return This->lpVtbl->get_HatSwitchKind(This,value);
  2178. }
  2179. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetButtonLabel(__x_ABI_CWindows_CGaming_CInput_CIFlightStick* This,enum __x_ABI_CWindows_CGaming_CInput_CFlightStickButtons button,enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel *value) {
  2180. return This->lpVtbl->GetButtonLabel(This,button,value);
  2181. }
  2182. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetCurrentReading(__x_ABI_CWindows_CGaming_CInput_CIFlightStick* This,struct __x_ABI_CWindows_CGaming_CInput_CFlightStickReading *value) {
  2183. return This->lpVtbl->GetCurrentReading(This,value);
  2184. }
  2185. #endif
  2186. #ifdef WIDL_using_Windows_Gaming_Input
  2187. #define IID_IFlightStick IID___x_ABI_CWindows_CGaming_CInput_CIFlightStick
  2188. #define IFlightStickVtbl __x_ABI_CWindows_CGaming_CInput_CIFlightStickVtbl
  2189. #define IFlightStick __x_ABI_CWindows_CGaming_CInput_CIFlightStick
  2190. #define IFlightStick_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIFlightStick_QueryInterface
  2191. #define IFlightStick_AddRef __x_ABI_CWindows_CGaming_CInput_CIFlightStick_AddRef
  2192. #define IFlightStick_Release __x_ABI_CWindows_CGaming_CInput_CIFlightStick_Release
  2193. #define IFlightStick_GetIids __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetIids
  2194. #define IFlightStick_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetRuntimeClassName
  2195. #define IFlightStick_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetTrustLevel
  2196. #define IFlightStick_get_HatSwitchKind __x_ABI_CWindows_CGaming_CInput_CIFlightStick_get_HatSwitchKind
  2197. #define IFlightStick_GetButtonLabel __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetButtonLabel
  2198. #define IFlightStick_GetCurrentReading __x_ABI_CWindows_CGaming_CInput_CIFlightStick_GetCurrentReading
  2199. #endif /* WIDL_using_Windows_Gaming_Input */
  2200. #endif
  2201. #endif
  2202. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIFlightStick_INTERFACE_DEFINED__ */
  2203. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  2204. /*****************************************************************************
  2205. * IFlightStickStatics interface
  2206. */
  2207. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  2208. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_INTERFACE_DEFINED__
  2209. #define ____x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_INTERFACE_DEFINED__
  2210. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics, 0x5514924a, 0xfecc, 0x435e, 0x83,0xdc, 0x5c,0xec,0x8a,0x18,0xa5,0x20);
  2211. #if defined(__cplusplus) && !defined(CINTERFACE)
  2212. } /* extern "C" */
  2213. namespace ABI {
  2214. namespace Windows {
  2215. namespace Gaming {
  2216. namespace Input {
  2217. MIDL_INTERFACE("5514924a-fecc-435e-83dc-5cec8a18a520")
  2218. IFlightStickStatics : public IInspectable
  2219. {
  2220. virtual HRESULT STDMETHODCALLTYPE add_FlightStickAdded(
  2221. ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::FlightStick* > *value,
  2222. EventRegistrationToken *token) = 0;
  2223. virtual HRESULT STDMETHODCALLTYPE remove_FlightStickAdded(
  2224. EventRegistrationToken token) = 0;
  2225. virtual HRESULT STDMETHODCALLTYPE add_FlightStickRemoved(
  2226. ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::FlightStick* > *value,
  2227. EventRegistrationToken *token) = 0;
  2228. virtual HRESULT STDMETHODCALLTYPE remove_FlightStickRemoved(
  2229. EventRegistrationToken token) = 0;
  2230. virtual HRESULT STDMETHODCALLTYPE get_FlightSticks(
  2231. ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::FlightStick* > **value) = 0;
  2232. virtual HRESULT STDMETHODCALLTYPE FromGameController(
  2233. ABI::Windows::Gaming::Input::IGameController *controller,
  2234. ABI::Windows::Gaming::Input::IFlightStick **value) = 0;
  2235. };
  2236. }
  2237. }
  2238. }
  2239. }
  2240. extern "C" {
  2241. #ifdef __CRT_UUID_DECL
  2242. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics, 0x5514924a, 0xfecc, 0x435e, 0x83,0xdc, 0x5c,0xec,0x8a,0x18,0xa5,0x20)
  2243. #endif
  2244. #else
  2245. typedef struct __x_ABI_CWindows_CGaming_CInput_CIFlightStickStaticsVtbl {
  2246. BEGIN_INTERFACE
  2247. /*** IUnknown methods ***/
  2248. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2249. __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics *This,
  2250. REFIID riid,
  2251. void **ppvObject);
  2252. ULONG (STDMETHODCALLTYPE *AddRef)(
  2253. __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics *This);
  2254. ULONG (STDMETHODCALLTYPE *Release)(
  2255. __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics *This);
  2256. /*** IInspectable methods ***/
  2257. HRESULT (STDMETHODCALLTYPE *GetIids)(
  2258. __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics *This,
  2259. ULONG *iidCount,
  2260. IID **iids);
  2261. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  2262. __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics *This,
  2263. HSTRING *className);
  2264. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  2265. __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics *This,
  2266. TrustLevel *trustLevel);
  2267. /*** IFlightStickStatics methods ***/
  2268. HRESULT (STDMETHODCALLTYPE *add_FlightStickAdded)(
  2269. __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics *This,
  2270. __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick *value,
  2271. EventRegistrationToken *token);
  2272. HRESULT (STDMETHODCALLTYPE *remove_FlightStickAdded)(
  2273. __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics *This,
  2274. EventRegistrationToken token);
  2275. HRESULT (STDMETHODCALLTYPE *add_FlightStickRemoved)(
  2276. __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics *This,
  2277. __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick *value,
  2278. EventRegistrationToken *token);
  2279. HRESULT (STDMETHODCALLTYPE *remove_FlightStickRemoved)(
  2280. __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics *This,
  2281. EventRegistrationToken token);
  2282. HRESULT (STDMETHODCALLTYPE *get_FlightSticks)(
  2283. __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics *This,
  2284. __FIVectorView_1_Windows__CGaming__CInput__CFlightStick **value);
  2285. HRESULT (STDMETHODCALLTYPE *FromGameController)(
  2286. __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics *This,
  2287. __x_ABI_CWindows_CGaming_CInput_CIGameController *controller,
  2288. __x_ABI_CWindows_CGaming_CInput_CIFlightStick **value);
  2289. END_INTERFACE
  2290. } __x_ABI_CWindows_CGaming_CInput_CIFlightStickStaticsVtbl;
  2291. interface __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics {
  2292. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIFlightStickStaticsVtbl* lpVtbl;
  2293. };
  2294. #ifdef COBJMACROS
  2295. #ifndef WIDL_C_INLINE_WRAPPERS
  2296. /*** IUnknown methods ***/
  2297. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2298. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
  2299. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_Release(This) (This)->lpVtbl->Release(This)
  2300. /*** IInspectable methods ***/
  2301. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  2302. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  2303. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  2304. /*** IFlightStickStatics methods ***/
  2305. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_add_FlightStickAdded(This,value,token) (This)->lpVtbl->add_FlightStickAdded(This,value,token)
  2306. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_remove_FlightStickAdded(This,token) (This)->lpVtbl->remove_FlightStickAdded(This,token)
  2307. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_add_FlightStickRemoved(This,value,token) (This)->lpVtbl->add_FlightStickRemoved(This,value,token)
  2308. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_remove_FlightStickRemoved(This,token) (This)->lpVtbl->remove_FlightStickRemoved(This,token)
  2309. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_get_FlightSticks(This,value) (This)->lpVtbl->get_FlightSticks(This,value)
  2310. #define __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_FromGameController(This,controller,value) (This)->lpVtbl->FromGameController(This,controller,value)
  2311. #else
  2312. /*** IUnknown methods ***/
  2313. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics* This,REFIID riid,void **ppvObject) {
  2314. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2315. }
  2316. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_AddRef(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics* This) {
  2317. return This->lpVtbl->AddRef(This);
  2318. }
  2319. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_Release(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics* This) {
  2320. return This->lpVtbl->Release(This);
  2321. }
  2322. /*** IInspectable methods ***/
  2323. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_GetIids(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics* This,ULONG *iidCount,IID **iids) {
  2324. return This->lpVtbl->GetIids(This,iidCount,iids);
  2325. }
  2326. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics* This,HSTRING *className) {
  2327. return This->lpVtbl->GetRuntimeClassName(This,className);
  2328. }
  2329. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics* This,TrustLevel *trustLevel) {
  2330. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  2331. }
  2332. /*** IFlightStickStatics methods ***/
  2333. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_add_FlightStickAdded(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics* This,__FIEventHandler_1_Windows__CGaming__CInput__CFlightStick *value,EventRegistrationToken *token) {
  2334. return This->lpVtbl->add_FlightStickAdded(This,value,token);
  2335. }
  2336. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_remove_FlightStickAdded(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics* This,EventRegistrationToken token) {
  2337. return This->lpVtbl->remove_FlightStickAdded(This,token);
  2338. }
  2339. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_add_FlightStickRemoved(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics* This,__FIEventHandler_1_Windows__CGaming__CInput__CFlightStick *value,EventRegistrationToken *token) {
  2340. return This->lpVtbl->add_FlightStickRemoved(This,value,token);
  2341. }
  2342. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_remove_FlightStickRemoved(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics* This,EventRegistrationToken token) {
  2343. return This->lpVtbl->remove_FlightStickRemoved(This,token);
  2344. }
  2345. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_get_FlightSticks(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics* This,__FIVectorView_1_Windows__CGaming__CInput__CFlightStick **value) {
  2346. return This->lpVtbl->get_FlightSticks(This,value);
  2347. }
  2348. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_FromGameController(__x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics* This,__x_ABI_CWindows_CGaming_CInput_CIGameController *controller,__x_ABI_CWindows_CGaming_CInput_CIFlightStick **value) {
  2349. return This->lpVtbl->FromGameController(This,controller,value);
  2350. }
  2351. #endif
  2352. #ifdef WIDL_using_Windows_Gaming_Input
  2353. #define IID_IFlightStickStatics IID___x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics
  2354. #define IFlightStickStaticsVtbl __x_ABI_CWindows_CGaming_CInput_CIFlightStickStaticsVtbl
  2355. #define IFlightStickStatics __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics
  2356. #define IFlightStickStatics_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_QueryInterface
  2357. #define IFlightStickStatics_AddRef __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_AddRef
  2358. #define IFlightStickStatics_Release __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_Release
  2359. #define IFlightStickStatics_GetIids __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_GetIids
  2360. #define IFlightStickStatics_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_GetRuntimeClassName
  2361. #define IFlightStickStatics_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_GetTrustLevel
  2362. #define IFlightStickStatics_add_FlightStickAdded __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_add_FlightStickAdded
  2363. #define IFlightStickStatics_remove_FlightStickAdded __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_remove_FlightStickAdded
  2364. #define IFlightStickStatics_add_FlightStickRemoved __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_add_FlightStickRemoved
  2365. #define IFlightStickStatics_remove_FlightStickRemoved __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_remove_FlightStickRemoved
  2366. #define IFlightStickStatics_get_FlightSticks __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_get_FlightSticks
  2367. #define IFlightStickStatics_FromGameController __x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_FromGameController
  2368. #endif /* WIDL_using_Windows_Gaming_Input */
  2369. #endif
  2370. #endif
  2371. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIFlightStickStatics_INTERFACE_DEFINED__ */
  2372. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  2373. /*****************************************************************************
  2374. * IGameController interface
  2375. */
  2376. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  2377. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGameController_INTERFACE_DEFINED__
  2378. #define ____x_ABI_CWindows_CGaming_CInput_CIGameController_INTERFACE_DEFINED__
  2379. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIGameController, 0x1baf6522, 0x5f64, 0x42c5, 0x82,0x67, 0xb9,0xfe,0x22,0x15,0xbf,0xbd);
  2380. #if defined(__cplusplus) && !defined(CINTERFACE)
  2381. } /* extern "C" */
  2382. namespace ABI {
  2383. namespace Windows {
  2384. namespace Gaming {
  2385. namespace Input {
  2386. MIDL_INTERFACE("1baf6522-5f64-42c5-8267-b9fe2215bfbd")
  2387. IGameController : public IInspectable
  2388. {
  2389. virtual HRESULT STDMETHODCALLTYPE add_HeadsetConnected(
  2390. ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::Gaming::Input::Headset* > *handler,
  2391. EventRegistrationToken *token) = 0;
  2392. virtual HRESULT STDMETHODCALLTYPE remove_HeadsetConnected(
  2393. EventRegistrationToken token) = 0;
  2394. virtual HRESULT STDMETHODCALLTYPE add_HeadsetDisconnected(
  2395. ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::Gaming::Input::Headset* > *handler,
  2396. EventRegistrationToken *token) = 0;
  2397. virtual HRESULT STDMETHODCALLTYPE remove_HeadsetDisconnected(
  2398. EventRegistrationToken token) = 0;
  2399. virtual HRESULT STDMETHODCALLTYPE add_UserChanged(
  2400. ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::System::UserChangedEventArgs* > *handler,
  2401. EventRegistrationToken *token) = 0;
  2402. virtual HRESULT STDMETHODCALLTYPE remove_UserChanged(
  2403. EventRegistrationToken token) = 0;
  2404. virtual HRESULT STDMETHODCALLTYPE get_Headset(
  2405. ABI::Windows::Gaming::Input::IHeadset **value) = 0;
  2406. virtual HRESULT STDMETHODCALLTYPE get_IsWireless(
  2407. boolean *value) = 0;
  2408. virtual HRESULT STDMETHODCALLTYPE get_User(
  2409. ABI::Windows::System::IUser **value) = 0;
  2410. };
  2411. }
  2412. }
  2413. }
  2414. }
  2415. extern "C" {
  2416. #ifdef __CRT_UUID_DECL
  2417. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIGameController, 0x1baf6522, 0x5f64, 0x42c5, 0x82,0x67, 0xb9,0xfe,0x22,0x15,0xbf,0xbd)
  2418. #endif
  2419. #else
  2420. typedef struct __x_ABI_CWindows_CGaming_CInput_CIGameControllerVtbl {
  2421. BEGIN_INTERFACE
  2422. /*** IUnknown methods ***/
  2423. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2424. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2425. REFIID riid,
  2426. void **ppvObject);
  2427. ULONG (STDMETHODCALLTYPE *AddRef)(
  2428. __x_ABI_CWindows_CGaming_CInput_CIGameController *This);
  2429. ULONG (STDMETHODCALLTYPE *Release)(
  2430. __x_ABI_CWindows_CGaming_CInput_CIGameController *This);
  2431. /*** IInspectable methods ***/
  2432. HRESULT (STDMETHODCALLTYPE *GetIids)(
  2433. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2434. ULONG *iidCount,
  2435. IID **iids);
  2436. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  2437. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2438. HSTRING *className);
  2439. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  2440. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2441. TrustLevel *trustLevel);
  2442. /*** IGameController methods ***/
  2443. HRESULT (STDMETHODCALLTYPE *add_HeadsetConnected)(
  2444. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2445. __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset *handler,
  2446. EventRegistrationToken *token);
  2447. HRESULT (STDMETHODCALLTYPE *remove_HeadsetConnected)(
  2448. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2449. EventRegistrationToken token);
  2450. HRESULT (STDMETHODCALLTYPE *add_HeadsetDisconnected)(
  2451. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2452. __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset *handler,
  2453. EventRegistrationToken *token);
  2454. HRESULT (STDMETHODCALLTYPE *remove_HeadsetDisconnected)(
  2455. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2456. EventRegistrationToken token);
  2457. HRESULT (STDMETHODCALLTYPE *add_UserChanged)(
  2458. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2459. __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs *handler,
  2460. EventRegistrationToken *token);
  2461. HRESULT (STDMETHODCALLTYPE *remove_UserChanged)(
  2462. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2463. EventRegistrationToken token);
  2464. HRESULT (STDMETHODCALLTYPE *get_Headset)(
  2465. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2466. __x_ABI_CWindows_CGaming_CInput_CIHeadset **value);
  2467. HRESULT (STDMETHODCALLTYPE *get_IsWireless)(
  2468. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2469. boolean *value);
  2470. HRESULT (STDMETHODCALLTYPE *get_User)(
  2471. __x_ABI_CWindows_CGaming_CInput_CIGameController *This,
  2472. __x_ABI_CWindows_CSystem_CIUser **value);
  2473. END_INTERFACE
  2474. } __x_ABI_CWindows_CGaming_CInput_CIGameControllerVtbl;
  2475. interface __x_ABI_CWindows_CGaming_CInput_CIGameController {
  2476. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIGameControllerVtbl* lpVtbl;
  2477. };
  2478. #ifdef COBJMACROS
  2479. #ifndef WIDL_C_INLINE_WRAPPERS
  2480. /*** IUnknown methods ***/
  2481. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2482. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_AddRef(This) (This)->lpVtbl->AddRef(This)
  2483. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_Release(This) (This)->lpVtbl->Release(This)
  2484. /*** IInspectable methods ***/
  2485. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  2486. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  2487. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  2488. /*** IGameController methods ***/
  2489. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_add_HeadsetConnected(This,handler,token) (This)->lpVtbl->add_HeadsetConnected(This,handler,token)
  2490. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_remove_HeadsetConnected(This,token) (This)->lpVtbl->remove_HeadsetConnected(This,token)
  2491. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_add_HeadsetDisconnected(This,handler,token) (This)->lpVtbl->add_HeadsetDisconnected(This,handler,token)
  2492. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_remove_HeadsetDisconnected(This,token) (This)->lpVtbl->remove_HeadsetDisconnected(This,token)
  2493. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_add_UserChanged(This,handler,token) (This)->lpVtbl->add_UserChanged(This,handler,token)
  2494. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_remove_UserChanged(This,token) (This)->lpVtbl->remove_UserChanged(This,token)
  2495. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_get_Headset(This,value) (This)->lpVtbl->get_Headset(This,value)
  2496. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_get_IsWireless(This,value) (This)->lpVtbl->get_IsWireless(This,value)
  2497. #define __x_ABI_CWindows_CGaming_CInput_CIGameController_get_User(This,value) (This)->lpVtbl->get_User(This,value)
  2498. #else
  2499. /*** IUnknown methods ***/
  2500. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,REFIID riid,void **ppvObject) {
  2501. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2502. }
  2503. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGameController_AddRef(__x_ABI_CWindows_CGaming_CInput_CIGameController* This) {
  2504. return This->lpVtbl->AddRef(This);
  2505. }
  2506. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGameController_Release(__x_ABI_CWindows_CGaming_CInput_CIGameController* This) {
  2507. return This->lpVtbl->Release(This);
  2508. }
  2509. /*** IInspectable methods ***/
  2510. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_GetIids(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,ULONG *iidCount,IID **iids) {
  2511. return This->lpVtbl->GetIids(This,iidCount,iids);
  2512. }
  2513. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,HSTRING *className) {
  2514. return This->lpVtbl->GetRuntimeClassName(This,className);
  2515. }
  2516. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,TrustLevel *trustLevel) {
  2517. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  2518. }
  2519. /*** IGameController methods ***/
  2520. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_add_HeadsetConnected(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset *handler,EventRegistrationToken *token) {
  2521. return This->lpVtbl->add_HeadsetConnected(This,handler,token);
  2522. }
  2523. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_remove_HeadsetConnected(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,EventRegistrationToken token) {
  2524. return This->lpVtbl->remove_HeadsetConnected(This,token);
  2525. }
  2526. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_add_HeadsetDisconnected(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset *handler,EventRegistrationToken *token) {
  2527. return This->lpVtbl->add_HeadsetDisconnected(This,handler,token);
  2528. }
  2529. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_remove_HeadsetDisconnected(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,EventRegistrationToken token) {
  2530. return This->lpVtbl->remove_HeadsetDisconnected(This,token);
  2531. }
  2532. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_add_UserChanged(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs *handler,EventRegistrationToken *token) {
  2533. return This->lpVtbl->add_UserChanged(This,handler,token);
  2534. }
  2535. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_remove_UserChanged(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,EventRegistrationToken token) {
  2536. return This->lpVtbl->remove_UserChanged(This,token);
  2537. }
  2538. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_get_Headset(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,__x_ABI_CWindows_CGaming_CInput_CIHeadset **value) {
  2539. return This->lpVtbl->get_Headset(This,value);
  2540. }
  2541. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_get_IsWireless(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,boolean *value) {
  2542. return This->lpVtbl->get_IsWireless(This,value);
  2543. }
  2544. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameController_get_User(__x_ABI_CWindows_CGaming_CInput_CIGameController* This,__x_ABI_CWindows_CSystem_CIUser **value) {
  2545. return This->lpVtbl->get_User(This,value);
  2546. }
  2547. #endif
  2548. #ifdef WIDL_using_Windows_Gaming_Input
  2549. #define IID_IGameController IID___x_ABI_CWindows_CGaming_CInput_CIGameController
  2550. #define IGameControllerVtbl __x_ABI_CWindows_CGaming_CInput_CIGameControllerVtbl
  2551. #define IGameController __x_ABI_CWindows_CGaming_CInput_CIGameController
  2552. #define IGameController_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIGameController_QueryInterface
  2553. #define IGameController_AddRef __x_ABI_CWindows_CGaming_CInput_CIGameController_AddRef
  2554. #define IGameController_Release __x_ABI_CWindows_CGaming_CInput_CIGameController_Release
  2555. #define IGameController_GetIids __x_ABI_CWindows_CGaming_CInput_CIGameController_GetIids
  2556. #define IGameController_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIGameController_GetRuntimeClassName
  2557. #define IGameController_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIGameController_GetTrustLevel
  2558. #define IGameController_add_HeadsetConnected __x_ABI_CWindows_CGaming_CInput_CIGameController_add_HeadsetConnected
  2559. #define IGameController_remove_HeadsetConnected __x_ABI_CWindows_CGaming_CInput_CIGameController_remove_HeadsetConnected
  2560. #define IGameController_add_HeadsetDisconnected __x_ABI_CWindows_CGaming_CInput_CIGameController_add_HeadsetDisconnected
  2561. #define IGameController_remove_HeadsetDisconnected __x_ABI_CWindows_CGaming_CInput_CIGameController_remove_HeadsetDisconnected
  2562. #define IGameController_add_UserChanged __x_ABI_CWindows_CGaming_CInput_CIGameController_add_UserChanged
  2563. #define IGameController_remove_UserChanged __x_ABI_CWindows_CGaming_CInput_CIGameController_remove_UserChanged
  2564. #define IGameController_get_Headset __x_ABI_CWindows_CGaming_CInput_CIGameController_get_Headset
  2565. #define IGameController_get_IsWireless __x_ABI_CWindows_CGaming_CInput_CIGameController_get_IsWireless
  2566. #define IGameController_get_User __x_ABI_CWindows_CGaming_CInput_CIGameController_get_User
  2567. #endif /* WIDL_using_Windows_Gaming_Input */
  2568. #endif
  2569. #endif
  2570. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIGameController_INTERFACE_DEFINED__ */
  2571. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  2572. /*****************************************************************************
  2573. * IGamepad interface
  2574. */
  2575. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  2576. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepad_INTERFACE_DEFINED__
  2577. #define ____x_ABI_CWindows_CGaming_CInput_CIGamepad_INTERFACE_DEFINED__
  2578. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIGamepad, 0xbc7bb43c, 0x0a69, 0x3903, 0x9e,0x9d, 0xa5,0x0f,0x86,0xa4,0x5d,0xe5);
  2579. #if defined(__cplusplus) && !defined(CINTERFACE)
  2580. } /* extern "C" */
  2581. namespace ABI {
  2582. namespace Windows {
  2583. namespace Gaming {
  2584. namespace Input {
  2585. MIDL_INTERFACE("bc7bb43c-0a69-3903-9e9d-a50f86a45de5")
  2586. IGamepad : public IInspectable
  2587. {
  2588. virtual HRESULT STDMETHODCALLTYPE get_Vibration(
  2589. struct GamepadVibration *value) = 0;
  2590. virtual HRESULT STDMETHODCALLTYPE put_Vibration(
  2591. struct GamepadVibration value) = 0;
  2592. virtual HRESULT STDMETHODCALLTYPE GetCurrentReading(
  2593. struct GamepadReading *value) = 0;
  2594. };
  2595. }
  2596. }
  2597. }
  2598. }
  2599. extern "C" {
  2600. #ifdef __CRT_UUID_DECL
  2601. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIGamepad, 0xbc7bb43c, 0x0a69, 0x3903, 0x9e,0x9d, 0xa5,0x0f,0x86,0xa4,0x5d,0xe5)
  2602. #endif
  2603. #else
  2604. typedef struct __x_ABI_CWindows_CGaming_CInput_CIGamepadVtbl {
  2605. BEGIN_INTERFACE
  2606. /*** IUnknown methods ***/
  2607. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2608. __x_ABI_CWindows_CGaming_CInput_CIGamepad *This,
  2609. REFIID riid,
  2610. void **ppvObject);
  2611. ULONG (STDMETHODCALLTYPE *AddRef)(
  2612. __x_ABI_CWindows_CGaming_CInput_CIGamepad *This);
  2613. ULONG (STDMETHODCALLTYPE *Release)(
  2614. __x_ABI_CWindows_CGaming_CInput_CIGamepad *This);
  2615. /*** IInspectable methods ***/
  2616. HRESULT (STDMETHODCALLTYPE *GetIids)(
  2617. __x_ABI_CWindows_CGaming_CInput_CIGamepad *This,
  2618. ULONG *iidCount,
  2619. IID **iids);
  2620. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  2621. __x_ABI_CWindows_CGaming_CInput_CIGamepad *This,
  2622. HSTRING *className);
  2623. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  2624. __x_ABI_CWindows_CGaming_CInput_CIGamepad *This,
  2625. TrustLevel *trustLevel);
  2626. /*** IGamepad methods ***/
  2627. HRESULT (STDMETHODCALLTYPE *get_Vibration)(
  2628. __x_ABI_CWindows_CGaming_CInput_CIGamepad *This,
  2629. struct __x_ABI_CWindows_CGaming_CInput_CGamepadVibration *value);
  2630. HRESULT (STDMETHODCALLTYPE *put_Vibration)(
  2631. __x_ABI_CWindows_CGaming_CInput_CIGamepad *This,
  2632. struct __x_ABI_CWindows_CGaming_CInput_CGamepadVibration value);
  2633. HRESULT (STDMETHODCALLTYPE *GetCurrentReading)(
  2634. __x_ABI_CWindows_CGaming_CInput_CIGamepad *This,
  2635. struct __x_ABI_CWindows_CGaming_CInput_CGamepadReading *value);
  2636. END_INTERFACE
  2637. } __x_ABI_CWindows_CGaming_CInput_CIGamepadVtbl;
  2638. interface __x_ABI_CWindows_CGaming_CInput_CIGamepad {
  2639. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIGamepadVtbl* lpVtbl;
  2640. };
  2641. #ifdef COBJMACROS
  2642. #ifndef WIDL_C_INLINE_WRAPPERS
  2643. /*** IUnknown methods ***/
  2644. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2645. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad_AddRef(This) (This)->lpVtbl->AddRef(This)
  2646. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad_Release(This) (This)->lpVtbl->Release(This)
  2647. /*** IInspectable methods ***/
  2648. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  2649. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  2650. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  2651. /*** IGamepad methods ***/
  2652. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad_get_Vibration(This,value) (This)->lpVtbl->get_Vibration(This,value)
  2653. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad_put_Vibration(This,value) (This)->lpVtbl->put_Vibration(This,value)
  2654. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetCurrentReading(This,value) (This)->lpVtbl->GetCurrentReading(This,value)
  2655. #else
  2656. /*** IUnknown methods ***/
  2657. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIGamepad* This,REFIID riid,void **ppvObject) {
  2658. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2659. }
  2660. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGamepad_AddRef(__x_ABI_CWindows_CGaming_CInput_CIGamepad* This) {
  2661. return This->lpVtbl->AddRef(This);
  2662. }
  2663. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGamepad_Release(__x_ABI_CWindows_CGaming_CInput_CIGamepad* This) {
  2664. return This->lpVtbl->Release(This);
  2665. }
  2666. /*** IInspectable methods ***/
  2667. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetIids(__x_ABI_CWindows_CGaming_CInput_CIGamepad* This,ULONG *iidCount,IID **iids) {
  2668. return This->lpVtbl->GetIids(This,iidCount,iids);
  2669. }
  2670. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIGamepad* This,HSTRING *className) {
  2671. return This->lpVtbl->GetRuntimeClassName(This,className);
  2672. }
  2673. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIGamepad* This,TrustLevel *trustLevel) {
  2674. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  2675. }
  2676. /*** IGamepad methods ***/
  2677. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad_get_Vibration(__x_ABI_CWindows_CGaming_CInput_CIGamepad* This,struct __x_ABI_CWindows_CGaming_CInput_CGamepadVibration *value) {
  2678. return This->lpVtbl->get_Vibration(This,value);
  2679. }
  2680. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad_put_Vibration(__x_ABI_CWindows_CGaming_CInput_CIGamepad* This,struct __x_ABI_CWindows_CGaming_CInput_CGamepadVibration value) {
  2681. return This->lpVtbl->put_Vibration(This,value);
  2682. }
  2683. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetCurrentReading(__x_ABI_CWindows_CGaming_CInput_CIGamepad* This,struct __x_ABI_CWindows_CGaming_CInput_CGamepadReading *value) {
  2684. return This->lpVtbl->GetCurrentReading(This,value);
  2685. }
  2686. #endif
  2687. #ifdef WIDL_using_Windows_Gaming_Input
  2688. #define IID_IGamepad IID___x_ABI_CWindows_CGaming_CInput_CIGamepad
  2689. #define IGamepadVtbl __x_ABI_CWindows_CGaming_CInput_CIGamepadVtbl
  2690. #define IGamepad __x_ABI_CWindows_CGaming_CInput_CIGamepad
  2691. #define IGamepad_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIGamepad_QueryInterface
  2692. #define IGamepad_AddRef __x_ABI_CWindows_CGaming_CInput_CIGamepad_AddRef
  2693. #define IGamepad_Release __x_ABI_CWindows_CGaming_CInput_CIGamepad_Release
  2694. #define IGamepad_GetIids __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetIids
  2695. #define IGamepad_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetRuntimeClassName
  2696. #define IGamepad_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetTrustLevel
  2697. #define IGamepad_get_Vibration __x_ABI_CWindows_CGaming_CInput_CIGamepad_get_Vibration
  2698. #define IGamepad_put_Vibration __x_ABI_CWindows_CGaming_CInput_CIGamepad_put_Vibration
  2699. #define IGamepad_GetCurrentReading __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetCurrentReading
  2700. #endif /* WIDL_using_Windows_Gaming_Input */
  2701. #endif
  2702. #endif
  2703. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIGamepad_INTERFACE_DEFINED__ */
  2704. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  2705. /*****************************************************************************
  2706. * IGamepad2 interface
  2707. */
  2708. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  2709. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepad2_INTERFACE_DEFINED__
  2710. #define ____x_ABI_CWindows_CGaming_CInput_CIGamepad2_INTERFACE_DEFINED__
  2711. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIGamepad2, 0x3c1689bd, 0x5915, 0x4245, 0xb0,0xc0, 0xc8,0x9f,0xae,0x03,0x08,0xff);
  2712. #if defined(__cplusplus) && !defined(CINTERFACE)
  2713. } /* extern "C" */
  2714. namespace ABI {
  2715. namespace Windows {
  2716. namespace Gaming {
  2717. namespace Input {
  2718. MIDL_INTERFACE("3c1689bd-5915-4245-b0c0-c89fae0308ff")
  2719. IGamepad2 : public IInspectable
  2720. {
  2721. virtual HRESULT STDMETHODCALLTYPE GetButtonLabel(
  2722. enum GamepadButtons button,
  2723. enum GameControllerButtonLabel *value) = 0;
  2724. };
  2725. }
  2726. }
  2727. }
  2728. }
  2729. extern "C" {
  2730. #ifdef __CRT_UUID_DECL
  2731. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIGamepad2, 0x3c1689bd, 0x5915, 0x4245, 0xb0,0xc0, 0xc8,0x9f,0xae,0x03,0x08,0xff)
  2732. #endif
  2733. #else
  2734. typedef struct __x_ABI_CWindows_CGaming_CInput_CIGamepad2Vtbl {
  2735. BEGIN_INTERFACE
  2736. /*** IUnknown methods ***/
  2737. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2738. __x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This,
  2739. REFIID riid,
  2740. void **ppvObject);
  2741. ULONG (STDMETHODCALLTYPE *AddRef)(
  2742. __x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This);
  2743. ULONG (STDMETHODCALLTYPE *Release)(
  2744. __x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This);
  2745. /*** IInspectable methods ***/
  2746. HRESULT (STDMETHODCALLTYPE *GetIids)(
  2747. __x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This,
  2748. ULONG *iidCount,
  2749. IID **iids);
  2750. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  2751. __x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This,
  2752. HSTRING *className);
  2753. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  2754. __x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This,
  2755. TrustLevel *trustLevel);
  2756. /*** IGamepad2 methods ***/
  2757. HRESULT (STDMETHODCALLTYPE *GetButtonLabel)(
  2758. __x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This,
  2759. enum __x_ABI_CWindows_CGaming_CInput_CGamepadButtons button,
  2760. enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel *value);
  2761. END_INTERFACE
  2762. } __x_ABI_CWindows_CGaming_CInput_CIGamepad2Vtbl;
  2763. interface __x_ABI_CWindows_CGaming_CInput_CIGamepad2 {
  2764. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIGamepad2Vtbl* lpVtbl;
  2765. };
  2766. #ifdef COBJMACROS
  2767. #ifndef WIDL_C_INLINE_WRAPPERS
  2768. /*** IUnknown methods ***/
  2769. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2770. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_AddRef(This) (This)->lpVtbl->AddRef(This)
  2771. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_Release(This) (This)->lpVtbl->Release(This)
  2772. /*** IInspectable methods ***/
  2773. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  2774. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  2775. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  2776. /*** IGamepad2 methods ***/
  2777. #define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetButtonLabel(This,button,value) (This)->lpVtbl->GetButtonLabel(This,button,value)
  2778. #else
  2779. /*** IUnknown methods ***/
  2780. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad2_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This,REFIID riid,void **ppvObject) {
  2781. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2782. }
  2783. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGamepad2_AddRef(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This) {
  2784. return This->lpVtbl->AddRef(This);
  2785. }
  2786. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGamepad2_Release(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This) {
  2787. return This->lpVtbl->Release(This);
  2788. }
  2789. /*** IInspectable methods ***/
  2790. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetIids(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This,ULONG *iidCount,IID **iids) {
  2791. return This->lpVtbl->GetIids(This,iidCount,iids);
  2792. }
  2793. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This,HSTRING *className) {
  2794. return This->lpVtbl->GetRuntimeClassName(This,className);
  2795. }
  2796. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This,TrustLevel *trustLevel) {
  2797. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  2798. }
  2799. /*** IGamepad2 methods ***/
  2800. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetButtonLabel(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This,enum __x_ABI_CWindows_CGaming_CInput_CGamepadButtons button,enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel *value) {
  2801. return This->lpVtbl->GetButtonLabel(This,button,value);
  2802. }
  2803. #endif
  2804. #ifdef WIDL_using_Windows_Gaming_Input
  2805. #define IID_IGamepad2 IID___x_ABI_CWindows_CGaming_CInput_CIGamepad2
  2806. #define IGamepad2Vtbl __x_ABI_CWindows_CGaming_CInput_CIGamepad2Vtbl
  2807. #define IGamepad2 __x_ABI_CWindows_CGaming_CInput_CIGamepad2
  2808. #define IGamepad2_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIGamepad2_QueryInterface
  2809. #define IGamepad2_AddRef __x_ABI_CWindows_CGaming_CInput_CIGamepad2_AddRef
  2810. #define IGamepad2_Release __x_ABI_CWindows_CGaming_CInput_CIGamepad2_Release
  2811. #define IGamepad2_GetIids __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetIids
  2812. #define IGamepad2_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetRuntimeClassName
  2813. #define IGamepad2_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetTrustLevel
  2814. #define IGamepad2_GetButtonLabel __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetButtonLabel
  2815. #endif /* WIDL_using_Windows_Gaming_Input */
  2816. #endif
  2817. #endif
  2818. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIGamepad2_INTERFACE_DEFINED__ */
  2819. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  2820. /*****************************************************************************
  2821. * IRacingWheel interface
  2822. */
  2823. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  2824. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRacingWheel_INTERFACE_DEFINED__
  2825. #define ____x_ABI_CWindows_CGaming_CInput_CIRacingWheel_INTERFACE_DEFINED__
  2826. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIRacingWheel, 0xf546656f, 0xe106, 0x4c82, 0xa9,0x0f, 0x55,0x40,0x12,0x90,0x4b,0x85);
  2827. #if defined(__cplusplus) && !defined(CINTERFACE)
  2828. } /* extern "C" */
  2829. namespace ABI {
  2830. namespace Windows {
  2831. namespace Gaming {
  2832. namespace Input {
  2833. MIDL_INTERFACE("f546656f-e106-4c82-a90f-554012904b85")
  2834. IRacingWheel : public IInspectable
  2835. {
  2836. virtual HRESULT STDMETHODCALLTYPE get_HasClutch(
  2837. boolean *value) = 0;
  2838. virtual HRESULT STDMETHODCALLTYPE get_HasHandbrake(
  2839. boolean *value) = 0;
  2840. virtual HRESULT STDMETHODCALLTYPE get_HasPatternShifter(
  2841. boolean *value) = 0;
  2842. virtual HRESULT STDMETHODCALLTYPE get_MaxPatternShifterGear(
  2843. INT32 *value) = 0;
  2844. virtual HRESULT STDMETHODCALLTYPE get_MaxWheelAngle(
  2845. DOUBLE *value) = 0;
  2846. virtual HRESULT STDMETHODCALLTYPE get_WheelMotor(
  2847. ABI::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor **value) = 0;
  2848. virtual HRESULT STDMETHODCALLTYPE GetButtonLabel(
  2849. enum RacingWheelButtons button,
  2850. enum GameControllerButtonLabel *value) = 0;
  2851. virtual HRESULT STDMETHODCALLTYPE GetCurrentReading(
  2852. struct RacingWheelReading *value) = 0;
  2853. };
  2854. }
  2855. }
  2856. }
  2857. }
  2858. extern "C" {
  2859. #ifdef __CRT_UUID_DECL
  2860. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel, 0xf546656f, 0xe106, 0x4c82, 0xa9,0x0f, 0x55,0x40,0x12,0x90,0x4b,0x85)
  2861. #endif
  2862. #else
  2863. typedef struct __x_ABI_CWindows_CGaming_CInput_CIRacingWheelVtbl {
  2864. BEGIN_INTERFACE
  2865. /*** IUnknown methods ***/
  2866. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2867. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This,
  2868. REFIID riid,
  2869. void **ppvObject);
  2870. ULONG (STDMETHODCALLTYPE *AddRef)(
  2871. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This);
  2872. ULONG (STDMETHODCALLTYPE *Release)(
  2873. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This);
  2874. /*** IInspectable methods ***/
  2875. HRESULT (STDMETHODCALLTYPE *GetIids)(
  2876. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This,
  2877. ULONG *iidCount,
  2878. IID **iids);
  2879. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  2880. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This,
  2881. HSTRING *className);
  2882. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  2883. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This,
  2884. TrustLevel *trustLevel);
  2885. /*** IRacingWheel methods ***/
  2886. HRESULT (STDMETHODCALLTYPE *get_HasClutch)(
  2887. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This,
  2888. boolean *value);
  2889. HRESULT (STDMETHODCALLTYPE *get_HasHandbrake)(
  2890. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This,
  2891. boolean *value);
  2892. HRESULT (STDMETHODCALLTYPE *get_HasPatternShifter)(
  2893. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This,
  2894. boolean *value);
  2895. HRESULT (STDMETHODCALLTYPE *get_MaxPatternShifterGear)(
  2896. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This,
  2897. INT32 *value);
  2898. HRESULT (STDMETHODCALLTYPE *get_MaxWheelAngle)(
  2899. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This,
  2900. DOUBLE *value);
  2901. HRESULT (STDMETHODCALLTYPE *get_WheelMotor)(
  2902. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This,
  2903. __x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **value);
  2904. HRESULT (STDMETHODCALLTYPE *GetButtonLabel)(
  2905. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This,
  2906. enum __x_ABI_CWindows_CGaming_CInput_CRacingWheelButtons button,
  2907. enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel *value);
  2908. HRESULT (STDMETHODCALLTYPE *GetCurrentReading)(
  2909. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *This,
  2910. struct __x_ABI_CWindows_CGaming_CInput_CRacingWheelReading *value);
  2911. END_INTERFACE
  2912. } __x_ABI_CWindows_CGaming_CInput_CIRacingWheelVtbl;
  2913. interface __x_ABI_CWindows_CGaming_CInput_CIRacingWheel {
  2914. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIRacingWheelVtbl* lpVtbl;
  2915. };
  2916. #ifdef COBJMACROS
  2917. #ifndef WIDL_C_INLINE_WRAPPERS
  2918. /*** IUnknown methods ***/
  2919. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2920. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_AddRef(This) (This)->lpVtbl->AddRef(This)
  2921. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_Release(This) (This)->lpVtbl->Release(This)
  2922. /*** IInspectable methods ***/
  2923. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  2924. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  2925. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  2926. /*** IRacingWheel methods ***/
  2927. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_HasClutch(This,value) (This)->lpVtbl->get_HasClutch(This,value)
  2928. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_HasHandbrake(This,value) (This)->lpVtbl->get_HasHandbrake(This,value)
  2929. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_HasPatternShifter(This,value) (This)->lpVtbl->get_HasPatternShifter(This,value)
  2930. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_MaxPatternShifterGear(This,value) (This)->lpVtbl->get_MaxPatternShifterGear(This,value)
  2931. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_MaxWheelAngle(This,value) (This)->lpVtbl->get_MaxWheelAngle(This,value)
  2932. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_WheelMotor(This,value) (This)->lpVtbl->get_WheelMotor(This,value)
  2933. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetButtonLabel(This,button,value) (This)->lpVtbl->GetButtonLabel(This,button,value)
  2934. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetCurrentReading(This,value) (This)->lpVtbl->GetCurrentReading(This,value)
  2935. #else
  2936. /*** IUnknown methods ***/
  2937. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This,REFIID riid,void **ppvObject) {
  2938. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2939. }
  2940. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_AddRef(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This) {
  2941. return This->lpVtbl->AddRef(This);
  2942. }
  2943. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_Release(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This) {
  2944. return This->lpVtbl->Release(This);
  2945. }
  2946. /*** IInspectable methods ***/
  2947. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetIids(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This,ULONG *iidCount,IID **iids) {
  2948. return This->lpVtbl->GetIids(This,iidCount,iids);
  2949. }
  2950. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This,HSTRING *className) {
  2951. return This->lpVtbl->GetRuntimeClassName(This,className);
  2952. }
  2953. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This,TrustLevel *trustLevel) {
  2954. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  2955. }
  2956. /*** IRacingWheel methods ***/
  2957. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_HasClutch(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This,boolean *value) {
  2958. return This->lpVtbl->get_HasClutch(This,value);
  2959. }
  2960. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_HasHandbrake(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This,boolean *value) {
  2961. return This->lpVtbl->get_HasHandbrake(This,value);
  2962. }
  2963. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_HasPatternShifter(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This,boolean *value) {
  2964. return This->lpVtbl->get_HasPatternShifter(This,value);
  2965. }
  2966. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_MaxPatternShifterGear(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This,INT32 *value) {
  2967. return This->lpVtbl->get_MaxPatternShifterGear(This,value);
  2968. }
  2969. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_MaxWheelAngle(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This,DOUBLE *value) {
  2970. return This->lpVtbl->get_MaxWheelAngle(This,value);
  2971. }
  2972. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_WheelMotor(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This,__x_ABI_CWindows_CGaming_CInput_CForceFeedback_CIForceFeedbackMotor **value) {
  2973. return This->lpVtbl->get_WheelMotor(This,value);
  2974. }
  2975. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetButtonLabel(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This,enum __x_ABI_CWindows_CGaming_CInput_CRacingWheelButtons button,enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel *value) {
  2976. return This->lpVtbl->GetButtonLabel(This,button,value);
  2977. }
  2978. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetCurrentReading(__x_ABI_CWindows_CGaming_CInput_CIRacingWheel* This,struct __x_ABI_CWindows_CGaming_CInput_CRacingWheelReading *value) {
  2979. return This->lpVtbl->GetCurrentReading(This,value);
  2980. }
  2981. #endif
  2982. #ifdef WIDL_using_Windows_Gaming_Input
  2983. #define IID_IRacingWheel IID___x_ABI_CWindows_CGaming_CInput_CIRacingWheel
  2984. #define IRacingWheelVtbl __x_ABI_CWindows_CGaming_CInput_CIRacingWheelVtbl
  2985. #define IRacingWheel __x_ABI_CWindows_CGaming_CInput_CIRacingWheel
  2986. #define IRacingWheel_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_QueryInterface
  2987. #define IRacingWheel_AddRef __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_AddRef
  2988. #define IRacingWheel_Release __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_Release
  2989. #define IRacingWheel_GetIids __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetIids
  2990. #define IRacingWheel_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetRuntimeClassName
  2991. #define IRacingWheel_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetTrustLevel
  2992. #define IRacingWheel_get_HasClutch __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_HasClutch
  2993. #define IRacingWheel_get_HasHandbrake __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_HasHandbrake
  2994. #define IRacingWheel_get_HasPatternShifter __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_HasPatternShifter
  2995. #define IRacingWheel_get_MaxPatternShifterGear __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_MaxPatternShifterGear
  2996. #define IRacingWheel_get_MaxWheelAngle __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_MaxWheelAngle
  2997. #define IRacingWheel_get_WheelMotor __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_get_WheelMotor
  2998. #define IRacingWheel_GetButtonLabel __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetButtonLabel
  2999. #define IRacingWheel_GetCurrentReading __x_ABI_CWindows_CGaming_CInput_CIRacingWheel_GetCurrentReading
  3000. #endif /* WIDL_using_Windows_Gaming_Input */
  3001. #endif
  3002. #endif
  3003. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIRacingWheel_INTERFACE_DEFINED__ */
  3004. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  3005. /*****************************************************************************
  3006. * IRacingWheelStatics interface
  3007. */
  3008. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  3009. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_INTERFACE_DEFINED__
  3010. #define ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_INTERFACE_DEFINED__
  3011. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics, 0x3ac12cd5, 0x581b, 0x4936, 0x9f,0x94, 0x69,0xf1,0xe6,0x51,0x4c,0x7d);
  3012. #if defined(__cplusplus) && !defined(CINTERFACE)
  3013. } /* extern "C" */
  3014. namespace ABI {
  3015. namespace Windows {
  3016. namespace Gaming {
  3017. namespace Input {
  3018. MIDL_INTERFACE("3ac12cd5-581b-4936-9f94-69f1e6514c7d")
  3019. IRacingWheelStatics : public IInspectable
  3020. {
  3021. virtual HRESULT STDMETHODCALLTYPE add_RacingWheelAdded(
  3022. ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::RacingWheel* > *value,
  3023. EventRegistrationToken *token) = 0;
  3024. virtual HRESULT STDMETHODCALLTYPE remove_RacingWheelAdded(
  3025. EventRegistrationToken token) = 0;
  3026. virtual HRESULT STDMETHODCALLTYPE add_RacingWheelRemoved(
  3027. ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::RacingWheel* > *value,
  3028. EventRegistrationToken *token) = 0;
  3029. virtual HRESULT STDMETHODCALLTYPE remove_RacingWheelRemoved(
  3030. EventRegistrationToken token) = 0;
  3031. virtual HRESULT STDMETHODCALLTYPE get_RacingWheels(
  3032. ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::RacingWheel* > **value) = 0;
  3033. };
  3034. }
  3035. }
  3036. }
  3037. }
  3038. extern "C" {
  3039. #ifdef __CRT_UUID_DECL
  3040. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics, 0x3ac12cd5, 0x581b, 0x4936, 0x9f,0x94, 0x69,0xf1,0xe6,0x51,0x4c,0x7d)
  3041. #endif
  3042. #else
  3043. typedef struct __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStaticsVtbl {
  3044. BEGIN_INTERFACE
  3045. /*** IUnknown methods ***/
  3046. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3047. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics *This,
  3048. REFIID riid,
  3049. void **ppvObject);
  3050. ULONG (STDMETHODCALLTYPE *AddRef)(
  3051. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics *This);
  3052. ULONG (STDMETHODCALLTYPE *Release)(
  3053. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics *This);
  3054. /*** IInspectable methods ***/
  3055. HRESULT (STDMETHODCALLTYPE *GetIids)(
  3056. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics *This,
  3057. ULONG *iidCount,
  3058. IID **iids);
  3059. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  3060. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics *This,
  3061. HSTRING *className);
  3062. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  3063. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics *This,
  3064. TrustLevel *trustLevel);
  3065. /*** IRacingWheelStatics methods ***/
  3066. HRESULT (STDMETHODCALLTYPE *add_RacingWheelAdded)(
  3067. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics *This,
  3068. __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel *value,
  3069. EventRegistrationToken *token);
  3070. HRESULT (STDMETHODCALLTYPE *remove_RacingWheelAdded)(
  3071. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics *This,
  3072. EventRegistrationToken token);
  3073. HRESULT (STDMETHODCALLTYPE *add_RacingWheelRemoved)(
  3074. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics *This,
  3075. __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel *value,
  3076. EventRegistrationToken *token);
  3077. HRESULT (STDMETHODCALLTYPE *remove_RacingWheelRemoved)(
  3078. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics *This,
  3079. EventRegistrationToken token);
  3080. HRESULT (STDMETHODCALLTYPE *get_RacingWheels)(
  3081. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics *This,
  3082. __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel **value);
  3083. END_INTERFACE
  3084. } __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStaticsVtbl;
  3085. interface __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics {
  3086. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStaticsVtbl* lpVtbl;
  3087. };
  3088. #ifdef COBJMACROS
  3089. #ifndef WIDL_C_INLINE_WRAPPERS
  3090. /*** IUnknown methods ***/
  3091. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3092. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
  3093. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_Release(This) (This)->lpVtbl->Release(This)
  3094. /*** IInspectable methods ***/
  3095. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  3096. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  3097. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  3098. /*** IRacingWheelStatics methods ***/
  3099. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_add_RacingWheelAdded(This,value,token) (This)->lpVtbl->add_RacingWheelAdded(This,value,token)
  3100. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_remove_RacingWheelAdded(This,token) (This)->lpVtbl->remove_RacingWheelAdded(This,token)
  3101. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_add_RacingWheelRemoved(This,value,token) (This)->lpVtbl->add_RacingWheelRemoved(This,value,token)
  3102. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_remove_RacingWheelRemoved(This,token) (This)->lpVtbl->remove_RacingWheelRemoved(This,token)
  3103. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_get_RacingWheels(This,value) (This)->lpVtbl->get_RacingWheels(This,value)
  3104. #else
  3105. /*** IUnknown methods ***/
  3106. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics* This,REFIID riid,void **ppvObject) {
  3107. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3108. }
  3109. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_AddRef(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics* This) {
  3110. return This->lpVtbl->AddRef(This);
  3111. }
  3112. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_Release(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics* This) {
  3113. return This->lpVtbl->Release(This);
  3114. }
  3115. /*** IInspectable methods ***/
  3116. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_GetIids(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics* This,ULONG *iidCount,IID **iids) {
  3117. return This->lpVtbl->GetIids(This,iidCount,iids);
  3118. }
  3119. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics* This,HSTRING *className) {
  3120. return This->lpVtbl->GetRuntimeClassName(This,className);
  3121. }
  3122. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics* This,TrustLevel *trustLevel) {
  3123. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  3124. }
  3125. /*** IRacingWheelStatics methods ***/
  3126. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_add_RacingWheelAdded(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics* This,__FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel *value,EventRegistrationToken *token) {
  3127. return This->lpVtbl->add_RacingWheelAdded(This,value,token);
  3128. }
  3129. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_remove_RacingWheelAdded(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics* This,EventRegistrationToken token) {
  3130. return This->lpVtbl->remove_RacingWheelAdded(This,token);
  3131. }
  3132. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_add_RacingWheelRemoved(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics* This,__FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel *value,EventRegistrationToken *token) {
  3133. return This->lpVtbl->add_RacingWheelRemoved(This,value,token);
  3134. }
  3135. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_remove_RacingWheelRemoved(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics* This,EventRegistrationToken token) {
  3136. return This->lpVtbl->remove_RacingWheelRemoved(This,token);
  3137. }
  3138. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_get_RacingWheels(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics* This,__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel **value) {
  3139. return This->lpVtbl->get_RacingWheels(This,value);
  3140. }
  3141. #endif
  3142. #ifdef WIDL_using_Windows_Gaming_Input
  3143. #define IID_IRacingWheelStatics IID___x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics
  3144. #define IRacingWheelStaticsVtbl __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStaticsVtbl
  3145. #define IRacingWheelStatics __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics
  3146. #define IRacingWheelStatics_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_QueryInterface
  3147. #define IRacingWheelStatics_AddRef __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_AddRef
  3148. #define IRacingWheelStatics_Release __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_Release
  3149. #define IRacingWheelStatics_GetIids __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_GetIids
  3150. #define IRacingWheelStatics_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_GetRuntimeClassName
  3151. #define IRacingWheelStatics_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_GetTrustLevel
  3152. #define IRacingWheelStatics_add_RacingWheelAdded __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_add_RacingWheelAdded
  3153. #define IRacingWheelStatics_remove_RacingWheelAdded __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_remove_RacingWheelAdded
  3154. #define IRacingWheelStatics_add_RacingWheelRemoved __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_add_RacingWheelRemoved
  3155. #define IRacingWheelStatics_remove_RacingWheelRemoved __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_remove_RacingWheelRemoved
  3156. #define IRacingWheelStatics_get_RacingWheels __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_get_RacingWheels
  3157. #endif /* WIDL_using_Windows_Gaming_Input */
  3158. #endif
  3159. #endif
  3160. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics_INTERFACE_DEFINED__ */
  3161. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  3162. /*****************************************************************************
  3163. * IRacingWheelStatics2 interface
  3164. */
  3165. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  3166. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_INTERFACE_DEFINED__
  3167. #define ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_INTERFACE_DEFINED__
  3168. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2, 0xe666bcaa, 0xedfd, 0x4323, 0xa9,0xf6, 0x3c,0x38,0x40,0x48,0xd1,0xed);
  3169. #if defined(__cplusplus) && !defined(CINTERFACE)
  3170. } /* extern "C" */
  3171. namespace ABI {
  3172. namespace Windows {
  3173. namespace Gaming {
  3174. namespace Input {
  3175. MIDL_INTERFACE("e666bcaa-edfd-4323-a9f6-3c384048d1ed")
  3176. IRacingWheelStatics2 : public IInspectable
  3177. {
  3178. virtual HRESULT STDMETHODCALLTYPE FromGameController(
  3179. ABI::Windows::Gaming::Input::IGameController *controller,
  3180. ABI::Windows::Gaming::Input::IRacingWheel **value) = 0;
  3181. };
  3182. }
  3183. }
  3184. }
  3185. }
  3186. extern "C" {
  3187. #ifdef __CRT_UUID_DECL
  3188. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2, 0xe666bcaa, 0xedfd, 0x4323, 0xa9,0xf6, 0x3c,0x38,0x40,0x48,0xd1,0xed)
  3189. #endif
  3190. #else
  3191. typedef struct __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2Vtbl {
  3192. BEGIN_INTERFACE
  3193. /*** IUnknown methods ***/
  3194. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3195. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2 *This,
  3196. REFIID riid,
  3197. void **ppvObject);
  3198. ULONG (STDMETHODCALLTYPE *AddRef)(
  3199. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2 *This);
  3200. ULONG (STDMETHODCALLTYPE *Release)(
  3201. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2 *This);
  3202. /*** IInspectable methods ***/
  3203. HRESULT (STDMETHODCALLTYPE *GetIids)(
  3204. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2 *This,
  3205. ULONG *iidCount,
  3206. IID **iids);
  3207. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  3208. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2 *This,
  3209. HSTRING *className);
  3210. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  3211. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2 *This,
  3212. TrustLevel *trustLevel);
  3213. /*** IRacingWheelStatics2 methods ***/
  3214. HRESULT (STDMETHODCALLTYPE *FromGameController)(
  3215. __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2 *This,
  3216. __x_ABI_CWindows_CGaming_CInput_CIGameController *controller,
  3217. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel **value);
  3218. END_INTERFACE
  3219. } __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2Vtbl;
  3220. interface __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2 {
  3221. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2Vtbl* lpVtbl;
  3222. };
  3223. #ifdef COBJMACROS
  3224. #ifndef WIDL_C_INLINE_WRAPPERS
  3225. /*** IUnknown methods ***/
  3226. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3227. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_AddRef(This) (This)->lpVtbl->AddRef(This)
  3228. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_Release(This) (This)->lpVtbl->Release(This)
  3229. /*** IInspectable methods ***/
  3230. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  3231. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  3232. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  3233. /*** IRacingWheelStatics2 methods ***/
  3234. #define __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_FromGameController(This,controller,value) (This)->lpVtbl->FromGameController(This,controller,value)
  3235. #else
  3236. /*** IUnknown methods ***/
  3237. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2* This,REFIID riid,void **ppvObject) {
  3238. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3239. }
  3240. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_AddRef(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2* This) {
  3241. return This->lpVtbl->AddRef(This);
  3242. }
  3243. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_Release(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2* This) {
  3244. return This->lpVtbl->Release(This);
  3245. }
  3246. /*** IInspectable methods ***/
  3247. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_GetIids(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2* This,ULONG *iidCount,IID **iids) {
  3248. return This->lpVtbl->GetIids(This,iidCount,iids);
  3249. }
  3250. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2* This,HSTRING *className) {
  3251. return This->lpVtbl->GetRuntimeClassName(This,className);
  3252. }
  3253. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2* This,TrustLevel *trustLevel) {
  3254. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  3255. }
  3256. /*** IRacingWheelStatics2 methods ***/
  3257. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_FromGameController(__x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2* This,__x_ABI_CWindows_CGaming_CInput_CIGameController *controller,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel **value) {
  3258. return This->lpVtbl->FromGameController(This,controller,value);
  3259. }
  3260. #endif
  3261. #ifdef WIDL_using_Windows_Gaming_Input
  3262. #define IID_IRacingWheelStatics2 IID___x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2
  3263. #define IRacingWheelStatics2Vtbl __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2Vtbl
  3264. #define IRacingWheelStatics2 __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2
  3265. #define IRacingWheelStatics2_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_QueryInterface
  3266. #define IRacingWheelStatics2_AddRef __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_AddRef
  3267. #define IRacingWheelStatics2_Release __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_Release
  3268. #define IRacingWheelStatics2_GetIids __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_GetIids
  3269. #define IRacingWheelStatics2_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_GetRuntimeClassName
  3270. #define IRacingWheelStatics2_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_GetTrustLevel
  3271. #define IRacingWheelStatics2_FromGameController __x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_FromGameController
  3272. #endif /* WIDL_using_Windows_Gaming_Input */
  3273. #endif
  3274. #endif
  3275. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIRacingWheelStatics2_INTERFACE_DEFINED__ */
  3276. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  3277. /*****************************************************************************
  3278. * IRawGameController interface
  3279. */
  3280. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  3281. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRawGameController_INTERFACE_DEFINED__
  3282. #define ____x_ABI_CWindows_CGaming_CInput_CIRawGameController_INTERFACE_DEFINED__
  3283. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIRawGameController, 0x7cad6d91, 0xa7e1, 0x4f71, 0x9a,0x78, 0x33,0xe9,0xc5,0xdf,0xea,0x62);
  3284. #if defined(__cplusplus) && !defined(CINTERFACE)
  3285. } /* extern "C" */
  3286. namespace ABI {
  3287. namespace Windows {
  3288. namespace Gaming {
  3289. namespace Input {
  3290. MIDL_INTERFACE("7cad6d91-a7e1-4f71-9a78-33e9c5dfea62")
  3291. IRawGameController : public IInspectable
  3292. {
  3293. virtual HRESULT STDMETHODCALLTYPE get_AxisCount(
  3294. INT32 *value) = 0;
  3295. virtual HRESULT STDMETHODCALLTYPE get_ButtonCount(
  3296. INT32 *value) = 0;
  3297. virtual HRESULT STDMETHODCALLTYPE get_ForceFeedbackMotors(
  3298. ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor* > **value) = 0;
  3299. virtual HRESULT STDMETHODCALLTYPE get_HardwareProductId(
  3300. UINT16 *value) = 0;
  3301. virtual HRESULT STDMETHODCALLTYPE get_HardwareVendorId(
  3302. UINT16 *value) = 0;
  3303. virtual HRESULT STDMETHODCALLTYPE get_SwitchCount(
  3304. INT32 *value) = 0;
  3305. virtual HRESULT STDMETHODCALLTYPE GetButtonLabel(
  3306. INT32 index,
  3307. enum GameControllerButtonLabel *value) = 0;
  3308. virtual HRESULT STDMETHODCALLTYPE GetCurrentReading(
  3309. UINT32 buttons_size,
  3310. boolean *buttons,
  3311. UINT32 switches_size,
  3312. enum GameControllerSwitchPosition *switches,
  3313. UINT32 axes_size,
  3314. DOUBLE *axes,
  3315. UINT64 *timestamp) = 0;
  3316. virtual HRESULT STDMETHODCALLTYPE GetSwitchKind(
  3317. INT32 index,
  3318. enum GameControllerSwitchKind *value) = 0;
  3319. };
  3320. }
  3321. }
  3322. }
  3323. }
  3324. extern "C" {
  3325. #ifdef __CRT_UUID_DECL
  3326. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIRawGameController, 0x7cad6d91, 0xa7e1, 0x4f71, 0x9a,0x78, 0x33,0xe9,0xc5,0xdf,0xea,0x62)
  3327. #endif
  3328. #else
  3329. typedef struct __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerVtbl {
  3330. BEGIN_INTERFACE
  3331. /*** IUnknown methods ***/
  3332. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3333. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3334. REFIID riid,
  3335. void **ppvObject);
  3336. ULONG (STDMETHODCALLTYPE *AddRef)(
  3337. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This);
  3338. ULONG (STDMETHODCALLTYPE *Release)(
  3339. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This);
  3340. /*** IInspectable methods ***/
  3341. HRESULT (STDMETHODCALLTYPE *GetIids)(
  3342. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3343. ULONG *iidCount,
  3344. IID **iids);
  3345. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  3346. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3347. HSTRING *className);
  3348. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  3349. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3350. TrustLevel *trustLevel);
  3351. /*** IRawGameController methods ***/
  3352. HRESULT (STDMETHODCALLTYPE *get_AxisCount)(
  3353. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3354. INT32 *value);
  3355. HRESULT (STDMETHODCALLTYPE *get_ButtonCount)(
  3356. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3357. INT32 *value);
  3358. HRESULT (STDMETHODCALLTYPE *get_ForceFeedbackMotors)(
  3359. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3360. __FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor **value);
  3361. HRESULT (STDMETHODCALLTYPE *get_HardwareProductId)(
  3362. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3363. UINT16 *value);
  3364. HRESULT (STDMETHODCALLTYPE *get_HardwareVendorId)(
  3365. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3366. UINT16 *value);
  3367. HRESULT (STDMETHODCALLTYPE *get_SwitchCount)(
  3368. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3369. INT32 *value);
  3370. HRESULT (STDMETHODCALLTYPE *GetButtonLabel)(
  3371. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3372. INT32 index,
  3373. enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel *value);
  3374. HRESULT (STDMETHODCALLTYPE *GetCurrentReading)(
  3375. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3376. UINT32 buttons_size,
  3377. boolean *buttons,
  3378. UINT32 switches_size,
  3379. enum __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchPosition *switches,
  3380. UINT32 axes_size,
  3381. DOUBLE *axes,
  3382. UINT64 *timestamp);
  3383. HRESULT (STDMETHODCALLTYPE *GetSwitchKind)(
  3384. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *This,
  3385. INT32 index,
  3386. enum __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchKind *value);
  3387. END_INTERFACE
  3388. } __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerVtbl;
  3389. interface __x_ABI_CWindows_CGaming_CInput_CIRawGameController {
  3390. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerVtbl* lpVtbl;
  3391. };
  3392. #ifdef COBJMACROS
  3393. #ifndef WIDL_C_INLINE_WRAPPERS
  3394. /*** IUnknown methods ***/
  3395. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3396. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_AddRef(This) (This)->lpVtbl->AddRef(This)
  3397. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_Release(This) (This)->lpVtbl->Release(This)
  3398. /*** IInspectable methods ***/
  3399. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  3400. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  3401. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  3402. /*** IRawGameController methods ***/
  3403. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_AxisCount(This,value) (This)->lpVtbl->get_AxisCount(This,value)
  3404. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_ButtonCount(This,value) (This)->lpVtbl->get_ButtonCount(This,value)
  3405. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_ForceFeedbackMotors(This,value) (This)->lpVtbl->get_ForceFeedbackMotors(This,value)
  3406. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_HardwareProductId(This,value) (This)->lpVtbl->get_HardwareProductId(This,value)
  3407. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_HardwareVendorId(This,value) (This)->lpVtbl->get_HardwareVendorId(This,value)
  3408. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_SwitchCount(This,value) (This)->lpVtbl->get_SwitchCount(This,value)
  3409. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetButtonLabel(This,index,value) (This)->lpVtbl->GetButtonLabel(This,index,value)
  3410. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetCurrentReading(This,buttons_size,buttons,switches_size,switches,axes_size,axes,timestamp) (This)->lpVtbl->GetCurrentReading(This,buttons_size,buttons,switches_size,switches,axes_size,axes,timestamp)
  3411. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetSwitchKind(This,index,value) (This)->lpVtbl->GetSwitchKind(This,index,value)
  3412. #else
  3413. /*** IUnknown methods ***/
  3414. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,REFIID riid,void **ppvObject) {
  3415. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3416. }
  3417. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIRawGameController_AddRef(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This) {
  3418. return This->lpVtbl->AddRef(This);
  3419. }
  3420. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIRawGameController_Release(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This) {
  3421. return This->lpVtbl->Release(This);
  3422. }
  3423. /*** IInspectable methods ***/
  3424. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetIids(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,ULONG *iidCount,IID **iids) {
  3425. return This->lpVtbl->GetIids(This,iidCount,iids);
  3426. }
  3427. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,HSTRING *className) {
  3428. return This->lpVtbl->GetRuntimeClassName(This,className);
  3429. }
  3430. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,TrustLevel *trustLevel) {
  3431. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  3432. }
  3433. /*** IRawGameController methods ***/
  3434. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_AxisCount(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,INT32 *value) {
  3435. return This->lpVtbl->get_AxisCount(This,value);
  3436. }
  3437. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_ButtonCount(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,INT32 *value) {
  3438. return This->lpVtbl->get_ButtonCount(This,value);
  3439. }
  3440. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_ForceFeedbackMotors(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,__FIVectorView_1_Windows__CGaming__CInput__CForceFeedback__CForceFeedbackMotor **value) {
  3441. return This->lpVtbl->get_ForceFeedbackMotors(This,value);
  3442. }
  3443. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_HardwareProductId(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,UINT16 *value) {
  3444. return This->lpVtbl->get_HardwareProductId(This,value);
  3445. }
  3446. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_HardwareVendorId(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,UINT16 *value) {
  3447. return This->lpVtbl->get_HardwareVendorId(This,value);
  3448. }
  3449. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_SwitchCount(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,INT32 *value) {
  3450. return This->lpVtbl->get_SwitchCount(This,value);
  3451. }
  3452. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetButtonLabel(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,INT32 index,enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel *value) {
  3453. return This->lpVtbl->GetButtonLabel(This,index,value);
  3454. }
  3455. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetCurrentReading(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,UINT32 buttons_size,boolean *buttons,UINT32 switches_size,enum __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchPosition *switches,UINT32 axes_size,DOUBLE *axes,UINT64 *timestamp) {
  3456. return This->lpVtbl->GetCurrentReading(This,buttons_size,buttons,switches_size,switches,axes_size,axes,timestamp);
  3457. }
  3458. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetSwitchKind(__x_ABI_CWindows_CGaming_CInput_CIRawGameController* This,INT32 index,enum __x_ABI_CWindows_CGaming_CInput_CGameControllerSwitchKind *value) {
  3459. return This->lpVtbl->GetSwitchKind(This,index,value);
  3460. }
  3461. #endif
  3462. #ifdef WIDL_using_Windows_Gaming_Input
  3463. #define IID_IRawGameController IID___x_ABI_CWindows_CGaming_CInput_CIRawGameController
  3464. #define IRawGameControllerVtbl __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerVtbl
  3465. #define IRawGameController __x_ABI_CWindows_CGaming_CInput_CIRawGameController
  3466. #define IRawGameController_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIRawGameController_QueryInterface
  3467. #define IRawGameController_AddRef __x_ABI_CWindows_CGaming_CInput_CIRawGameController_AddRef
  3468. #define IRawGameController_Release __x_ABI_CWindows_CGaming_CInput_CIRawGameController_Release
  3469. #define IRawGameController_GetIids __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetIids
  3470. #define IRawGameController_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetRuntimeClassName
  3471. #define IRawGameController_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetTrustLevel
  3472. #define IRawGameController_get_AxisCount __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_AxisCount
  3473. #define IRawGameController_get_ButtonCount __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_ButtonCount
  3474. #define IRawGameController_get_ForceFeedbackMotors __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_ForceFeedbackMotors
  3475. #define IRawGameController_get_HardwareProductId __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_HardwareProductId
  3476. #define IRawGameController_get_HardwareVendorId __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_HardwareVendorId
  3477. #define IRawGameController_get_SwitchCount __x_ABI_CWindows_CGaming_CInput_CIRawGameController_get_SwitchCount
  3478. #define IRawGameController_GetButtonLabel __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetButtonLabel
  3479. #define IRawGameController_GetCurrentReading __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetCurrentReading
  3480. #define IRawGameController_GetSwitchKind __x_ABI_CWindows_CGaming_CInput_CIRawGameController_GetSwitchKind
  3481. #endif /* WIDL_using_Windows_Gaming_Input */
  3482. #endif
  3483. #endif
  3484. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIRawGameController_INTERFACE_DEFINED__ */
  3485. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  3486. /*****************************************************************************
  3487. * IRawGameController2 interface
  3488. */
  3489. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x50000
  3490. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRawGameController2_INTERFACE_DEFINED__
  3491. #define ____x_ABI_CWindows_CGaming_CInput_CIRawGameController2_INTERFACE_DEFINED__
  3492. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIRawGameController2, 0x43c0c035, 0xbb73, 0x4756, 0xa7,0x87, 0x3e,0xd6,0xbe,0xa6,0x17,0xbd);
  3493. #if defined(__cplusplus) && !defined(CINTERFACE)
  3494. } /* extern "C" */
  3495. namespace ABI {
  3496. namespace Windows {
  3497. namespace Gaming {
  3498. namespace Input {
  3499. MIDL_INTERFACE("43c0c035-bb73-4756-a787-3ed6bea617bd")
  3500. IRawGameController2 : public IInspectable
  3501. {
  3502. virtual HRESULT STDMETHODCALLTYPE get_SimpleHapticsControllers(
  3503. ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Haptics::SimpleHapticsController* > **value) = 0;
  3504. virtual HRESULT STDMETHODCALLTYPE get_NonRoamableId(
  3505. HSTRING *value) = 0;
  3506. virtual HRESULT STDMETHODCALLTYPE get_DisplayName(
  3507. HSTRING *value) = 0;
  3508. };
  3509. }
  3510. }
  3511. }
  3512. }
  3513. extern "C" {
  3514. #ifdef __CRT_UUID_DECL
  3515. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIRawGameController2, 0x43c0c035, 0xbb73, 0x4756, 0xa7,0x87, 0x3e,0xd6,0xbe,0xa6,0x17,0xbd)
  3516. #endif
  3517. #else
  3518. typedef struct __x_ABI_CWindows_CGaming_CInput_CIRawGameController2Vtbl {
  3519. BEGIN_INTERFACE
  3520. /*** IUnknown methods ***/
  3521. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3522. __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 *This,
  3523. REFIID riid,
  3524. void **ppvObject);
  3525. ULONG (STDMETHODCALLTYPE *AddRef)(
  3526. __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 *This);
  3527. ULONG (STDMETHODCALLTYPE *Release)(
  3528. __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 *This);
  3529. /*** IInspectable methods ***/
  3530. HRESULT (STDMETHODCALLTYPE *GetIids)(
  3531. __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 *This,
  3532. ULONG *iidCount,
  3533. IID **iids);
  3534. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  3535. __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 *This,
  3536. HSTRING *className);
  3537. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  3538. __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 *This,
  3539. TrustLevel *trustLevel);
  3540. /*** IRawGameController2 methods ***/
  3541. HRESULT (STDMETHODCALLTYPE *get_SimpleHapticsControllers)(
  3542. __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 *This,
  3543. __FIVectorView_1_Windows__CDevices__CHaptics__CSimpleHapticsController **value);
  3544. HRESULT (STDMETHODCALLTYPE *get_NonRoamableId)(
  3545. __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 *This,
  3546. HSTRING *value);
  3547. HRESULT (STDMETHODCALLTYPE *get_DisplayName)(
  3548. __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 *This,
  3549. HSTRING *value);
  3550. END_INTERFACE
  3551. } __x_ABI_CWindows_CGaming_CInput_CIRawGameController2Vtbl;
  3552. interface __x_ABI_CWindows_CGaming_CInput_CIRawGameController2 {
  3553. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIRawGameController2Vtbl* lpVtbl;
  3554. };
  3555. #ifdef COBJMACROS
  3556. #ifndef WIDL_C_INLINE_WRAPPERS
  3557. /*** IUnknown methods ***/
  3558. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3559. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_AddRef(This) (This)->lpVtbl->AddRef(This)
  3560. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_Release(This) (This)->lpVtbl->Release(This)
  3561. /*** IInspectable methods ***/
  3562. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  3563. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  3564. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  3565. /*** IRawGameController2 methods ***/
  3566. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_get_SimpleHapticsControllers(This,value) (This)->lpVtbl->get_SimpleHapticsControllers(This,value)
  3567. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_get_NonRoamableId(This,value) (This)->lpVtbl->get_NonRoamableId(This,value)
  3568. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_get_DisplayName(This,value) (This)->lpVtbl->get_DisplayName(This,value)
  3569. #else
  3570. /*** IUnknown methods ***/
  3571. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIRawGameController2* This,REFIID riid,void **ppvObject) {
  3572. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3573. }
  3574. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_AddRef(__x_ABI_CWindows_CGaming_CInput_CIRawGameController2* This) {
  3575. return This->lpVtbl->AddRef(This);
  3576. }
  3577. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_Release(__x_ABI_CWindows_CGaming_CInput_CIRawGameController2* This) {
  3578. return This->lpVtbl->Release(This);
  3579. }
  3580. /*** IInspectable methods ***/
  3581. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_GetIids(__x_ABI_CWindows_CGaming_CInput_CIRawGameController2* This,ULONG *iidCount,IID **iids) {
  3582. return This->lpVtbl->GetIids(This,iidCount,iids);
  3583. }
  3584. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIRawGameController2* This,HSTRING *className) {
  3585. return This->lpVtbl->GetRuntimeClassName(This,className);
  3586. }
  3587. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIRawGameController2* This,TrustLevel *trustLevel) {
  3588. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  3589. }
  3590. /*** IRawGameController2 methods ***/
  3591. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_get_SimpleHapticsControllers(__x_ABI_CWindows_CGaming_CInput_CIRawGameController2* This,__FIVectorView_1_Windows__CDevices__CHaptics__CSimpleHapticsController **value) {
  3592. return This->lpVtbl->get_SimpleHapticsControllers(This,value);
  3593. }
  3594. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_get_NonRoamableId(__x_ABI_CWindows_CGaming_CInput_CIRawGameController2* This,HSTRING *value) {
  3595. return This->lpVtbl->get_NonRoamableId(This,value);
  3596. }
  3597. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_get_DisplayName(__x_ABI_CWindows_CGaming_CInput_CIRawGameController2* This,HSTRING *value) {
  3598. return This->lpVtbl->get_DisplayName(This,value);
  3599. }
  3600. #endif
  3601. #ifdef WIDL_using_Windows_Gaming_Input
  3602. #define IID_IRawGameController2 IID___x_ABI_CWindows_CGaming_CInput_CIRawGameController2
  3603. #define IRawGameController2Vtbl __x_ABI_CWindows_CGaming_CInput_CIRawGameController2Vtbl
  3604. #define IRawGameController2 __x_ABI_CWindows_CGaming_CInput_CIRawGameController2
  3605. #define IRawGameController2_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_QueryInterface
  3606. #define IRawGameController2_AddRef __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_AddRef
  3607. #define IRawGameController2_Release __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_Release
  3608. #define IRawGameController2_GetIids __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_GetIids
  3609. #define IRawGameController2_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_GetRuntimeClassName
  3610. #define IRawGameController2_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_GetTrustLevel
  3611. #define IRawGameController2_get_SimpleHapticsControllers __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_get_SimpleHapticsControllers
  3612. #define IRawGameController2_get_NonRoamableId __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_get_NonRoamableId
  3613. #define IRawGameController2_get_DisplayName __x_ABI_CWindows_CGaming_CInput_CIRawGameController2_get_DisplayName
  3614. #endif /* WIDL_using_Windows_Gaming_Input */
  3615. #endif
  3616. #endif
  3617. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIRawGameController2_INTERFACE_DEFINED__ */
  3618. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x50000 */
  3619. /*****************************************************************************
  3620. * IGamepadStatics interface
  3621. */
  3622. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_INTERFACE_DEFINED__
  3623. #define ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_INTERFACE_DEFINED__
  3624. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIGamepadStatics, 0x8bbce529, 0xd49c, 0x39e9, 0x95,0x60, 0xe4,0x7d,0xde,0x96,0xb7,0xc8);
  3625. #if defined(__cplusplus) && !defined(CINTERFACE)
  3626. } /* extern "C" */
  3627. namespace ABI {
  3628. namespace Windows {
  3629. namespace Gaming {
  3630. namespace Input {
  3631. MIDL_INTERFACE("8bbce529-d49c-39e9-9560-e47dde96b7c8")
  3632. IGamepadStatics : public IInspectable
  3633. {
  3634. virtual HRESULT STDMETHODCALLTYPE add_GamepadAdded(
  3635. ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::Gamepad* > *value,
  3636. EventRegistrationToken *token) = 0;
  3637. virtual HRESULT STDMETHODCALLTYPE remove_GamepadAdded(
  3638. EventRegistrationToken token) = 0;
  3639. virtual HRESULT STDMETHODCALLTYPE add_GamepadRemoved(
  3640. ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::Gamepad* > *value,
  3641. EventRegistrationToken *token) = 0;
  3642. virtual HRESULT STDMETHODCALLTYPE remove_GamepadRemoved(
  3643. EventRegistrationToken token) = 0;
  3644. virtual HRESULT STDMETHODCALLTYPE get_Gamepads(
  3645. ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::Gamepad* > **value) = 0;
  3646. };
  3647. }
  3648. }
  3649. }
  3650. }
  3651. extern "C" {
  3652. #ifdef __CRT_UUID_DECL
  3653. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics, 0x8bbce529, 0xd49c, 0x39e9, 0x95,0x60, 0xe4,0x7d,0xde,0x96,0xb7,0xc8)
  3654. #endif
  3655. #else
  3656. typedef struct __x_ABI_CWindows_CGaming_CInput_CIGamepadStaticsVtbl {
  3657. BEGIN_INTERFACE
  3658. /*** IUnknown methods ***/
  3659. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3660. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics *This,
  3661. REFIID riid,
  3662. void **ppvObject);
  3663. ULONG (STDMETHODCALLTYPE *AddRef)(
  3664. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics *This);
  3665. ULONG (STDMETHODCALLTYPE *Release)(
  3666. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics *This);
  3667. /*** IInspectable methods ***/
  3668. HRESULT (STDMETHODCALLTYPE *GetIids)(
  3669. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics *This,
  3670. ULONG *iidCount,
  3671. IID **iids);
  3672. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  3673. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics *This,
  3674. HSTRING *className);
  3675. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  3676. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics *This,
  3677. TrustLevel *trustLevel);
  3678. /*** IGamepadStatics methods ***/
  3679. HRESULT (STDMETHODCALLTYPE *add_GamepadAdded)(
  3680. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics *This,
  3681. __FIEventHandler_1_Windows__CGaming__CInput__CGamepad *value,
  3682. EventRegistrationToken *token);
  3683. HRESULT (STDMETHODCALLTYPE *remove_GamepadAdded)(
  3684. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics *This,
  3685. EventRegistrationToken token);
  3686. HRESULT (STDMETHODCALLTYPE *add_GamepadRemoved)(
  3687. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics *This,
  3688. __FIEventHandler_1_Windows__CGaming__CInput__CGamepad *value,
  3689. EventRegistrationToken *token);
  3690. HRESULT (STDMETHODCALLTYPE *remove_GamepadRemoved)(
  3691. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics *This,
  3692. EventRegistrationToken token);
  3693. HRESULT (STDMETHODCALLTYPE *get_Gamepads)(
  3694. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics *This,
  3695. __FIVectorView_1_Windows__CGaming__CInput__CGamepad **value);
  3696. END_INTERFACE
  3697. } __x_ABI_CWindows_CGaming_CInput_CIGamepadStaticsVtbl;
  3698. interface __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics {
  3699. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIGamepadStaticsVtbl* lpVtbl;
  3700. };
  3701. #ifdef COBJMACROS
  3702. #ifndef WIDL_C_INLINE_WRAPPERS
  3703. /*** IUnknown methods ***/
  3704. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3705. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
  3706. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_Release(This) (This)->lpVtbl->Release(This)
  3707. /*** IInspectable methods ***/
  3708. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  3709. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  3710. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  3711. /*** IGamepadStatics methods ***/
  3712. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_add_GamepadAdded(This,value,token) (This)->lpVtbl->add_GamepadAdded(This,value,token)
  3713. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_remove_GamepadAdded(This,token) (This)->lpVtbl->remove_GamepadAdded(This,token)
  3714. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_add_GamepadRemoved(This,value,token) (This)->lpVtbl->add_GamepadRemoved(This,value,token)
  3715. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_remove_GamepadRemoved(This,token) (This)->lpVtbl->remove_GamepadRemoved(This,token)
  3716. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_get_Gamepads(This,value) (This)->lpVtbl->get_Gamepads(This,value)
  3717. #else
  3718. /*** IUnknown methods ***/
  3719. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics* This,REFIID riid,void **ppvObject) {
  3720. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3721. }
  3722. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_AddRef(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics* This) {
  3723. return This->lpVtbl->AddRef(This);
  3724. }
  3725. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_Release(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics* This) {
  3726. return This->lpVtbl->Release(This);
  3727. }
  3728. /*** IInspectable methods ***/
  3729. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_GetIids(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics* This,ULONG *iidCount,IID **iids) {
  3730. return This->lpVtbl->GetIids(This,iidCount,iids);
  3731. }
  3732. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics* This,HSTRING *className) {
  3733. return This->lpVtbl->GetRuntimeClassName(This,className);
  3734. }
  3735. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics* This,TrustLevel *trustLevel) {
  3736. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  3737. }
  3738. /*** IGamepadStatics methods ***/
  3739. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_add_GamepadAdded(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics* This,__FIEventHandler_1_Windows__CGaming__CInput__CGamepad *value,EventRegistrationToken *token) {
  3740. return This->lpVtbl->add_GamepadAdded(This,value,token);
  3741. }
  3742. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_remove_GamepadAdded(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics* This,EventRegistrationToken token) {
  3743. return This->lpVtbl->remove_GamepadAdded(This,token);
  3744. }
  3745. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_add_GamepadRemoved(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics* This,__FIEventHandler_1_Windows__CGaming__CInput__CGamepad *value,EventRegistrationToken *token) {
  3746. return This->lpVtbl->add_GamepadRemoved(This,value,token);
  3747. }
  3748. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_remove_GamepadRemoved(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics* This,EventRegistrationToken token) {
  3749. return This->lpVtbl->remove_GamepadRemoved(This,token);
  3750. }
  3751. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_get_Gamepads(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics* This,__FIVectorView_1_Windows__CGaming__CInput__CGamepad **value) {
  3752. return This->lpVtbl->get_Gamepads(This,value);
  3753. }
  3754. #endif
  3755. #ifdef WIDL_using_Windows_Gaming_Input
  3756. #define IID_IGamepadStatics IID___x_ABI_CWindows_CGaming_CInput_CIGamepadStatics
  3757. #define IGamepadStaticsVtbl __x_ABI_CWindows_CGaming_CInput_CIGamepadStaticsVtbl
  3758. #define IGamepadStatics __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics
  3759. #define IGamepadStatics_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_QueryInterface
  3760. #define IGamepadStatics_AddRef __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_AddRef
  3761. #define IGamepadStatics_Release __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_Release
  3762. #define IGamepadStatics_GetIids __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_GetIids
  3763. #define IGamepadStatics_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_GetRuntimeClassName
  3764. #define IGamepadStatics_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_GetTrustLevel
  3765. #define IGamepadStatics_add_GamepadAdded __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_add_GamepadAdded
  3766. #define IGamepadStatics_remove_GamepadAdded __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_remove_GamepadAdded
  3767. #define IGamepadStatics_add_GamepadRemoved __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_add_GamepadRemoved
  3768. #define IGamepadStatics_remove_GamepadRemoved __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_remove_GamepadRemoved
  3769. #define IGamepadStatics_get_Gamepads __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_get_Gamepads
  3770. #endif /* WIDL_using_Windows_Gaming_Input */
  3771. #endif
  3772. #endif
  3773. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics_INTERFACE_DEFINED__ */
  3774. /*****************************************************************************
  3775. * IGamepadStatics2 interface
  3776. */
  3777. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  3778. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_INTERFACE_DEFINED__
  3779. #define ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_INTERFACE_DEFINED__
  3780. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2, 0x42676dc5, 0x0856, 0x47c4, 0x92,0x13, 0xb3,0x95,0x50,0x4c,0x3a,0x3c);
  3781. #if defined(__cplusplus) && !defined(CINTERFACE)
  3782. } /* extern "C" */
  3783. namespace ABI {
  3784. namespace Windows {
  3785. namespace Gaming {
  3786. namespace Input {
  3787. MIDL_INTERFACE("42676dc5-0856-47c4-9213-b395504c3a3c")
  3788. IGamepadStatics2 : public IInspectable
  3789. {
  3790. virtual HRESULT STDMETHODCALLTYPE FromGameController(
  3791. ABI::Windows::Gaming::Input::IGameController *controller,
  3792. ABI::Windows::Gaming::Input::IGamepad **value) = 0;
  3793. };
  3794. }
  3795. }
  3796. }
  3797. }
  3798. extern "C" {
  3799. #ifdef __CRT_UUID_DECL
  3800. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2, 0x42676dc5, 0x0856, 0x47c4, 0x92,0x13, 0xb3,0x95,0x50,0x4c,0x3a,0x3c)
  3801. #endif
  3802. #else
  3803. typedef struct __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2Vtbl {
  3804. BEGIN_INTERFACE
  3805. /*** IUnknown methods ***/
  3806. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3807. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2 *This,
  3808. REFIID riid,
  3809. void **ppvObject);
  3810. ULONG (STDMETHODCALLTYPE *AddRef)(
  3811. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2 *This);
  3812. ULONG (STDMETHODCALLTYPE *Release)(
  3813. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2 *This);
  3814. /*** IInspectable methods ***/
  3815. HRESULT (STDMETHODCALLTYPE *GetIids)(
  3816. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2 *This,
  3817. ULONG *iidCount,
  3818. IID **iids);
  3819. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  3820. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2 *This,
  3821. HSTRING *className);
  3822. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  3823. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2 *This,
  3824. TrustLevel *trustLevel);
  3825. /*** IGamepadStatics2 methods ***/
  3826. HRESULT (STDMETHODCALLTYPE *FromGameController)(
  3827. __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2 *This,
  3828. __x_ABI_CWindows_CGaming_CInput_CIGameController *controller,
  3829. __x_ABI_CWindows_CGaming_CInput_CIGamepad **value);
  3830. END_INTERFACE
  3831. } __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2Vtbl;
  3832. interface __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2 {
  3833. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2Vtbl* lpVtbl;
  3834. };
  3835. #ifdef COBJMACROS
  3836. #ifndef WIDL_C_INLINE_WRAPPERS
  3837. /*** IUnknown methods ***/
  3838. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3839. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_AddRef(This) (This)->lpVtbl->AddRef(This)
  3840. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_Release(This) (This)->lpVtbl->Release(This)
  3841. /*** IInspectable methods ***/
  3842. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  3843. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  3844. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  3845. /*** IGamepadStatics2 methods ***/
  3846. #define __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_FromGameController(This,controller,value) (This)->lpVtbl->FromGameController(This,controller,value)
  3847. #else
  3848. /*** IUnknown methods ***/
  3849. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2* This,REFIID riid,void **ppvObject) {
  3850. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3851. }
  3852. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_AddRef(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2* This) {
  3853. return This->lpVtbl->AddRef(This);
  3854. }
  3855. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_Release(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2* This) {
  3856. return This->lpVtbl->Release(This);
  3857. }
  3858. /*** IInspectable methods ***/
  3859. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_GetIids(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2* This,ULONG *iidCount,IID **iids) {
  3860. return This->lpVtbl->GetIids(This,iidCount,iids);
  3861. }
  3862. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2* This,HSTRING *className) {
  3863. return This->lpVtbl->GetRuntimeClassName(This,className);
  3864. }
  3865. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2* This,TrustLevel *trustLevel) {
  3866. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  3867. }
  3868. /*** IGamepadStatics2 methods ***/
  3869. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_FromGameController(__x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2* This,__x_ABI_CWindows_CGaming_CInput_CIGameController *controller,__x_ABI_CWindows_CGaming_CInput_CIGamepad **value) {
  3870. return This->lpVtbl->FromGameController(This,controller,value);
  3871. }
  3872. #endif
  3873. #ifdef WIDL_using_Windows_Gaming_Input
  3874. #define IID_IGamepadStatics2 IID___x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2
  3875. #define IGamepadStatics2Vtbl __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2Vtbl
  3876. #define IGamepadStatics2 __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2
  3877. #define IGamepadStatics2_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_QueryInterface
  3878. #define IGamepadStatics2_AddRef __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_AddRef
  3879. #define IGamepadStatics2_Release __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_Release
  3880. #define IGamepadStatics2_GetIids __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_GetIids
  3881. #define IGamepadStatics2_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_GetRuntimeClassName
  3882. #define IGamepadStatics2_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_GetTrustLevel
  3883. #define IGamepadStatics2_FromGameController __x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_FromGameController
  3884. #endif /* WIDL_using_Windows_Gaming_Input */
  3885. #endif
  3886. #endif
  3887. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIGamepadStatics2_INTERFACE_DEFINED__ */
  3888. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  3889. /*****************************************************************************
  3890. * IHeadset interface
  3891. */
  3892. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  3893. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIHeadset_INTERFACE_DEFINED__
  3894. #define ____x_ABI_CWindows_CGaming_CInput_CIHeadset_INTERFACE_DEFINED__
  3895. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIHeadset, 0x3fd156ef, 0x6925, 0x3fa8, 0x91,0x81, 0x02,0x9c,0x52,0x23,0xae,0x3b);
  3896. #if defined(__cplusplus) && !defined(CINTERFACE)
  3897. } /* extern "C" */
  3898. namespace ABI {
  3899. namespace Windows {
  3900. namespace Gaming {
  3901. namespace Input {
  3902. MIDL_INTERFACE("3fd156ef-6925-3fa8-9181-029c5223ae3b")
  3903. IHeadset : public IInspectable
  3904. {
  3905. virtual HRESULT STDMETHODCALLTYPE get_CaptureDeviceId(
  3906. HSTRING *value) = 0;
  3907. virtual HRESULT STDMETHODCALLTYPE get_RenderDeviceId(
  3908. HSTRING *value) = 0;
  3909. };
  3910. }
  3911. }
  3912. }
  3913. }
  3914. extern "C" {
  3915. #ifdef __CRT_UUID_DECL
  3916. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIHeadset, 0x3fd156ef, 0x6925, 0x3fa8, 0x91,0x81, 0x02,0x9c,0x52,0x23,0xae,0x3b)
  3917. #endif
  3918. #else
  3919. typedef struct __x_ABI_CWindows_CGaming_CInput_CIHeadsetVtbl {
  3920. BEGIN_INTERFACE
  3921. /*** IUnknown methods ***/
  3922. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3923. __x_ABI_CWindows_CGaming_CInput_CIHeadset *This,
  3924. REFIID riid,
  3925. void **ppvObject);
  3926. ULONG (STDMETHODCALLTYPE *AddRef)(
  3927. __x_ABI_CWindows_CGaming_CInput_CIHeadset *This);
  3928. ULONG (STDMETHODCALLTYPE *Release)(
  3929. __x_ABI_CWindows_CGaming_CInput_CIHeadset *This);
  3930. /*** IInspectable methods ***/
  3931. HRESULT (STDMETHODCALLTYPE *GetIids)(
  3932. __x_ABI_CWindows_CGaming_CInput_CIHeadset *This,
  3933. ULONG *iidCount,
  3934. IID **iids);
  3935. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  3936. __x_ABI_CWindows_CGaming_CInput_CIHeadset *This,
  3937. HSTRING *className);
  3938. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  3939. __x_ABI_CWindows_CGaming_CInput_CIHeadset *This,
  3940. TrustLevel *trustLevel);
  3941. /*** IHeadset methods ***/
  3942. HRESULT (STDMETHODCALLTYPE *get_CaptureDeviceId)(
  3943. __x_ABI_CWindows_CGaming_CInput_CIHeadset *This,
  3944. HSTRING *value);
  3945. HRESULT (STDMETHODCALLTYPE *get_RenderDeviceId)(
  3946. __x_ABI_CWindows_CGaming_CInput_CIHeadset *This,
  3947. HSTRING *value);
  3948. END_INTERFACE
  3949. } __x_ABI_CWindows_CGaming_CInput_CIHeadsetVtbl;
  3950. interface __x_ABI_CWindows_CGaming_CInput_CIHeadset {
  3951. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIHeadsetVtbl* lpVtbl;
  3952. };
  3953. #ifdef COBJMACROS
  3954. #ifndef WIDL_C_INLINE_WRAPPERS
  3955. /*** IUnknown methods ***/
  3956. #define __x_ABI_CWindows_CGaming_CInput_CIHeadset_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3957. #define __x_ABI_CWindows_CGaming_CInput_CIHeadset_AddRef(This) (This)->lpVtbl->AddRef(This)
  3958. #define __x_ABI_CWindows_CGaming_CInput_CIHeadset_Release(This) (This)->lpVtbl->Release(This)
  3959. /*** IInspectable methods ***/
  3960. #define __x_ABI_CWindows_CGaming_CInput_CIHeadset_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  3961. #define __x_ABI_CWindows_CGaming_CInput_CIHeadset_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  3962. #define __x_ABI_CWindows_CGaming_CInput_CIHeadset_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  3963. /*** IHeadset methods ***/
  3964. #define __x_ABI_CWindows_CGaming_CInput_CIHeadset_get_CaptureDeviceId(This,value) (This)->lpVtbl->get_CaptureDeviceId(This,value)
  3965. #define __x_ABI_CWindows_CGaming_CInput_CIHeadset_get_RenderDeviceId(This,value) (This)->lpVtbl->get_RenderDeviceId(This,value)
  3966. #else
  3967. /*** IUnknown methods ***/
  3968. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIHeadset_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIHeadset* This,REFIID riid,void **ppvObject) {
  3969. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3970. }
  3971. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIHeadset_AddRef(__x_ABI_CWindows_CGaming_CInput_CIHeadset* This) {
  3972. return This->lpVtbl->AddRef(This);
  3973. }
  3974. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIHeadset_Release(__x_ABI_CWindows_CGaming_CInput_CIHeadset* This) {
  3975. return This->lpVtbl->Release(This);
  3976. }
  3977. /*** IInspectable methods ***/
  3978. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIHeadset_GetIids(__x_ABI_CWindows_CGaming_CInput_CIHeadset* This,ULONG *iidCount,IID **iids) {
  3979. return This->lpVtbl->GetIids(This,iidCount,iids);
  3980. }
  3981. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIHeadset_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIHeadset* This,HSTRING *className) {
  3982. return This->lpVtbl->GetRuntimeClassName(This,className);
  3983. }
  3984. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIHeadset_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIHeadset* This,TrustLevel *trustLevel) {
  3985. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  3986. }
  3987. /*** IHeadset methods ***/
  3988. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIHeadset_get_CaptureDeviceId(__x_ABI_CWindows_CGaming_CInput_CIHeadset* This,HSTRING *value) {
  3989. return This->lpVtbl->get_CaptureDeviceId(This,value);
  3990. }
  3991. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIHeadset_get_RenderDeviceId(__x_ABI_CWindows_CGaming_CInput_CIHeadset* This,HSTRING *value) {
  3992. return This->lpVtbl->get_RenderDeviceId(This,value);
  3993. }
  3994. #endif
  3995. #ifdef WIDL_using_Windows_Gaming_Input
  3996. #define IID_IHeadset IID___x_ABI_CWindows_CGaming_CInput_CIHeadset
  3997. #define IHeadsetVtbl __x_ABI_CWindows_CGaming_CInput_CIHeadsetVtbl
  3998. #define IHeadset __x_ABI_CWindows_CGaming_CInput_CIHeadset
  3999. #define IHeadset_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIHeadset_QueryInterface
  4000. #define IHeadset_AddRef __x_ABI_CWindows_CGaming_CInput_CIHeadset_AddRef
  4001. #define IHeadset_Release __x_ABI_CWindows_CGaming_CInput_CIHeadset_Release
  4002. #define IHeadset_GetIids __x_ABI_CWindows_CGaming_CInput_CIHeadset_GetIids
  4003. #define IHeadset_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIHeadset_GetRuntimeClassName
  4004. #define IHeadset_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIHeadset_GetTrustLevel
  4005. #define IHeadset_get_CaptureDeviceId __x_ABI_CWindows_CGaming_CInput_CIHeadset_get_CaptureDeviceId
  4006. #define IHeadset_get_RenderDeviceId __x_ABI_CWindows_CGaming_CInput_CIHeadset_get_RenderDeviceId
  4007. #endif /* WIDL_using_Windows_Gaming_Input */
  4008. #endif
  4009. #endif
  4010. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIHeadset_INTERFACE_DEFINED__ */
  4011. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  4012. /*****************************************************************************
  4013. * IRawGameControllerStatics interface
  4014. */
  4015. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_INTERFACE_DEFINED__
  4016. #define ____x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_INTERFACE_DEFINED__
  4017. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics, 0xeb8d0792, 0xe95a, 0x4b19, 0xaf,0xc7, 0x0a,0x59,0xf8,0xbf,0x75,0x9e);
  4018. #if defined(__cplusplus) && !defined(CINTERFACE)
  4019. } /* extern "C" */
  4020. namespace ABI {
  4021. namespace Windows {
  4022. namespace Gaming {
  4023. namespace Input {
  4024. MIDL_INTERFACE("eb8d0792-e95a-4b19-afc7-0a59f8bf759e")
  4025. IRawGameControllerStatics : public IInspectable
  4026. {
  4027. virtual HRESULT STDMETHODCALLTYPE add_RawGameControllerAdded(
  4028. ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::RawGameController* > *handler,
  4029. EventRegistrationToken *token) = 0;
  4030. virtual HRESULT STDMETHODCALLTYPE remove_RawGameControllerAdded(
  4031. EventRegistrationToken token) = 0;
  4032. virtual HRESULT STDMETHODCALLTYPE add_RawGameControllerRemoved(
  4033. ABI::Windows::Foundation::IEventHandler<ABI::Windows::Gaming::Input::RawGameController* > *handler,
  4034. EventRegistrationToken *token) = 0;
  4035. virtual HRESULT STDMETHODCALLTYPE remove_RawGameControllerRemoved(
  4036. EventRegistrationToken token) = 0;
  4037. virtual HRESULT STDMETHODCALLTYPE get_RawGameControllers(
  4038. ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Gaming::Input::RawGameController* > **value) = 0;
  4039. virtual HRESULT STDMETHODCALLTYPE FromGameController(
  4040. ABI::Windows::Gaming::Input::IGameController *game_controller,
  4041. ABI::Windows::Gaming::Input::IRawGameController **value) = 0;
  4042. };
  4043. }
  4044. }
  4045. }
  4046. }
  4047. extern "C" {
  4048. #ifdef __CRT_UUID_DECL
  4049. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics, 0xeb8d0792, 0xe95a, 0x4b19, 0xaf,0xc7, 0x0a,0x59,0xf8,0xbf,0x75,0x9e)
  4050. #endif
  4051. #else
  4052. typedef struct __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStaticsVtbl {
  4053. BEGIN_INTERFACE
  4054. /*** IUnknown methods ***/
  4055. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4056. __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics *This,
  4057. REFIID riid,
  4058. void **ppvObject);
  4059. ULONG (STDMETHODCALLTYPE *AddRef)(
  4060. __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics *This);
  4061. ULONG (STDMETHODCALLTYPE *Release)(
  4062. __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics *This);
  4063. /*** IInspectable methods ***/
  4064. HRESULT (STDMETHODCALLTYPE *GetIids)(
  4065. __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics *This,
  4066. ULONG *iidCount,
  4067. IID **iids);
  4068. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  4069. __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics *This,
  4070. HSTRING *className);
  4071. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  4072. __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics *This,
  4073. TrustLevel *trustLevel);
  4074. /*** IRawGameControllerStatics methods ***/
  4075. HRESULT (STDMETHODCALLTYPE *add_RawGameControllerAdded)(
  4076. __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics *This,
  4077. __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController *handler,
  4078. EventRegistrationToken *token);
  4079. HRESULT (STDMETHODCALLTYPE *remove_RawGameControllerAdded)(
  4080. __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics *This,
  4081. EventRegistrationToken token);
  4082. HRESULT (STDMETHODCALLTYPE *add_RawGameControllerRemoved)(
  4083. __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics *This,
  4084. __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController *handler,
  4085. EventRegistrationToken *token);
  4086. HRESULT (STDMETHODCALLTYPE *remove_RawGameControllerRemoved)(
  4087. __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics *This,
  4088. EventRegistrationToken token);
  4089. HRESULT (STDMETHODCALLTYPE *get_RawGameControllers)(
  4090. __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics *This,
  4091. __FIVectorView_1_Windows__CGaming__CInput__CRawGameController **value);
  4092. HRESULT (STDMETHODCALLTYPE *FromGameController)(
  4093. __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics *This,
  4094. __x_ABI_CWindows_CGaming_CInput_CIGameController *game_controller,
  4095. __x_ABI_CWindows_CGaming_CInput_CIRawGameController **value);
  4096. END_INTERFACE
  4097. } __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStaticsVtbl;
  4098. interface __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics {
  4099. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStaticsVtbl* lpVtbl;
  4100. };
  4101. #ifdef COBJMACROS
  4102. #ifndef WIDL_C_INLINE_WRAPPERS
  4103. /*** IUnknown methods ***/
  4104. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4105. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
  4106. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_Release(This) (This)->lpVtbl->Release(This)
  4107. /*** IInspectable methods ***/
  4108. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  4109. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  4110. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  4111. /*** IRawGameControllerStatics methods ***/
  4112. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_add_RawGameControllerAdded(This,handler,token) (This)->lpVtbl->add_RawGameControllerAdded(This,handler,token)
  4113. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_remove_RawGameControllerAdded(This,token) (This)->lpVtbl->remove_RawGameControllerAdded(This,token)
  4114. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_add_RawGameControllerRemoved(This,handler,token) (This)->lpVtbl->add_RawGameControllerRemoved(This,handler,token)
  4115. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_remove_RawGameControllerRemoved(This,token) (This)->lpVtbl->remove_RawGameControllerRemoved(This,token)
  4116. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_get_RawGameControllers(This,value) (This)->lpVtbl->get_RawGameControllers(This,value)
  4117. #define __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_FromGameController(This,game_controller,value) (This)->lpVtbl->FromGameController(This,game_controller,value)
  4118. #else
  4119. /*** IUnknown methods ***/
  4120. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics* This,REFIID riid,void **ppvObject) {
  4121. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4122. }
  4123. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_AddRef(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics* This) {
  4124. return This->lpVtbl->AddRef(This);
  4125. }
  4126. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_Release(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics* This) {
  4127. return This->lpVtbl->Release(This);
  4128. }
  4129. /*** IInspectable methods ***/
  4130. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_GetIids(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics* This,ULONG *iidCount,IID **iids) {
  4131. return This->lpVtbl->GetIids(This,iidCount,iids);
  4132. }
  4133. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics* This,HSTRING *className) {
  4134. return This->lpVtbl->GetRuntimeClassName(This,className);
  4135. }
  4136. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics* This,TrustLevel *trustLevel) {
  4137. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  4138. }
  4139. /*** IRawGameControllerStatics methods ***/
  4140. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_add_RawGameControllerAdded(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics* This,__FIEventHandler_1_Windows__CGaming__CInput__CRawGameController *handler,EventRegistrationToken *token) {
  4141. return This->lpVtbl->add_RawGameControllerAdded(This,handler,token);
  4142. }
  4143. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_remove_RawGameControllerAdded(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics* This,EventRegistrationToken token) {
  4144. return This->lpVtbl->remove_RawGameControllerAdded(This,token);
  4145. }
  4146. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_add_RawGameControllerRemoved(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics* This,__FIEventHandler_1_Windows__CGaming__CInput__CRawGameController *handler,EventRegistrationToken *token) {
  4147. return This->lpVtbl->add_RawGameControllerRemoved(This,handler,token);
  4148. }
  4149. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_remove_RawGameControllerRemoved(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics* This,EventRegistrationToken token) {
  4150. return This->lpVtbl->remove_RawGameControllerRemoved(This,token);
  4151. }
  4152. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_get_RawGameControllers(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics* This,__FIVectorView_1_Windows__CGaming__CInput__CRawGameController **value) {
  4153. return This->lpVtbl->get_RawGameControllers(This,value);
  4154. }
  4155. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_FromGameController(__x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics* This,__x_ABI_CWindows_CGaming_CInput_CIGameController *game_controller,__x_ABI_CWindows_CGaming_CInput_CIRawGameController **value) {
  4156. return This->lpVtbl->FromGameController(This,game_controller,value);
  4157. }
  4158. #endif
  4159. #ifdef WIDL_using_Windows_Gaming_Input
  4160. #define IID_IRawGameControllerStatics IID___x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics
  4161. #define IRawGameControllerStaticsVtbl __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStaticsVtbl
  4162. #define IRawGameControllerStatics __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics
  4163. #define IRawGameControllerStatics_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_QueryInterface
  4164. #define IRawGameControllerStatics_AddRef __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_AddRef
  4165. #define IRawGameControllerStatics_Release __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_Release
  4166. #define IRawGameControllerStatics_GetIids __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_GetIids
  4167. #define IRawGameControllerStatics_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_GetRuntimeClassName
  4168. #define IRawGameControllerStatics_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_GetTrustLevel
  4169. #define IRawGameControllerStatics_add_RawGameControllerAdded __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_add_RawGameControllerAdded
  4170. #define IRawGameControllerStatics_remove_RawGameControllerAdded __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_remove_RawGameControllerAdded
  4171. #define IRawGameControllerStatics_add_RawGameControllerRemoved __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_add_RawGameControllerRemoved
  4172. #define IRawGameControllerStatics_remove_RawGameControllerRemoved __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_remove_RawGameControllerRemoved
  4173. #define IRawGameControllerStatics_get_RawGameControllers __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_get_RawGameControllers
  4174. #define IRawGameControllerStatics_FromGameController __x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_FromGameController
  4175. #endif /* WIDL_using_Windows_Gaming_Input */
  4176. #endif
  4177. #endif
  4178. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIRawGameControllerStatics_INTERFACE_DEFINED__ */
  4179. /*****************************************************************************
  4180. * IGameControllerBatteryInfo interface
  4181. */
  4182. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  4183. #ifndef ____x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_INTERFACE_DEFINED__
  4184. #define ____x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_INTERFACE_DEFINED__
  4185. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo, 0xdcecc681, 0x3963, 0x4da6, 0x95,0x5d, 0x55,0x3f,0x3b,0x6f,0x61,0x61);
  4186. #if defined(__cplusplus) && !defined(CINTERFACE)
  4187. } /* extern "C" */
  4188. namespace ABI {
  4189. namespace Windows {
  4190. namespace Gaming {
  4191. namespace Input {
  4192. MIDL_INTERFACE("dcecc681-3963-4da6-955d-553f3b6f6161")
  4193. IGameControllerBatteryInfo : public IInspectable
  4194. {
  4195. virtual HRESULT STDMETHODCALLTYPE TryGetBatteryReport(
  4196. ABI::Windows::Devices::Power::IBatteryReport **value) = 0;
  4197. };
  4198. }
  4199. }
  4200. }
  4201. }
  4202. extern "C" {
  4203. #ifdef __CRT_UUID_DECL
  4204. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo, 0xdcecc681, 0x3963, 0x4da6, 0x95,0x5d, 0x55,0x3f,0x3b,0x6f,0x61,0x61)
  4205. #endif
  4206. #else
  4207. typedef struct __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfoVtbl {
  4208. BEGIN_INTERFACE
  4209. /*** IUnknown methods ***/
  4210. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4211. __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo *This,
  4212. REFIID riid,
  4213. void **ppvObject);
  4214. ULONG (STDMETHODCALLTYPE *AddRef)(
  4215. __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo *This);
  4216. ULONG (STDMETHODCALLTYPE *Release)(
  4217. __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo *This);
  4218. /*** IInspectable methods ***/
  4219. HRESULT (STDMETHODCALLTYPE *GetIids)(
  4220. __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo *This,
  4221. ULONG *iidCount,
  4222. IID **iids);
  4223. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  4224. __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo *This,
  4225. HSTRING *className);
  4226. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  4227. __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo *This,
  4228. TrustLevel *trustLevel);
  4229. /*** IGameControllerBatteryInfo methods ***/
  4230. HRESULT (STDMETHODCALLTYPE *TryGetBatteryReport)(
  4231. __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo *This,
  4232. __x_ABI_CWindows_CDevices_CPower_CIBatteryReport **value);
  4233. END_INTERFACE
  4234. } __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfoVtbl;
  4235. interface __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo {
  4236. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfoVtbl* lpVtbl;
  4237. };
  4238. #ifdef COBJMACROS
  4239. #ifndef WIDL_C_INLINE_WRAPPERS
  4240. /*** IUnknown methods ***/
  4241. #define __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4242. #define __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
  4243. #define __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_Release(This) (This)->lpVtbl->Release(This)
  4244. /*** IInspectable methods ***/
  4245. #define __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  4246. #define __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  4247. #define __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  4248. /*** IGameControllerBatteryInfo methods ***/
  4249. #define __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_TryGetBatteryReport(This,value) (This)->lpVtbl->TryGetBatteryReport(This,value)
  4250. #else
  4251. /*** IUnknown methods ***/
  4252. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo* This,REFIID riid,void **ppvObject) {
  4253. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4254. }
  4255. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_AddRef(__x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo* This) {
  4256. return This->lpVtbl->AddRef(This);
  4257. }
  4258. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_Release(__x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo* This) {
  4259. return This->lpVtbl->Release(This);
  4260. }
  4261. /*** IInspectable methods ***/
  4262. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_GetIids(__x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo* This,ULONG *iidCount,IID **iids) {
  4263. return This->lpVtbl->GetIids(This,iidCount,iids);
  4264. }
  4265. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo* This,HSTRING *className) {
  4266. return This->lpVtbl->GetRuntimeClassName(This,className);
  4267. }
  4268. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo* This,TrustLevel *trustLevel) {
  4269. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  4270. }
  4271. /*** IGameControllerBatteryInfo methods ***/
  4272. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_TryGetBatteryReport(__x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo* This,__x_ABI_CWindows_CDevices_CPower_CIBatteryReport **value) {
  4273. return This->lpVtbl->TryGetBatteryReport(This,value);
  4274. }
  4275. #endif
  4276. #ifdef WIDL_using_Windows_Gaming_Input
  4277. #define IID_IGameControllerBatteryInfo IID___x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo
  4278. #define IGameControllerBatteryInfoVtbl __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfoVtbl
  4279. #define IGameControllerBatteryInfo __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo
  4280. #define IGameControllerBatteryInfo_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_QueryInterface
  4281. #define IGameControllerBatteryInfo_AddRef __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_AddRef
  4282. #define IGameControllerBatteryInfo_Release __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_Release
  4283. #define IGameControllerBatteryInfo_GetIids __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_GetIids
  4284. #define IGameControllerBatteryInfo_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_GetRuntimeClassName
  4285. #define IGameControllerBatteryInfo_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_GetTrustLevel
  4286. #define IGameControllerBatteryInfo_TryGetBatteryReport __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_TryGetBatteryReport
  4287. #endif /* WIDL_using_Windows_Gaming_Input */
  4288. #endif
  4289. #endif
  4290. #endif /* ____x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_INTERFACE_DEFINED__ */
  4291. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  4292. /*
  4293. * Class Windows.Gaming.Input.ArcadeStick
  4294. */
  4295. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  4296. #ifndef RUNTIMECLASS_Windows_Gaming_Input_ArcadeStick_DEFINED
  4297. #define RUNTIMECLASS_Windows_Gaming_Input_ArcadeStick_DEFINED
  4298. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  4299. static const WCHAR RuntimeClass_Windows_Gaming_Input_ArcadeStick[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','A','r','c','a','d','e','S','t','i','c','k',0};
  4300. #elif defined(__GNUC__) && !defined(__cplusplus)
  4301. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_ArcadeStick[] = L"Windows.Gaming.Input.ArcadeStick";
  4302. #else
  4303. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_ArcadeStick[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','A','r','c','a','d','e','S','t','i','c','k',0};
  4304. #endif
  4305. #endif /* RUNTIMECLASS_Windows_Gaming_Input_ArcadeStick_DEFINED */
  4306. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  4307. /*
  4308. * Class Windows.Gaming.Input.FlightStick
  4309. */
  4310. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  4311. #ifndef RUNTIMECLASS_Windows_Gaming_Input_FlightStick_DEFINED
  4312. #define RUNTIMECLASS_Windows_Gaming_Input_FlightStick_DEFINED
  4313. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  4314. static const WCHAR RuntimeClass_Windows_Gaming_Input_FlightStick[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','F','l','i','g','h','t','S','t','i','c','k',0};
  4315. #elif defined(__GNUC__) && !defined(__cplusplus)
  4316. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_FlightStick[] = L"Windows.Gaming.Input.FlightStick";
  4317. #else
  4318. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_FlightStick[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','F','l','i','g','h','t','S','t','i','c','k',0};
  4319. #endif
  4320. #endif /* RUNTIMECLASS_Windows_Gaming_Input_FlightStick_DEFINED */
  4321. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  4322. /*
  4323. * Class Windows.Gaming.Input.Gamepad
  4324. */
  4325. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  4326. #ifndef RUNTIMECLASS_Windows_Gaming_Input_Gamepad_DEFINED
  4327. #define RUNTIMECLASS_Windows_Gaming_Input_Gamepad_DEFINED
  4328. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  4329. static const WCHAR RuntimeClass_Windows_Gaming_Input_Gamepad[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','G','a','m','e','p','a','d',0};
  4330. #elif defined(__GNUC__) && !defined(__cplusplus)
  4331. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Gamepad[] = L"Windows.Gaming.Input.Gamepad";
  4332. #else
  4333. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Gamepad[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','G','a','m','e','p','a','d',0};
  4334. #endif
  4335. #endif /* RUNTIMECLASS_Windows_Gaming_Input_Gamepad_DEFINED */
  4336. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  4337. /*
  4338. * Class Windows.Gaming.Input.Headset
  4339. */
  4340. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  4341. #ifndef RUNTIMECLASS_Windows_Gaming_Input_Headset_DEFINED
  4342. #define RUNTIMECLASS_Windows_Gaming_Input_Headset_DEFINED
  4343. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  4344. static const WCHAR RuntimeClass_Windows_Gaming_Input_Headset[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','H','e','a','d','s','e','t',0};
  4345. #elif defined(__GNUC__) && !defined(__cplusplus)
  4346. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Headset[] = L"Windows.Gaming.Input.Headset";
  4347. #else
  4348. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Headset[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','H','e','a','d','s','e','t',0};
  4349. #endif
  4350. #endif /* RUNTIMECLASS_Windows_Gaming_Input_Headset_DEFINED */
  4351. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  4352. /*
  4353. * Class Windows.Gaming.Input.RacingWheel
  4354. */
  4355. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  4356. #ifndef RUNTIMECLASS_Windows_Gaming_Input_RacingWheel_DEFINED
  4357. #define RUNTIMECLASS_Windows_Gaming_Input_RacingWheel_DEFINED
  4358. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  4359. static const WCHAR RuntimeClass_Windows_Gaming_Input_RacingWheel[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','R','a','c','i','n','g','W','h','e','e','l',0};
  4360. #elif defined(__GNUC__) && !defined(__cplusplus)
  4361. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_RacingWheel[] = L"Windows.Gaming.Input.RacingWheel";
  4362. #else
  4363. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_RacingWheel[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','R','a','c','i','n','g','W','h','e','e','l',0};
  4364. #endif
  4365. #endif /* RUNTIMECLASS_Windows_Gaming_Input_RacingWheel_DEFINED */
  4366. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  4367. /*
  4368. * Class Windows.Gaming.Input.RawGameController
  4369. */
  4370. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  4371. #ifndef RUNTIMECLASS_Windows_Gaming_Input_RawGameController_DEFINED
  4372. #define RUNTIMECLASS_Windows_Gaming_Input_RawGameController_DEFINED
  4373. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  4374. static const WCHAR RuntimeClass_Windows_Gaming_Input_RawGameController[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','R','a','w','G','a','m','e','C','o','n','t','r','o','l','l','e','r',0};
  4375. #elif defined(__GNUC__) && !defined(__cplusplus)
  4376. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_RawGameController[] = L"Windows.Gaming.Input.RawGameController";
  4377. #else
  4378. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_RawGameController[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','R','a','w','G','a','m','e','C','o','n','t','r','o','l','l','e','r',0};
  4379. #endif
  4380. #endif /* RUNTIMECLASS_Windows_Gaming_Input_RawGameController_DEFINED */
  4381. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  4382. /*****************************************************************************
  4383. * IEventHandler<ABI::Windows::Gaming::Input::ArcadeStick* > interface
  4384. */
  4385. #ifndef ____FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_INTERFACE_DEFINED__
  4386. #define ____FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_INTERFACE_DEFINED__
  4387. DEFINE_GUID(IID___FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick, 0x6afb8188, 0xd28d, 0x539b, 0xbb,0x69, 0xea,0x17,0x63,0xfb,0x99,0x20);
  4388. #if defined(__cplusplus) && !defined(CINTERFACE)
  4389. } /* extern "C" */
  4390. namespace ABI {
  4391. namespace Windows {
  4392. namespace Foundation {
  4393. template<>
  4394. MIDL_INTERFACE("6afb8188-d28d-539b-bb69-ea1763fb9920")
  4395. IEventHandler<ABI::Windows::Gaming::Input::ArcadeStick* > : IEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::ArcadeStick*, ABI::Windows::Gaming::Input::IArcadeStick* > >
  4396. {
  4397. };
  4398. }
  4399. }
  4400. }
  4401. extern "C" {
  4402. #ifdef __CRT_UUID_DECL
  4403. __CRT_UUID_DECL(__FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick, 0x6afb8188, 0xd28d, 0x539b, 0xbb,0x69, 0xea,0x17,0x63,0xfb,0x99,0x20)
  4404. #endif
  4405. #else
  4406. typedef struct __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStickVtbl {
  4407. BEGIN_INTERFACE
  4408. /*** IUnknown methods ***/
  4409. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4410. __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick *This,
  4411. REFIID riid,
  4412. void **ppvObject);
  4413. ULONG (STDMETHODCALLTYPE *AddRef)(
  4414. __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick *This);
  4415. ULONG (STDMETHODCALLTYPE *Release)(
  4416. __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick *This);
  4417. /*** IEventHandler<ABI::Windows::Gaming::Input::ArcadeStick* > methods ***/
  4418. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4419. __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick *This,
  4420. IInspectable *sender,
  4421. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick *args);
  4422. END_INTERFACE
  4423. } __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStickVtbl;
  4424. interface __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick {
  4425. CONST_VTBL __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStickVtbl* lpVtbl;
  4426. };
  4427. #ifdef COBJMACROS
  4428. #ifndef WIDL_C_INLINE_WRAPPERS
  4429. /*** IUnknown methods ***/
  4430. #define __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4431. #define __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_AddRef(This) (This)->lpVtbl->AddRef(This)
  4432. #define __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_Release(This) (This)->lpVtbl->Release(This)
  4433. /*** IEventHandler<ABI::Windows::Gaming::Input::ArcadeStick* > methods ***/
  4434. #define __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
  4435. #else
  4436. /*** IUnknown methods ***/
  4437. static FORCEINLINE HRESULT __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_QueryInterface(__FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick* This,REFIID riid,void **ppvObject) {
  4438. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4439. }
  4440. static FORCEINLINE ULONG __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_AddRef(__FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick* This) {
  4441. return This->lpVtbl->AddRef(This);
  4442. }
  4443. static FORCEINLINE ULONG __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_Release(__FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick* This) {
  4444. return This->lpVtbl->Release(This);
  4445. }
  4446. /*** IEventHandler<ABI::Windows::Gaming::Input::ArcadeStick* > methods ***/
  4447. static FORCEINLINE HRESULT __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_Invoke(__FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick* This,IInspectable *sender,__x_ABI_CWindows_CGaming_CInput_CIArcadeStick *args) {
  4448. return This->lpVtbl->Invoke(This,sender,args);
  4449. }
  4450. #endif
  4451. #ifdef WIDL_using_Windows_Foundation
  4452. #define IID_IEventHandler_ArcadeStick IID___FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick
  4453. #define IEventHandler_ArcadeStickVtbl __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStickVtbl
  4454. #define IEventHandler_ArcadeStick __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick
  4455. #define IEventHandler_ArcadeStick_QueryInterface __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_QueryInterface
  4456. #define IEventHandler_ArcadeStick_AddRef __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_AddRef
  4457. #define IEventHandler_ArcadeStick_Release __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_Release
  4458. #define IEventHandler_ArcadeStick_Invoke __FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_Invoke
  4459. #endif /* WIDL_using_Windows_Foundation */
  4460. #endif
  4461. #endif
  4462. #endif /* ____FIEventHandler_1_Windows__CGaming__CInput__CArcadeStick_INTERFACE_DEFINED__ */
  4463. /*****************************************************************************
  4464. * IEventHandler<ABI::Windows::Gaming::Input::FlightStick* > interface
  4465. */
  4466. #ifndef ____FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_INTERFACE_DEFINED__
  4467. #define ____FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_INTERFACE_DEFINED__
  4468. DEFINE_GUID(IID___FIEventHandler_1_Windows__CGaming__CInput__CFlightStick, 0xd57470b1, 0xcc22, 0x5a43, 0x8e,0x18, 0x5c,0xa0,0x64,0xaa,0xfe,0x21);
  4469. #if defined(__cplusplus) && !defined(CINTERFACE)
  4470. } /* extern "C" */
  4471. namespace ABI {
  4472. namespace Windows {
  4473. namespace Foundation {
  4474. template<>
  4475. MIDL_INTERFACE("d57470b1-cc22-5a43-8e18-5ca064aafe21")
  4476. IEventHandler<ABI::Windows::Gaming::Input::FlightStick* > : IEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::FlightStick*, ABI::Windows::Gaming::Input::IFlightStick* > >
  4477. {
  4478. };
  4479. }
  4480. }
  4481. }
  4482. extern "C" {
  4483. #ifdef __CRT_UUID_DECL
  4484. __CRT_UUID_DECL(__FIEventHandler_1_Windows__CGaming__CInput__CFlightStick, 0xd57470b1, 0xcc22, 0x5a43, 0x8e,0x18, 0x5c,0xa0,0x64,0xaa,0xfe,0x21)
  4485. #endif
  4486. #else
  4487. typedef struct __FIEventHandler_1_Windows__CGaming__CInput__CFlightStickVtbl {
  4488. BEGIN_INTERFACE
  4489. /*** IUnknown methods ***/
  4490. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4491. __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick *This,
  4492. REFIID riid,
  4493. void **ppvObject);
  4494. ULONG (STDMETHODCALLTYPE *AddRef)(
  4495. __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick *This);
  4496. ULONG (STDMETHODCALLTYPE *Release)(
  4497. __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick *This);
  4498. /*** IEventHandler<ABI::Windows::Gaming::Input::FlightStick* > methods ***/
  4499. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4500. __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick *This,
  4501. IInspectable *sender,
  4502. __x_ABI_CWindows_CGaming_CInput_CIFlightStick *args);
  4503. END_INTERFACE
  4504. } __FIEventHandler_1_Windows__CGaming__CInput__CFlightStickVtbl;
  4505. interface __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick {
  4506. CONST_VTBL __FIEventHandler_1_Windows__CGaming__CInput__CFlightStickVtbl* lpVtbl;
  4507. };
  4508. #ifdef COBJMACROS
  4509. #ifndef WIDL_C_INLINE_WRAPPERS
  4510. /*** IUnknown methods ***/
  4511. #define __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4512. #define __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_AddRef(This) (This)->lpVtbl->AddRef(This)
  4513. #define __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_Release(This) (This)->lpVtbl->Release(This)
  4514. /*** IEventHandler<ABI::Windows::Gaming::Input::FlightStick* > methods ***/
  4515. #define __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
  4516. #else
  4517. /*** IUnknown methods ***/
  4518. static FORCEINLINE HRESULT __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_QueryInterface(__FIEventHandler_1_Windows__CGaming__CInput__CFlightStick* This,REFIID riid,void **ppvObject) {
  4519. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4520. }
  4521. static FORCEINLINE ULONG __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_AddRef(__FIEventHandler_1_Windows__CGaming__CInput__CFlightStick* This) {
  4522. return This->lpVtbl->AddRef(This);
  4523. }
  4524. static FORCEINLINE ULONG __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_Release(__FIEventHandler_1_Windows__CGaming__CInput__CFlightStick* This) {
  4525. return This->lpVtbl->Release(This);
  4526. }
  4527. /*** IEventHandler<ABI::Windows::Gaming::Input::FlightStick* > methods ***/
  4528. static FORCEINLINE HRESULT __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_Invoke(__FIEventHandler_1_Windows__CGaming__CInput__CFlightStick* This,IInspectable *sender,__x_ABI_CWindows_CGaming_CInput_CIFlightStick *args) {
  4529. return This->lpVtbl->Invoke(This,sender,args);
  4530. }
  4531. #endif
  4532. #ifdef WIDL_using_Windows_Foundation
  4533. #define IID_IEventHandler_FlightStick IID___FIEventHandler_1_Windows__CGaming__CInput__CFlightStick
  4534. #define IEventHandler_FlightStickVtbl __FIEventHandler_1_Windows__CGaming__CInput__CFlightStickVtbl
  4535. #define IEventHandler_FlightStick __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick
  4536. #define IEventHandler_FlightStick_QueryInterface __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_QueryInterface
  4537. #define IEventHandler_FlightStick_AddRef __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_AddRef
  4538. #define IEventHandler_FlightStick_Release __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_Release
  4539. #define IEventHandler_FlightStick_Invoke __FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_Invoke
  4540. #endif /* WIDL_using_Windows_Foundation */
  4541. #endif
  4542. #endif
  4543. #endif /* ____FIEventHandler_1_Windows__CGaming__CInput__CFlightStick_INTERFACE_DEFINED__ */
  4544. /*****************************************************************************
  4545. * IEventHandler<ABI::Windows::Gaming::Input::Gamepad* > interface
  4546. */
  4547. #ifndef ____FIEventHandler_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__
  4548. #define ____FIEventHandler_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__
  4549. DEFINE_GUID(IID___FIEventHandler_1_Windows__CGaming__CInput__CGamepad, 0x8a7639ee, 0x624a, 0x501a, 0xbb,0x53, 0x56,0x2d,0x1e,0xc1,0x1b,0x52);
  4550. #if defined(__cplusplus) && !defined(CINTERFACE)
  4551. } /* extern "C" */
  4552. namespace ABI {
  4553. namespace Windows {
  4554. namespace Foundation {
  4555. template<>
  4556. MIDL_INTERFACE("8a7639ee-624a-501a-bb53-562d1ec11b52")
  4557. IEventHandler<ABI::Windows::Gaming::Input::Gamepad* > : IEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::Gamepad*, ABI::Windows::Gaming::Input::IGamepad* > >
  4558. {
  4559. };
  4560. }
  4561. }
  4562. }
  4563. extern "C" {
  4564. #ifdef __CRT_UUID_DECL
  4565. __CRT_UUID_DECL(__FIEventHandler_1_Windows__CGaming__CInput__CGamepad, 0x8a7639ee, 0x624a, 0x501a, 0xbb,0x53, 0x56,0x2d,0x1e,0xc1,0x1b,0x52)
  4566. #endif
  4567. #else
  4568. typedef struct __FIEventHandler_1_Windows__CGaming__CInput__CGamepadVtbl {
  4569. BEGIN_INTERFACE
  4570. /*** IUnknown methods ***/
  4571. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4572. __FIEventHandler_1_Windows__CGaming__CInput__CGamepad *This,
  4573. REFIID riid,
  4574. void **ppvObject);
  4575. ULONG (STDMETHODCALLTYPE *AddRef)(
  4576. __FIEventHandler_1_Windows__CGaming__CInput__CGamepad *This);
  4577. ULONG (STDMETHODCALLTYPE *Release)(
  4578. __FIEventHandler_1_Windows__CGaming__CInput__CGamepad *This);
  4579. /*** IEventHandler<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  4580. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4581. __FIEventHandler_1_Windows__CGaming__CInput__CGamepad *This,
  4582. IInspectable *sender,
  4583. __x_ABI_CWindows_CGaming_CInput_CIGamepad *args);
  4584. END_INTERFACE
  4585. } __FIEventHandler_1_Windows__CGaming__CInput__CGamepadVtbl;
  4586. interface __FIEventHandler_1_Windows__CGaming__CInput__CGamepad {
  4587. CONST_VTBL __FIEventHandler_1_Windows__CGaming__CInput__CGamepadVtbl* lpVtbl;
  4588. };
  4589. #ifdef COBJMACROS
  4590. #ifndef WIDL_C_INLINE_WRAPPERS
  4591. /*** IUnknown methods ***/
  4592. #define __FIEventHandler_1_Windows__CGaming__CInput__CGamepad_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4593. #define __FIEventHandler_1_Windows__CGaming__CInput__CGamepad_AddRef(This) (This)->lpVtbl->AddRef(This)
  4594. #define __FIEventHandler_1_Windows__CGaming__CInput__CGamepad_Release(This) (This)->lpVtbl->Release(This)
  4595. /*** IEventHandler<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  4596. #define __FIEventHandler_1_Windows__CGaming__CInput__CGamepad_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
  4597. #else
  4598. /*** IUnknown methods ***/
  4599. static FORCEINLINE HRESULT __FIEventHandler_1_Windows__CGaming__CInput__CGamepad_QueryInterface(__FIEventHandler_1_Windows__CGaming__CInput__CGamepad* This,REFIID riid,void **ppvObject) {
  4600. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4601. }
  4602. static FORCEINLINE ULONG __FIEventHandler_1_Windows__CGaming__CInput__CGamepad_AddRef(__FIEventHandler_1_Windows__CGaming__CInput__CGamepad* This) {
  4603. return This->lpVtbl->AddRef(This);
  4604. }
  4605. static FORCEINLINE ULONG __FIEventHandler_1_Windows__CGaming__CInput__CGamepad_Release(__FIEventHandler_1_Windows__CGaming__CInput__CGamepad* This) {
  4606. return This->lpVtbl->Release(This);
  4607. }
  4608. /*** IEventHandler<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  4609. static FORCEINLINE HRESULT __FIEventHandler_1_Windows__CGaming__CInput__CGamepad_Invoke(__FIEventHandler_1_Windows__CGaming__CInput__CGamepad* This,IInspectable *sender,__x_ABI_CWindows_CGaming_CInput_CIGamepad *args) {
  4610. return This->lpVtbl->Invoke(This,sender,args);
  4611. }
  4612. #endif
  4613. #ifdef WIDL_using_Windows_Foundation
  4614. #define IID_IEventHandler_Gamepad IID___FIEventHandler_1_Windows__CGaming__CInput__CGamepad
  4615. #define IEventHandler_GamepadVtbl __FIEventHandler_1_Windows__CGaming__CInput__CGamepadVtbl
  4616. #define IEventHandler_Gamepad __FIEventHandler_1_Windows__CGaming__CInput__CGamepad
  4617. #define IEventHandler_Gamepad_QueryInterface __FIEventHandler_1_Windows__CGaming__CInput__CGamepad_QueryInterface
  4618. #define IEventHandler_Gamepad_AddRef __FIEventHandler_1_Windows__CGaming__CInput__CGamepad_AddRef
  4619. #define IEventHandler_Gamepad_Release __FIEventHandler_1_Windows__CGaming__CInput__CGamepad_Release
  4620. #define IEventHandler_Gamepad_Invoke __FIEventHandler_1_Windows__CGaming__CInput__CGamepad_Invoke
  4621. #endif /* WIDL_using_Windows_Foundation */
  4622. #endif
  4623. #endif
  4624. #endif /* ____FIEventHandler_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__ */
  4625. /*****************************************************************************
  4626. * IEventHandler<ABI::Windows::Gaming::Input::RacingWheel* > interface
  4627. */
  4628. #ifndef ____FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__
  4629. #define ____FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__
  4630. DEFINE_GUID(IID___FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel, 0x352ec824, 0xf64b, 0x5353, 0x80,0xea, 0x7f,0xf5,0x8e,0x3b,0x92,0xa4);
  4631. #if defined(__cplusplus) && !defined(CINTERFACE)
  4632. } /* extern "C" */
  4633. namespace ABI {
  4634. namespace Windows {
  4635. namespace Foundation {
  4636. template<>
  4637. MIDL_INTERFACE("352ec824-f64b-5353-80ea-7ff58e3b92a4")
  4638. IEventHandler<ABI::Windows::Gaming::Input::RacingWheel* > : IEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::RacingWheel*, ABI::Windows::Gaming::Input::IRacingWheel* > >
  4639. {
  4640. };
  4641. }
  4642. }
  4643. }
  4644. extern "C" {
  4645. #ifdef __CRT_UUID_DECL
  4646. __CRT_UUID_DECL(__FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel, 0x352ec824, 0xf64b, 0x5353, 0x80,0xea, 0x7f,0xf5,0x8e,0x3b,0x92,0xa4)
  4647. #endif
  4648. #else
  4649. typedef struct __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheelVtbl {
  4650. BEGIN_INTERFACE
  4651. /*** IUnknown methods ***/
  4652. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4653. __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel *This,
  4654. REFIID riid,
  4655. void **ppvObject);
  4656. ULONG (STDMETHODCALLTYPE *AddRef)(
  4657. __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel *This);
  4658. ULONG (STDMETHODCALLTYPE *Release)(
  4659. __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel *This);
  4660. /*** IEventHandler<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  4661. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4662. __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel *This,
  4663. IInspectable *sender,
  4664. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *args);
  4665. END_INTERFACE
  4666. } __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheelVtbl;
  4667. interface __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel {
  4668. CONST_VTBL __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheelVtbl* lpVtbl;
  4669. };
  4670. #ifdef COBJMACROS
  4671. #ifndef WIDL_C_INLINE_WRAPPERS
  4672. /*** IUnknown methods ***/
  4673. #define __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4674. #define __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_AddRef(This) (This)->lpVtbl->AddRef(This)
  4675. #define __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_Release(This) (This)->lpVtbl->Release(This)
  4676. /*** IEventHandler<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  4677. #define __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
  4678. #else
  4679. /*** IUnknown methods ***/
  4680. static FORCEINLINE HRESULT __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface(__FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel* This,REFIID riid,void **ppvObject) {
  4681. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4682. }
  4683. static FORCEINLINE ULONG __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_AddRef(__FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel* This) {
  4684. return This->lpVtbl->AddRef(This);
  4685. }
  4686. static FORCEINLINE ULONG __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_Release(__FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel* This) {
  4687. return This->lpVtbl->Release(This);
  4688. }
  4689. /*** IEventHandler<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  4690. static FORCEINLINE HRESULT __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_Invoke(__FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel* This,IInspectable *sender,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel *args) {
  4691. return This->lpVtbl->Invoke(This,sender,args);
  4692. }
  4693. #endif
  4694. #ifdef WIDL_using_Windows_Foundation
  4695. #define IID_IEventHandler_RacingWheel IID___FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel
  4696. #define IEventHandler_RacingWheelVtbl __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheelVtbl
  4697. #define IEventHandler_RacingWheel __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel
  4698. #define IEventHandler_RacingWheel_QueryInterface __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface
  4699. #define IEventHandler_RacingWheel_AddRef __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_AddRef
  4700. #define IEventHandler_RacingWheel_Release __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_Release
  4701. #define IEventHandler_RacingWheel_Invoke __FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_Invoke
  4702. #endif /* WIDL_using_Windows_Foundation */
  4703. #endif
  4704. #endif
  4705. #endif /* ____FIEventHandler_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__ */
  4706. /*****************************************************************************
  4707. * IEventHandler<ABI::Windows::Gaming::Input::RawGameController* > interface
  4708. */
  4709. #ifndef ____FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__
  4710. #define ____FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__
  4711. DEFINE_GUID(IID___FIEventHandler_1_Windows__CGaming__CInput__CRawGameController, 0x00621c22, 0x42e8, 0x529f, 0x92,0x70, 0x83,0x6b,0x32,0x93,0x1d,0x72);
  4712. #if defined(__cplusplus) && !defined(CINTERFACE)
  4713. } /* extern "C" */
  4714. namespace ABI {
  4715. namespace Windows {
  4716. namespace Foundation {
  4717. template<>
  4718. MIDL_INTERFACE("00621c22-42e8-529f-9270-836b32931d72")
  4719. IEventHandler<ABI::Windows::Gaming::Input::RawGameController* > : IEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::RawGameController*, ABI::Windows::Gaming::Input::IRawGameController* > >
  4720. {
  4721. };
  4722. }
  4723. }
  4724. }
  4725. extern "C" {
  4726. #ifdef __CRT_UUID_DECL
  4727. __CRT_UUID_DECL(__FIEventHandler_1_Windows__CGaming__CInput__CRawGameController, 0x00621c22, 0x42e8, 0x529f, 0x92,0x70, 0x83,0x6b,0x32,0x93,0x1d,0x72)
  4728. #endif
  4729. #else
  4730. typedef struct __FIEventHandler_1_Windows__CGaming__CInput__CRawGameControllerVtbl {
  4731. BEGIN_INTERFACE
  4732. /*** IUnknown methods ***/
  4733. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4734. __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController *This,
  4735. REFIID riid,
  4736. void **ppvObject);
  4737. ULONG (STDMETHODCALLTYPE *AddRef)(
  4738. __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController *This);
  4739. ULONG (STDMETHODCALLTYPE *Release)(
  4740. __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController *This);
  4741. /*** IEventHandler<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  4742. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4743. __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController *This,
  4744. IInspectable *sender,
  4745. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *args);
  4746. END_INTERFACE
  4747. } __FIEventHandler_1_Windows__CGaming__CInput__CRawGameControllerVtbl;
  4748. interface __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController {
  4749. CONST_VTBL __FIEventHandler_1_Windows__CGaming__CInput__CRawGameControllerVtbl* lpVtbl;
  4750. };
  4751. #ifdef COBJMACROS
  4752. #ifndef WIDL_C_INLINE_WRAPPERS
  4753. /*** IUnknown methods ***/
  4754. #define __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4755. #define __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_AddRef(This) (This)->lpVtbl->AddRef(This)
  4756. #define __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_Release(This) (This)->lpVtbl->Release(This)
  4757. /*** IEventHandler<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  4758. #define __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
  4759. #else
  4760. /*** IUnknown methods ***/
  4761. static FORCEINLINE HRESULT __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_QueryInterface(__FIEventHandler_1_Windows__CGaming__CInput__CRawGameController* This,REFIID riid,void **ppvObject) {
  4762. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4763. }
  4764. static FORCEINLINE ULONG __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_AddRef(__FIEventHandler_1_Windows__CGaming__CInput__CRawGameController* This) {
  4765. return This->lpVtbl->AddRef(This);
  4766. }
  4767. static FORCEINLINE ULONG __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_Release(__FIEventHandler_1_Windows__CGaming__CInput__CRawGameController* This) {
  4768. return This->lpVtbl->Release(This);
  4769. }
  4770. /*** IEventHandler<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  4771. static FORCEINLINE HRESULT __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_Invoke(__FIEventHandler_1_Windows__CGaming__CInput__CRawGameController* This,IInspectable *sender,__x_ABI_CWindows_CGaming_CInput_CIRawGameController *args) {
  4772. return This->lpVtbl->Invoke(This,sender,args);
  4773. }
  4774. #endif
  4775. #ifdef WIDL_using_Windows_Foundation
  4776. #define IID_IEventHandler_RawGameController IID___FIEventHandler_1_Windows__CGaming__CInput__CRawGameController
  4777. #define IEventHandler_RawGameControllerVtbl __FIEventHandler_1_Windows__CGaming__CInput__CRawGameControllerVtbl
  4778. #define IEventHandler_RawGameController __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController
  4779. #define IEventHandler_RawGameController_QueryInterface __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_QueryInterface
  4780. #define IEventHandler_RawGameController_AddRef __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_AddRef
  4781. #define IEventHandler_RawGameController_Release __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_Release
  4782. #define IEventHandler_RawGameController_Invoke __FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_Invoke
  4783. #endif /* WIDL_using_Windows_Foundation */
  4784. #endif
  4785. #endif
  4786. #endif /* ____FIEventHandler_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__ */
  4787. /*****************************************************************************
  4788. * ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::Gaming::Input::Headset* > interface
  4789. */
  4790. #ifndef ____FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_INTERFACE_DEFINED__
  4791. #define ____FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_INTERFACE_DEFINED__
  4792. DEFINE_GUID(IID___FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset, 0x07b2f2b7, 0x8825, 0x5c4e, 0xa0,0x52, 0xfc,0xfe,0xdf,0x3a,0xee,0xa1);
  4793. #if defined(__cplusplus) && !defined(CINTERFACE)
  4794. } /* extern "C" */
  4795. namespace ABI {
  4796. namespace Windows {
  4797. namespace Foundation {
  4798. template<>
  4799. MIDL_INTERFACE("07b2f2b7-8825-5c4e-a052-fcfedf3aeea1")
  4800. ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::Gaming::Input::Headset* > : ITypedEventHandler_impl<ABI::Windows::Gaming::Input::IGameController*, ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::Headset*, ABI::Windows::Gaming::Input::IHeadset* > >
  4801. {
  4802. };
  4803. }
  4804. }
  4805. }
  4806. extern "C" {
  4807. #ifdef __CRT_UUID_DECL
  4808. __CRT_UUID_DECL(__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset, 0x07b2f2b7, 0x8825, 0x5c4e, 0xa0,0x52, 0xfc,0xfe,0xdf,0x3a,0xee,0xa1)
  4809. #endif
  4810. #else
  4811. typedef struct __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadsetVtbl {
  4812. BEGIN_INTERFACE
  4813. /*** IUnknown methods ***/
  4814. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4815. __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset *This,
  4816. REFIID riid,
  4817. void **ppvObject);
  4818. ULONG (STDMETHODCALLTYPE *AddRef)(
  4819. __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset *This);
  4820. ULONG (STDMETHODCALLTYPE *Release)(
  4821. __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset *This);
  4822. /*** ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::Gaming::Input::Headset* > methods ***/
  4823. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4824. __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset *This,
  4825. __x_ABI_CWindows_CGaming_CInput_CIGameController *sender,
  4826. __x_ABI_CWindows_CGaming_CInput_CIHeadset *args);
  4827. END_INTERFACE
  4828. } __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadsetVtbl;
  4829. interface __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset {
  4830. CONST_VTBL __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadsetVtbl* lpVtbl;
  4831. };
  4832. #ifdef COBJMACROS
  4833. #ifndef WIDL_C_INLINE_WRAPPERS
  4834. /*** IUnknown methods ***/
  4835. #define __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4836. #define __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_AddRef(This) (This)->lpVtbl->AddRef(This)
  4837. #define __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_Release(This) (This)->lpVtbl->Release(This)
  4838. /*** ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::Gaming::Input::Headset* > methods ***/
  4839. #define __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
  4840. #else
  4841. /*** IUnknown methods ***/
  4842. static FORCEINLINE HRESULT __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_QueryInterface(__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset* This,REFIID riid,void **ppvObject) {
  4843. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4844. }
  4845. static FORCEINLINE ULONG __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_AddRef(__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset* This) {
  4846. return This->lpVtbl->AddRef(This);
  4847. }
  4848. static FORCEINLINE ULONG __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_Release(__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset* This) {
  4849. return This->lpVtbl->Release(This);
  4850. }
  4851. /*** ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::Gaming::Input::Headset* > methods ***/
  4852. static FORCEINLINE HRESULT __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_Invoke(__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset* This,__x_ABI_CWindows_CGaming_CInput_CIGameController *sender,__x_ABI_CWindows_CGaming_CInput_CIHeadset *args) {
  4853. return This->lpVtbl->Invoke(This,sender,args);
  4854. }
  4855. #endif
  4856. #ifdef WIDL_using_Windows_Foundation
  4857. #define IID_ITypedEventHandler_IGameController_Headset IID___FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset
  4858. #define ITypedEventHandler_IGameController_HeadsetVtbl __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadsetVtbl
  4859. #define ITypedEventHandler_IGameController_Headset __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset
  4860. #define ITypedEventHandler_IGameController_Headset_QueryInterface __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_QueryInterface
  4861. #define ITypedEventHandler_IGameController_Headset_AddRef __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_AddRef
  4862. #define ITypedEventHandler_IGameController_Headset_Release __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_Release
  4863. #define ITypedEventHandler_IGameController_Headset_Invoke __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_Invoke
  4864. #endif /* WIDL_using_Windows_Foundation */
  4865. #endif
  4866. #endif
  4867. #endif /* ____FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CGaming__CInput__CHeadset_INTERFACE_DEFINED__ */
  4868. /*****************************************************************************
  4869. * ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::System::UserChangedEventArgs* > interface
  4870. */
  4871. #ifndef ____FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_INTERFACE_DEFINED__
  4872. #define ____FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_INTERFACE_DEFINED__
  4873. DEFINE_GUID(IID___FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs, 0xcb753f2c, 0x2f36, 0x5a8f, 0xad,0xad, 0x05,0x7b,0xea,0xe7,0x3a,0xa4);
  4874. #if defined(__cplusplus) && !defined(CINTERFACE)
  4875. } /* extern "C" */
  4876. namespace ABI {
  4877. namespace Windows {
  4878. namespace Foundation {
  4879. template<>
  4880. MIDL_INTERFACE("cb753f2c-2f36-5a8f-adad-057beae73aa4")
  4881. ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::System::UserChangedEventArgs* > : ITypedEventHandler_impl<ABI::Windows::Gaming::Input::IGameController*, ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::System::UserChangedEventArgs*, ABI::Windows::System::IUserChangedEventArgs* > >
  4882. {
  4883. };
  4884. }
  4885. }
  4886. }
  4887. extern "C" {
  4888. #ifdef __CRT_UUID_DECL
  4889. __CRT_UUID_DECL(__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs, 0xcb753f2c, 0x2f36, 0x5a8f, 0xad,0xad, 0x05,0x7b,0xea,0xe7,0x3a,0xa4)
  4890. #endif
  4891. #else
  4892. typedef struct __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgsVtbl {
  4893. BEGIN_INTERFACE
  4894. /*** IUnknown methods ***/
  4895. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4896. __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs *This,
  4897. REFIID riid,
  4898. void **ppvObject);
  4899. ULONG (STDMETHODCALLTYPE *AddRef)(
  4900. __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs *This);
  4901. ULONG (STDMETHODCALLTYPE *Release)(
  4902. __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs *This);
  4903. /*** ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::System::UserChangedEventArgs* > methods ***/
  4904. HRESULT (STDMETHODCALLTYPE *Invoke)(
  4905. __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs *This,
  4906. __x_ABI_CWindows_CGaming_CInput_CIGameController *sender,
  4907. __x_ABI_CWindows_CSystem_CIUserChangedEventArgs *args);
  4908. END_INTERFACE
  4909. } __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgsVtbl;
  4910. interface __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs {
  4911. CONST_VTBL __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgsVtbl* lpVtbl;
  4912. };
  4913. #ifdef COBJMACROS
  4914. #ifndef WIDL_C_INLINE_WRAPPERS
  4915. /*** IUnknown methods ***/
  4916. #define __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4917. #define __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
  4918. #define __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_Release(This) (This)->lpVtbl->Release(This)
  4919. /*** ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::System::UserChangedEventArgs* > methods ***/
  4920. #define __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
  4921. #else
  4922. /*** IUnknown methods ***/
  4923. static FORCEINLINE HRESULT __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_QueryInterface(__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs* This,REFIID riid,void **ppvObject) {
  4924. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4925. }
  4926. static FORCEINLINE ULONG __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_AddRef(__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs* This) {
  4927. return This->lpVtbl->AddRef(This);
  4928. }
  4929. static FORCEINLINE ULONG __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_Release(__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs* This) {
  4930. return This->lpVtbl->Release(This);
  4931. }
  4932. /*** ITypedEventHandler<ABI::Windows::Gaming::Input::IGameController*,ABI::Windows::System::UserChangedEventArgs* > methods ***/
  4933. static FORCEINLINE HRESULT __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_Invoke(__FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs* This,__x_ABI_CWindows_CGaming_CInput_CIGameController *sender,__x_ABI_CWindows_CSystem_CIUserChangedEventArgs *args) {
  4934. return This->lpVtbl->Invoke(This,sender,args);
  4935. }
  4936. #endif
  4937. #ifdef WIDL_using_Windows_Foundation
  4938. #define IID_ITypedEventHandler_IGameController_UserChangedEventArgs IID___FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs
  4939. #define ITypedEventHandler_IGameController_UserChangedEventArgsVtbl __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgsVtbl
  4940. #define ITypedEventHandler_IGameController_UserChangedEventArgs __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs
  4941. #define ITypedEventHandler_IGameController_UserChangedEventArgs_QueryInterface __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_QueryInterface
  4942. #define ITypedEventHandler_IGameController_UserChangedEventArgs_AddRef __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_AddRef
  4943. #define ITypedEventHandler_IGameController_UserChangedEventArgs_Release __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_Release
  4944. #define ITypedEventHandler_IGameController_UserChangedEventArgs_Invoke __FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_Invoke
  4945. #endif /* WIDL_using_Windows_Foundation */
  4946. #endif
  4947. #endif
  4948. #endif /* ____FITypedEventHandler_2_Windows__CGaming__CInput__CIGameController_Windows__CSystem__CUserChangedEventArgs_INTERFACE_DEFINED__ */
  4949. /*****************************************************************************
  4950. * IIterator<ABI::Windows::Gaming::Input::ArcadeStick* > interface
  4951. */
  4952. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CArcadeStick_INTERFACE_DEFINED__
  4953. #define ____FIIterator_1_Windows__CGaming__CInput__CArcadeStick_INTERFACE_DEFINED__
  4954. DEFINE_GUID(IID___FIIterator_1_Windows__CGaming__CInput__CArcadeStick, 0xd30629af, 0xcc9d, 0x52e1, 0x8b,0x1f, 0x0f,0xfa,0x96,0x29,0xaf,0xee);
  4955. #if defined(__cplusplus) && !defined(CINTERFACE)
  4956. } /* extern "C" */
  4957. namespace ABI {
  4958. namespace Windows {
  4959. namespace Foundation {
  4960. namespace Collections {
  4961. template<>
  4962. MIDL_INTERFACE("d30629af-cc9d-52e1-8b1f-0ffa9629afee")
  4963. IIterator<ABI::Windows::Gaming::Input::ArcadeStick* > : IIterator_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::ArcadeStick*, ABI::Windows::Gaming::Input::IArcadeStick* > >
  4964. {
  4965. };
  4966. }
  4967. }
  4968. }
  4969. }
  4970. extern "C" {
  4971. #ifdef __CRT_UUID_DECL
  4972. __CRT_UUID_DECL(__FIIterator_1_Windows__CGaming__CInput__CArcadeStick, 0xd30629af, 0xcc9d, 0x52e1, 0x8b,0x1f, 0x0f,0xfa,0x96,0x29,0xaf,0xee)
  4973. #endif
  4974. #else
  4975. typedef struct __FIIterator_1_Windows__CGaming__CInput__CArcadeStickVtbl {
  4976. BEGIN_INTERFACE
  4977. /*** IUnknown methods ***/
  4978. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4979. __FIIterator_1_Windows__CGaming__CInput__CArcadeStick *This,
  4980. REFIID riid,
  4981. void **ppvObject);
  4982. ULONG (STDMETHODCALLTYPE *AddRef)(
  4983. __FIIterator_1_Windows__CGaming__CInput__CArcadeStick *This);
  4984. ULONG (STDMETHODCALLTYPE *Release)(
  4985. __FIIterator_1_Windows__CGaming__CInput__CArcadeStick *This);
  4986. /*** IInspectable methods ***/
  4987. HRESULT (STDMETHODCALLTYPE *GetIids)(
  4988. __FIIterator_1_Windows__CGaming__CInput__CArcadeStick *This,
  4989. ULONG *iidCount,
  4990. IID **iids);
  4991. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  4992. __FIIterator_1_Windows__CGaming__CInput__CArcadeStick *This,
  4993. HSTRING *className);
  4994. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  4995. __FIIterator_1_Windows__CGaming__CInput__CArcadeStick *This,
  4996. TrustLevel *trustLevel);
  4997. /*** IIterator<ABI::Windows::Gaming::Input::ArcadeStick* > methods ***/
  4998. HRESULT (STDMETHODCALLTYPE *get_Current)(
  4999. __FIIterator_1_Windows__CGaming__CInput__CArcadeStick *This,
  5000. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick **value);
  5001. HRESULT (STDMETHODCALLTYPE *get_HasCurrent)(
  5002. __FIIterator_1_Windows__CGaming__CInput__CArcadeStick *This,
  5003. WINBOOL *value);
  5004. HRESULT (STDMETHODCALLTYPE *MoveNext)(
  5005. __FIIterator_1_Windows__CGaming__CInput__CArcadeStick *This,
  5006. WINBOOL *value);
  5007. HRESULT (STDMETHODCALLTYPE *GetMany)(
  5008. __FIIterator_1_Windows__CGaming__CInput__CArcadeStick *This,
  5009. UINT32 items_size,
  5010. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick **items,
  5011. UINT32 *value);
  5012. END_INTERFACE
  5013. } __FIIterator_1_Windows__CGaming__CInput__CArcadeStickVtbl;
  5014. interface __FIIterator_1_Windows__CGaming__CInput__CArcadeStick {
  5015. CONST_VTBL __FIIterator_1_Windows__CGaming__CInput__CArcadeStickVtbl* lpVtbl;
  5016. };
  5017. #ifdef COBJMACROS
  5018. #ifndef WIDL_C_INLINE_WRAPPERS
  5019. /*** IUnknown methods ***/
  5020. #define __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5021. #define __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_AddRef(This) (This)->lpVtbl->AddRef(This)
  5022. #define __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_Release(This) (This)->lpVtbl->Release(This)
  5023. /*** IInspectable methods ***/
  5024. #define __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  5025. #define __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  5026. #define __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  5027. /*** IIterator<ABI::Windows::Gaming::Input::ArcadeStick* > methods ***/
  5028. #define __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_get_Current(This,value) (This)->lpVtbl->get_Current(This,value)
  5029. #define __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_get_HasCurrent(This,value) (This)->lpVtbl->get_HasCurrent(This,value)
  5030. #define __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_MoveNext(This,value) (This)->lpVtbl->MoveNext(This,value)
  5031. #define __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_GetMany(This,items_size,items,value) (This)->lpVtbl->GetMany(This,items_size,items,value)
  5032. #else
  5033. /*** IUnknown methods ***/
  5034. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_QueryInterface(__FIIterator_1_Windows__CGaming__CInput__CArcadeStick* This,REFIID riid,void **ppvObject) {
  5035. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5036. }
  5037. static FORCEINLINE ULONG __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_AddRef(__FIIterator_1_Windows__CGaming__CInput__CArcadeStick* This) {
  5038. return This->lpVtbl->AddRef(This);
  5039. }
  5040. static FORCEINLINE ULONG __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_Release(__FIIterator_1_Windows__CGaming__CInput__CArcadeStick* This) {
  5041. return This->lpVtbl->Release(This);
  5042. }
  5043. /*** IInspectable methods ***/
  5044. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_GetIids(__FIIterator_1_Windows__CGaming__CInput__CArcadeStick* This,ULONG *iidCount,IID **iids) {
  5045. return This->lpVtbl->GetIids(This,iidCount,iids);
  5046. }
  5047. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_GetRuntimeClassName(__FIIterator_1_Windows__CGaming__CInput__CArcadeStick* This,HSTRING *className) {
  5048. return This->lpVtbl->GetRuntimeClassName(This,className);
  5049. }
  5050. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_GetTrustLevel(__FIIterator_1_Windows__CGaming__CInput__CArcadeStick* This,TrustLevel *trustLevel) {
  5051. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  5052. }
  5053. /*** IIterator<ABI::Windows::Gaming::Input::ArcadeStick* > methods ***/
  5054. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_get_Current(__FIIterator_1_Windows__CGaming__CInput__CArcadeStick* This,__x_ABI_CWindows_CGaming_CInput_CIArcadeStick **value) {
  5055. return This->lpVtbl->get_Current(This,value);
  5056. }
  5057. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_get_HasCurrent(__FIIterator_1_Windows__CGaming__CInput__CArcadeStick* This,WINBOOL *value) {
  5058. return This->lpVtbl->get_HasCurrent(This,value);
  5059. }
  5060. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_MoveNext(__FIIterator_1_Windows__CGaming__CInput__CArcadeStick* This,WINBOOL *value) {
  5061. return This->lpVtbl->MoveNext(This,value);
  5062. }
  5063. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_GetMany(__FIIterator_1_Windows__CGaming__CInput__CArcadeStick* This,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIArcadeStick **items,UINT32 *value) {
  5064. return This->lpVtbl->GetMany(This,items_size,items,value);
  5065. }
  5066. #endif
  5067. #ifdef WIDL_using_Windows_Foundation_Collections
  5068. #define IID_IIterator_ArcadeStick IID___FIIterator_1_Windows__CGaming__CInput__CArcadeStick
  5069. #define IIterator_ArcadeStickVtbl __FIIterator_1_Windows__CGaming__CInput__CArcadeStickVtbl
  5070. #define IIterator_ArcadeStick __FIIterator_1_Windows__CGaming__CInput__CArcadeStick
  5071. #define IIterator_ArcadeStick_QueryInterface __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_QueryInterface
  5072. #define IIterator_ArcadeStick_AddRef __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_AddRef
  5073. #define IIterator_ArcadeStick_Release __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_Release
  5074. #define IIterator_ArcadeStick_GetIids __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_GetIids
  5075. #define IIterator_ArcadeStick_GetRuntimeClassName __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_GetRuntimeClassName
  5076. #define IIterator_ArcadeStick_GetTrustLevel __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_GetTrustLevel
  5077. #define IIterator_ArcadeStick_get_Current __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_get_Current
  5078. #define IIterator_ArcadeStick_get_HasCurrent __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_get_HasCurrent
  5079. #define IIterator_ArcadeStick_MoveNext __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_MoveNext
  5080. #define IIterator_ArcadeStick_GetMany __FIIterator_1_Windows__CGaming__CInput__CArcadeStick_GetMany
  5081. #endif /* WIDL_using_Windows_Foundation_Collections */
  5082. #endif
  5083. #endif
  5084. #endif /* ____FIIterator_1_Windows__CGaming__CInput__CArcadeStick_INTERFACE_DEFINED__ */
  5085. /*****************************************************************************
  5086. * IIterable<ABI::Windows::Gaming::Input::ArcadeStick* > interface
  5087. */
  5088. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CArcadeStick_INTERFACE_DEFINED__
  5089. #define ____FIIterable_1_Windows__CGaming__CInput__CArcadeStick_INTERFACE_DEFINED__
  5090. DEFINE_GUID(IID___FIIterable_1_Windows__CGaming__CInput__CArcadeStick, 0x9376f457, 0x2da5, 0x544a, 0xa4,0x09, 0xc6,0x36,0xf5,0xd8,0x1c,0x35);
  5091. #if defined(__cplusplus) && !defined(CINTERFACE)
  5092. } /* extern "C" */
  5093. namespace ABI {
  5094. namespace Windows {
  5095. namespace Foundation {
  5096. namespace Collections {
  5097. template<>
  5098. MIDL_INTERFACE("9376f457-2da5-544a-a409-c636f5d81c35")
  5099. IIterable<ABI::Windows::Gaming::Input::ArcadeStick* > : IIterable_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::ArcadeStick*, ABI::Windows::Gaming::Input::IArcadeStick* > >
  5100. {
  5101. };
  5102. }
  5103. }
  5104. }
  5105. }
  5106. extern "C" {
  5107. #ifdef __CRT_UUID_DECL
  5108. __CRT_UUID_DECL(__FIIterable_1_Windows__CGaming__CInput__CArcadeStick, 0x9376f457, 0x2da5, 0x544a, 0xa4,0x09, 0xc6,0x36,0xf5,0xd8,0x1c,0x35)
  5109. #endif
  5110. #else
  5111. typedef struct __FIIterable_1_Windows__CGaming__CInput__CArcadeStickVtbl {
  5112. BEGIN_INTERFACE
  5113. /*** IUnknown methods ***/
  5114. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5115. __FIIterable_1_Windows__CGaming__CInput__CArcadeStick *This,
  5116. REFIID riid,
  5117. void **ppvObject);
  5118. ULONG (STDMETHODCALLTYPE *AddRef)(
  5119. __FIIterable_1_Windows__CGaming__CInput__CArcadeStick *This);
  5120. ULONG (STDMETHODCALLTYPE *Release)(
  5121. __FIIterable_1_Windows__CGaming__CInput__CArcadeStick *This);
  5122. /*** IInspectable methods ***/
  5123. HRESULT (STDMETHODCALLTYPE *GetIids)(
  5124. __FIIterable_1_Windows__CGaming__CInput__CArcadeStick *This,
  5125. ULONG *iidCount,
  5126. IID **iids);
  5127. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  5128. __FIIterable_1_Windows__CGaming__CInput__CArcadeStick *This,
  5129. HSTRING *className);
  5130. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  5131. __FIIterable_1_Windows__CGaming__CInput__CArcadeStick *This,
  5132. TrustLevel *trustLevel);
  5133. /*** IIterable<ABI::Windows::Gaming::Input::ArcadeStick* > methods ***/
  5134. HRESULT (STDMETHODCALLTYPE *First)(
  5135. __FIIterable_1_Windows__CGaming__CInput__CArcadeStick *This,
  5136. __FIIterator_1_Windows__CGaming__CInput__CArcadeStick **value);
  5137. END_INTERFACE
  5138. } __FIIterable_1_Windows__CGaming__CInput__CArcadeStickVtbl;
  5139. interface __FIIterable_1_Windows__CGaming__CInput__CArcadeStick {
  5140. CONST_VTBL __FIIterable_1_Windows__CGaming__CInput__CArcadeStickVtbl* lpVtbl;
  5141. };
  5142. #ifdef COBJMACROS
  5143. #ifndef WIDL_C_INLINE_WRAPPERS
  5144. /*** IUnknown methods ***/
  5145. #define __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5146. #define __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_AddRef(This) (This)->lpVtbl->AddRef(This)
  5147. #define __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_Release(This) (This)->lpVtbl->Release(This)
  5148. /*** IInspectable methods ***/
  5149. #define __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  5150. #define __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  5151. #define __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  5152. /*** IIterable<ABI::Windows::Gaming::Input::ArcadeStick* > methods ***/
  5153. #define __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_First(This,value) (This)->lpVtbl->First(This,value)
  5154. #else
  5155. /*** IUnknown methods ***/
  5156. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_QueryInterface(__FIIterable_1_Windows__CGaming__CInput__CArcadeStick* This,REFIID riid,void **ppvObject) {
  5157. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5158. }
  5159. static FORCEINLINE ULONG __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_AddRef(__FIIterable_1_Windows__CGaming__CInput__CArcadeStick* This) {
  5160. return This->lpVtbl->AddRef(This);
  5161. }
  5162. static FORCEINLINE ULONG __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_Release(__FIIterable_1_Windows__CGaming__CInput__CArcadeStick* This) {
  5163. return This->lpVtbl->Release(This);
  5164. }
  5165. /*** IInspectable methods ***/
  5166. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_GetIids(__FIIterable_1_Windows__CGaming__CInput__CArcadeStick* This,ULONG *iidCount,IID **iids) {
  5167. return This->lpVtbl->GetIids(This,iidCount,iids);
  5168. }
  5169. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_GetRuntimeClassName(__FIIterable_1_Windows__CGaming__CInput__CArcadeStick* This,HSTRING *className) {
  5170. return This->lpVtbl->GetRuntimeClassName(This,className);
  5171. }
  5172. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_GetTrustLevel(__FIIterable_1_Windows__CGaming__CInput__CArcadeStick* This,TrustLevel *trustLevel) {
  5173. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  5174. }
  5175. /*** IIterable<ABI::Windows::Gaming::Input::ArcadeStick* > methods ***/
  5176. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_First(__FIIterable_1_Windows__CGaming__CInput__CArcadeStick* This,__FIIterator_1_Windows__CGaming__CInput__CArcadeStick **value) {
  5177. return This->lpVtbl->First(This,value);
  5178. }
  5179. #endif
  5180. #ifdef WIDL_using_Windows_Foundation_Collections
  5181. #define IID_IIterable_ArcadeStick IID___FIIterable_1_Windows__CGaming__CInput__CArcadeStick
  5182. #define IIterable_ArcadeStickVtbl __FIIterable_1_Windows__CGaming__CInput__CArcadeStickVtbl
  5183. #define IIterable_ArcadeStick __FIIterable_1_Windows__CGaming__CInput__CArcadeStick
  5184. #define IIterable_ArcadeStick_QueryInterface __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_QueryInterface
  5185. #define IIterable_ArcadeStick_AddRef __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_AddRef
  5186. #define IIterable_ArcadeStick_Release __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_Release
  5187. #define IIterable_ArcadeStick_GetIids __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_GetIids
  5188. #define IIterable_ArcadeStick_GetRuntimeClassName __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_GetRuntimeClassName
  5189. #define IIterable_ArcadeStick_GetTrustLevel __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_GetTrustLevel
  5190. #define IIterable_ArcadeStick_First __FIIterable_1_Windows__CGaming__CInput__CArcadeStick_First
  5191. #endif /* WIDL_using_Windows_Foundation_Collections */
  5192. #endif
  5193. #endif
  5194. #endif /* ____FIIterable_1_Windows__CGaming__CInput__CArcadeStick_INTERFACE_DEFINED__ */
  5195. /*****************************************************************************
  5196. * IVectorView<ABI::Windows::Gaming::Input::ArcadeStick* > interface
  5197. */
  5198. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_INTERFACE_DEFINED__
  5199. #define ____FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_INTERFACE_DEFINED__
  5200. DEFINE_GUID(IID___FIVectorView_1_Windows__CGaming__CInput__CArcadeStick, 0xbecace75, 0xd0cd, 0x5a9c, 0x84,0x5f, 0x72,0xf0,0x85,0x50,0x3c,0xdf);
  5201. #if defined(__cplusplus) && !defined(CINTERFACE)
  5202. } /* extern "C" */
  5203. namespace ABI {
  5204. namespace Windows {
  5205. namespace Foundation {
  5206. namespace Collections {
  5207. template<>
  5208. MIDL_INTERFACE("becace75-d0cd-5a9c-845f-72f085503cdf")
  5209. IVectorView<ABI::Windows::Gaming::Input::ArcadeStick* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::ArcadeStick*, ABI::Windows::Gaming::Input::IArcadeStick* > >
  5210. {
  5211. };
  5212. }
  5213. }
  5214. }
  5215. }
  5216. extern "C" {
  5217. #ifdef __CRT_UUID_DECL
  5218. __CRT_UUID_DECL(__FIVectorView_1_Windows__CGaming__CInput__CArcadeStick, 0xbecace75, 0xd0cd, 0x5a9c, 0x84,0x5f, 0x72,0xf0,0x85,0x50,0x3c,0xdf)
  5219. #endif
  5220. #else
  5221. typedef struct __FIVectorView_1_Windows__CGaming__CInput__CArcadeStickVtbl {
  5222. BEGIN_INTERFACE
  5223. /*** IUnknown methods ***/
  5224. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5225. __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick *This,
  5226. REFIID riid,
  5227. void **ppvObject);
  5228. ULONG (STDMETHODCALLTYPE *AddRef)(
  5229. __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick *This);
  5230. ULONG (STDMETHODCALLTYPE *Release)(
  5231. __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick *This);
  5232. /*** IInspectable methods ***/
  5233. HRESULT (STDMETHODCALLTYPE *GetIids)(
  5234. __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick *This,
  5235. ULONG *iidCount,
  5236. IID **iids);
  5237. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  5238. __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick *This,
  5239. HSTRING *className);
  5240. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  5241. __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick *This,
  5242. TrustLevel *trustLevel);
  5243. /*** IVectorView<ABI::Windows::Gaming::Input::ArcadeStick* > methods ***/
  5244. HRESULT (STDMETHODCALLTYPE *GetAt)(
  5245. __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick *This,
  5246. UINT32 index,
  5247. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick **value);
  5248. HRESULT (STDMETHODCALLTYPE *get_Size)(
  5249. __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick *This,
  5250. UINT32 *value);
  5251. HRESULT (STDMETHODCALLTYPE *IndexOf)(
  5252. __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick *This,
  5253. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick *element,
  5254. UINT32 *index,
  5255. BOOLEAN *value);
  5256. HRESULT (STDMETHODCALLTYPE *GetMany)(
  5257. __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick *This,
  5258. UINT32 start_index,
  5259. UINT32 items_size,
  5260. __x_ABI_CWindows_CGaming_CInput_CIArcadeStick **items,
  5261. UINT32 *value);
  5262. END_INTERFACE
  5263. } __FIVectorView_1_Windows__CGaming__CInput__CArcadeStickVtbl;
  5264. interface __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick {
  5265. CONST_VTBL __FIVectorView_1_Windows__CGaming__CInput__CArcadeStickVtbl* lpVtbl;
  5266. };
  5267. #ifdef COBJMACROS
  5268. #ifndef WIDL_C_INLINE_WRAPPERS
  5269. /*** IUnknown methods ***/
  5270. #define __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5271. #define __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_AddRef(This) (This)->lpVtbl->AddRef(This)
  5272. #define __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_Release(This) (This)->lpVtbl->Release(This)
  5273. /*** IInspectable methods ***/
  5274. #define __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  5275. #define __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  5276. #define __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  5277. /*** IVectorView<ABI::Windows::Gaming::Input::ArcadeStick* > methods ***/
  5278. #define __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
  5279. #define __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
  5280. #define __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
  5281. #define __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
  5282. #else
  5283. /*** IUnknown methods ***/
  5284. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_QueryInterface(__FIVectorView_1_Windows__CGaming__CInput__CArcadeStick* This,REFIID riid,void **ppvObject) {
  5285. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5286. }
  5287. static FORCEINLINE ULONG __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_AddRef(__FIVectorView_1_Windows__CGaming__CInput__CArcadeStick* This) {
  5288. return This->lpVtbl->AddRef(This);
  5289. }
  5290. static FORCEINLINE ULONG __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_Release(__FIVectorView_1_Windows__CGaming__CInput__CArcadeStick* This) {
  5291. return This->lpVtbl->Release(This);
  5292. }
  5293. /*** IInspectable methods ***/
  5294. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetIids(__FIVectorView_1_Windows__CGaming__CInput__CArcadeStick* This,ULONG *iidCount,IID **iids) {
  5295. return This->lpVtbl->GetIids(This,iidCount,iids);
  5296. }
  5297. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetRuntimeClassName(__FIVectorView_1_Windows__CGaming__CInput__CArcadeStick* This,HSTRING *className) {
  5298. return This->lpVtbl->GetRuntimeClassName(This,className);
  5299. }
  5300. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetTrustLevel(__FIVectorView_1_Windows__CGaming__CInput__CArcadeStick* This,TrustLevel *trustLevel) {
  5301. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  5302. }
  5303. /*** IVectorView<ABI::Windows::Gaming::Input::ArcadeStick* > methods ***/
  5304. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetAt(__FIVectorView_1_Windows__CGaming__CInput__CArcadeStick* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIArcadeStick **value) {
  5305. return This->lpVtbl->GetAt(This,index,value);
  5306. }
  5307. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_get_Size(__FIVectorView_1_Windows__CGaming__CInput__CArcadeStick* This,UINT32 *value) {
  5308. return This->lpVtbl->get_Size(This,value);
  5309. }
  5310. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_IndexOf(__FIVectorView_1_Windows__CGaming__CInput__CArcadeStick* This,__x_ABI_CWindows_CGaming_CInput_CIArcadeStick *element,UINT32 *index,BOOLEAN *value) {
  5311. return This->lpVtbl->IndexOf(This,element,index,value);
  5312. }
  5313. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetMany(__FIVectorView_1_Windows__CGaming__CInput__CArcadeStick* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIArcadeStick **items,UINT32 *value) {
  5314. return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
  5315. }
  5316. #endif
  5317. #ifdef WIDL_using_Windows_Foundation_Collections
  5318. #define IID_IVectorView_ArcadeStick IID___FIVectorView_1_Windows__CGaming__CInput__CArcadeStick
  5319. #define IVectorView_ArcadeStickVtbl __FIVectorView_1_Windows__CGaming__CInput__CArcadeStickVtbl
  5320. #define IVectorView_ArcadeStick __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick
  5321. #define IVectorView_ArcadeStick_QueryInterface __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_QueryInterface
  5322. #define IVectorView_ArcadeStick_AddRef __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_AddRef
  5323. #define IVectorView_ArcadeStick_Release __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_Release
  5324. #define IVectorView_ArcadeStick_GetIids __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetIids
  5325. #define IVectorView_ArcadeStick_GetRuntimeClassName __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetRuntimeClassName
  5326. #define IVectorView_ArcadeStick_GetTrustLevel __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetTrustLevel
  5327. #define IVectorView_ArcadeStick_GetAt __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetAt
  5328. #define IVectorView_ArcadeStick_get_Size __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_get_Size
  5329. #define IVectorView_ArcadeStick_IndexOf __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_IndexOf
  5330. #define IVectorView_ArcadeStick_GetMany __FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_GetMany
  5331. #endif /* WIDL_using_Windows_Foundation_Collections */
  5332. #endif
  5333. #endif
  5334. #endif /* ____FIVectorView_1_Windows__CGaming__CInput__CArcadeStick_INTERFACE_DEFINED__ */
  5335. /*****************************************************************************
  5336. * IIterator<ABI::Windows::Gaming::Input::FlightStick* > interface
  5337. */
  5338. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CFlightStick_INTERFACE_DEFINED__
  5339. #define ____FIIterator_1_Windows__CGaming__CInput__CFlightStick_INTERFACE_DEFINED__
  5340. DEFINE_GUID(IID___FIIterator_1_Windows__CGaming__CInput__CFlightStick, 0xf5fa1919, 0x3f18, 0x5560, 0xbb,0x13, 0xcf,0x70,0x18,0xac,0x41,0xd5);
  5341. #if defined(__cplusplus) && !defined(CINTERFACE)
  5342. } /* extern "C" */
  5343. namespace ABI {
  5344. namespace Windows {
  5345. namespace Foundation {
  5346. namespace Collections {
  5347. template<>
  5348. MIDL_INTERFACE("f5fa1919-3f18-5560-bb13-cf7018ac41d5")
  5349. IIterator<ABI::Windows::Gaming::Input::FlightStick* > : IIterator_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::FlightStick*, ABI::Windows::Gaming::Input::IFlightStick* > >
  5350. {
  5351. };
  5352. }
  5353. }
  5354. }
  5355. }
  5356. extern "C" {
  5357. #ifdef __CRT_UUID_DECL
  5358. __CRT_UUID_DECL(__FIIterator_1_Windows__CGaming__CInput__CFlightStick, 0xf5fa1919, 0x3f18, 0x5560, 0xbb,0x13, 0xcf,0x70,0x18,0xac,0x41,0xd5)
  5359. #endif
  5360. #else
  5361. typedef struct __FIIterator_1_Windows__CGaming__CInput__CFlightStickVtbl {
  5362. BEGIN_INTERFACE
  5363. /*** IUnknown methods ***/
  5364. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5365. __FIIterator_1_Windows__CGaming__CInput__CFlightStick *This,
  5366. REFIID riid,
  5367. void **ppvObject);
  5368. ULONG (STDMETHODCALLTYPE *AddRef)(
  5369. __FIIterator_1_Windows__CGaming__CInput__CFlightStick *This);
  5370. ULONG (STDMETHODCALLTYPE *Release)(
  5371. __FIIterator_1_Windows__CGaming__CInput__CFlightStick *This);
  5372. /*** IInspectable methods ***/
  5373. HRESULT (STDMETHODCALLTYPE *GetIids)(
  5374. __FIIterator_1_Windows__CGaming__CInput__CFlightStick *This,
  5375. ULONG *iidCount,
  5376. IID **iids);
  5377. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  5378. __FIIterator_1_Windows__CGaming__CInput__CFlightStick *This,
  5379. HSTRING *className);
  5380. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  5381. __FIIterator_1_Windows__CGaming__CInput__CFlightStick *This,
  5382. TrustLevel *trustLevel);
  5383. /*** IIterator<ABI::Windows::Gaming::Input::FlightStick* > methods ***/
  5384. HRESULT (STDMETHODCALLTYPE *get_Current)(
  5385. __FIIterator_1_Windows__CGaming__CInput__CFlightStick *This,
  5386. __x_ABI_CWindows_CGaming_CInput_CIFlightStick **value);
  5387. HRESULT (STDMETHODCALLTYPE *get_HasCurrent)(
  5388. __FIIterator_1_Windows__CGaming__CInput__CFlightStick *This,
  5389. WINBOOL *value);
  5390. HRESULT (STDMETHODCALLTYPE *MoveNext)(
  5391. __FIIterator_1_Windows__CGaming__CInput__CFlightStick *This,
  5392. WINBOOL *value);
  5393. HRESULT (STDMETHODCALLTYPE *GetMany)(
  5394. __FIIterator_1_Windows__CGaming__CInput__CFlightStick *This,
  5395. UINT32 items_size,
  5396. __x_ABI_CWindows_CGaming_CInput_CIFlightStick **items,
  5397. UINT32 *value);
  5398. END_INTERFACE
  5399. } __FIIterator_1_Windows__CGaming__CInput__CFlightStickVtbl;
  5400. interface __FIIterator_1_Windows__CGaming__CInput__CFlightStick {
  5401. CONST_VTBL __FIIterator_1_Windows__CGaming__CInput__CFlightStickVtbl* lpVtbl;
  5402. };
  5403. #ifdef COBJMACROS
  5404. #ifndef WIDL_C_INLINE_WRAPPERS
  5405. /*** IUnknown methods ***/
  5406. #define __FIIterator_1_Windows__CGaming__CInput__CFlightStick_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5407. #define __FIIterator_1_Windows__CGaming__CInput__CFlightStick_AddRef(This) (This)->lpVtbl->AddRef(This)
  5408. #define __FIIterator_1_Windows__CGaming__CInput__CFlightStick_Release(This) (This)->lpVtbl->Release(This)
  5409. /*** IInspectable methods ***/
  5410. #define __FIIterator_1_Windows__CGaming__CInput__CFlightStick_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  5411. #define __FIIterator_1_Windows__CGaming__CInput__CFlightStick_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  5412. #define __FIIterator_1_Windows__CGaming__CInput__CFlightStick_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  5413. /*** IIterator<ABI::Windows::Gaming::Input::FlightStick* > methods ***/
  5414. #define __FIIterator_1_Windows__CGaming__CInput__CFlightStick_get_Current(This,value) (This)->lpVtbl->get_Current(This,value)
  5415. #define __FIIterator_1_Windows__CGaming__CInput__CFlightStick_get_HasCurrent(This,value) (This)->lpVtbl->get_HasCurrent(This,value)
  5416. #define __FIIterator_1_Windows__CGaming__CInput__CFlightStick_MoveNext(This,value) (This)->lpVtbl->MoveNext(This,value)
  5417. #define __FIIterator_1_Windows__CGaming__CInput__CFlightStick_GetMany(This,items_size,items,value) (This)->lpVtbl->GetMany(This,items_size,items,value)
  5418. #else
  5419. /*** IUnknown methods ***/
  5420. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CFlightStick_QueryInterface(__FIIterator_1_Windows__CGaming__CInput__CFlightStick* This,REFIID riid,void **ppvObject) {
  5421. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5422. }
  5423. static FORCEINLINE ULONG __FIIterator_1_Windows__CGaming__CInput__CFlightStick_AddRef(__FIIterator_1_Windows__CGaming__CInput__CFlightStick* This) {
  5424. return This->lpVtbl->AddRef(This);
  5425. }
  5426. static FORCEINLINE ULONG __FIIterator_1_Windows__CGaming__CInput__CFlightStick_Release(__FIIterator_1_Windows__CGaming__CInput__CFlightStick* This) {
  5427. return This->lpVtbl->Release(This);
  5428. }
  5429. /*** IInspectable methods ***/
  5430. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CFlightStick_GetIids(__FIIterator_1_Windows__CGaming__CInput__CFlightStick* This,ULONG *iidCount,IID **iids) {
  5431. return This->lpVtbl->GetIids(This,iidCount,iids);
  5432. }
  5433. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CFlightStick_GetRuntimeClassName(__FIIterator_1_Windows__CGaming__CInput__CFlightStick* This,HSTRING *className) {
  5434. return This->lpVtbl->GetRuntimeClassName(This,className);
  5435. }
  5436. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CFlightStick_GetTrustLevel(__FIIterator_1_Windows__CGaming__CInput__CFlightStick* This,TrustLevel *trustLevel) {
  5437. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  5438. }
  5439. /*** IIterator<ABI::Windows::Gaming::Input::FlightStick* > methods ***/
  5440. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CFlightStick_get_Current(__FIIterator_1_Windows__CGaming__CInput__CFlightStick* This,__x_ABI_CWindows_CGaming_CInput_CIFlightStick **value) {
  5441. return This->lpVtbl->get_Current(This,value);
  5442. }
  5443. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CFlightStick_get_HasCurrent(__FIIterator_1_Windows__CGaming__CInput__CFlightStick* This,WINBOOL *value) {
  5444. return This->lpVtbl->get_HasCurrent(This,value);
  5445. }
  5446. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CFlightStick_MoveNext(__FIIterator_1_Windows__CGaming__CInput__CFlightStick* This,WINBOOL *value) {
  5447. return This->lpVtbl->MoveNext(This,value);
  5448. }
  5449. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CFlightStick_GetMany(__FIIterator_1_Windows__CGaming__CInput__CFlightStick* This,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIFlightStick **items,UINT32 *value) {
  5450. return This->lpVtbl->GetMany(This,items_size,items,value);
  5451. }
  5452. #endif
  5453. #ifdef WIDL_using_Windows_Foundation_Collections
  5454. #define IID_IIterator_FlightStick IID___FIIterator_1_Windows__CGaming__CInput__CFlightStick
  5455. #define IIterator_FlightStickVtbl __FIIterator_1_Windows__CGaming__CInput__CFlightStickVtbl
  5456. #define IIterator_FlightStick __FIIterator_1_Windows__CGaming__CInput__CFlightStick
  5457. #define IIterator_FlightStick_QueryInterface __FIIterator_1_Windows__CGaming__CInput__CFlightStick_QueryInterface
  5458. #define IIterator_FlightStick_AddRef __FIIterator_1_Windows__CGaming__CInput__CFlightStick_AddRef
  5459. #define IIterator_FlightStick_Release __FIIterator_1_Windows__CGaming__CInput__CFlightStick_Release
  5460. #define IIterator_FlightStick_GetIids __FIIterator_1_Windows__CGaming__CInput__CFlightStick_GetIids
  5461. #define IIterator_FlightStick_GetRuntimeClassName __FIIterator_1_Windows__CGaming__CInput__CFlightStick_GetRuntimeClassName
  5462. #define IIterator_FlightStick_GetTrustLevel __FIIterator_1_Windows__CGaming__CInput__CFlightStick_GetTrustLevel
  5463. #define IIterator_FlightStick_get_Current __FIIterator_1_Windows__CGaming__CInput__CFlightStick_get_Current
  5464. #define IIterator_FlightStick_get_HasCurrent __FIIterator_1_Windows__CGaming__CInput__CFlightStick_get_HasCurrent
  5465. #define IIterator_FlightStick_MoveNext __FIIterator_1_Windows__CGaming__CInput__CFlightStick_MoveNext
  5466. #define IIterator_FlightStick_GetMany __FIIterator_1_Windows__CGaming__CInput__CFlightStick_GetMany
  5467. #endif /* WIDL_using_Windows_Foundation_Collections */
  5468. #endif
  5469. #endif
  5470. #endif /* ____FIIterator_1_Windows__CGaming__CInput__CFlightStick_INTERFACE_DEFINED__ */
  5471. /*****************************************************************************
  5472. * IIterable<ABI::Windows::Gaming::Input::FlightStick* > interface
  5473. */
  5474. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CFlightStick_INTERFACE_DEFINED__
  5475. #define ____FIIterable_1_Windows__CGaming__CInput__CFlightStick_INTERFACE_DEFINED__
  5476. DEFINE_GUID(IID___FIIterable_1_Windows__CGaming__CInput__CFlightStick, 0x3b7fc175, 0xbebe, 0x52ef, 0xa3,0xe9, 0xdd,0xa7,0x5e,0xa1,0xac,0xfc);
  5477. #if defined(__cplusplus) && !defined(CINTERFACE)
  5478. } /* extern "C" */
  5479. namespace ABI {
  5480. namespace Windows {
  5481. namespace Foundation {
  5482. namespace Collections {
  5483. template<>
  5484. MIDL_INTERFACE("3b7fc175-bebe-52ef-a3e9-dda75ea1acfc")
  5485. IIterable<ABI::Windows::Gaming::Input::FlightStick* > : IIterable_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::FlightStick*, ABI::Windows::Gaming::Input::IFlightStick* > >
  5486. {
  5487. };
  5488. }
  5489. }
  5490. }
  5491. }
  5492. extern "C" {
  5493. #ifdef __CRT_UUID_DECL
  5494. __CRT_UUID_DECL(__FIIterable_1_Windows__CGaming__CInput__CFlightStick, 0x3b7fc175, 0xbebe, 0x52ef, 0xa3,0xe9, 0xdd,0xa7,0x5e,0xa1,0xac,0xfc)
  5495. #endif
  5496. #else
  5497. typedef struct __FIIterable_1_Windows__CGaming__CInput__CFlightStickVtbl {
  5498. BEGIN_INTERFACE
  5499. /*** IUnknown methods ***/
  5500. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5501. __FIIterable_1_Windows__CGaming__CInput__CFlightStick *This,
  5502. REFIID riid,
  5503. void **ppvObject);
  5504. ULONG (STDMETHODCALLTYPE *AddRef)(
  5505. __FIIterable_1_Windows__CGaming__CInput__CFlightStick *This);
  5506. ULONG (STDMETHODCALLTYPE *Release)(
  5507. __FIIterable_1_Windows__CGaming__CInput__CFlightStick *This);
  5508. /*** IInspectable methods ***/
  5509. HRESULT (STDMETHODCALLTYPE *GetIids)(
  5510. __FIIterable_1_Windows__CGaming__CInput__CFlightStick *This,
  5511. ULONG *iidCount,
  5512. IID **iids);
  5513. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  5514. __FIIterable_1_Windows__CGaming__CInput__CFlightStick *This,
  5515. HSTRING *className);
  5516. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  5517. __FIIterable_1_Windows__CGaming__CInput__CFlightStick *This,
  5518. TrustLevel *trustLevel);
  5519. /*** IIterable<ABI::Windows::Gaming::Input::FlightStick* > methods ***/
  5520. HRESULT (STDMETHODCALLTYPE *First)(
  5521. __FIIterable_1_Windows__CGaming__CInput__CFlightStick *This,
  5522. __FIIterator_1_Windows__CGaming__CInput__CFlightStick **value);
  5523. END_INTERFACE
  5524. } __FIIterable_1_Windows__CGaming__CInput__CFlightStickVtbl;
  5525. interface __FIIterable_1_Windows__CGaming__CInput__CFlightStick {
  5526. CONST_VTBL __FIIterable_1_Windows__CGaming__CInput__CFlightStickVtbl* lpVtbl;
  5527. };
  5528. #ifdef COBJMACROS
  5529. #ifndef WIDL_C_INLINE_WRAPPERS
  5530. /*** IUnknown methods ***/
  5531. #define __FIIterable_1_Windows__CGaming__CInput__CFlightStick_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5532. #define __FIIterable_1_Windows__CGaming__CInput__CFlightStick_AddRef(This) (This)->lpVtbl->AddRef(This)
  5533. #define __FIIterable_1_Windows__CGaming__CInput__CFlightStick_Release(This) (This)->lpVtbl->Release(This)
  5534. /*** IInspectable methods ***/
  5535. #define __FIIterable_1_Windows__CGaming__CInput__CFlightStick_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  5536. #define __FIIterable_1_Windows__CGaming__CInput__CFlightStick_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  5537. #define __FIIterable_1_Windows__CGaming__CInput__CFlightStick_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  5538. /*** IIterable<ABI::Windows::Gaming::Input::FlightStick* > methods ***/
  5539. #define __FIIterable_1_Windows__CGaming__CInput__CFlightStick_First(This,value) (This)->lpVtbl->First(This,value)
  5540. #else
  5541. /*** IUnknown methods ***/
  5542. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CFlightStick_QueryInterface(__FIIterable_1_Windows__CGaming__CInput__CFlightStick* This,REFIID riid,void **ppvObject) {
  5543. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5544. }
  5545. static FORCEINLINE ULONG __FIIterable_1_Windows__CGaming__CInput__CFlightStick_AddRef(__FIIterable_1_Windows__CGaming__CInput__CFlightStick* This) {
  5546. return This->lpVtbl->AddRef(This);
  5547. }
  5548. static FORCEINLINE ULONG __FIIterable_1_Windows__CGaming__CInput__CFlightStick_Release(__FIIterable_1_Windows__CGaming__CInput__CFlightStick* This) {
  5549. return This->lpVtbl->Release(This);
  5550. }
  5551. /*** IInspectable methods ***/
  5552. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CFlightStick_GetIids(__FIIterable_1_Windows__CGaming__CInput__CFlightStick* This,ULONG *iidCount,IID **iids) {
  5553. return This->lpVtbl->GetIids(This,iidCount,iids);
  5554. }
  5555. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CFlightStick_GetRuntimeClassName(__FIIterable_1_Windows__CGaming__CInput__CFlightStick* This,HSTRING *className) {
  5556. return This->lpVtbl->GetRuntimeClassName(This,className);
  5557. }
  5558. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CFlightStick_GetTrustLevel(__FIIterable_1_Windows__CGaming__CInput__CFlightStick* This,TrustLevel *trustLevel) {
  5559. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  5560. }
  5561. /*** IIterable<ABI::Windows::Gaming::Input::FlightStick* > methods ***/
  5562. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CFlightStick_First(__FIIterable_1_Windows__CGaming__CInput__CFlightStick* This,__FIIterator_1_Windows__CGaming__CInput__CFlightStick **value) {
  5563. return This->lpVtbl->First(This,value);
  5564. }
  5565. #endif
  5566. #ifdef WIDL_using_Windows_Foundation_Collections
  5567. #define IID_IIterable_FlightStick IID___FIIterable_1_Windows__CGaming__CInput__CFlightStick
  5568. #define IIterable_FlightStickVtbl __FIIterable_1_Windows__CGaming__CInput__CFlightStickVtbl
  5569. #define IIterable_FlightStick __FIIterable_1_Windows__CGaming__CInput__CFlightStick
  5570. #define IIterable_FlightStick_QueryInterface __FIIterable_1_Windows__CGaming__CInput__CFlightStick_QueryInterface
  5571. #define IIterable_FlightStick_AddRef __FIIterable_1_Windows__CGaming__CInput__CFlightStick_AddRef
  5572. #define IIterable_FlightStick_Release __FIIterable_1_Windows__CGaming__CInput__CFlightStick_Release
  5573. #define IIterable_FlightStick_GetIids __FIIterable_1_Windows__CGaming__CInput__CFlightStick_GetIids
  5574. #define IIterable_FlightStick_GetRuntimeClassName __FIIterable_1_Windows__CGaming__CInput__CFlightStick_GetRuntimeClassName
  5575. #define IIterable_FlightStick_GetTrustLevel __FIIterable_1_Windows__CGaming__CInput__CFlightStick_GetTrustLevel
  5576. #define IIterable_FlightStick_First __FIIterable_1_Windows__CGaming__CInput__CFlightStick_First
  5577. #endif /* WIDL_using_Windows_Foundation_Collections */
  5578. #endif
  5579. #endif
  5580. #endif /* ____FIIterable_1_Windows__CGaming__CInput__CFlightStick_INTERFACE_DEFINED__ */
  5581. /*****************************************************************************
  5582. * IVectorView<ABI::Windows::Gaming::Input::FlightStick* > interface
  5583. */
  5584. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CFlightStick_INTERFACE_DEFINED__
  5585. #define ____FIVectorView_1_Windows__CGaming__CInput__CFlightStick_INTERFACE_DEFINED__
  5586. DEFINE_GUID(IID___FIVectorView_1_Windows__CGaming__CInput__CFlightStick, 0x8b9d067e, 0xb6f5, 0x592f, 0xa9,0x0a, 0xd7,0x2c,0x3d,0x98,0xd4,0xda);
  5587. #if defined(__cplusplus) && !defined(CINTERFACE)
  5588. } /* extern "C" */
  5589. namespace ABI {
  5590. namespace Windows {
  5591. namespace Foundation {
  5592. namespace Collections {
  5593. template<>
  5594. MIDL_INTERFACE("8b9d067e-b6f5-592f-a90a-d72c3d98d4da")
  5595. IVectorView<ABI::Windows::Gaming::Input::FlightStick* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::FlightStick*, ABI::Windows::Gaming::Input::IFlightStick* > >
  5596. {
  5597. };
  5598. }
  5599. }
  5600. }
  5601. }
  5602. extern "C" {
  5603. #ifdef __CRT_UUID_DECL
  5604. __CRT_UUID_DECL(__FIVectorView_1_Windows__CGaming__CInput__CFlightStick, 0x8b9d067e, 0xb6f5, 0x592f, 0xa9,0x0a, 0xd7,0x2c,0x3d,0x98,0xd4,0xda)
  5605. #endif
  5606. #else
  5607. typedef struct __FIVectorView_1_Windows__CGaming__CInput__CFlightStickVtbl {
  5608. BEGIN_INTERFACE
  5609. /*** IUnknown methods ***/
  5610. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5611. __FIVectorView_1_Windows__CGaming__CInput__CFlightStick *This,
  5612. REFIID riid,
  5613. void **ppvObject);
  5614. ULONG (STDMETHODCALLTYPE *AddRef)(
  5615. __FIVectorView_1_Windows__CGaming__CInput__CFlightStick *This);
  5616. ULONG (STDMETHODCALLTYPE *Release)(
  5617. __FIVectorView_1_Windows__CGaming__CInput__CFlightStick *This);
  5618. /*** IInspectable methods ***/
  5619. HRESULT (STDMETHODCALLTYPE *GetIids)(
  5620. __FIVectorView_1_Windows__CGaming__CInput__CFlightStick *This,
  5621. ULONG *iidCount,
  5622. IID **iids);
  5623. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  5624. __FIVectorView_1_Windows__CGaming__CInput__CFlightStick *This,
  5625. HSTRING *className);
  5626. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  5627. __FIVectorView_1_Windows__CGaming__CInput__CFlightStick *This,
  5628. TrustLevel *trustLevel);
  5629. /*** IVectorView<ABI::Windows::Gaming::Input::FlightStick* > methods ***/
  5630. HRESULT (STDMETHODCALLTYPE *GetAt)(
  5631. __FIVectorView_1_Windows__CGaming__CInput__CFlightStick *This,
  5632. UINT32 index,
  5633. __x_ABI_CWindows_CGaming_CInput_CIFlightStick **value);
  5634. HRESULT (STDMETHODCALLTYPE *get_Size)(
  5635. __FIVectorView_1_Windows__CGaming__CInput__CFlightStick *This,
  5636. UINT32 *value);
  5637. HRESULT (STDMETHODCALLTYPE *IndexOf)(
  5638. __FIVectorView_1_Windows__CGaming__CInput__CFlightStick *This,
  5639. __x_ABI_CWindows_CGaming_CInput_CIFlightStick *element,
  5640. UINT32 *index,
  5641. BOOLEAN *value);
  5642. HRESULT (STDMETHODCALLTYPE *GetMany)(
  5643. __FIVectorView_1_Windows__CGaming__CInput__CFlightStick *This,
  5644. UINT32 start_index,
  5645. UINT32 items_size,
  5646. __x_ABI_CWindows_CGaming_CInput_CIFlightStick **items,
  5647. UINT32 *value);
  5648. END_INTERFACE
  5649. } __FIVectorView_1_Windows__CGaming__CInput__CFlightStickVtbl;
  5650. interface __FIVectorView_1_Windows__CGaming__CInput__CFlightStick {
  5651. CONST_VTBL __FIVectorView_1_Windows__CGaming__CInput__CFlightStickVtbl* lpVtbl;
  5652. };
  5653. #ifdef COBJMACROS
  5654. #ifndef WIDL_C_INLINE_WRAPPERS
  5655. /*** IUnknown methods ***/
  5656. #define __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5657. #define __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_AddRef(This) (This)->lpVtbl->AddRef(This)
  5658. #define __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_Release(This) (This)->lpVtbl->Release(This)
  5659. /*** IInspectable methods ***/
  5660. #define __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  5661. #define __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  5662. #define __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  5663. /*** IVectorView<ABI::Windows::Gaming::Input::FlightStick* > methods ***/
  5664. #define __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
  5665. #define __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
  5666. #define __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
  5667. #define __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
  5668. #else
  5669. /*** IUnknown methods ***/
  5670. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_QueryInterface(__FIVectorView_1_Windows__CGaming__CInput__CFlightStick* This,REFIID riid,void **ppvObject) {
  5671. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5672. }
  5673. static FORCEINLINE ULONG __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_AddRef(__FIVectorView_1_Windows__CGaming__CInput__CFlightStick* This) {
  5674. return This->lpVtbl->AddRef(This);
  5675. }
  5676. static FORCEINLINE ULONG __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_Release(__FIVectorView_1_Windows__CGaming__CInput__CFlightStick* This) {
  5677. return This->lpVtbl->Release(This);
  5678. }
  5679. /*** IInspectable methods ***/
  5680. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetIids(__FIVectorView_1_Windows__CGaming__CInput__CFlightStick* This,ULONG *iidCount,IID **iids) {
  5681. return This->lpVtbl->GetIids(This,iidCount,iids);
  5682. }
  5683. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetRuntimeClassName(__FIVectorView_1_Windows__CGaming__CInput__CFlightStick* This,HSTRING *className) {
  5684. return This->lpVtbl->GetRuntimeClassName(This,className);
  5685. }
  5686. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetTrustLevel(__FIVectorView_1_Windows__CGaming__CInput__CFlightStick* This,TrustLevel *trustLevel) {
  5687. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  5688. }
  5689. /*** IVectorView<ABI::Windows::Gaming::Input::FlightStick* > methods ***/
  5690. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetAt(__FIVectorView_1_Windows__CGaming__CInput__CFlightStick* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIFlightStick **value) {
  5691. return This->lpVtbl->GetAt(This,index,value);
  5692. }
  5693. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_get_Size(__FIVectorView_1_Windows__CGaming__CInput__CFlightStick* This,UINT32 *value) {
  5694. return This->lpVtbl->get_Size(This,value);
  5695. }
  5696. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_IndexOf(__FIVectorView_1_Windows__CGaming__CInput__CFlightStick* This,__x_ABI_CWindows_CGaming_CInput_CIFlightStick *element,UINT32 *index,BOOLEAN *value) {
  5697. return This->lpVtbl->IndexOf(This,element,index,value);
  5698. }
  5699. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetMany(__FIVectorView_1_Windows__CGaming__CInput__CFlightStick* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIFlightStick **items,UINT32 *value) {
  5700. return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
  5701. }
  5702. #endif
  5703. #ifdef WIDL_using_Windows_Foundation_Collections
  5704. #define IID_IVectorView_FlightStick IID___FIVectorView_1_Windows__CGaming__CInput__CFlightStick
  5705. #define IVectorView_FlightStickVtbl __FIVectorView_1_Windows__CGaming__CInput__CFlightStickVtbl
  5706. #define IVectorView_FlightStick __FIVectorView_1_Windows__CGaming__CInput__CFlightStick
  5707. #define IVectorView_FlightStick_QueryInterface __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_QueryInterface
  5708. #define IVectorView_FlightStick_AddRef __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_AddRef
  5709. #define IVectorView_FlightStick_Release __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_Release
  5710. #define IVectorView_FlightStick_GetIids __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetIids
  5711. #define IVectorView_FlightStick_GetRuntimeClassName __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetRuntimeClassName
  5712. #define IVectorView_FlightStick_GetTrustLevel __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetTrustLevel
  5713. #define IVectorView_FlightStick_GetAt __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetAt
  5714. #define IVectorView_FlightStick_get_Size __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_get_Size
  5715. #define IVectorView_FlightStick_IndexOf __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_IndexOf
  5716. #define IVectorView_FlightStick_GetMany __FIVectorView_1_Windows__CGaming__CInput__CFlightStick_GetMany
  5717. #endif /* WIDL_using_Windows_Foundation_Collections */
  5718. #endif
  5719. #endif
  5720. #endif /* ____FIVectorView_1_Windows__CGaming__CInput__CFlightStick_INTERFACE_DEFINED__ */
  5721. /*****************************************************************************
  5722. * IIterator<ABI::Windows::Gaming::Input::Gamepad* > interface
  5723. */
  5724. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__
  5725. #define ____FIIterator_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__
  5726. DEFINE_GUID(IID___FIIterator_1_Windows__CGaming__CInput__CGamepad, 0x246737e8, 0x12bc, 0x5c64, 0xaf,0x52, 0x06,0xdb,0x4b,0x13,0xfa,0x2f);
  5727. #if defined(__cplusplus) && !defined(CINTERFACE)
  5728. } /* extern "C" */
  5729. namespace ABI {
  5730. namespace Windows {
  5731. namespace Foundation {
  5732. namespace Collections {
  5733. template<>
  5734. MIDL_INTERFACE("246737e8-12bc-5c64-af52-06db4b13fa2f")
  5735. IIterator<ABI::Windows::Gaming::Input::Gamepad* > : IIterator_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::Gamepad*, ABI::Windows::Gaming::Input::IGamepad* > >
  5736. {
  5737. };
  5738. }
  5739. }
  5740. }
  5741. }
  5742. extern "C" {
  5743. #ifdef __CRT_UUID_DECL
  5744. __CRT_UUID_DECL(__FIIterator_1_Windows__CGaming__CInput__CGamepad, 0x246737e8, 0x12bc, 0x5c64, 0xaf,0x52, 0x06,0xdb,0x4b,0x13,0xfa,0x2f)
  5745. #endif
  5746. #else
  5747. typedef struct __FIIterator_1_Windows__CGaming__CInput__CGamepadVtbl {
  5748. BEGIN_INTERFACE
  5749. /*** IUnknown methods ***/
  5750. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5751. __FIIterator_1_Windows__CGaming__CInput__CGamepad *This,
  5752. REFIID riid,
  5753. void **ppvObject);
  5754. ULONG (STDMETHODCALLTYPE *AddRef)(
  5755. __FIIterator_1_Windows__CGaming__CInput__CGamepad *This);
  5756. ULONG (STDMETHODCALLTYPE *Release)(
  5757. __FIIterator_1_Windows__CGaming__CInput__CGamepad *This);
  5758. /*** IInspectable methods ***/
  5759. HRESULT (STDMETHODCALLTYPE *GetIids)(
  5760. __FIIterator_1_Windows__CGaming__CInput__CGamepad *This,
  5761. ULONG *iidCount,
  5762. IID **iids);
  5763. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  5764. __FIIterator_1_Windows__CGaming__CInput__CGamepad *This,
  5765. HSTRING *className);
  5766. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  5767. __FIIterator_1_Windows__CGaming__CInput__CGamepad *This,
  5768. TrustLevel *trustLevel);
  5769. /*** IIterator<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  5770. HRESULT (STDMETHODCALLTYPE *get_Current)(
  5771. __FIIterator_1_Windows__CGaming__CInput__CGamepad *This,
  5772. __x_ABI_CWindows_CGaming_CInput_CIGamepad **value);
  5773. HRESULT (STDMETHODCALLTYPE *get_HasCurrent)(
  5774. __FIIterator_1_Windows__CGaming__CInput__CGamepad *This,
  5775. WINBOOL *value);
  5776. HRESULT (STDMETHODCALLTYPE *MoveNext)(
  5777. __FIIterator_1_Windows__CGaming__CInput__CGamepad *This,
  5778. WINBOOL *value);
  5779. HRESULT (STDMETHODCALLTYPE *GetMany)(
  5780. __FIIterator_1_Windows__CGaming__CInput__CGamepad *This,
  5781. UINT32 items_size,
  5782. __x_ABI_CWindows_CGaming_CInput_CIGamepad **items,
  5783. UINT32 *value);
  5784. END_INTERFACE
  5785. } __FIIterator_1_Windows__CGaming__CInput__CGamepadVtbl;
  5786. interface __FIIterator_1_Windows__CGaming__CInput__CGamepad {
  5787. CONST_VTBL __FIIterator_1_Windows__CGaming__CInput__CGamepadVtbl* lpVtbl;
  5788. };
  5789. #ifdef COBJMACROS
  5790. #ifndef WIDL_C_INLINE_WRAPPERS
  5791. /*** IUnknown methods ***/
  5792. #define __FIIterator_1_Windows__CGaming__CInput__CGamepad_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5793. #define __FIIterator_1_Windows__CGaming__CInput__CGamepad_AddRef(This) (This)->lpVtbl->AddRef(This)
  5794. #define __FIIterator_1_Windows__CGaming__CInput__CGamepad_Release(This) (This)->lpVtbl->Release(This)
  5795. /*** IInspectable methods ***/
  5796. #define __FIIterator_1_Windows__CGaming__CInput__CGamepad_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  5797. #define __FIIterator_1_Windows__CGaming__CInput__CGamepad_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  5798. #define __FIIterator_1_Windows__CGaming__CInput__CGamepad_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  5799. /*** IIterator<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  5800. #define __FIIterator_1_Windows__CGaming__CInput__CGamepad_get_Current(This,value) (This)->lpVtbl->get_Current(This,value)
  5801. #define __FIIterator_1_Windows__CGaming__CInput__CGamepad_get_HasCurrent(This,value) (This)->lpVtbl->get_HasCurrent(This,value)
  5802. #define __FIIterator_1_Windows__CGaming__CInput__CGamepad_MoveNext(This,value) (This)->lpVtbl->MoveNext(This,value)
  5803. #define __FIIterator_1_Windows__CGaming__CInput__CGamepad_GetMany(This,items_size,items,value) (This)->lpVtbl->GetMany(This,items_size,items,value)
  5804. #else
  5805. /*** IUnknown methods ***/
  5806. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CGamepad_QueryInterface(__FIIterator_1_Windows__CGaming__CInput__CGamepad* This,REFIID riid,void **ppvObject) {
  5807. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5808. }
  5809. static FORCEINLINE ULONG __FIIterator_1_Windows__CGaming__CInput__CGamepad_AddRef(__FIIterator_1_Windows__CGaming__CInput__CGamepad* This) {
  5810. return This->lpVtbl->AddRef(This);
  5811. }
  5812. static FORCEINLINE ULONG __FIIterator_1_Windows__CGaming__CInput__CGamepad_Release(__FIIterator_1_Windows__CGaming__CInput__CGamepad* This) {
  5813. return This->lpVtbl->Release(This);
  5814. }
  5815. /*** IInspectable methods ***/
  5816. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CGamepad_GetIids(__FIIterator_1_Windows__CGaming__CInput__CGamepad* This,ULONG *iidCount,IID **iids) {
  5817. return This->lpVtbl->GetIids(This,iidCount,iids);
  5818. }
  5819. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CGamepad_GetRuntimeClassName(__FIIterator_1_Windows__CGaming__CInput__CGamepad* This,HSTRING *className) {
  5820. return This->lpVtbl->GetRuntimeClassName(This,className);
  5821. }
  5822. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CGamepad_GetTrustLevel(__FIIterator_1_Windows__CGaming__CInput__CGamepad* This,TrustLevel *trustLevel) {
  5823. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  5824. }
  5825. /*** IIterator<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  5826. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CGamepad_get_Current(__FIIterator_1_Windows__CGaming__CInput__CGamepad* This,__x_ABI_CWindows_CGaming_CInput_CIGamepad **value) {
  5827. return This->lpVtbl->get_Current(This,value);
  5828. }
  5829. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CGamepad_get_HasCurrent(__FIIterator_1_Windows__CGaming__CInput__CGamepad* This,WINBOOL *value) {
  5830. return This->lpVtbl->get_HasCurrent(This,value);
  5831. }
  5832. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CGamepad_MoveNext(__FIIterator_1_Windows__CGaming__CInput__CGamepad* This,WINBOOL *value) {
  5833. return This->lpVtbl->MoveNext(This,value);
  5834. }
  5835. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CGamepad_GetMany(__FIIterator_1_Windows__CGaming__CInput__CGamepad* This,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIGamepad **items,UINT32 *value) {
  5836. return This->lpVtbl->GetMany(This,items_size,items,value);
  5837. }
  5838. #endif
  5839. #ifdef WIDL_using_Windows_Foundation_Collections
  5840. #define IID_IIterator_Gamepad IID___FIIterator_1_Windows__CGaming__CInput__CGamepad
  5841. #define IIterator_GamepadVtbl __FIIterator_1_Windows__CGaming__CInput__CGamepadVtbl
  5842. #define IIterator_Gamepad __FIIterator_1_Windows__CGaming__CInput__CGamepad
  5843. #define IIterator_Gamepad_QueryInterface __FIIterator_1_Windows__CGaming__CInput__CGamepad_QueryInterface
  5844. #define IIterator_Gamepad_AddRef __FIIterator_1_Windows__CGaming__CInput__CGamepad_AddRef
  5845. #define IIterator_Gamepad_Release __FIIterator_1_Windows__CGaming__CInput__CGamepad_Release
  5846. #define IIterator_Gamepad_GetIids __FIIterator_1_Windows__CGaming__CInput__CGamepad_GetIids
  5847. #define IIterator_Gamepad_GetRuntimeClassName __FIIterator_1_Windows__CGaming__CInput__CGamepad_GetRuntimeClassName
  5848. #define IIterator_Gamepad_GetTrustLevel __FIIterator_1_Windows__CGaming__CInput__CGamepad_GetTrustLevel
  5849. #define IIterator_Gamepad_get_Current __FIIterator_1_Windows__CGaming__CInput__CGamepad_get_Current
  5850. #define IIterator_Gamepad_get_HasCurrent __FIIterator_1_Windows__CGaming__CInput__CGamepad_get_HasCurrent
  5851. #define IIterator_Gamepad_MoveNext __FIIterator_1_Windows__CGaming__CInput__CGamepad_MoveNext
  5852. #define IIterator_Gamepad_GetMany __FIIterator_1_Windows__CGaming__CInput__CGamepad_GetMany
  5853. #endif /* WIDL_using_Windows_Foundation_Collections */
  5854. #endif
  5855. #endif
  5856. #endif /* ____FIIterator_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__ */
  5857. /*****************************************************************************
  5858. * IIterable<ABI::Windows::Gaming::Input::Gamepad* > interface
  5859. */
  5860. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__
  5861. #define ____FIIterable_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__
  5862. DEFINE_GUID(IID___FIIterable_1_Windows__CGaming__CInput__CGamepad, 0x47132ba0, 0x6b17, 0x5cd2, 0xa8,0xbd, 0xb5,0xd3,0x44,0x3c,0xcb,0x13);
  5863. #if defined(__cplusplus) && !defined(CINTERFACE)
  5864. } /* extern "C" */
  5865. namespace ABI {
  5866. namespace Windows {
  5867. namespace Foundation {
  5868. namespace Collections {
  5869. template<>
  5870. MIDL_INTERFACE("47132ba0-6b17-5cd2-a8bd-b5d3443ccb13")
  5871. IIterable<ABI::Windows::Gaming::Input::Gamepad* > : IIterable_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::Gamepad*, ABI::Windows::Gaming::Input::IGamepad* > >
  5872. {
  5873. };
  5874. }
  5875. }
  5876. }
  5877. }
  5878. extern "C" {
  5879. #ifdef __CRT_UUID_DECL
  5880. __CRT_UUID_DECL(__FIIterable_1_Windows__CGaming__CInput__CGamepad, 0x47132ba0, 0x6b17, 0x5cd2, 0xa8,0xbd, 0xb5,0xd3,0x44,0x3c,0xcb,0x13)
  5881. #endif
  5882. #else
  5883. typedef struct __FIIterable_1_Windows__CGaming__CInput__CGamepadVtbl {
  5884. BEGIN_INTERFACE
  5885. /*** IUnknown methods ***/
  5886. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5887. __FIIterable_1_Windows__CGaming__CInput__CGamepad *This,
  5888. REFIID riid,
  5889. void **ppvObject);
  5890. ULONG (STDMETHODCALLTYPE *AddRef)(
  5891. __FIIterable_1_Windows__CGaming__CInput__CGamepad *This);
  5892. ULONG (STDMETHODCALLTYPE *Release)(
  5893. __FIIterable_1_Windows__CGaming__CInput__CGamepad *This);
  5894. /*** IInspectable methods ***/
  5895. HRESULT (STDMETHODCALLTYPE *GetIids)(
  5896. __FIIterable_1_Windows__CGaming__CInput__CGamepad *This,
  5897. ULONG *iidCount,
  5898. IID **iids);
  5899. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  5900. __FIIterable_1_Windows__CGaming__CInput__CGamepad *This,
  5901. HSTRING *className);
  5902. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  5903. __FIIterable_1_Windows__CGaming__CInput__CGamepad *This,
  5904. TrustLevel *trustLevel);
  5905. /*** IIterable<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  5906. HRESULT (STDMETHODCALLTYPE *First)(
  5907. __FIIterable_1_Windows__CGaming__CInput__CGamepad *This,
  5908. __FIIterator_1_Windows__CGaming__CInput__CGamepad **value);
  5909. END_INTERFACE
  5910. } __FIIterable_1_Windows__CGaming__CInput__CGamepadVtbl;
  5911. interface __FIIterable_1_Windows__CGaming__CInput__CGamepad {
  5912. CONST_VTBL __FIIterable_1_Windows__CGaming__CInput__CGamepadVtbl* lpVtbl;
  5913. };
  5914. #ifdef COBJMACROS
  5915. #ifndef WIDL_C_INLINE_WRAPPERS
  5916. /*** IUnknown methods ***/
  5917. #define __FIIterable_1_Windows__CGaming__CInput__CGamepad_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5918. #define __FIIterable_1_Windows__CGaming__CInput__CGamepad_AddRef(This) (This)->lpVtbl->AddRef(This)
  5919. #define __FIIterable_1_Windows__CGaming__CInput__CGamepad_Release(This) (This)->lpVtbl->Release(This)
  5920. /*** IInspectable methods ***/
  5921. #define __FIIterable_1_Windows__CGaming__CInput__CGamepad_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  5922. #define __FIIterable_1_Windows__CGaming__CInput__CGamepad_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  5923. #define __FIIterable_1_Windows__CGaming__CInput__CGamepad_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  5924. /*** IIterable<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  5925. #define __FIIterable_1_Windows__CGaming__CInput__CGamepad_First(This,value) (This)->lpVtbl->First(This,value)
  5926. #else
  5927. /*** IUnknown methods ***/
  5928. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CGamepad_QueryInterface(__FIIterable_1_Windows__CGaming__CInput__CGamepad* This,REFIID riid,void **ppvObject) {
  5929. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5930. }
  5931. static FORCEINLINE ULONG __FIIterable_1_Windows__CGaming__CInput__CGamepad_AddRef(__FIIterable_1_Windows__CGaming__CInput__CGamepad* This) {
  5932. return This->lpVtbl->AddRef(This);
  5933. }
  5934. static FORCEINLINE ULONG __FIIterable_1_Windows__CGaming__CInput__CGamepad_Release(__FIIterable_1_Windows__CGaming__CInput__CGamepad* This) {
  5935. return This->lpVtbl->Release(This);
  5936. }
  5937. /*** IInspectable methods ***/
  5938. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CGamepad_GetIids(__FIIterable_1_Windows__CGaming__CInput__CGamepad* This,ULONG *iidCount,IID **iids) {
  5939. return This->lpVtbl->GetIids(This,iidCount,iids);
  5940. }
  5941. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CGamepad_GetRuntimeClassName(__FIIterable_1_Windows__CGaming__CInput__CGamepad* This,HSTRING *className) {
  5942. return This->lpVtbl->GetRuntimeClassName(This,className);
  5943. }
  5944. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CGamepad_GetTrustLevel(__FIIterable_1_Windows__CGaming__CInput__CGamepad* This,TrustLevel *trustLevel) {
  5945. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  5946. }
  5947. /*** IIterable<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  5948. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CGamepad_First(__FIIterable_1_Windows__CGaming__CInput__CGamepad* This,__FIIterator_1_Windows__CGaming__CInput__CGamepad **value) {
  5949. return This->lpVtbl->First(This,value);
  5950. }
  5951. #endif
  5952. #ifdef WIDL_using_Windows_Foundation_Collections
  5953. #define IID_IIterable_Gamepad IID___FIIterable_1_Windows__CGaming__CInput__CGamepad
  5954. #define IIterable_GamepadVtbl __FIIterable_1_Windows__CGaming__CInput__CGamepadVtbl
  5955. #define IIterable_Gamepad __FIIterable_1_Windows__CGaming__CInput__CGamepad
  5956. #define IIterable_Gamepad_QueryInterface __FIIterable_1_Windows__CGaming__CInput__CGamepad_QueryInterface
  5957. #define IIterable_Gamepad_AddRef __FIIterable_1_Windows__CGaming__CInput__CGamepad_AddRef
  5958. #define IIterable_Gamepad_Release __FIIterable_1_Windows__CGaming__CInput__CGamepad_Release
  5959. #define IIterable_Gamepad_GetIids __FIIterable_1_Windows__CGaming__CInput__CGamepad_GetIids
  5960. #define IIterable_Gamepad_GetRuntimeClassName __FIIterable_1_Windows__CGaming__CInput__CGamepad_GetRuntimeClassName
  5961. #define IIterable_Gamepad_GetTrustLevel __FIIterable_1_Windows__CGaming__CInput__CGamepad_GetTrustLevel
  5962. #define IIterable_Gamepad_First __FIIterable_1_Windows__CGaming__CInput__CGamepad_First
  5963. #endif /* WIDL_using_Windows_Foundation_Collections */
  5964. #endif
  5965. #endif
  5966. #endif /* ____FIIterable_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__ */
  5967. /*****************************************************************************
  5968. * IVectorView<ABI::Windows::Gaming::Input::Gamepad* > interface
  5969. */
  5970. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__
  5971. #define ____FIVectorView_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__
  5972. DEFINE_GUID(IID___FIVectorView_1_Windows__CGaming__CInput__CGamepad, 0xeb97bb69, 0x09c9, 0x5a99, 0x86,0xb2, 0x3e,0x36,0x08,0x52,0x84,0xd4);
  5973. #if defined(__cplusplus) && !defined(CINTERFACE)
  5974. } /* extern "C" */
  5975. namespace ABI {
  5976. namespace Windows {
  5977. namespace Foundation {
  5978. namespace Collections {
  5979. template<>
  5980. MIDL_INTERFACE("eb97bb69-09c9-5a99-86b2-3e36085284d4")
  5981. IVectorView<ABI::Windows::Gaming::Input::Gamepad* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::Gamepad*, ABI::Windows::Gaming::Input::IGamepad* > >
  5982. {
  5983. };
  5984. }
  5985. }
  5986. }
  5987. }
  5988. extern "C" {
  5989. #ifdef __CRT_UUID_DECL
  5990. __CRT_UUID_DECL(__FIVectorView_1_Windows__CGaming__CInput__CGamepad, 0xeb97bb69, 0x09c9, 0x5a99, 0x86,0xb2, 0x3e,0x36,0x08,0x52,0x84,0xd4)
  5991. #endif
  5992. #else
  5993. typedef struct __FIVectorView_1_Windows__CGaming__CInput__CGamepadVtbl {
  5994. BEGIN_INTERFACE
  5995. /*** IUnknown methods ***/
  5996. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5997. __FIVectorView_1_Windows__CGaming__CInput__CGamepad *This,
  5998. REFIID riid,
  5999. void **ppvObject);
  6000. ULONG (STDMETHODCALLTYPE *AddRef)(
  6001. __FIVectorView_1_Windows__CGaming__CInput__CGamepad *This);
  6002. ULONG (STDMETHODCALLTYPE *Release)(
  6003. __FIVectorView_1_Windows__CGaming__CInput__CGamepad *This);
  6004. /*** IInspectable methods ***/
  6005. HRESULT (STDMETHODCALLTYPE *GetIids)(
  6006. __FIVectorView_1_Windows__CGaming__CInput__CGamepad *This,
  6007. ULONG *iidCount,
  6008. IID **iids);
  6009. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  6010. __FIVectorView_1_Windows__CGaming__CInput__CGamepad *This,
  6011. HSTRING *className);
  6012. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  6013. __FIVectorView_1_Windows__CGaming__CInput__CGamepad *This,
  6014. TrustLevel *trustLevel);
  6015. /*** IVectorView<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  6016. HRESULT (STDMETHODCALLTYPE *GetAt)(
  6017. __FIVectorView_1_Windows__CGaming__CInput__CGamepad *This,
  6018. UINT32 index,
  6019. __x_ABI_CWindows_CGaming_CInput_CIGamepad **value);
  6020. HRESULT (STDMETHODCALLTYPE *get_Size)(
  6021. __FIVectorView_1_Windows__CGaming__CInput__CGamepad *This,
  6022. UINT32 *value);
  6023. HRESULT (STDMETHODCALLTYPE *IndexOf)(
  6024. __FIVectorView_1_Windows__CGaming__CInput__CGamepad *This,
  6025. __x_ABI_CWindows_CGaming_CInput_CIGamepad *element,
  6026. UINT32 *index,
  6027. BOOLEAN *value);
  6028. HRESULT (STDMETHODCALLTYPE *GetMany)(
  6029. __FIVectorView_1_Windows__CGaming__CInput__CGamepad *This,
  6030. UINT32 start_index,
  6031. UINT32 items_size,
  6032. __x_ABI_CWindows_CGaming_CInput_CIGamepad **items,
  6033. UINT32 *value);
  6034. END_INTERFACE
  6035. } __FIVectorView_1_Windows__CGaming__CInput__CGamepadVtbl;
  6036. interface __FIVectorView_1_Windows__CGaming__CInput__CGamepad {
  6037. CONST_VTBL __FIVectorView_1_Windows__CGaming__CInput__CGamepadVtbl* lpVtbl;
  6038. };
  6039. #ifdef COBJMACROS
  6040. #ifndef WIDL_C_INLINE_WRAPPERS
  6041. /*** IUnknown methods ***/
  6042. #define __FIVectorView_1_Windows__CGaming__CInput__CGamepad_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  6043. #define __FIVectorView_1_Windows__CGaming__CInput__CGamepad_AddRef(This) (This)->lpVtbl->AddRef(This)
  6044. #define __FIVectorView_1_Windows__CGaming__CInput__CGamepad_Release(This) (This)->lpVtbl->Release(This)
  6045. /*** IInspectable methods ***/
  6046. #define __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  6047. #define __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  6048. #define __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  6049. /*** IVectorView<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  6050. #define __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
  6051. #define __FIVectorView_1_Windows__CGaming__CInput__CGamepad_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
  6052. #define __FIVectorView_1_Windows__CGaming__CInput__CGamepad_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
  6053. #define __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
  6054. #else
  6055. /*** IUnknown methods ***/
  6056. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CGamepad_QueryInterface(__FIVectorView_1_Windows__CGaming__CInput__CGamepad* This,REFIID riid,void **ppvObject) {
  6057. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  6058. }
  6059. static FORCEINLINE ULONG __FIVectorView_1_Windows__CGaming__CInput__CGamepad_AddRef(__FIVectorView_1_Windows__CGaming__CInput__CGamepad* This) {
  6060. return This->lpVtbl->AddRef(This);
  6061. }
  6062. static FORCEINLINE ULONG __FIVectorView_1_Windows__CGaming__CInput__CGamepad_Release(__FIVectorView_1_Windows__CGaming__CInput__CGamepad* This) {
  6063. return This->lpVtbl->Release(This);
  6064. }
  6065. /*** IInspectable methods ***/
  6066. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetIids(__FIVectorView_1_Windows__CGaming__CInput__CGamepad* This,ULONG *iidCount,IID **iids) {
  6067. return This->lpVtbl->GetIids(This,iidCount,iids);
  6068. }
  6069. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetRuntimeClassName(__FIVectorView_1_Windows__CGaming__CInput__CGamepad* This,HSTRING *className) {
  6070. return This->lpVtbl->GetRuntimeClassName(This,className);
  6071. }
  6072. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetTrustLevel(__FIVectorView_1_Windows__CGaming__CInput__CGamepad* This,TrustLevel *trustLevel) {
  6073. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  6074. }
  6075. /*** IVectorView<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  6076. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetAt(__FIVectorView_1_Windows__CGaming__CInput__CGamepad* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIGamepad **value) {
  6077. return This->lpVtbl->GetAt(This,index,value);
  6078. }
  6079. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CGamepad_get_Size(__FIVectorView_1_Windows__CGaming__CInput__CGamepad* This,UINT32 *value) {
  6080. return This->lpVtbl->get_Size(This,value);
  6081. }
  6082. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CGamepad_IndexOf(__FIVectorView_1_Windows__CGaming__CInput__CGamepad* This,__x_ABI_CWindows_CGaming_CInput_CIGamepad *element,UINT32 *index,BOOLEAN *value) {
  6083. return This->lpVtbl->IndexOf(This,element,index,value);
  6084. }
  6085. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetMany(__FIVectorView_1_Windows__CGaming__CInput__CGamepad* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIGamepad **items,UINT32 *value) {
  6086. return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
  6087. }
  6088. #endif
  6089. #ifdef WIDL_using_Windows_Foundation_Collections
  6090. #define IID_IVectorView_Gamepad IID___FIVectorView_1_Windows__CGaming__CInput__CGamepad
  6091. #define IVectorView_GamepadVtbl __FIVectorView_1_Windows__CGaming__CInput__CGamepadVtbl
  6092. #define IVectorView_Gamepad __FIVectorView_1_Windows__CGaming__CInput__CGamepad
  6093. #define IVectorView_Gamepad_QueryInterface __FIVectorView_1_Windows__CGaming__CInput__CGamepad_QueryInterface
  6094. #define IVectorView_Gamepad_AddRef __FIVectorView_1_Windows__CGaming__CInput__CGamepad_AddRef
  6095. #define IVectorView_Gamepad_Release __FIVectorView_1_Windows__CGaming__CInput__CGamepad_Release
  6096. #define IVectorView_Gamepad_GetIids __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetIids
  6097. #define IVectorView_Gamepad_GetRuntimeClassName __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetRuntimeClassName
  6098. #define IVectorView_Gamepad_GetTrustLevel __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetTrustLevel
  6099. #define IVectorView_Gamepad_GetAt __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetAt
  6100. #define IVectorView_Gamepad_get_Size __FIVectorView_1_Windows__CGaming__CInput__CGamepad_get_Size
  6101. #define IVectorView_Gamepad_IndexOf __FIVectorView_1_Windows__CGaming__CInput__CGamepad_IndexOf
  6102. #define IVectorView_Gamepad_GetMany __FIVectorView_1_Windows__CGaming__CInput__CGamepad_GetMany
  6103. #endif /* WIDL_using_Windows_Foundation_Collections */
  6104. #endif
  6105. #endif
  6106. #endif /* ____FIVectorView_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__ */
  6107. /*****************************************************************************
  6108. * IVector<ABI::Windows::Gaming::Input::Gamepad* > interface
  6109. */
  6110. #ifndef ____FIVector_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__
  6111. #define ____FIVector_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__
  6112. DEFINE_GUID(IID___FIVector_1_Windows__CGaming__CInput__CGamepad, 0x152bec39, 0x0a47, 0x5466, 0xb2,0x53, 0x64,0xe2,0xbb,0x68,0xd7,0x44);
  6113. #if defined(__cplusplus) && !defined(CINTERFACE)
  6114. } /* extern "C" */
  6115. namespace ABI {
  6116. namespace Windows {
  6117. namespace Foundation {
  6118. namespace Collections {
  6119. template<>
  6120. MIDL_INTERFACE("152bec39-0a47-5466-b253-64e2bb68d744")
  6121. IVector<ABI::Windows::Gaming::Input::Gamepad* > : IVector_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::Gamepad*, ABI::Windows::Gaming::Input::IGamepad* > >
  6122. {
  6123. };
  6124. }
  6125. }
  6126. }
  6127. }
  6128. extern "C" {
  6129. #ifdef __CRT_UUID_DECL
  6130. __CRT_UUID_DECL(__FIVector_1_Windows__CGaming__CInput__CGamepad, 0x152bec39, 0x0a47, 0x5466, 0xb2,0x53, 0x64,0xe2,0xbb,0x68,0xd7,0x44)
  6131. #endif
  6132. #else
  6133. typedef struct __FIVector_1_Windows__CGaming__CInput__CGamepadVtbl {
  6134. BEGIN_INTERFACE
  6135. /*** IUnknown methods ***/
  6136. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  6137. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6138. REFIID riid,
  6139. void **ppvObject);
  6140. ULONG (STDMETHODCALLTYPE *AddRef)(
  6141. __FIVector_1_Windows__CGaming__CInput__CGamepad *This);
  6142. ULONG (STDMETHODCALLTYPE *Release)(
  6143. __FIVector_1_Windows__CGaming__CInput__CGamepad *This);
  6144. /*** IInspectable methods ***/
  6145. HRESULT (STDMETHODCALLTYPE *GetIids)(
  6146. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6147. ULONG *iidCount,
  6148. IID **iids);
  6149. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  6150. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6151. HSTRING *className);
  6152. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  6153. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6154. TrustLevel *trustLevel);
  6155. /*** IVector<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  6156. HRESULT (STDMETHODCALLTYPE *GetAt)(
  6157. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6158. UINT32 index,
  6159. __x_ABI_CWindows_CGaming_CInput_CIGamepad **value);
  6160. HRESULT (STDMETHODCALLTYPE *get_Size)(
  6161. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6162. UINT32 *value);
  6163. HRESULT (STDMETHODCALLTYPE *GetView)(
  6164. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6165. __FIVectorView_1_Windows__CGaming__CInput__CGamepad **value);
  6166. HRESULT (STDMETHODCALLTYPE *IndexOf)(
  6167. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6168. __x_ABI_CWindows_CGaming_CInput_CIGamepad *element,
  6169. UINT32 *index,
  6170. BOOLEAN *value);
  6171. HRESULT (STDMETHODCALLTYPE *SetAt)(
  6172. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6173. UINT32 index,
  6174. __x_ABI_CWindows_CGaming_CInput_CIGamepad *value);
  6175. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  6176. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6177. UINT32 index,
  6178. __x_ABI_CWindows_CGaming_CInput_CIGamepad *value);
  6179. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  6180. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6181. UINT32 index);
  6182. HRESULT (STDMETHODCALLTYPE *Append)(
  6183. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6184. __x_ABI_CWindows_CGaming_CInput_CIGamepad *value);
  6185. HRESULT (STDMETHODCALLTYPE *RemoveAtEnd)(
  6186. __FIVector_1_Windows__CGaming__CInput__CGamepad *This);
  6187. HRESULT (STDMETHODCALLTYPE *Clear)(
  6188. __FIVector_1_Windows__CGaming__CInput__CGamepad *This);
  6189. HRESULT (STDMETHODCALLTYPE *GetMany)(
  6190. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6191. UINT32 start_index,
  6192. UINT32 items_size,
  6193. __x_ABI_CWindows_CGaming_CInput_CIGamepad **items,
  6194. UINT32 *value);
  6195. HRESULT (STDMETHODCALLTYPE *ReplaceAll)(
  6196. __FIVector_1_Windows__CGaming__CInput__CGamepad *This,
  6197. UINT32 count,
  6198. __x_ABI_CWindows_CGaming_CInput_CIGamepad **items);
  6199. END_INTERFACE
  6200. } __FIVector_1_Windows__CGaming__CInput__CGamepadVtbl;
  6201. interface __FIVector_1_Windows__CGaming__CInput__CGamepad {
  6202. CONST_VTBL __FIVector_1_Windows__CGaming__CInput__CGamepadVtbl* lpVtbl;
  6203. };
  6204. #ifdef COBJMACROS
  6205. #ifndef WIDL_C_INLINE_WRAPPERS
  6206. /*** IUnknown methods ***/
  6207. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  6208. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_AddRef(This) (This)->lpVtbl->AddRef(This)
  6209. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_Release(This) (This)->lpVtbl->Release(This)
  6210. /*** IInspectable methods ***/
  6211. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  6212. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  6213. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  6214. /*** IVector<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  6215. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
  6216. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
  6217. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_GetView(This,value) (This)->lpVtbl->GetView(This,value)
  6218. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
  6219. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_SetAt(This,index,value) (This)->lpVtbl->SetAt(This,index,value)
  6220. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_InsertAt(This,index,value) (This)->lpVtbl->InsertAt(This,index,value)
  6221. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  6222. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_Append(This,value) (This)->lpVtbl->Append(This,value)
  6223. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_RemoveAtEnd(This) (This)->lpVtbl->RemoveAtEnd(This)
  6224. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_Clear(This) (This)->lpVtbl->Clear(This)
  6225. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
  6226. #define __FIVector_1_Windows__CGaming__CInput__CGamepad_ReplaceAll(This,count,items) (This)->lpVtbl->ReplaceAll(This,count,items)
  6227. #else
  6228. /*** IUnknown methods ***/
  6229. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_QueryInterface(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,REFIID riid,void **ppvObject) {
  6230. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  6231. }
  6232. static FORCEINLINE ULONG __FIVector_1_Windows__CGaming__CInput__CGamepad_AddRef(__FIVector_1_Windows__CGaming__CInput__CGamepad* This) {
  6233. return This->lpVtbl->AddRef(This);
  6234. }
  6235. static FORCEINLINE ULONG __FIVector_1_Windows__CGaming__CInput__CGamepad_Release(__FIVector_1_Windows__CGaming__CInput__CGamepad* This) {
  6236. return This->lpVtbl->Release(This);
  6237. }
  6238. /*** IInspectable methods ***/
  6239. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_GetIids(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,ULONG *iidCount,IID **iids) {
  6240. return This->lpVtbl->GetIids(This,iidCount,iids);
  6241. }
  6242. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_GetRuntimeClassName(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,HSTRING *className) {
  6243. return This->lpVtbl->GetRuntimeClassName(This,className);
  6244. }
  6245. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_GetTrustLevel(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,TrustLevel *trustLevel) {
  6246. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  6247. }
  6248. /*** IVector<ABI::Windows::Gaming::Input::Gamepad* > methods ***/
  6249. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_GetAt(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIGamepad **value) {
  6250. return This->lpVtbl->GetAt(This,index,value);
  6251. }
  6252. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_get_Size(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,UINT32 *value) {
  6253. return This->lpVtbl->get_Size(This,value);
  6254. }
  6255. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_GetView(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,__FIVectorView_1_Windows__CGaming__CInput__CGamepad **value) {
  6256. return This->lpVtbl->GetView(This,value);
  6257. }
  6258. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_IndexOf(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,__x_ABI_CWindows_CGaming_CInput_CIGamepad *element,UINT32 *index,BOOLEAN *value) {
  6259. return This->lpVtbl->IndexOf(This,element,index,value);
  6260. }
  6261. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_SetAt(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIGamepad *value) {
  6262. return This->lpVtbl->SetAt(This,index,value);
  6263. }
  6264. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_InsertAt(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIGamepad *value) {
  6265. return This->lpVtbl->InsertAt(This,index,value);
  6266. }
  6267. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_RemoveAt(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,UINT32 index) {
  6268. return This->lpVtbl->RemoveAt(This,index);
  6269. }
  6270. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_Append(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,__x_ABI_CWindows_CGaming_CInput_CIGamepad *value) {
  6271. return This->lpVtbl->Append(This,value);
  6272. }
  6273. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_RemoveAtEnd(__FIVector_1_Windows__CGaming__CInput__CGamepad* This) {
  6274. return This->lpVtbl->RemoveAtEnd(This);
  6275. }
  6276. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_Clear(__FIVector_1_Windows__CGaming__CInput__CGamepad* This) {
  6277. return This->lpVtbl->Clear(This);
  6278. }
  6279. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_GetMany(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIGamepad **items,UINT32 *value) {
  6280. return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
  6281. }
  6282. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CGamepad_ReplaceAll(__FIVector_1_Windows__CGaming__CInput__CGamepad* This,UINT32 count,__x_ABI_CWindows_CGaming_CInput_CIGamepad **items) {
  6283. return This->lpVtbl->ReplaceAll(This,count,items);
  6284. }
  6285. #endif
  6286. #ifdef WIDL_using_Windows_Foundation_Collections
  6287. #define IID_IVector_Gamepad IID___FIVector_1_Windows__CGaming__CInput__CGamepad
  6288. #define IVector_GamepadVtbl __FIVector_1_Windows__CGaming__CInput__CGamepadVtbl
  6289. #define IVector_Gamepad __FIVector_1_Windows__CGaming__CInput__CGamepad
  6290. #define IVector_Gamepad_QueryInterface __FIVector_1_Windows__CGaming__CInput__CGamepad_QueryInterface
  6291. #define IVector_Gamepad_AddRef __FIVector_1_Windows__CGaming__CInput__CGamepad_AddRef
  6292. #define IVector_Gamepad_Release __FIVector_1_Windows__CGaming__CInput__CGamepad_Release
  6293. #define IVector_Gamepad_GetIids __FIVector_1_Windows__CGaming__CInput__CGamepad_GetIids
  6294. #define IVector_Gamepad_GetRuntimeClassName __FIVector_1_Windows__CGaming__CInput__CGamepad_GetRuntimeClassName
  6295. #define IVector_Gamepad_GetTrustLevel __FIVector_1_Windows__CGaming__CInput__CGamepad_GetTrustLevel
  6296. #define IVector_Gamepad_GetAt __FIVector_1_Windows__CGaming__CInput__CGamepad_GetAt
  6297. #define IVector_Gamepad_get_Size __FIVector_1_Windows__CGaming__CInput__CGamepad_get_Size
  6298. #define IVector_Gamepad_GetView __FIVector_1_Windows__CGaming__CInput__CGamepad_GetView
  6299. #define IVector_Gamepad_IndexOf __FIVector_1_Windows__CGaming__CInput__CGamepad_IndexOf
  6300. #define IVector_Gamepad_SetAt __FIVector_1_Windows__CGaming__CInput__CGamepad_SetAt
  6301. #define IVector_Gamepad_InsertAt __FIVector_1_Windows__CGaming__CInput__CGamepad_InsertAt
  6302. #define IVector_Gamepad_RemoveAt __FIVector_1_Windows__CGaming__CInput__CGamepad_RemoveAt
  6303. #define IVector_Gamepad_Append __FIVector_1_Windows__CGaming__CInput__CGamepad_Append
  6304. #define IVector_Gamepad_RemoveAtEnd __FIVector_1_Windows__CGaming__CInput__CGamepad_RemoveAtEnd
  6305. #define IVector_Gamepad_Clear __FIVector_1_Windows__CGaming__CInput__CGamepad_Clear
  6306. #define IVector_Gamepad_GetMany __FIVector_1_Windows__CGaming__CInput__CGamepad_GetMany
  6307. #define IVector_Gamepad_ReplaceAll __FIVector_1_Windows__CGaming__CInput__CGamepad_ReplaceAll
  6308. #endif /* WIDL_using_Windows_Foundation_Collections */
  6309. #endif
  6310. #endif
  6311. #endif /* ____FIVector_1_Windows__CGaming__CInput__CGamepad_INTERFACE_DEFINED__ */
  6312. /*****************************************************************************
  6313. * IIterator<ABI::Windows::Gaming::Input::RacingWheel* > interface
  6314. */
  6315. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__
  6316. #define ____FIIterator_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__
  6317. DEFINE_GUID(IID___FIIterator_1_Windows__CGaming__CInput__CRacingWheel, 0x23d735b8, 0x4d36, 0x5377, 0xa2,0x45, 0x69,0xdf,0x97,0xc9,0xfc,0xd9);
  6318. #if defined(__cplusplus) && !defined(CINTERFACE)
  6319. } /* extern "C" */
  6320. namespace ABI {
  6321. namespace Windows {
  6322. namespace Foundation {
  6323. namespace Collections {
  6324. template<>
  6325. MIDL_INTERFACE("23d735b8-4d36-5377-a245-69df97c9fcd9")
  6326. IIterator<ABI::Windows::Gaming::Input::RacingWheel* > : IIterator_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::RacingWheel*, ABI::Windows::Gaming::Input::IRacingWheel* > >
  6327. {
  6328. };
  6329. }
  6330. }
  6331. }
  6332. }
  6333. extern "C" {
  6334. #ifdef __CRT_UUID_DECL
  6335. __CRT_UUID_DECL(__FIIterator_1_Windows__CGaming__CInput__CRacingWheel, 0x23d735b8, 0x4d36, 0x5377, 0xa2,0x45, 0x69,0xdf,0x97,0xc9,0xfc,0xd9)
  6336. #endif
  6337. #else
  6338. typedef struct __FIIterator_1_Windows__CGaming__CInput__CRacingWheelVtbl {
  6339. BEGIN_INTERFACE
  6340. /*** IUnknown methods ***/
  6341. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  6342. __FIIterator_1_Windows__CGaming__CInput__CRacingWheel *This,
  6343. REFIID riid,
  6344. void **ppvObject);
  6345. ULONG (STDMETHODCALLTYPE *AddRef)(
  6346. __FIIterator_1_Windows__CGaming__CInput__CRacingWheel *This);
  6347. ULONG (STDMETHODCALLTYPE *Release)(
  6348. __FIIterator_1_Windows__CGaming__CInput__CRacingWheel *This);
  6349. /*** IInspectable methods ***/
  6350. HRESULT (STDMETHODCALLTYPE *GetIids)(
  6351. __FIIterator_1_Windows__CGaming__CInput__CRacingWheel *This,
  6352. ULONG *iidCount,
  6353. IID **iids);
  6354. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  6355. __FIIterator_1_Windows__CGaming__CInput__CRacingWheel *This,
  6356. HSTRING *className);
  6357. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  6358. __FIIterator_1_Windows__CGaming__CInput__CRacingWheel *This,
  6359. TrustLevel *trustLevel);
  6360. /*** IIterator<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  6361. HRESULT (STDMETHODCALLTYPE *get_Current)(
  6362. __FIIterator_1_Windows__CGaming__CInput__CRacingWheel *This,
  6363. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel **value);
  6364. HRESULT (STDMETHODCALLTYPE *get_HasCurrent)(
  6365. __FIIterator_1_Windows__CGaming__CInput__CRacingWheel *This,
  6366. WINBOOL *value);
  6367. HRESULT (STDMETHODCALLTYPE *MoveNext)(
  6368. __FIIterator_1_Windows__CGaming__CInput__CRacingWheel *This,
  6369. WINBOOL *value);
  6370. HRESULT (STDMETHODCALLTYPE *GetMany)(
  6371. __FIIterator_1_Windows__CGaming__CInput__CRacingWheel *This,
  6372. UINT32 items_size,
  6373. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel **items,
  6374. UINT32 *value);
  6375. END_INTERFACE
  6376. } __FIIterator_1_Windows__CGaming__CInput__CRacingWheelVtbl;
  6377. interface __FIIterator_1_Windows__CGaming__CInput__CRacingWheel {
  6378. CONST_VTBL __FIIterator_1_Windows__CGaming__CInput__CRacingWheelVtbl* lpVtbl;
  6379. };
  6380. #ifdef COBJMACROS
  6381. #ifndef WIDL_C_INLINE_WRAPPERS
  6382. /*** IUnknown methods ***/
  6383. #define __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  6384. #define __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_AddRef(This) (This)->lpVtbl->AddRef(This)
  6385. #define __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_Release(This) (This)->lpVtbl->Release(This)
  6386. /*** IInspectable methods ***/
  6387. #define __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  6388. #define __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  6389. #define __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  6390. /*** IIterator<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  6391. #define __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_get_Current(This,value) (This)->lpVtbl->get_Current(This,value)
  6392. #define __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_get_HasCurrent(This,value) (This)->lpVtbl->get_HasCurrent(This,value)
  6393. #define __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_MoveNext(This,value) (This)->lpVtbl->MoveNext(This,value)
  6394. #define __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_GetMany(This,items_size,items,value) (This)->lpVtbl->GetMany(This,items_size,items,value)
  6395. #else
  6396. /*** IUnknown methods ***/
  6397. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface(__FIIterator_1_Windows__CGaming__CInput__CRacingWheel* This,REFIID riid,void **ppvObject) {
  6398. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  6399. }
  6400. static FORCEINLINE ULONG __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_AddRef(__FIIterator_1_Windows__CGaming__CInput__CRacingWheel* This) {
  6401. return This->lpVtbl->AddRef(This);
  6402. }
  6403. static FORCEINLINE ULONG __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_Release(__FIIterator_1_Windows__CGaming__CInput__CRacingWheel* This) {
  6404. return This->lpVtbl->Release(This);
  6405. }
  6406. /*** IInspectable methods ***/
  6407. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_GetIids(__FIIterator_1_Windows__CGaming__CInput__CRacingWheel* This,ULONG *iidCount,IID **iids) {
  6408. return This->lpVtbl->GetIids(This,iidCount,iids);
  6409. }
  6410. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_GetRuntimeClassName(__FIIterator_1_Windows__CGaming__CInput__CRacingWheel* This,HSTRING *className) {
  6411. return This->lpVtbl->GetRuntimeClassName(This,className);
  6412. }
  6413. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_GetTrustLevel(__FIIterator_1_Windows__CGaming__CInput__CRacingWheel* This,TrustLevel *trustLevel) {
  6414. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  6415. }
  6416. /*** IIterator<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  6417. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_get_Current(__FIIterator_1_Windows__CGaming__CInput__CRacingWheel* This,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel **value) {
  6418. return This->lpVtbl->get_Current(This,value);
  6419. }
  6420. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_get_HasCurrent(__FIIterator_1_Windows__CGaming__CInput__CRacingWheel* This,WINBOOL *value) {
  6421. return This->lpVtbl->get_HasCurrent(This,value);
  6422. }
  6423. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_MoveNext(__FIIterator_1_Windows__CGaming__CInput__CRacingWheel* This,WINBOOL *value) {
  6424. return This->lpVtbl->MoveNext(This,value);
  6425. }
  6426. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_GetMany(__FIIterator_1_Windows__CGaming__CInput__CRacingWheel* This,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel **items,UINT32 *value) {
  6427. return This->lpVtbl->GetMany(This,items_size,items,value);
  6428. }
  6429. #endif
  6430. #ifdef WIDL_using_Windows_Foundation_Collections
  6431. #define IID_IIterator_RacingWheel IID___FIIterator_1_Windows__CGaming__CInput__CRacingWheel
  6432. #define IIterator_RacingWheelVtbl __FIIterator_1_Windows__CGaming__CInput__CRacingWheelVtbl
  6433. #define IIterator_RacingWheel __FIIterator_1_Windows__CGaming__CInput__CRacingWheel
  6434. #define IIterator_RacingWheel_QueryInterface __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface
  6435. #define IIterator_RacingWheel_AddRef __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_AddRef
  6436. #define IIterator_RacingWheel_Release __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_Release
  6437. #define IIterator_RacingWheel_GetIids __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_GetIids
  6438. #define IIterator_RacingWheel_GetRuntimeClassName __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_GetRuntimeClassName
  6439. #define IIterator_RacingWheel_GetTrustLevel __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_GetTrustLevel
  6440. #define IIterator_RacingWheel_get_Current __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_get_Current
  6441. #define IIterator_RacingWheel_get_HasCurrent __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_get_HasCurrent
  6442. #define IIterator_RacingWheel_MoveNext __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_MoveNext
  6443. #define IIterator_RacingWheel_GetMany __FIIterator_1_Windows__CGaming__CInput__CRacingWheel_GetMany
  6444. #endif /* WIDL_using_Windows_Foundation_Collections */
  6445. #endif
  6446. #endif
  6447. #endif /* ____FIIterator_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__ */
  6448. /*****************************************************************************
  6449. * IIterable<ABI::Windows::Gaming::Input::RacingWheel* > interface
  6450. */
  6451. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__
  6452. #define ____FIIterable_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__
  6453. DEFINE_GUID(IID___FIIterable_1_Windows__CGaming__CInput__CRacingWheel, 0x9a7c3830, 0x9a87, 0x5287, 0xa1,0xe2, 0x8a,0x2a,0xf2,0x9c,0xf6,0x8c);
  6454. #if defined(__cplusplus) && !defined(CINTERFACE)
  6455. } /* extern "C" */
  6456. namespace ABI {
  6457. namespace Windows {
  6458. namespace Foundation {
  6459. namespace Collections {
  6460. template<>
  6461. MIDL_INTERFACE("9a7c3830-9a87-5287-a1e2-8a2af29cf68c")
  6462. IIterable<ABI::Windows::Gaming::Input::RacingWheel* > : IIterable_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::RacingWheel*, ABI::Windows::Gaming::Input::IRacingWheel* > >
  6463. {
  6464. };
  6465. }
  6466. }
  6467. }
  6468. }
  6469. extern "C" {
  6470. #ifdef __CRT_UUID_DECL
  6471. __CRT_UUID_DECL(__FIIterable_1_Windows__CGaming__CInput__CRacingWheel, 0x9a7c3830, 0x9a87, 0x5287, 0xa1,0xe2, 0x8a,0x2a,0xf2,0x9c,0xf6,0x8c)
  6472. #endif
  6473. #else
  6474. typedef struct __FIIterable_1_Windows__CGaming__CInput__CRacingWheelVtbl {
  6475. BEGIN_INTERFACE
  6476. /*** IUnknown methods ***/
  6477. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  6478. __FIIterable_1_Windows__CGaming__CInput__CRacingWheel *This,
  6479. REFIID riid,
  6480. void **ppvObject);
  6481. ULONG (STDMETHODCALLTYPE *AddRef)(
  6482. __FIIterable_1_Windows__CGaming__CInput__CRacingWheel *This);
  6483. ULONG (STDMETHODCALLTYPE *Release)(
  6484. __FIIterable_1_Windows__CGaming__CInput__CRacingWheel *This);
  6485. /*** IInspectable methods ***/
  6486. HRESULT (STDMETHODCALLTYPE *GetIids)(
  6487. __FIIterable_1_Windows__CGaming__CInput__CRacingWheel *This,
  6488. ULONG *iidCount,
  6489. IID **iids);
  6490. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  6491. __FIIterable_1_Windows__CGaming__CInput__CRacingWheel *This,
  6492. HSTRING *className);
  6493. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  6494. __FIIterable_1_Windows__CGaming__CInput__CRacingWheel *This,
  6495. TrustLevel *trustLevel);
  6496. /*** IIterable<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  6497. HRESULT (STDMETHODCALLTYPE *First)(
  6498. __FIIterable_1_Windows__CGaming__CInput__CRacingWheel *This,
  6499. __FIIterator_1_Windows__CGaming__CInput__CRacingWheel **value);
  6500. END_INTERFACE
  6501. } __FIIterable_1_Windows__CGaming__CInput__CRacingWheelVtbl;
  6502. interface __FIIterable_1_Windows__CGaming__CInput__CRacingWheel {
  6503. CONST_VTBL __FIIterable_1_Windows__CGaming__CInput__CRacingWheelVtbl* lpVtbl;
  6504. };
  6505. #ifdef COBJMACROS
  6506. #ifndef WIDL_C_INLINE_WRAPPERS
  6507. /*** IUnknown methods ***/
  6508. #define __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  6509. #define __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_AddRef(This) (This)->lpVtbl->AddRef(This)
  6510. #define __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_Release(This) (This)->lpVtbl->Release(This)
  6511. /*** IInspectable methods ***/
  6512. #define __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  6513. #define __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  6514. #define __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  6515. /*** IIterable<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  6516. #define __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_First(This,value) (This)->lpVtbl->First(This,value)
  6517. #else
  6518. /*** IUnknown methods ***/
  6519. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface(__FIIterable_1_Windows__CGaming__CInput__CRacingWheel* This,REFIID riid,void **ppvObject) {
  6520. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  6521. }
  6522. static FORCEINLINE ULONG __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_AddRef(__FIIterable_1_Windows__CGaming__CInput__CRacingWheel* This) {
  6523. return This->lpVtbl->AddRef(This);
  6524. }
  6525. static FORCEINLINE ULONG __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_Release(__FIIterable_1_Windows__CGaming__CInput__CRacingWheel* This) {
  6526. return This->lpVtbl->Release(This);
  6527. }
  6528. /*** IInspectable methods ***/
  6529. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_GetIids(__FIIterable_1_Windows__CGaming__CInput__CRacingWheel* This,ULONG *iidCount,IID **iids) {
  6530. return This->lpVtbl->GetIids(This,iidCount,iids);
  6531. }
  6532. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_GetRuntimeClassName(__FIIterable_1_Windows__CGaming__CInput__CRacingWheel* This,HSTRING *className) {
  6533. return This->lpVtbl->GetRuntimeClassName(This,className);
  6534. }
  6535. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_GetTrustLevel(__FIIterable_1_Windows__CGaming__CInput__CRacingWheel* This,TrustLevel *trustLevel) {
  6536. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  6537. }
  6538. /*** IIterable<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  6539. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_First(__FIIterable_1_Windows__CGaming__CInput__CRacingWheel* This,__FIIterator_1_Windows__CGaming__CInput__CRacingWheel **value) {
  6540. return This->lpVtbl->First(This,value);
  6541. }
  6542. #endif
  6543. #ifdef WIDL_using_Windows_Foundation_Collections
  6544. #define IID_IIterable_RacingWheel IID___FIIterable_1_Windows__CGaming__CInput__CRacingWheel
  6545. #define IIterable_RacingWheelVtbl __FIIterable_1_Windows__CGaming__CInput__CRacingWheelVtbl
  6546. #define IIterable_RacingWheel __FIIterable_1_Windows__CGaming__CInput__CRacingWheel
  6547. #define IIterable_RacingWheel_QueryInterface __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface
  6548. #define IIterable_RacingWheel_AddRef __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_AddRef
  6549. #define IIterable_RacingWheel_Release __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_Release
  6550. #define IIterable_RacingWheel_GetIids __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_GetIids
  6551. #define IIterable_RacingWheel_GetRuntimeClassName __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_GetRuntimeClassName
  6552. #define IIterable_RacingWheel_GetTrustLevel __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_GetTrustLevel
  6553. #define IIterable_RacingWheel_First __FIIterable_1_Windows__CGaming__CInput__CRacingWheel_First
  6554. #endif /* WIDL_using_Windows_Foundation_Collections */
  6555. #endif
  6556. #endif
  6557. #endif /* ____FIIterable_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__ */
  6558. /*****************************************************************************
  6559. * IVectorView<ABI::Windows::Gaming::Input::RacingWheel* > interface
  6560. */
  6561. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__
  6562. #define ____FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__
  6563. DEFINE_GUID(IID___FIVectorView_1_Windows__CGaming__CInput__CRacingWheel, 0x153993b2, 0x6052, 0x5959, 0x91,0xec, 0x90,0x0c,0x53,0xfe,0xf1,0x20);
  6564. #if defined(__cplusplus) && !defined(CINTERFACE)
  6565. } /* extern "C" */
  6566. namespace ABI {
  6567. namespace Windows {
  6568. namespace Foundation {
  6569. namespace Collections {
  6570. template<>
  6571. MIDL_INTERFACE("153993b2-6052-5959-91ec-900c53fef120")
  6572. IVectorView<ABI::Windows::Gaming::Input::RacingWheel* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::RacingWheel*, ABI::Windows::Gaming::Input::IRacingWheel* > >
  6573. {
  6574. };
  6575. }
  6576. }
  6577. }
  6578. }
  6579. extern "C" {
  6580. #ifdef __CRT_UUID_DECL
  6581. __CRT_UUID_DECL(__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel, 0x153993b2, 0x6052, 0x5959, 0x91,0xec, 0x90,0x0c,0x53,0xfe,0xf1,0x20)
  6582. #endif
  6583. #else
  6584. typedef struct __FIVectorView_1_Windows__CGaming__CInput__CRacingWheelVtbl {
  6585. BEGIN_INTERFACE
  6586. /*** IUnknown methods ***/
  6587. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  6588. __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel *This,
  6589. REFIID riid,
  6590. void **ppvObject);
  6591. ULONG (STDMETHODCALLTYPE *AddRef)(
  6592. __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel *This);
  6593. ULONG (STDMETHODCALLTYPE *Release)(
  6594. __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel *This);
  6595. /*** IInspectable methods ***/
  6596. HRESULT (STDMETHODCALLTYPE *GetIids)(
  6597. __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel *This,
  6598. ULONG *iidCount,
  6599. IID **iids);
  6600. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  6601. __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel *This,
  6602. HSTRING *className);
  6603. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  6604. __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel *This,
  6605. TrustLevel *trustLevel);
  6606. /*** IVectorView<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  6607. HRESULT (STDMETHODCALLTYPE *GetAt)(
  6608. __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel *This,
  6609. UINT32 index,
  6610. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel **value);
  6611. HRESULT (STDMETHODCALLTYPE *get_Size)(
  6612. __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel *This,
  6613. UINT32 *value);
  6614. HRESULT (STDMETHODCALLTYPE *IndexOf)(
  6615. __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel *This,
  6616. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *element,
  6617. UINT32 *index,
  6618. BOOLEAN *value);
  6619. HRESULT (STDMETHODCALLTYPE *GetMany)(
  6620. __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel *This,
  6621. UINT32 start_index,
  6622. UINT32 items_size,
  6623. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel **items,
  6624. UINT32 *value);
  6625. END_INTERFACE
  6626. } __FIVectorView_1_Windows__CGaming__CInput__CRacingWheelVtbl;
  6627. interface __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel {
  6628. CONST_VTBL __FIVectorView_1_Windows__CGaming__CInput__CRacingWheelVtbl* lpVtbl;
  6629. };
  6630. #ifdef COBJMACROS
  6631. #ifndef WIDL_C_INLINE_WRAPPERS
  6632. /*** IUnknown methods ***/
  6633. #define __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  6634. #define __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_AddRef(This) (This)->lpVtbl->AddRef(This)
  6635. #define __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_Release(This) (This)->lpVtbl->Release(This)
  6636. /*** IInspectable methods ***/
  6637. #define __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  6638. #define __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  6639. #define __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  6640. /*** IVectorView<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  6641. #define __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
  6642. #define __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
  6643. #define __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
  6644. #define __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
  6645. #else
  6646. /*** IUnknown methods ***/
  6647. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface(__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel* This,REFIID riid,void **ppvObject) {
  6648. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  6649. }
  6650. static FORCEINLINE ULONG __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_AddRef(__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel* This) {
  6651. return This->lpVtbl->AddRef(This);
  6652. }
  6653. static FORCEINLINE ULONG __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_Release(__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel* This) {
  6654. return This->lpVtbl->Release(This);
  6655. }
  6656. /*** IInspectable methods ***/
  6657. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetIids(__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel* This,ULONG *iidCount,IID **iids) {
  6658. return This->lpVtbl->GetIids(This,iidCount,iids);
  6659. }
  6660. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetRuntimeClassName(__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel* This,HSTRING *className) {
  6661. return This->lpVtbl->GetRuntimeClassName(This,className);
  6662. }
  6663. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetTrustLevel(__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel* This,TrustLevel *trustLevel) {
  6664. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  6665. }
  6666. /*** IVectorView<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  6667. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetAt(__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel **value) {
  6668. return This->lpVtbl->GetAt(This,index,value);
  6669. }
  6670. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_get_Size(__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel* This,UINT32 *value) {
  6671. return This->lpVtbl->get_Size(This,value);
  6672. }
  6673. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_IndexOf(__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel* This,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel *element,UINT32 *index,BOOLEAN *value) {
  6674. return This->lpVtbl->IndexOf(This,element,index,value);
  6675. }
  6676. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetMany(__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel **items,UINT32 *value) {
  6677. return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
  6678. }
  6679. #endif
  6680. #ifdef WIDL_using_Windows_Foundation_Collections
  6681. #define IID_IVectorView_RacingWheel IID___FIVectorView_1_Windows__CGaming__CInput__CRacingWheel
  6682. #define IVectorView_RacingWheelVtbl __FIVectorView_1_Windows__CGaming__CInput__CRacingWheelVtbl
  6683. #define IVectorView_RacingWheel __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel
  6684. #define IVectorView_RacingWheel_QueryInterface __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface
  6685. #define IVectorView_RacingWheel_AddRef __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_AddRef
  6686. #define IVectorView_RacingWheel_Release __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_Release
  6687. #define IVectorView_RacingWheel_GetIids __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetIids
  6688. #define IVectorView_RacingWheel_GetRuntimeClassName __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetRuntimeClassName
  6689. #define IVectorView_RacingWheel_GetTrustLevel __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetTrustLevel
  6690. #define IVectorView_RacingWheel_GetAt __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetAt
  6691. #define IVectorView_RacingWheel_get_Size __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_get_Size
  6692. #define IVectorView_RacingWheel_IndexOf __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_IndexOf
  6693. #define IVectorView_RacingWheel_GetMany __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_GetMany
  6694. #endif /* WIDL_using_Windows_Foundation_Collections */
  6695. #endif
  6696. #endif
  6697. #endif /* ____FIVectorView_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__ */
  6698. /*****************************************************************************
  6699. * IVector<ABI::Windows::Gaming::Input::RacingWheel* > interface
  6700. */
  6701. #ifndef ____FIVector_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__
  6702. #define ____FIVector_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__
  6703. DEFINE_GUID(IID___FIVector_1_Windows__CGaming__CInput__CRacingWheel, 0xe21d3be8, 0xb215, 0x5c0f, 0xaf,0x72, 0x33,0x9f,0x41,0xaf,0x73,0x4d);
  6704. #if defined(__cplusplus) && !defined(CINTERFACE)
  6705. } /* extern "C" */
  6706. namespace ABI {
  6707. namespace Windows {
  6708. namespace Foundation {
  6709. namespace Collections {
  6710. template<>
  6711. MIDL_INTERFACE("e21d3be8-b215-5c0f-af72-339f41af734d")
  6712. IVector<ABI::Windows::Gaming::Input::RacingWheel* > : IVector_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::RacingWheel*, ABI::Windows::Gaming::Input::IRacingWheel* > >
  6713. {
  6714. };
  6715. }
  6716. }
  6717. }
  6718. }
  6719. extern "C" {
  6720. #ifdef __CRT_UUID_DECL
  6721. __CRT_UUID_DECL(__FIVector_1_Windows__CGaming__CInput__CRacingWheel, 0xe21d3be8, 0xb215, 0x5c0f, 0xaf,0x72, 0x33,0x9f,0x41,0xaf,0x73,0x4d)
  6722. #endif
  6723. #else
  6724. typedef struct __FIVector_1_Windows__CGaming__CInput__CRacingWheelVtbl {
  6725. BEGIN_INTERFACE
  6726. /*** IUnknown methods ***/
  6727. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  6728. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6729. REFIID riid,
  6730. void **ppvObject);
  6731. ULONG (STDMETHODCALLTYPE *AddRef)(
  6732. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This);
  6733. ULONG (STDMETHODCALLTYPE *Release)(
  6734. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This);
  6735. /*** IInspectable methods ***/
  6736. HRESULT (STDMETHODCALLTYPE *GetIids)(
  6737. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6738. ULONG *iidCount,
  6739. IID **iids);
  6740. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  6741. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6742. HSTRING *className);
  6743. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  6744. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6745. TrustLevel *trustLevel);
  6746. /*** IVector<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  6747. HRESULT (STDMETHODCALLTYPE *GetAt)(
  6748. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6749. UINT32 index,
  6750. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel **value);
  6751. HRESULT (STDMETHODCALLTYPE *get_Size)(
  6752. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6753. UINT32 *value);
  6754. HRESULT (STDMETHODCALLTYPE *GetView)(
  6755. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6756. __FIVectorView_1_Windows__CGaming__CInput__CRacingWheel **value);
  6757. HRESULT (STDMETHODCALLTYPE *IndexOf)(
  6758. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6759. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *element,
  6760. UINT32 *index,
  6761. BOOLEAN *value);
  6762. HRESULT (STDMETHODCALLTYPE *SetAt)(
  6763. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6764. UINT32 index,
  6765. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *value);
  6766. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  6767. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6768. UINT32 index,
  6769. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *value);
  6770. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  6771. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6772. UINT32 index);
  6773. HRESULT (STDMETHODCALLTYPE *Append)(
  6774. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6775. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel *value);
  6776. HRESULT (STDMETHODCALLTYPE *RemoveAtEnd)(
  6777. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This);
  6778. HRESULT (STDMETHODCALLTYPE *Clear)(
  6779. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This);
  6780. HRESULT (STDMETHODCALLTYPE *GetMany)(
  6781. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6782. UINT32 start_index,
  6783. UINT32 items_size,
  6784. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel **items,
  6785. UINT32 *value);
  6786. HRESULT (STDMETHODCALLTYPE *ReplaceAll)(
  6787. __FIVector_1_Windows__CGaming__CInput__CRacingWheel *This,
  6788. UINT32 count,
  6789. __x_ABI_CWindows_CGaming_CInput_CIRacingWheel **items);
  6790. END_INTERFACE
  6791. } __FIVector_1_Windows__CGaming__CInput__CRacingWheelVtbl;
  6792. interface __FIVector_1_Windows__CGaming__CInput__CRacingWheel {
  6793. CONST_VTBL __FIVector_1_Windows__CGaming__CInput__CRacingWheelVtbl* lpVtbl;
  6794. };
  6795. #ifdef COBJMACROS
  6796. #ifndef WIDL_C_INLINE_WRAPPERS
  6797. /*** IUnknown methods ***/
  6798. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  6799. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_AddRef(This) (This)->lpVtbl->AddRef(This)
  6800. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_Release(This) (This)->lpVtbl->Release(This)
  6801. /*** IInspectable methods ***/
  6802. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  6803. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  6804. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  6805. /*** IVector<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  6806. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
  6807. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
  6808. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetView(This,value) (This)->lpVtbl->GetView(This,value)
  6809. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
  6810. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_SetAt(This,index,value) (This)->lpVtbl->SetAt(This,index,value)
  6811. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_InsertAt(This,index,value) (This)->lpVtbl->InsertAt(This,index,value)
  6812. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  6813. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_Append(This,value) (This)->lpVtbl->Append(This,value)
  6814. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_RemoveAtEnd(This) (This)->lpVtbl->RemoveAtEnd(This)
  6815. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_Clear(This) (This)->lpVtbl->Clear(This)
  6816. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
  6817. #define __FIVector_1_Windows__CGaming__CInput__CRacingWheel_ReplaceAll(This,count,items) (This)->lpVtbl->ReplaceAll(This,count,items)
  6818. #else
  6819. /*** IUnknown methods ***/
  6820. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,REFIID riid,void **ppvObject) {
  6821. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  6822. }
  6823. static FORCEINLINE ULONG __FIVector_1_Windows__CGaming__CInput__CRacingWheel_AddRef(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This) {
  6824. return This->lpVtbl->AddRef(This);
  6825. }
  6826. static FORCEINLINE ULONG __FIVector_1_Windows__CGaming__CInput__CRacingWheel_Release(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This) {
  6827. return This->lpVtbl->Release(This);
  6828. }
  6829. /*** IInspectable methods ***/
  6830. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetIids(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,ULONG *iidCount,IID **iids) {
  6831. return This->lpVtbl->GetIids(This,iidCount,iids);
  6832. }
  6833. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetRuntimeClassName(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,HSTRING *className) {
  6834. return This->lpVtbl->GetRuntimeClassName(This,className);
  6835. }
  6836. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetTrustLevel(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,TrustLevel *trustLevel) {
  6837. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  6838. }
  6839. /*** IVector<ABI::Windows::Gaming::Input::RacingWheel* > methods ***/
  6840. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetAt(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel **value) {
  6841. return This->lpVtbl->GetAt(This,index,value);
  6842. }
  6843. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_get_Size(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,UINT32 *value) {
  6844. return This->lpVtbl->get_Size(This,value);
  6845. }
  6846. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetView(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,__FIVectorView_1_Windows__CGaming__CInput__CRacingWheel **value) {
  6847. return This->lpVtbl->GetView(This,value);
  6848. }
  6849. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_IndexOf(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel *element,UINT32 *index,BOOLEAN *value) {
  6850. return This->lpVtbl->IndexOf(This,element,index,value);
  6851. }
  6852. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_SetAt(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel *value) {
  6853. return This->lpVtbl->SetAt(This,index,value);
  6854. }
  6855. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_InsertAt(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel *value) {
  6856. return This->lpVtbl->InsertAt(This,index,value);
  6857. }
  6858. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_RemoveAt(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,UINT32 index) {
  6859. return This->lpVtbl->RemoveAt(This,index);
  6860. }
  6861. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_Append(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel *value) {
  6862. return This->lpVtbl->Append(This,value);
  6863. }
  6864. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_RemoveAtEnd(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This) {
  6865. return This->lpVtbl->RemoveAtEnd(This);
  6866. }
  6867. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_Clear(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This) {
  6868. return This->lpVtbl->Clear(This);
  6869. }
  6870. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetMany(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel **items,UINT32 *value) {
  6871. return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
  6872. }
  6873. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRacingWheel_ReplaceAll(__FIVector_1_Windows__CGaming__CInput__CRacingWheel* This,UINT32 count,__x_ABI_CWindows_CGaming_CInput_CIRacingWheel **items) {
  6874. return This->lpVtbl->ReplaceAll(This,count,items);
  6875. }
  6876. #endif
  6877. #ifdef WIDL_using_Windows_Foundation_Collections
  6878. #define IID_IVector_RacingWheel IID___FIVector_1_Windows__CGaming__CInput__CRacingWheel
  6879. #define IVector_RacingWheelVtbl __FIVector_1_Windows__CGaming__CInput__CRacingWheelVtbl
  6880. #define IVector_RacingWheel __FIVector_1_Windows__CGaming__CInput__CRacingWheel
  6881. #define IVector_RacingWheel_QueryInterface __FIVector_1_Windows__CGaming__CInput__CRacingWheel_QueryInterface
  6882. #define IVector_RacingWheel_AddRef __FIVector_1_Windows__CGaming__CInput__CRacingWheel_AddRef
  6883. #define IVector_RacingWheel_Release __FIVector_1_Windows__CGaming__CInput__CRacingWheel_Release
  6884. #define IVector_RacingWheel_GetIids __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetIids
  6885. #define IVector_RacingWheel_GetRuntimeClassName __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetRuntimeClassName
  6886. #define IVector_RacingWheel_GetTrustLevel __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetTrustLevel
  6887. #define IVector_RacingWheel_GetAt __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetAt
  6888. #define IVector_RacingWheel_get_Size __FIVector_1_Windows__CGaming__CInput__CRacingWheel_get_Size
  6889. #define IVector_RacingWheel_GetView __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetView
  6890. #define IVector_RacingWheel_IndexOf __FIVector_1_Windows__CGaming__CInput__CRacingWheel_IndexOf
  6891. #define IVector_RacingWheel_SetAt __FIVector_1_Windows__CGaming__CInput__CRacingWheel_SetAt
  6892. #define IVector_RacingWheel_InsertAt __FIVector_1_Windows__CGaming__CInput__CRacingWheel_InsertAt
  6893. #define IVector_RacingWheel_RemoveAt __FIVector_1_Windows__CGaming__CInput__CRacingWheel_RemoveAt
  6894. #define IVector_RacingWheel_Append __FIVector_1_Windows__CGaming__CInput__CRacingWheel_Append
  6895. #define IVector_RacingWheel_RemoveAtEnd __FIVector_1_Windows__CGaming__CInput__CRacingWheel_RemoveAtEnd
  6896. #define IVector_RacingWheel_Clear __FIVector_1_Windows__CGaming__CInput__CRacingWheel_Clear
  6897. #define IVector_RacingWheel_GetMany __FIVector_1_Windows__CGaming__CInput__CRacingWheel_GetMany
  6898. #define IVector_RacingWheel_ReplaceAll __FIVector_1_Windows__CGaming__CInput__CRacingWheel_ReplaceAll
  6899. #endif /* WIDL_using_Windows_Foundation_Collections */
  6900. #endif
  6901. #endif
  6902. #endif /* ____FIVector_1_Windows__CGaming__CInput__CRacingWheel_INTERFACE_DEFINED__ */
  6903. /*****************************************************************************
  6904. * IIterator<ABI::Windows::Gaming::Input::RawGameController* > interface
  6905. */
  6906. #ifndef ____FIIterator_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__
  6907. #define ____FIIterator_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__
  6908. DEFINE_GUID(IID___FIIterator_1_Windows__CGaming__CInput__CRawGameController, 0x51cc88dc, 0x66fb, 0x55ea, 0x9a,0x1b, 0xaa,0xdc,0xd7,0x1c,0xc0,0x8e);
  6909. #if defined(__cplusplus) && !defined(CINTERFACE)
  6910. } /* extern "C" */
  6911. namespace ABI {
  6912. namespace Windows {
  6913. namespace Foundation {
  6914. namespace Collections {
  6915. template<>
  6916. MIDL_INTERFACE("51cc88dc-66fb-55ea-9a1b-aadcd71cc08e")
  6917. IIterator<ABI::Windows::Gaming::Input::RawGameController* > : IIterator_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::RawGameController*, ABI::Windows::Gaming::Input::IRawGameController* > >
  6918. {
  6919. };
  6920. }
  6921. }
  6922. }
  6923. }
  6924. extern "C" {
  6925. #ifdef __CRT_UUID_DECL
  6926. __CRT_UUID_DECL(__FIIterator_1_Windows__CGaming__CInput__CRawGameController, 0x51cc88dc, 0x66fb, 0x55ea, 0x9a,0x1b, 0xaa,0xdc,0xd7,0x1c,0xc0,0x8e)
  6927. #endif
  6928. #else
  6929. typedef struct __FIIterator_1_Windows__CGaming__CInput__CRawGameControllerVtbl {
  6930. BEGIN_INTERFACE
  6931. /*** IUnknown methods ***/
  6932. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  6933. __FIIterator_1_Windows__CGaming__CInput__CRawGameController *This,
  6934. REFIID riid,
  6935. void **ppvObject);
  6936. ULONG (STDMETHODCALLTYPE *AddRef)(
  6937. __FIIterator_1_Windows__CGaming__CInput__CRawGameController *This);
  6938. ULONG (STDMETHODCALLTYPE *Release)(
  6939. __FIIterator_1_Windows__CGaming__CInput__CRawGameController *This);
  6940. /*** IInspectable methods ***/
  6941. HRESULT (STDMETHODCALLTYPE *GetIids)(
  6942. __FIIterator_1_Windows__CGaming__CInput__CRawGameController *This,
  6943. ULONG *iidCount,
  6944. IID **iids);
  6945. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  6946. __FIIterator_1_Windows__CGaming__CInput__CRawGameController *This,
  6947. HSTRING *className);
  6948. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  6949. __FIIterator_1_Windows__CGaming__CInput__CRawGameController *This,
  6950. TrustLevel *trustLevel);
  6951. /*** IIterator<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  6952. HRESULT (STDMETHODCALLTYPE *get_Current)(
  6953. __FIIterator_1_Windows__CGaming__CInput__CRawGameController *This,
  6954. __x_ABI_CWindows_CGaming_CInput_CIRawGameController **value);
  6955. HRESULT (STDMETHODCALLTYPE *get_HasCurrent)(
  6956. __FIIterator_1_Windows__CGaming__CInput__CRawGameController *This,
  6957. WINBOOL *value);
  6958. HRESULT (STDMETHODCALLTYPE *MoveNext)(
  6959. __FIIterator_1_Windows__CGaming__CInput__CRawGameController *This,
  6960. WINBOOL *value);
  6961. HRESULT (STDMETHODCALLTYPE *GetMany)(
  6962. __FIIterator_1_Windows__CGaming__CInput__CRawGameController *This,
  6963. UINT32 items_size,
  6964. __x_ABI_CWindows_CGaming_CInput_CIRawGameController **items,
  6965. UINT32 *value);
  6966. END_INTERFACE
  6967. } __FIIterator_1_Windows__CGaming__CInput__CRawGameControllerVtbl;
  6968. interface __FIIterator_1_Windows__CGaming__CInput__CRawGameController {
  6969. CONST_VTBL __FIIterator_1_Windows__CGaming__CInput__CRawGameControllerVtbl* lpVtbl;
  6970. };
  6971. #ifdef COBJMACROS
  6972. #ifndef WIDL_C_INLINE_WRAPPERS
  6973. /*** IUnknown methods ***/
  6974. #define __FIIterator_1_Windows__CGaming__CInput__CRawGameController_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  6975. #define __FIIterator_1_Windows__CGaming__CInput__CRawGameController_AddRef(This) (This)->lpVtbl->AddRef(This)
  6976. #define __FIIterator_1_Windows__CGaming__CInput__CRawGameController_Release(This) (This)->lpVtbl->Release(This)
  6977. /*** IInspectable methods ***/
  6978. #define __FIIterator_1_Windows__CGaming__CInput__CRawGameController_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  6979. #define __FIIterator_1_Windows__CGaming__CInput__CRawGameController_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  6980. #define __FIIterator_1_Windows__CGaming__CInput__CRawGameController_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  6981. /*** IIterator<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  6982. #define __FIIterator_1_Windows__CGaming__CInput__CRawGameController_get_Current(This,value) (This)->lpVtbl->get_Current(This,value)
  6983. #define __FIIterator_1_Windows__CGaming__CInput__CRawGameController_get_HasCurrent(This,value) (This)->lpVtbl->get_HasCurrent(This,value)
  6984. #define __FIIterator_1_Windows__CGaming__CInput__CRawGameController_MoveNext(This,value) (This)->lpVtbl->MoveNext(This,value)
  6985. #define __FIIterator_1_Windows__CGaming__CInput__CRawGameController_GetMany(This,items_size,items,value) (This)->lpVtbl->GetMany(This,items_size,items,value)
  6986. #else
  6987. /*** IUnknown methods ***/
  6988. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRawGameController_QueryInterface(__FIIterator_1_Windows__CGaming__CInput__CRawGameController* This,REFIID riid,void **ppvObject) {
  6989. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  6990. }
  6991. static FORCEINLINE ULONG __FIIterator_1_Windows__CGaming__CInput__CRawGameController_AddRef(__FIIterator_1_Windows__CGaming__CInput__CRawGameController* This) {
  6992. return This->lpVtbl->AddRef(This);
  6993. }
  6994. static FORCEINLINE ULONG __FIIterator_1_Windows__CGaming__CInput__CRawGameController_Release(__FIIterator_1_Windows__CGaming__CInput__CRawGameController* This) {
  6995. return This->lpVtbl->Release(This);
  6996. }
  6997. /*** IInspectable methods ***/
  6998. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRawGameController_GetIids(__FIIterator_1_Windows__CGaming__CInput__CRawGameController* This,ULONG *iidCount,IID **iids) {
  6999. return This->lpVtbl->GetIids(This,iidCount,iids);
  7000. }
  7001. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRawGameController_GetRuntimeClassName(__FIIterator_1_Windows__CGaming__CInput__CRawGameController* This,HSTRING *className) {
  7002. return This->lpVtbl->GetRuntimeClassName(This,className);
  7003. }
  7004. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRawGameController_GetTrustLevel(__FIIterator_1_Windows__CGaming__CInput__CRawGameController* This,TrustLevel *trustLevel) {
  7005. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  7006. }
  7007. /*** IIterator<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  7008. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRawGameController_get_Current(__FIIterator_1_Windows__CGaming__CInput__CRawGameController* This,__x_ABI_CWindows_CGaming_CInput_CIRawGameController **value) {
  7009. return This->lpVtbl->get_Current(This,value);
  7010. }
  7011. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRawGameController_get_HasCurrent(__FIIterator_1_Windows__CGaming__CInput__CRawGameController* This,WINBOOL *value) {
  7012. return This->lpVtbl->get_HasCurrent(This,value);
  7013. }
  7014. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRawGameController_MoveNext(__FIIterator_1_Windows__CGaming__CInput__CRawGameController* This,WINBOOL *value) {
  7015. return This->lpVtbl->MoveNext(This,value);
  7016. }
  7017. static FORCEINLINE HRESULT __FIIterator_1_Windows__CGaming__CInput__CRawGameController_GetMany(__FIIterator_1_Windows__CGaming__CInput__CRawGameController* This,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIRawGameController **items,UINT32 *value) {
  7018. return This->lpVtbl->GetMany(This,items_size,items,value);
  7019. }
  7020. #endif
  7021. #ifdef WIDL_using_Windows_Foundation_Collections
  7022. #define IID_IIterator_RawGameController IID___FIIterator_1_Windows__CGaming__CInput__CRawGameController
  7023. #define IIterator_RawGameControllerVtbl __FIIterator_1_Windows__CGaming__CInput__CRawGameControllerVtbl
  7024. #define IIterator_RawGameController __FIIterator_1_Windows__CGaming__CInput__CRawGameController
  7025. #define IIterator_RawGameController_QueryInterface __FIIterator_1_Windows__CGaming__CInput__CRawGameController_QueryInterface
  7026. #define IIterator_RawGameController_AddRef __FIIterator_1_Windows__CGaming__CInput__CRawGameController_AddRef
  7027. #define IIterator_RawGameController_Release __FIIterator_1_Windows__CGaming__CInput__CRawGameController_Release
  7028. #define IIterator_RawGameController_GetIids __FIIterator_1_Windows__CGaming__CInput__CRawGameController_GetIids
  7029. #define IIterator_RawGameController_GetRuntimeClassName __FIIterator_1_Windows__CGaming__CInput__CRawGameController_GetRuntimeClassName
  7030. #define IIterator_RawGameController_GetTrustLevel __FIIterator_1_Windows__CGaming__CInput__CRawGameController_GetTrustLevel
  7031. #define IIterator_RawGameController_get_Current __FIIterator_1_Windows__CGaming__CInput__CRawGameController_get_Current
  7032. #define IIterator_RawGameController_get_HasCurrent __FIIterator_1_Windows__CGaming__CInput__CRawGameController_get_HasCurrent
  7033. #define IIterator_RawGameController_MoveNext __FIIterator_1_Windows__CGaming__CInput__CRawGameController_MoveNext
  7034. #define IIterator_RawGameController_GetMany __FIIterator_1_Windows__CGaming__CInput__CRawGameController_GetMany
  7035. #endif /* WIDL_using_Windows_Foundation_Collections */
  7036. #endif
  7037. #endif
  7038. #endif /* ____FIIterator_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__ */
  7039. /*****************************************************************************
  7040. * IIterable<ABI::Windows::Gaming::Input::RawGameController* > interface
  7041. */
  7042. #ifndef ____FIIterable_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__
  7043. #define ____FIIterable_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__
  7044. DEFINE_GUID(IID___FIIterable_1_Windows__CGaming__CInput__CRawGameController, 0x8f2f08cc, 0xf4f4, 0x5539, 0x93,0x57, 0x1f,0x07,0x33,0x4d,0x38,0x1f);
  7045. #if defined(__cplusplus) && !defined(CINTERFACE)
  7046. } /* extern "C" */
  7047. namespace ABI {
  7048. namespace Windows {
  7049. namespace Foundation {
  7050. namespace Collections {
  7051. template<>
  7052. MIDL_INTERFACE("8f2f08cc-f4f4-5539-9357-1f07334d381f")
  7053. IIterable<ABI::Windows::Gaming::Input::RawGameController* > : IIterable_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::RawGameController*, ABI::Windows::Gaming::Input::IRawGameController* > >
  7054. {
  7055. };
  7056. }
  7057. }
  7058. }
  7059. }
  7060. extern "C" {
  7061. #ifdef __CRT_UUID_DECL
  7062. __CRT_UUID_DECL(__FIIterable_1_Windows__CGaming__CInput__CRawGameController, 0x8f2f08cc, 0xf4f4, 0x5539, 0x93,0x57, 0x1f,0x07,0x33,0x4d,0x38,0x1f)
  7063. #endif
  7064. #else
  7065. typedef struct __FIIterable_1_Windows__CGaming__CInput__CRawGameControllerVtbl {
  7066. BEGIN_INTERFACE
  7067. /*** IUnknown methods ***/
  7068. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  7069. __FIIterable_1_Windows__CGaming__CInput__CRawGameController *This,
  7070. REFIID riid,
  7071. void **ppvObject);
  7072. ULONG (STDMETHODCALLTYPE *AddRef)(
  7073. __FIIterable_1_Windows__CGaming__CInput__CRawGameController *This);
  7074. ULONG (STDMETHODCALLTYPE *Release)(
  7075. __FIIterable_1_Windows__CGaming__CInput__CRawGameController *This);
  7076. /*** IInspectable methods ***/
  7077. HRESULT (STDMETHODCALLTYPE *GetIids)(
  7078. __FIIterable_1_Windows__CGaming__CInput__CRawGameController *This,
  7079. ULONG *iidCount,
  7080. IID **iids);
  7081. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  7082. __FIIterable_1_Windows__CGaming__CInput__CRawGameController *This,
  7083. HSTRING *className);
  7084. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  7085. __FIIterable_1_Windows__CGaming__CInput__CRawGameController *This,
  7086. TrustLevel *trustLevel);
  7087. /*** IIterable<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  7088. HRESULT (STDMETHODCALLTYPE *First)(
  7089. __FIIterable_1_Windows__CGaming__CInput__CRawGameController *This,
  7090. __FIIterator_1_Windows__CGaming__CInput__CRawGameController **value);
  7091. END_INTERFACE
  7092. } __FIIterable_1_Windows__CGaming__CInput__CRawGameControllerVtbl;
  7093. interface __FIIterable_1_Windows__CGaming__CInput__CRawGameController {
  7094. CONST_VTBL __FIIterable_1_Windows__CGaming__CInput__CRawGameControllerVtbl* lpVtbl;
  7095. };
  7096. #ifdef COBJMACROS
  7097. #ifndef WIDL_C_INLINE_WRAPPERS
  7098. /*** IUnknown methods ***/
  7099. #define __FIIterable_1_Windows__CGaming__CInput__CRawGameController_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  7100. #define __FIIterable_1_Windows__CGaming__CInput__CRawGameController_AddRef(This) (This)->lpVtbl->AddRef(This)
  7101. #define __FIIterable_1_Windows__CGaming__CInput__CRawGameController_Release(This) (This)->lpVtbl->Release(This)
  7102. /*** IInspectable methods ***/
  7103. #define __FIIterable_1_Windows__CGaming__CInput__CRawGameController_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  7104. #define __FIIterable_1_Windows__CGaming__CInput__CRawGameController_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  7105. #define __FIIterable_1_Windows__CGaming__CInput__CRawGameController_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  7106. /*** IIterable<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  7107. #define __FIIterable_1_Windows__CGaming__CInput__CRawGameController_First(This,value) (This)->lpVtbl->First(This,value)
  7108. #else
  7109. /*** IUnknown methods ***/
  7110. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CRawGameController_QueryInterface(__FIIterable_1_Windows__CGaming__CInput__CRawGameController* This,REFIID riid,void **ppvObject) {
  7111. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  7112. }
  7113. static FORCEINLINE ULONG __FIIterable_1_Windows__CGaming__CInput__CRawGameController_AddRef(__FIIterable_1_Windows__CGaming__CInput__CRawGameController* This) {
  7114. return This->lpVtbl->AddRef(This);
  7115. }
  7116. static FORCEINLINE ULONG __FIIterable_1_Windows__CGaming__CInput__CRawGameController_Release(__FIIterable_1_Windows__CGaming__CInput__CRawGameController* This) {
  7117. return This->lpVtbl->Release(This);
  7118. }
  7119. /*** IInspectable methods ***/
  7120. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CRawGameController_GetIids(__FIIterable_1_Windows__CGaming__CInput__CRawGameController* This,ULONG *iidCount,IID **iids) {
  7121. return This->lpVtbl->GetIids(This,iidCount,iids);
  7122. }
  7123. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CRawGameController_GetRuntimeClassName(__FIIterable_1_Windows__CGaming__CInput__CRawGameController* This,HSTRING *className) {
  7124. return This->lpVtbl->GetRuntimeClassName(This,className);
  7125. }
  7126. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CRawGameController_GetTrustLevel(__FIIterable_1_Windows__CGaming__CInput__CRawGameController* This,TrustLevel *trustLevel) {
  7127. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  7128. }
  7129. /*** IIterable<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  7130. static FORCEINLINE HRESULT __FIIterable_1_Windows__CGaming__CInput__CRawGameController_First(__FIIterable_1_Windows__CGaming__CInput__CRawGameController* This,__FIIterator_1_Windows__CGaming__CInput__CRawGameController **value) {
  7131. return This->lpVtbl->First(This,value);
  7132. }
  7133. #endif
  7134. #ifdef WIDL_using_Windows_Foundation_Collections
  7135. #define IID_IIterable_RawGameController IID___FIIterable_1_Windows__CGaming__CInput__CRawGameController
  7136. #define IIterable_RawGameControllerVtbl __FIIterable_1_Windows__CGaming__CInput__CRawGameControllerVtbl
  7137. #define IIterable_RawGameController __FIIterable_1_Windows__CGaming__CInput__CRawGameController
  7138. #define IIterable_RawGameController_QueryInterface __FIIterable_1_Windows__CGaming__CInput__CRawGameController_QueryInterface
  7139. #define IIterable_RawGameController_AddRef __FIIterable_1_Windows__CGaming__CInput__CRawGameController_AddRef
  7140. #define IIterable_RawGameController_Release __FIIterable_1_Windows__CGaming__CInput__CRawGameController_Release
  7141. #define IIterable_RawGameController_GetIids __FIIterable_1_Windows__CGaming__CInput__CRawGameController_GetIids
  7142. #define IIterable_RawGameController_GetRuntimeClassName __FIIterable_1_Windows__CGaming__CInput__CRawGameController_GetRuntimeClassName
  7143. #define IIterable_RawGameController_GetTrustLevel __FIIterable_1_Windows__CGaming__CInput__CRawGameController_GetTrustLevel
  7144. #define IIterable_RawGameController_First __FIIterable_1_Windows__CGaming__CInput__CRawGameController_First
  7145. #endif /* WIDL_using_Windows_Foundation_Collections */
  7146. #endif
  7147. #endif
  7148. #endif /* ____FIIterable_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__ */
  7149. /*****************************************************************************
  7150. * IVectorView<ABI::Windows::Gaming::Input::RawGameController* > interface
  7151. */
  7152. #ifndef ____FIVectorView_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__
  7153. #define ____FIVectorView_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__
  7154. DEFINE_GUID(IID___FIVectorView_1_Windows__CGaming__CInput__CRawGameController, 0x779cc322, 0x40c0, 0x55c1, 0x8d,0xc5, 0xcc,0x6e,0x3a,0xfe,0x02,0xcf);
  7155. #if defined(__cplusplus) && !defined(CINTERFACE)
  7156. } /* extern "C" */
  7157. namespace ABI {
  7158. namespace Windows {
  7159. namespace Foundation {
  7160. namespace Collections {
  7161. template<>
  7162. MIDL_INTERFACE("779cc322-40c0-55c1-8dc5-cc6e3afe02cf")
  7163. IVectorView<ABI::Windows::Gaming::Input::RawGameController* > : IVectorView_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::RawGameController*, ABI::Windows::Gaming::Input::IRawGameController* > >
  7164. {
  7165. };
  7166. }
  7167. }
  7168. }
  7169. }
  7170. extern "C" {
  7171. #ifdef __CRT_UUID_DECL
  7172. __CRT_UUID_DECL(__FIVectorView_1_Windows__CGaming__CInput__CRawGameController, 0x779cc322, 0x40c0, 0x55c1, 0x8d,0xc5, 0xcc,0x6e,0x3a,0xfe,0x02,0xcf)
  7173. #endif
  7174. #else
  7175. typedef struct __FIVectorView_1_Windows__CGaming__CInput__CRawGameControllerVtbl {
  7176. BEGIN_INTERFACE
  7177. /*** IUnknown methods ***/
  7178. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  7179. __FIVectorView_1_Windows__CGaming__CInput__CRawGameController *This,
  7180. REFIID riid,
  7181. void **ppvObject);
  7182. ULONG (STDMETHODCALLTYPE *AddRef)(
  7183. __FIVectorView_1_Windows__CGaming__CInput__CRawGameController *This);
  7184. ULONG (STDMETHODCALLTYPE *Release)(
  7185. __FIVectorView_1_Windows__CGaming__CInput__CRawGameController *This);
  7186. /*** IInspectable methods ***/
  7187. HRESULT (STDMETHODCALLTYPE *GetIids)(
  7188. __FIVectorView_1_Windows__CGaming__CInput__CRawGameController *This,
  7189. ULONG *iidCount,
  7190. IID **iids);
  7191. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  7192. __FIVectorView_1_Windows__CGaming__CInput__CRawGameController *This,
  7193. HSTRING *className);
  7194. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  7195. __FIVectorView_1_Windows__CGaming__CInput__CRawGameController *This,
  7196. TrustLevel *trustLevel);
  7197. /*** IVectorView<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  7198. HRESULT (STDMETHODCALLTYPE *GetAt)(
  7199. __FIVectorView_1_Windows__CGaming__CInput__CRawGameController *This,
  7200. UINT32 index,
  7201. __x_ABI_CWindows_CGaming_CInput_CIRawGameController **value);
  7202. HRESULT (STDMETHODCALLTYPE *get_Size)(
  7203. __FIVectorView_1_Windows__CGaming__CInput__CRawGameController *This,
  7204. UINT32 *value);
  7205. HRESULT (STDMETHODCALLTYPE *IndexOf)(
  7206. __FIVectorView_1_Windows__CGaming__CInput__CRawGameController *This,
  7207. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *element,
  7208. UINT32 *index,
  7209. BOOLEAN *value);
  7210. HRESULT (STDMETHODCALLTYPE *GetMany)(
  7211. __FIVectorView_1_Windows__CGaming__CInput__CRawGameController *This,
  7212. UINT32 start_index,
  7213. UINT32 items_size,
  7214. __x_ABI_CWindows_CGaming_CInput_CIRawGameController **items,
  7215. UINT32 *value);
  7216. END_INTERFACE
  7217. } __FIVectorView_1_Windows__CGaming__CInput__CRawGameControllerVtbl;
  7218. interface __FIVectorView_1_Windows__CGaming__CInput__CRawGameController {
  7219. CONST_VTBL __FIVectorView_1_Windows__CGaming__CInput__CRawGameControllerVtbl* lpVtbl;
  7220. };
  7221. #ifdef COBJMACROS
  7222. #ifndef WIDL_C_INLINE_WRAPPERS
  7223. /*** IUnknown methods ***/
  7224. #define __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  7225. #define __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_AddRef(This) (This)->lpVtbl->AddRef(This)
  7226. #define __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_Release(This) (This)->lpVtbl->Release(This)
  7227. /*** IInspectable methods ***/
  7228. #define __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  7229. #define __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  7230. #define __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  7231. /*** IVectorView<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  7232. #define __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
  7233. #define __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
  7234. #define __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
  7235. #define __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
  7236. #else
  7237. /*** IUnknown methods ***/
  7238. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_QueryInterface(__FIVectorView_1_Windows__CGaming__CInput__CRawGameController* This,REFIID riid,void **ppvObject) {
  7239. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  7240. }
  7241. static FORCEINLINE ULONG __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_AddRef(__FIVectorView_1_Windows__CGaming__CInput__CRawGameController* This) {
  7242. return This->lpVtbl->AddRef(This);
  7243. }
  7244. static FORCEINLINE ULONG __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_Release(__FIVectorView_1_Windows__CGaming__CInput__CRawGameController* This) {
  7245. return This->lpVtbl->Release(This);
  7246. }
  7247. /*** IInspectable methods ***/
  7248. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetIids(__FIVectorView_1_Windows__CGaming__CInput__CRawGameController* This,ULONG *iidCount,IID **iids) {
  7249. return This->lpVtbl->GetIids(This,iidCount,iids);
  7250. }
  7251. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetRuntimeClassName(__FIVectorView_1_Windows__CGaming__CInput__CRawGameController* This,HSTRING *className) {
  7252. return This->lpVtbl->GetRuntimeClassName(This,className);
  7253. }
  7254. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetTrustLevel(__FIVectorView_1_Windows__CGaming__CInput__CRawGameController* This,TrustLevel *trustLevel) {
  7255. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  7256. }
  7257. /*** IVectorView<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  7258. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetAt(__FIVectorView_1_Windows__CGaming__CInput__CRawGameController* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIRawGameController **value) {
  7259. return This->lpVtbl->GetAt(This,index,value);
  7260. }
  7261. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_get_Size(__FIVectorView_1_Windows__CGaming__CInput__CRawGameController* This,UINT32 *value) {
  7262. return This->lpVtbl->get_Size(This,value);
  7263. }
  7264. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_IndexOf(__FIVectorView_1_Windows__CGaming__CInput__CRawGameController* This,__x_ABI_CWindows_CGaming_CInput_CIRawGameController *element,UINT32 *index,BOOLEAN *value) {
  7265. return This->lpVtbl->IndexOf(This,element,index,value);
  7266. }
  7267. static FORCEINLINE HRESULT __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetMany(__FIVectorView_1_Windows__CGaming__CInput__CRawGameController* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIRawGameController **items,UINT32 *value) {
  7268. return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
  7269. }
  7270. #endif
  7271. #ifdef WIDL_using_Windows_Foundation_Collections
  7272. #define IID_IVectorView_RawGameController IID___FIVectorView_1_Windows__CGaming__CInput__CRawGameController
  7273. #define IVectorView_RawGameControllerVtbl __FIVectorView_1_Windows__CGaming__CInput__CRawGameControllerVtbl
  7274. #define IVectorView_RawGameController __FIVectorView_1_Windows__CGaming__CInput__CRawGameController
  7275. #define IVectorView_RawGameController_QueryInterface __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_QueryInterface
  7276. #define IVectorView_RawGameController_AddRef __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_AddRef
  7277. #define IVectorView_RawGameController_Release __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_Release
  7278. #define IVectorView_RawGameController_GetIids __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetIids
  7279. #define IVectorView_RawGameController_GetRuntimeClassName __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetRuntimeClassName
  7280. #define IVectorView_RawGameController_GetTrustLevel __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetTrustLevel
  7281. #define IVectorView_RawGameController_GetAt __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetAt
  7282. #define IVectorView_RawGameController_get_Size __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_get_Size
  7283. #define IVectorView_RawGameController_IndexOf __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_IndexOf
  7284. #define IVectorView_RawGameController_GetMany __FIVectorView_1_Windows__CGaming__CInput__CRawGameController_GetMany
  7285. #endif /* WIDL_using_Windows_Foundation_Collections */
  7286. #endif
  7287. #endif
  7288. #endif /* ____FIVectorView_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__ */
  7289. /*****************************************************************************
  7290. * IVector<ABI::Windows::Gaming::Input::RawGameController* > interface
  7291. */
  7292. #ifndef ____FIVector_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__
  7293. #define ____FIVector_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__
  7294. DEFINE_GUID(IID___FIVector_1_Windows__CGaming__CInput__CRawGameController, 0x9136cbcf, 0xb87c, 0x5886, 0x89,0x62, 0xb0,0xff,0xbd,0x64,0xb7,0x63);
  7295. #if defined(__cplusplus) && !defined(CINTERFACE)
  7296. } /* extern "C" */
  7297. namespace ABI {
  7298. namespace Windows {
  7299. namespace Foundation {
  7300. namespace Collections {
  7301. template<>
  7302. MIDL_INTERFACE("9136cbcf-b87c-5886-8962-b0ffbd64b763")
  7303. IVector<ABI::Windows::Gaming::Input::RawGameController* > : IVector_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Gaming::Input::RawGameController*, ABI::Windows::Gaming::Input::IRawGameController* > >
  7304. {
  7305. };
  7306. }
  7307. }
  7308. }
  7309. }
  7310. extern "C" {
  7311. #ifdef __CRT_UUID_DECL
  7312. __CRT_UUID_DECL(__FIVector_1_Windows__CGaming__CInput__CRawGameController, 0x9136cbcf, 0xb87c, 0x5886, 0x89,0x62, 0xb0,0xff,0xbd,0x64,0xb7,0x63)
  7313. #endif
  7314. #else
  7315. typedef struct __FIVector_1_Windows__CGaming__CInput__CRawGameControllerVtbl {
  7316. BEGIN_INTERFACE
  7317. /*** IUnknown methods ***/
  7318. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  7319. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7320. REFIID riid,
  7321. void **ppvObject);
  7322. ULONG (STDMETHODCALLTYPE *AddRef)(
  7323. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This);
  7324. ULONG (STDMETHODCALLTYPE *Release)(
  7325. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This);
  7326. /*** IInspectable methods ***/
  7327. HRESULT (STDMETHODCALLTYPE *GetIids)(
  7328. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7329. ULONG *iidCount,
  7330. IID **iids);
  7331. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  7332. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7333. HSTRING *className);
  7334. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  7335. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7336. TrustLevel *trustLevel);
  7337. /*** IVector<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  7338. HRESULT (STDMETHODCALLTYPE *GetAt)(
  7339. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7340. UINT32 index,
  7341. __x_ABI_CWindows_CGaming_CInput_CIRawGameController **value);
  7342. HRESULT (STDMETHODCALLTYPE *get_Size)(
  7343. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7344. UINT32 *value);
  7345. HRESULT (STDMETHODCALLTYPE *GetView)(
  7346. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7347. __FIVectorView_1_Windows__CGaming__CInput__CRawGameController **value);
  7348. HRESULT (STDMETHODCALLTYPE *IndexOf)(
  7349. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7350. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *element,
  7351. UINT32 *index,
  7352. BOOLEAN *value);
  7353. HRESULT (STDMETHODCALLTYPE *SetAt)(
  7354. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7355. UINT32 index,
  7356. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *value);
  7357. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  7358. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7359. UINT32 index,
  7360. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *value);
  7361. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  7362. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7363. UINT32 index);
  7364. HRESULT (STDMETHODCALLTYPE *Append)(
  7365. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7366. __x_ABI_CWindows_CGaming_CInput_CIRawGameController *value);
  7367. HRESULT (STDMETHODCALLTYPE *RemoveAtEnd)(
  7368. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This);
  7369. HRESULT (STDMETHODCALLTYPE *Clear)(
  7370. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This);
  7371. HRESULT (STDMETHODCALLTYPE *GetMany)(
  7372. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7373. UINT32 start_index,
  7374. UINT32 items_size,
  7375. __x_ABI_CWindows_CGaming_CInput_CIRawGameController **items,
  7376. UINT32 *value);
  7377. HRESULT (STDMETHODCALLTYPE *ReplaceAll)(
  7378. __FIVector_1_Windows__CGaming__CInput__CRawGameController *This,
  7379. UINT32 count,
  7380. __x_ABI_CWindows_CGaming_CInput_CIRawGameController **items);
  7381. END_INTERFACE
  7382. } __FIVector_1_Windows__CGaming__CInput__CRawGameControllerVtbl;
  7383. interface __FIVector_1_Windows__CGaming__CInput__CRawGameController {
  7384. CONST_VTBL __FIVector_1_Windows__CGaming__CInput__CRawGameControllerVtbl* lpVtbl;
  7385. };
  7386. #ifdef COBJMACROS
  7387. #ifndef WIDL_C_INLINE_WRAPPERS
  7388. /*** IUnknown methods ***/
  7389. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  7390. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_AddRef(This) (This)->lpVtbl->AddRef(This)
  7391. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_Release(This) (This)->lpVtbl->Release(This)
  7392. /*** IInspectable methods ***/
  7393. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  7394. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  7395. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  7396. /*** IVector<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  7397. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
  7398. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_get_Size(This,value) (This)->lpVtbl->get_Size(This,value)
  7399. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetView(This,value) (This)->lpVtbl->GetView(This,value)
  7400. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_IndexOf(This,element,index,value) (This)->lpVtbl->IndexOf(This,element,index,value)
  7401. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_SetAt(This,index,value) (This)->lpVtbl->SetAt(This,index,value)
  7402. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_InsertAt(This,index,value) (This)->lpVtbl->InsertAt(This,index,value)
  7403. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  7404. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_Append(This,value) (This)->lpVtbl->Append(This,value)
  7405. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_RemoveAtEnd(This) (This)->lpVtbl->RemoveAtEnd(This)
  7406. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_Clear(This) (This)->lpVtbl->Clear(This)
  7407. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetMany(This,start_index,items_size,items,value) (This)->lpVtbl->GetMany(This,start_index,items_size,items,value)
  7408. #define __FIVector_1_Windows__CGaming__CInput__CRawGameController_ReplaceAll(This,count,items) (This)->lpVtbl->ReplaceAll(This,count,items)
  7409. #else
  7410. /*** IUnknown methods ***/
  7411. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_QueryInterface(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,REFIID riid,void **ppvObject) {
  7412. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  7413. }
  7414. static FORCEINLINE ULONG __FIVector_1_Windows__CGaming__CInput__CRawGameController_AddRef(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This) {
  7415. return This->lpVtbl->AddRef(This);
  7416. }
  7417. static FORCEINLINE ULONG __FIVector_1_Windows__CGaming__CInput__CRawGameController_Release(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This) {
  7418. return This->lpVtbl->Release(This);
  7419. }
  7420. /*** IInspectable methods ***/
  7421. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetIids(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,ULONG *iidCount,IID **iids) {
  7422. return This->lpVtbl->GetIids(This,iidCount,iids);
  7423. }
  7424. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetRuntimeClassName(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,HSTRING *className) {
  7425. return This->lpVtbl->GetRuntimeClassName(This,className);
  7426. }
  7427. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetTrustLevel(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,TrustLevel *trustLevel) {
  7428. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  7429. }
  7430. /*** IVector<ABI::Windows::Gaming::Input::RawGameController* > methods ***/
  7431. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetAt(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIRawGameController **value) {
  7432. return This->lpVtbl->GetAt(This,index,value);
  7433. }
  7434. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_get_Size(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,UINT32 *value) {
  7435. return This->lpVtbl->get_Size(This,value);
  7436. }
  7437. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetView(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,__FIVectorView_1_Windows__CGaming__CInput__CRawGameController **value) {
  7438. return This->lpVtbl->GetView(This,value);
  7439. }
  7440. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_IndexOf(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,__x_ABI_CWindows_CGaming_CInput_CIRawGameController *element,UINT32 *index,BOOLEAN *value) {
  7441. return This->lpVtbl->IndexOf(This,element,index,value);
  7442. }
  7443. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_SetAt(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIRawGameController *value) {
  7444. return This->lpVtbl->SetAt(This,index,value);
  7445. }
  7446. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_InsertAt(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,UINT32 index,__x_ABI_CWindows_CGaming_CInput_CIRawGameController *value) {
  7447. return This->lpVtbl->InsertAt(This,index,value);
  7448. }
  7449. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_RemoveAt(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,UINT32 index) {
  7450. return This->lpVtbl->RemoveAt(This,index);
  7451. }
  7452. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_Append(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,__x_ABI_CWindows_CGaming_CInput_CIRawGameController *value) {
  7453. return This->lpVtbl->Append(This,value);
  7454. }
  7455. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_RemoveAtEnd(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This) {
  7456. return This->lpVtbl->RemoveAtEnd(This);
  7457. }
  7458. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_Clear(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This) {
  7459. return This->lpVtbl->Clear(This);
  7460. }
  7461. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetMany(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,UINT32 start_index,UINT32 items_size,__x_ABI_CWindows_CGaming_CInput_CIRawGameController **items,UINT32 *value) {
  7462. return This->lpVtbl->GetMany(This,start_index,items_size,items,value);
  7463. }
  7464. static FORCEINLINE HRESULT __FIVector_1_Windows__CGaming__CInput__CRawGameController_ReplaceAll(__FIVector_1_Windows__CGaming__CInput__CRawGameController* This,UINT32 count,__x_ABI_CWindows_CGaming_CInput_CIRawGameController **items) {
  7465. return This->lpVtbl->ReplaceAll(This,count,items);
  7466. }
  7467. #endif
  7468. #ifdef WIDL_using_Windows_Foundation_Collections
  7469. #define IID_IVector_RawGameController IID___FIVector_1_Windows__CGaming__CInput__CRawGameController
  7470. #define IVector_RawGameControllerVtbl __FIVector_1_Windows__CGaming__CInput__CRawGameControllerVtbl
  7471. #define IVector_RawGameController __FIVector_1_Windows__CGaming__CInput__CRawGameController
  7472. #define IVector_RawGameController_QueryInterface __FIVector_1_Windows__CGaming__CInput__CRawGameController_QueryInterface
  7473. #define IVector_RawGameController_AddRef __FIVector_1_Windows__CGaming__CInput__CRawGameController_AddRef
  7474. #define IVector_RawGameController_Release __FIVector_1_Windows__CGaming__CInput__CRawGameController_Release
  7475. #define IVector_RawGameController_GetIids __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetIids
  7476. #define IVector_RawGameController_GetRuntimeClassName __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetRuntimeClassName
  7477. #define IVector_RawGameController_GetTrustLevel __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetTrustLevel
  7478. #define IVector_RawGameController_GetAt __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetAt
  7479. #define IVector_RawGameController_get_Size __FIVector_1_Windows__CGaming__CInput__CRawGameController_get_Size
  7480. #define IVector_RawGameController_GetView __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetView
  7481. #define IVector_RawGameController_IndexOf __FIVector_1_Windows__CGaming__CInput__CRawGameController_IndexOf
  7482. #define IVector_RawGameController_SetAt __FIVector_1_Windows__CGaming__CInput__CRawGameController_SetAt
  7483. #define IVector_RawGameController_InsertAt __FIVector_1_Windows__CGaming__CInput__CRawGameController_InsertAt
  7484. #define IVector_RawGameController_RemoveAt __FIVector_1_Windows__CGaming__CInput__CRawGameController_RemoveAt
  7485. #define IVector_RawGameController_Append __FIVector_1_Windows__CGaming__CInput__CRawGameController_Append
  7486. #define IVector_RawGameController_RemoveAtEnd __FIVector_1_Windows__CGaming__CInput__CRawGameController_RemoveAtEnd
  7487. #define IVector_RawGameController_Clear __FIVector_1_Windows__CGaming__CInput__CRawGameController_Clear
  7488. #define IVector_RawGameController_GetMany __FIVector_1_Windows__CGaming__CInput__CRawGameController_GetMany
  7489. #define IVector_RawGameController_ReplaceAll __FIVector_1_Windows__CGaming__CInput__CRawGameController_ReplaceAll
  7490. #endif /* WIDL_using_Windows_Foundation_Collections */
  7491. #endif
  7492. #endif
  7493. #endif /* ____FIVector_1_Windows__CGaming__CInput__CRawGameController_INTERFACE_DEFINED__ */
  7494. /* Begin additional prototypes for all interfaces */
  7495. ULONG __RPC_USER HSTRING_UserSize (ULONG *, ULONG, HSTRING *);
  7496. unsigned char * __RPC_USER HSTRING_UserMarshal (ULONG *, unsigned char *, HSTRING *);
  7497. unsigned char * __RPC_USER HSTRING_UserUnmarshal(ULONG *, unsigned char *, HSTRING *);
  7498. void __RPC_USER HSTRING_UserFree (ULONG *, HSTRING *);
  7499. /* End additional prototypes */
  7500. #ifdef __cplusplus
  7501. }
  7502. #endif
  7503. #endif /* __windows_gaming_input_h__ */