123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723 |
- /*-------------------------------------------------------------------------------------
- *
- * Copyright (c) Microsoft Corporation
- *
- *-------------------------------------------------------------------------------------*/
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 7.00.0555 */
- /* @@MIDL_FILE_HEADING( ) */
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- /* verify that the <rpcsal.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCSAL_H_VERSION__
- #define __REQUIRED_RPCSAL_H_VERSION__ 100
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __d3d10_h__
- #define __d3d10_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __ID3D10DeviceChild_FWD_DEFINED__
- #define __ID3D10DeviceChild_FWD_DEFINED__
- typedef interface ID3D10DeviceChild ID3D10DeviceChild;
- #endif /* __ID3D10DeviceChild_FWD_DEFINED__ */
- #ifndef __ID3D10DepthStencilState_FWD_DEFINED__
- #define __ID3D10DepthStencilState_FWD_DEFINED__
- typedef interface ID3D10DepthStencilState ID3D10DepthStencilState;
- #endif /* __ID3D10DepthStencilState_FWD_DEFINED__ */
- #ifndef __ID3D10BlendState_FWD_DEFINED__
- #define __ID3D10BlendState_FWD_DEFINED__
- typedef interface ID3D10BlendState ID3D10BlendState;
- #endif /* __ID3D10BlendState_FWD_DEFINED__ */
- #ifndef __ID3D10RasterizerState_FWD_DEFINED__
- #define __ID3D10RasterizerState_FWD_DEFINED__
- typedef interface ID3D10RasterizerState ID3D10RasterizerState;
- #endif /* __ID3D10RasterizerState_FWD_DEFINED__ */
- #ifndef __ID3D10Resource_FWD_DEFINED__
- #define __ID3D10Resource_FWD_DEFINED__
- typedef interface ID3D10Resource ID3D10Resource;
- #endif /* __ID3D10Resource_FWD_DEFINED__ */
- #ifndef __ID3D10Buffer_FWD_DEFINED__
- #define __ID3D10Buffer_FWD_DEFINED__
- typedef interface ID3D10Buffer ID3D10Buffer;
- #endif /* __ID3D10Buffer_FWD_DEFINED__ */
- #ifndef __ID3D10Texture1D_FWD_DEFINED__
- #define __ID3D10Texture1D_FWD_DEFINED__
- typedef interface ID3D10Texture1D ID3D10Texture1D;
- #endif /* __ID3D10Texture1D_FWD_DEFINED__ */
- #ifndef __ID3D10Texture2D_FWD_DEFINED__
- #define __ID3D10Texture2D_FWD_DEFINED__
- typedef interface ID3D10Texture2D ID3D10Texture2D;
- #endif /* __ID3D10Texture2D_FWD_DEFINED__ */
- #ifndef __ID3D10Texture3D_FWD_DEFINED__
- #define __ID3D10Texture3D_FWD_DEFINED__
- typedef interface ID3D10Texture3D ID3D10Texture3D;
- #endif /* __ID3D10Texture3D_FWD_DEFINED__ */
- #ifndef __ID3D10View_FWD_DEFINED__
- #define __ID3D10View_FWD_DEFINED__
- typedef interface ID3D10View ID3D10View;
- #endif /* __ID3D10View_FWD_DEFINED__ */
- #ifndef __ID3D10ShaderResourceView_FWD_DEFINED__
- #define __ID3D10ShaderResourceView_FWD_DEFINED__
- typedef interface ID3D10ShaderResourceView ID3D10ShaderResourceView;
- #endif /* __ID3D10ShaderResourceView_FWD_DEFINED__ */
- #ifndef __ID3D10RenderTargetView_FWD_DEFINED__
- #define __ID3D10RenderTargetView_FWD_DEFINED__
- typedef interface ID3D10RenderTargetView ID3D10RenderTargetView;
- #endif /* __ID3D10RenderTargetView_FWD_DEFINED__ */
- #ifndef __ID3D10DepthStencilView_FWD_DEFINED__
- #define __ID3D10DepthStencilView_FWD_DEFINED__
- typedef interface ID3D10DepthStencilView ID3D10DepthStencilView;
- #endif /* __ID3D10DepthStencilView_FWD_DEFINED__ */
- #ifndef __ID3D10VertexShader_FWD_DEFINED__
- #define __ID3D10VertexShader_FWD_DEFINED__
- typedef interface ID3D10VertexShader ID3D10VertexShader;
- #endif /* __ID3D10VertexShader_FWD_DEFINED__ */
- #ifndef __ID3D10GeometryShader_FWD_DEFINED__
- #define __ID3D10GeometryShader_FWD_DEFINED__
- typedef interface ID3D10GeometryShader ID3D10GeometryShader;
- #endif /* __ID3D10GeometryShader_FWD_DEFINED__ */
- #ifndef __ID3D10PixelShader_FWD_DEFINED__
- #define __ID3D10PixelShader_FWD_DEFINED__
- typedef interface ID3D10PixelShader ID3D10PixelShader;
- #endif /* __ID3D10PixelShader_FWD_DEFINED__ */
- #ifndef __ID3D10InputLayout_FWD_DEFINED__
- #define __ID3D10InputLayout_FWD_DEFINED__
- typedef interface ID3D10InputLayout ID3D10InputLayout;
- #endif /* __ID3D10InputLayout_FWD_DEFINED__ */
- #ifndef __ID3D10SamplerState_FWD_DEFINED__
- #define __ID3D10SamplerState_FWD_DEFINED__
- typedef interface ID3D10SamplerState ID3D10SamplerState;
- #endif /* __ID3D10SamplerState_FWD_DEFINED__ */
- #ifndef __ID3D10Asynchronous_FWD_DEFINED__
- #define __ID3D10Asynchronous_FWD_DEFINED__
- typedef interface ID3D10Asynchronous ID3D10Asynchronous;
- #endif /* __ID3D10Asynchronous_FWD_DEFINED__ */
- #ifndef __ID3D10Query_FWD_DEFINED__
- #define __ID3D10Query_FWD_DEFINED__
- typedef interface ID3D10Query ID3D10Query;
- #endif /* __ID3D10Query_FWD_DEFINED__ */
- #ifndef __ID3D10Predicate_FWD_DEFINED__
- #define __ID3D10Predicate_FWD_DEFINED__
- typedef interface ID3D10Predicate ID3D10Predicate;
- #endif /* __ID3D10Predicate_FWD_DEFINED__ */
- #ifndef __ID3D10Counter_FWD_DEFINED__
- #define __ID3D10Counter_FWD_DEFINED__
- typedef interface ID3D10Counter ID3D10Counter;
- #endif /* __ID3D10Counter_FWD_DEFINED__ */
- #ifndef __ID3D10Device_FWD_DEFINED__
- #define __ID3D10Device_FWD_DEFINED__
- typedef interface ID3D10Device ID3D10Device;
- #endif /* __ID3D10Device_FWD_DEFINED__ */
- #ifndef __ID3D10Multithread_FWD_DEFINED__
- #define __ID3D10Multithread_FWD_DEFINED__
- typedef interface ID3D10Multithread ID3D10Multithread;
- #endif /* __ID3D10Multithread_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "ocidl.h"
- #include "dxgi.h"
- #include "d3dcommon.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- /* interface __MIDL_itf_d3d10_0000_0000 */
- /* [local] */
- #ifndef _D3D10_CONSTANTS
- #define _D3D10_CONSTANTS
- #define D3D10_16BIT_INDEX_STRIP_CUT_VALUE ( 0xffff )
- #define D3D10_32BIT_INDEX_STRIP_CUT_VALUE ( 0xffffffff )
- #define D3D10_8BIT_INDEX_STRIP_CUT_VALUE ( 0xff )
- #define D3D10_ARRAY_AXIS_ADDRESS_RANGE_BIT_COUNT ( 9 )
- #define D3D10_CLIP_OR_CULL_DISTANCE_COUNT ( 8 )
- #define D3D10_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT ( 2 )
- #define D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT ( 14 )
- #define D3D10_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS ( 4 )
- #define D3D10_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D10_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT ( 15 )
- #define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS ( 4 )
- #define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT ( 15 )
- #define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST ( 1 )
- #define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS ( 1 )
- #define D3D10_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT ( 64 )
- #define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS ( 4 )
- #define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT ( 1 )
- #define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST ( 1 )
- #define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS ( 1 )
- #define D3D10_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT ( 32 )
- #define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS ( 1 )
- #define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT ( 128 )
- #define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST ( 1 )
- #define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS ( 1 )
- #define D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT ( 128 )
- #define D3D10_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS ( 1 )
- #define D3D10_COMMONSHADER_SAMPLER_REGISTER_COUNT ( 16 )
- #define D3D10_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST ( 1 )
- #define D3D10_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS ( 1 )
- #define D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT ( 16 )
- #define D3D10_COMMONSHADER_SUBROUTINE_NESTING_LIMIT ( 32 )
- #define D3D10_COMMONSHADER_TEMP_REGISTER_COMPONENTS ( 4 )
- #define D3D10_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D10_COMMONSHADER_TEMP_REGISTER_COUNT ( 4096 )
- #define D3D10_COMMONSHADER_TEMP_REGISTER_READS_PER_INST ( 3 )
- #define D3D10_COMMONSHADER_TEMP_REGISTER_READ_PORTS ( 3 )
- #define D3D10_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX ( 10 )
- #define D3D10_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN ( -10 )
- #define D3D10_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE ( -8 )
- #define D3D10_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE ( 7 )
- #define D3D10_DEFAULT_BLEND_FACTOR_ALPHA ( 1.0f )
- #define D3D10_DEFAULT_BLEND_FACTOR_BLUE ( 1.0f )
- #define D3D10_DEFAULT_BLEND_FACTOR_GREEN ( 1.0f )
- #define D3D10_DEFAULT_BLEND_FACTOR_RED ( 1.0f )
- #define D3D10_DEFAULT_BORDER_COLOR_COMPONENT ( 0.0f )
- #define D3D10_DEFAULT_DEPTH_BIAS ( 0 )
- #define D3D10_DEFAULT_DEPTH_BIAS_CLAMP ( 0.0f )
- #define D3D10_DEFAULT_MAX_ANISOTROPY ( 16.0f )
- #define D3D10_DEFAULT_MIP_LOD_BIAS ( 0.0f )
- #define D3D10_DEFAULT_RENDER_TARGET_ARRAY_INDEX ( 0 )
- #define D3D10_DEFAULT_SAMPLE_MASK ( 0xffffffff )
- #define D3D10_DEFAULT_SCISSOR_ENDX ( 0 )
- #define D3D10_DEFAULT_SCISSOR_ENDY ( 0 )
- #define D3D10_DEFAULT_SCISSOR_STARTX ( 0 )
- #define D3D10_DEFAULT_SCISSOR_STARTY ( 0 )
- #define D3D10_DEFAULT_SLOPE_SCALED_DEPTH_BIAS ( 0.0f )
- #define D3D10_DEFAULT_STENCIL_READ_MASK ( 0xff )
- #define D3D10_DEFAULT_STENCIL_REFERENCE ( 0 )
- #define D3D10_DEFAULT_STENCIL_WRITE_MASK ( 0xff )
- #define D3D10_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX ( 0 )
- #define D3D10_DEFAULT_VIEWPORT_HEIGHT ( 0 )
- #define D3D10_DEFAULT_VIEWPORT_MAX_DEPTH ( 0.0f )
- #define D3D10_DEFAULT_VIEWPORT_MIN_DEPTH ( 0.0f )
- #define D3D10_DEFAULT_VIEWPORT_TOPLEFTX ( 0 )
- #define D3D10_DEFAULT_VIEWPORT_TOPLEFTY ( 0 )
- #define D3D10_DEFAULT_VIEWPORT_WIDTH ( 0 )
- #define D3D10_FLOAT16_FUSED_TOLERANCE_IN_ULP ( 0.6 )
- #define D3D10_FLOAT32_MAX ( 3.402823466e+38f )
- #define D3D10_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP ( 0.6f )
- #define D3D10_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR ( 2.4f )
- #define D3D10_FLOAT_TO_SRGB_EXPONENT_NUMERATOR ( 1.0f )
- #define D3D10_FLOAT_TO_SRGB_OFFSET ( 0.055f )
- #define D3D10_FLOAT_TO_SRGB_SCALE_1 ( 12.92f )
- #define D3D10_FLOAT_TO_SRGB_SCALE_2 ( 1.055f )
- #define D3D10_FLOAT_TO_SRGB_THRESHOLD ( 0.0031308f )
- #define D3D10_FTOI_INSTRUCTION_MAX_INPUT ( 2147483647.999f )
- #define D3D10_FTOI_INSTRUCTION_MIN_INPUT ( -2147483648.999f )
- #define D3D10_FTOU_INSTRUCTION_MAX_INPUT ( 4294967295.999f )
- #define D3D10_FTOU_INSTRUCTION_MIN_INPUT ( 0.0f )
- #define D3D10_GS_INPUT_PRIM_CONST_REGISTER_COMPONENTS ( 1 )
- #define D3D10_GS_INPUT_PRIM_CONST_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D10_GS_INPUT_PRIM_CONST_REGISTER_COUNT ( 1 )
- #define D3D10_GS_INPUT_PRIM_CONST_REGISTER_READS_PER_INST ( 2 )
- #define D3D10_GS_INPUT_PRIM_CONST_REGISTER_READ_PORTS ( 1 )
- #define D3D10_GS_INPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D10_GS_INPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D10_GS_INPUT_REGISTER_COUNT ( 16 )
- #define D3D10_GS_INPUT_REGISTER_READS_PER_INST ( 2 )
- #define D3D10_GS_INPUT_REGISTER_READ_PORTS ( 1 )
- #define D3D10_GS_INPUT_REGISTER_VERTICES ( 6 )
- #define D3D10_GS_OUTPUT_ELEMENTS ( 32 )
- #define D3D10_GS_OUTPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D10_GS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D10_GS_OUTPUT_REGISTER_COUNT ( 32 )
- #define D3D10_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES ( 0 )
- #define D3D10_IA_DEFAULT_PRIMITIVE_TOPOLOGY ( 0 )
- #define D3D10_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES ( 0 )
- #define D3D10_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT ( 1 )
- #define D3D10_IA_INSTANCE_ID_BIT_COUNT ( 32 )
- #define D3D10_IA_INTEGER_ARITHMETIC_BIT_COUNT ( 32 )
- #define D3D10_IA_PRIMITIVE_ID_BIT_COUNT ( 32 )
- #define D3D10_IA_VERTEX_ID_BIT_COUNT ( 32 )
- #define D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT ( 16 )
- #define D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS ( 64 )
- #define D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ( 16 )
- #define D3D10_INTEGER_DIVIDE_BY_ZERO_QUOTIENT ( 0xffffffff )
- #define D3D10_INTEGER_DIVIDE_BY_ZERO_REMAINDER ( 0xffffffff )
- #define D3D10_LINEAR_GAMMA ( 1.0f )
- #define D3D10_MAX_BORDER_COLOR_COMPONENT ( 1.0f )
- #define D3D10_MAX_DEPTH ( 1.0f )
- #define D3D10_MAX_MAXANISOTROPY ( 16 )
- #define D3D10_MAX_MULTISAMPLE_SAMPLE_COUNT ( 32 )
- #define D3D10_MAX_POSITION_VALUE ( 3.402823466e+34f )
- #define D3D10_MAX_TEXTURE_DIMENSION_2_TO_EXP ( 17 )
- #define D3D10_MIN_BORDER_COLOR_COMPONENT ( 0.0f )
- #define D3D10_MIN_DEPTH ( 0.0f )
- #define D3D10_MIN_MAXANISOTROPY ( 0 )
- #define D3D10_MIP_LOD_BIAS_MAX ( 15.99f )
- #define D3D10_MIP_LOD_BIAS_MIN ( -16.0f )
- #define D3D10_MIP_LOD_FRACTIONAL_BIT_COUNT ( 6 )
- #define D3D10_MIP_LOD_RANGE_BIT_COUNT ( 8 )
- #define D3D10_MULTISAMPLE_ANTIALIAS_LINE_WIDTH ( 1.4f )
- #define D3D10_NONSAMPLE_FETCH_OUT_OF_RANGE_ACCESS_RESULT ( 0 )
- #define D3D10_PIXEL_ADDRESS_RANGE_BIT_COUNT ( 13 )
- #define D3D10_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT ( 15 )
- #define D3D10_PS_FRONTFACING_DEFAULT_VALUE ( 0xffffffff )
- #define D3D10_PS_FRONTFACING_FALSE_VALUE ( 0 )
- #define D3D10_PS_FRONTFACING_TRUE_VALUE ( 0xffffffff )
- #define D3D10_PS_INPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D10_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D10_PS_INPUT_REGISTER_COUNT ( 32 )
- #define D3D10_PS_INPUT_REGISTER_READS_PER_INST ( 2 )
- #define D3D10_PS_INPUT_REGISTER_READ_PORTS ( 1 )
- #define D3D10_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT ( 0.0f )
- #define D3D10_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS ( 1 )
- #define D3D10_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D10_PS_OUTPUT_DEPTH_REGISTER_COUNT ( 1 )
- #define D3D10_PS_OUTPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D10_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D10_PS_OUTPUT_REGISTER_COUNT ( 8 )
- #define D3D10_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT ( 0.5f )
- #define D3D10_REQ_BLEND_OBJECT_COUNT_PER_CONTEXT ( 4096 )
- #define D3D10_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP ( 27 )
- #define D3D10_REQ_CONSTANT_BUFFER_ELEMENT_COUNT ( 4096 )
- #define D3D10_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_CONTEXT ( 4096 )
- #define D3D10_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP ( 32 )
- #define D3D10_REQ_DRAW_VERTEX_COUNT_2_TO_EXP ( 32 )
- #define D3D10_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION ( 8192 )
- #define D3D10_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT ( 1024 )
- #define D3D10_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT ( 4096 )
- #define D3D10_REQ_MAXANISOTROPY ( 16 )
- #define D3D10_REQ_MIP_LEVELS ( 14 )
- #define D3D10_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES ( 2048 )
- #define D3D10_REQ_RASTERIZER_OBJECT_COUNT_PER_CONTEXT ( 4096 )
- #define D3D10_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH ( 8192 )
- #define D3D10_REQ_RESOURCE_SIZE_IN_MEGABYTES ( 128 )
- #define D3D10_REQ_RESOURCE_VIEW_COUNT_PER_CONTEXT_2_TO_EXP ( 20 )
- #define D3D10_REQ_SAMPLER_OBJECT_COUNT_PER_CONTEXT ( 4096 )
- #define D3D10_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION ( 512 )
- #define D3D10_REQ_TEXTURE1D_U_DIMENSION ( 8192 )
- #define D3D10_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION ( 512 )
- #define D3D10_REQ_TEXTURE2D_U_OR_V_DIMENSION ( 8192 )
- #define D3D10_REQ_TEXTURE3D_U_V_OR_W_DIMENSION ( 2048 )
- #define D3D10_REQ_TEXTURECUBE_DIMENSION ( 8192 )
- #define D3D10_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL ( 0 )
- #define D3D10_SHADER_MAJOR_VERSION ( 4 )
- #define D3D10_SHADER_MINOR_VERSION ( 0 )
- #define D3D10_SHIFT_INSTRUCTION_PAD_VALUE ( 0 )
- #define D3D10_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT ( 5 )
- #define D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ( 8 )
- #define D3D10_SO_BUFFER_MAX_STRIDE_IN_BYTES ( 2048 )
- #define D3D10_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES ( 256 )
- #define D3D10_SO_BUFFER_SLOT_COUNT ( 4 )
- #define D3D10_SO_DDI_REGISTER_INDEX_DENOTING_GAP ( 0xffffffff )
- #define D3D10_SO_MULTIPLE_BUFFER_ELEMENTS_PER_BUFFER ( 1 )
- #define D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT ( 64 )
- #define D3D10_SRGB_GAMMA ( 2.2f )
- #define D3D10_SRGB_TO_FLOAT_DENOMINATOR_1 ( 12.92f )
- #define D3D10_SRGB_TO_FLOAT_DENOMINATOR_2 ( 1.055f )
- #define D3D10_SRGB_TO_FLOAT_EXPONENT ( 2.4f )
- #define D3D10_SRGB_TO_FLOAT_OFFSET ( 0.055f )
- #define D3D10_SRGB_TO_FLOAT_THRESHOLD ( 0.04045f )
- #define D3D10_SRGB_TO_FLOAT_TOLERANCE_IN_ULP ( 0.5f )
- #define D3D10_STANDARD_COMPONENT_BIT_COUNT ( 32 )
- #define D3D10_STANDARD_COMPONENT_BIT_COUNT_DOUBLED ( 64 )
- #define D3D10_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE ( 4 )
- #define D3D10_STANDARD_PIXEL_COMPONENT_COUNT ( 128 )
- #define D3D10_STANDARD_PIXEL_ELEMENT_COUNT ( 32 )
- #define D3D10_STANDARD_VECTOR_SIZE ( 4 )
- #define D3D10_STANDARD_VERTEX_ELEMENT_COUNT ( 16 )
- #define D3D10_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT ( 64 )
- #define D3D10_SUBPIXEL_FRACTIONAL_BIT_COUNT ( 8 )
- #define D3D10_SUBTEXEL_FRACTIONAL_BIT_COUNT ( 6 )
- #define D3D10_TEXEL_ADDRESS_RANGE_BIT_COUNT ( 18 )
- #define D3D10_UNBOUND_MEMORY_ACCESS_RESULT ( 0 )
- #define D3D10_VIEWPORT_AND_SCISSORRECT_MAX_INDEX ( 15 )
- #define D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE ( 16 )
- #define D3D10_VIEWPORT_BOUNDS_MAX ( 16383 )
- #define D3D10_VIEWPORT_BOUNDS_MIN ( -16384 )
- #define D3D10_VS_INPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D10_VS_INPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D10_VS_INPUT_REGISTER_COUNT ( 16 )
- #define D3D10_VS_INPUT_REGISTER_READS_PER_INST ( 2 )
- #define D3D10_VS_INPUT_REGISTER_READ_PORTS ( 1 )
- #define D3D10_VS_OUTPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D10_VS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D10_VS_OUTPUT_REGISTER_COUNT ( 16 )
- #define D3D10_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT ( 10 )
- #define D3D10_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP ( 25 )
- #define D3D10_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP ( 25 )
- #define D3D_MAJOR_VERSION ( 10 )
- #define D3D_MINOR_VERSION ( 0 )
- #define D3D_SPEC_DATE_DAY ( 8 )
- #define D3D_SPEC_DATE_MONTH ( 8 )
- #define D3D_SPEC_DATE_YEAR ( 2006 )
- #define D3D_SPEC_VERSION ( 1.050005 )
- #endif
- #if !defined( __d3d10_1_h__ ) && !(D3D10_HEADER_MINOR_VERSION >= 1)
- #define D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT
- #define D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT
- #endif
- #define _FACD3D10 ( 0x879 )
- #define _FACD3D10DEBUG ( ( _FACD3D10 + 1 ) )
- #define MAKE_D3D10_HRESULT( code ) MAKE_HRESULT( 1, _FACD3D10, code )
- #define MAKE_D3D10_STATUS( code ) MAKE_HRESULT( 0, _FACD3D10, code )
- #define D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS MAKE_D3D10_HRESULT(1)
- #define D3D10_ERROR_FILE_NOT_FOUND MAKE_D3D10_HRESULT(2)
- #if __SAL_H_FULL_VER < 140050727
- #undef __in_range
- #undef __in_xcount_opt
- #define __in_range(x, y)
- #define __in_xcount_opt(x)
- #endif
- typedef
- enum D3D10_INPUT_CLASSIFICATION
- { D3D10_INPUT_PER_VERTEX_DATA = 0,
- D3D10_INPUT_PER_INSTANCE_DATA = 1
- } D3D10_INPUT_CLASSIFICATION;
- #define D3D10_APPEND_ALIGNED_ELEMENT ( 0xffffffff )
- typedef struct D3D10_INPUT_ELEMENT_DESC
- {
- LPCSTR SemanticName;
- UINT SemanticIndex;
- DXGI_FORMAT Format;
- UINT InputSlot;
- UINT AlignedByteOffset;
- D3D10_INPUT_CLASSIFICATION InputSlotClass;
- UINT InstanceDataStepRate;
- } D3D10_INPUT_ELEMENT_DESC;
- typedef
- enum D3D10_FILL_MODE
- { D3D10_FILL_WIREFRAME = 2,
- D3D10_FILL_SOLID = 3
- } D3D10_FILL_MODE;
- typedef D3D_PRIMITIVE_TOPOLOGY D3D10_PRIMITIVE_TOPOLOGY;
- typedef D3D_PRIMITIVE D3D10_PRIMITIVE;
- typedef
- enum D3D10_CULL_MODE
- { D3D10_CULL_NONE = 1,
- D3D10_CULL_FRONT = 2,
- D3D10_CULL_BACK = 3
- } D3D10_CULL_MODE;
- typedef struct D3D10_SO_DECLARATION_ENTRY
- {
- LPCSTR SemanticName;
- UINT SemanticIndex;
- BYTE StartComponent;
- BYTE ComponentCount;
- BYTE OutputSlot;
- } D3D10_SO_DECLARATION_ENTRY;
- typedef struct D3D10_VIEWPORT
- {
- INT TopLeftX;
- INT TopLeftY;
- UINT Width;
- UINT Height;
- FLOAT MinDepth;
- FLOAT MaxDepth;
- } D3D10_VIEWPORT;
- typedef
- enum D3D10_RESOURCE_DIMENSION
- { D3D10_RESOURCE_DIMENSION_UNKNOWN = 0,
- D3D10_RESOURCE_DIMENSION_BUFFER = 1,
- D3D10_RESOURCE_DIMENSION_TEXTURE1D = 2,
- D3D10_RESOURCE_DIMENSION_TEXTURE2D = 3,
- D3D10_RESOURCE_DIMENSION_TEXTURE3D = 4
- } D3D10_RESOURCE_DIMENSION;
- typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION;
- typedef
- enum D3D10_DSV_DIMENSION
- { D3D10_DSV_DIMENSION_UNKNOWN = 0,
- D3D10_DSV_DIMENSION_TEXTURE1D = 1,
- D3D10_DSV_DIMENSION_TEXTURE1DARRAY = 2,
- D3D10_DSV_DIMENSION_TEXTURE2D = 3,
- D3D10_DSV_DIMENSION_TEXTURE2DARRAY = 4,
- D3D10_DSV_DIMENSION_TEXTURE2DMS = 5,
- D3D10_DSV_DIMENSION_TEXTURE2DMSARRAY = 6
- } D3D10_DSV_DIMENSION;
- typedef
- enum D3D10_RTV_DIMENSION
- { D3D10_RTV_DIMENSION_UNKNOWN = 0,
- D3D10_RTV_DIMENSION_BUFFER = 1,
- D3D10_RTV_DIMENSION_TEXTURE1D = 2,
- D3D10_RTV_DIMENSION_TEXTURE1DARRAY = 3,
- D3D10_RTV_DIMENSION_TEXTURE2D = 4,
- D3D10_RTV_DIMENSION_TEXTURE2DARRAY = 5,
- D3D10_RTV_DIMENSION_TEXTURE2DMS = 6,
- D3D10_RTV_DIMENSION_TEXTURE2DMSARRAY = 7,
- D3D10_RTV_DIMENSION_TEXTURE3D = 8
- } D3D10_RTV_DIMENSION;
- typedef
- enum D3D10_USAGE
- { D3D10_USAGE_DEFAULT = 0,
- D3D10_USAGE_IMMUTABLE = 1,
- D3D10_USAGE_DYNAMIC = 2,
- D3D10_USAGE_STAGING = 3
- } D3D10_USAGE;
- typedef
- enum D3D10_BIND_FLAG
- { D3D10_BIND_VERTEX_BUFFER = 0x1L,
- D3D10_BIND_INDEX_BUFFER = 0x2L,
- D3D10_BIND_CONSTANT_BUFFER = 0x4L,
- D3D10_BIND_SHADER_RESOURCE = 0x8L,
- D3D10_BIND_STREAM_OUTPUT = 0x10L,
- D3D10_BIND_RENDER_TARGET = 0x20L,
- D3D10_BIND_DEPTH_STENCIL = 0x40L
- } D3D10_BIND_FLAG;
- typedef
- enum D3D10_CPU_ACCESS_FLAG
- { D3D10_CPU_ACCESS_WRITE = 0x10000L,
- D3D10_CPU_ACCESS_READ = 0x20000L
- } D3D10_CPU_ACCESS_FLAG;
- typedef
- enum D3D10_RESOURCE_MISC_FLAG
- { D3D10_RESOURCE_MISC_GENERATE_MIPS = 0x1L,
- D3D10_RESOURCE_MISC_SHARED = 0x2L,
- D3D10_RESOURCE_MISC_TEXTURECUBE = 0x4L,
- D3D10_RESOURCE_MISC_SHARED_KEYEDMUTEX = 0x10L,
- D3D10_RESOURCE_MISC_GDI_COMPATIBLE = 0x20L
- } D3D10_RESOURCE_MISC_FLAG;
- typedef
- enum D3D10_MAP
- { D3D10_MAP_READ = 1,
- D3D10_MAP_WRITE = 2,
- D3D10_MAP_READ_WRITE = 3,
- D3D10_MAP_WRITE_DISCARD = 4,
- D3D10_MAP_WRITE_NO_OVERWRITE = 5
- } D3D10_MAP;
- typedef
- enum D3D10_MAP_FLAG
- { D3D10_MAP_FLAG_DO_NOT_WAIT = 0x100000L
- } D3D10_MAP_FLAG;
- typedef
- enum D3D10_RAISE_FLAG
- { D3D10_RAISE_FLAG_DRIVER_INTERNAL_ERROR = 0x1L
- } D3D10_RAISE_FLAG;
- typedef
- enum D3D10_CLEAR_FLAG
- { D3D10_CLEAR_DEPTH = 0x1L,
- D3D10_CLEAR_STENCIL = 0x2L
- } D3D10_CLEAR_FLAG;
- typedef RECT D3D10_RECT;
- typedef struct D3D10_BOX
- {
- UINT left;
- UINT top;
- UINT front;
- UINT right;
- UINT bottom;
- UINT back;
- } D3D10_BOX;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0000_v0_0_s_ifspec;
- #ifndef __ID3D10DeviceChild_INTERFACE_DEFINED__
- #define __ID3D10DeviceChild_INTERFACE_DEFINED__
- /* interface ID3D10DeviceChild */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10DeviceChild;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C00-342C-4106-A19F-4F2704F689F0")
- ID3D10DeviceChild : public IUnknown
- {
- public:
- virtual void STDMETHODCALLTYPE GetDevice(
- /* [annotation] */
- __out ID3D10Device **ppDevice) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10DeviceChildVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10DeviceChild * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10DeviceChild * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10DeviceChild * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10DeviceChild * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10DeviceChild * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10DeviceChild * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10DeviceChild * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D10DeviceChildVtbl;
- interface ID3D10DeviceChild
- {
- CONST_VTBL struct ID3D10DeviceChildVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10DeviceChild_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10DeviceChild_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10DeviceChild_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10DeviceChild_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10DeviceChild_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10DeviceChild_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10DeviceChild_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10DeviceChild_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0001 */
- /* [local] */
- typedef
- enum D3D10_COMPARISON_FUNC
- { D3D10_COMPARISON_NEVER = 1,
- D3D10_COMPARISON_LESS = 2,
- D3D10_COMPARISON_EQUAL = 3,
- D3D10_COMPARISON_LESS_EQUAL = 4,
- D3D10_COMPARISON_GREATER = 5,
- D3D10_COMPARISON_NOT_EQUAL = 6,
- D3D10_COMPARISON_GREATER_EQUAL = 7,
- D3D10_COMPARISON_ALWAYS = 8
- } D3D10_COMPARISON_FUNC;
- typedef
- enum D3D10_DEPTH_WRITE_MASK
- { D3D10_DEPTH_WRITE_MASK_ZERO = 0,
- D3D10_DEPTH_WRITE_MASK_ALL = 1
- } D3D10_DEPTH_WRITE_MASK;
- typedef
- enum D3D10_STENCIL_OP
- { D3D10_STENCIL_OP_KEEP = 1,
- D3D10_STENCIL_OP_ZERO = 2,
- D3D10_STENCIL_OP_REPLACE = 3,
- D3D10_STENCIL_OP_INCR_SAT = 4,
- D3D10_STENCIL_OP_DECR_SAT = 5,
- D3D10_STENCIL_OP_INVERT = 6,
- D3D10_STENCIL_OP_INCR = 7,
- D3D10_STENCIL_OP_DECR = 8
- } D3D10_STENCIL_OP;
- typedef struct D3D10_DEPTH_STENCILOP_DESC
- {
- D3D10_STENCIL_OP StencilFailOp;
- D3D10_STENCIL_OP StencilDepthFailOp;
- D3D10_STENCIL_OP StencilPassOp;
- D3D10_COMPARISON_FUNC StencilFunc;
- } D3D10_DEPTH_STENCILOP_DESC;
- typedef struct D3D10_DEPTH_STENCIL_DESC
- {
- BOOL DepthEnable;
- D3D10_DEPTH_WRITE_MASK DepthWriteMask;
- D3D10_COMPARISON_FUNC DepthFunc;
- BOOL StencilEnable;
- UINT8 StencilReadMask;
- UINT8 StencilWriteMask;
- D3D10_DEPTH_STENCILOP_DESC FrontFace;
- D3D10_DEPTH_STENCILOP_DESC BackFace;
- } D3D10_DEPTH_STENCIL_DESC;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0001_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0001_v0_0_s_ifspec;
- #ifndef __ID3D10DepthStencilState_INTERFACE_DEFINED__
- #define __ID3D10DepthStencilState_INTERFACE_DEFINED__
- /* interface ID3D10DepthStencilState */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10DepthStencilState;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("2B4B1CC8-A4AD-41f8-8322-CA86FC3EC675")
- ID3D10DepthStencilState : public ID3D10DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_DEPTH_STENCIL_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10DepthStencilStateVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10DepthStencilState * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10DepthStencilState * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10DepthStencilState * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10DepthStencilState * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10DepthStencilState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10DepthStencilState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10DepthStencilState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10DepthStencilState * This,
- /* [annotation] */
- __out D3D10_DEPTH_STENCIL_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10DepthStencilStateVtbl;
- interface ID3D10DepthStencilState
- {
- CONST_VTBL struct ID3D10DepthStencilStateVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10DepthStencilState_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10DepthStencilState_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10DepthStencilState_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10DepthStencilState_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10DepthStencilState_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10DepthStencilState_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10DepthStencilState_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10DepthStencilState_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10DepthStencilState_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0002 */
- /* [local] */
- typedef
- enum D3D10_BLEND
- { D3D10_BLEND_ZERO = 1,
- D3D10_BLEND_ONE = 2,
- D3D10_BLEND_SRC_COLOR = 3,
- D3D10_BLEND_INV_SRC_COLOR = 4,
- D3D10_BLEND_SRC_ALPHA = 5,
- D3D10_BLEND_INV_SRC_ALPHA = 6,
- D3D10_BLEND_DEST_ALPHA = 7,
- D3D10_BLEND_INV_DEST_ALPHA = 8,
- D3D10_BLEND_DEST_COLOR = 9,
- D3D10_BLEND_INV_DEST_COLOR = 10,
- D3D10_BLEND_SRC_ALPHA_SAT = 11,
- D3D10_BLEND_BLEND_FACTOR = 14,
- D3D10_BLEND_INV_BLEND_FACTOR = 15,
- D3D10_BLEND_SRC1_COLOR = 16,
- D3D10_BLEND_INV_SRC1_COLOR = 17,
- D3D10_BLEND_SRC1_ALPHA = 18,
- D3D10_BLEND_INV_SRC1_ALPHA = 19
- } D3D10_BLEND;
- typedef
- enum D3D10_BLEND_OP
- { D3D10_BLEND_OP_ADD = 1,
- D3D10_BLEND_OP_SUBTRACT = 2,
- D3D10_BLEND_OP_REV_SUBTRACT = 3,
- D3D10_BLEND_OP_MIN = 4,
- D3D10_BLEND_OP_MAX = 5
- } D3D10_BLEND_OP;
- typedef
- enum D3D10_COLOR_WRITE_ENABLE
- { D3D10_COLOR_WRITE_ENABLE_RED = 1,
- D3D10_COLOR_WRITE_ENABLE_GREEN = 2,
- D3D10_COLOR_WRITE_ENABLE_BLUE = 4,
- D3D10_COLOR_WRITE_ENABLE_ALPHA = 8,
- D3D10_COLOR_WRITE_ENABLE_ALL = ( ( ( D3D10_COLOR_WRITE_ENABLE_RED | D3D10_COLOR_WRITE_ENABLE_GREEN ) | D3D10_COLOR_WRITE_ENABLE_BLUE ) | D3D10_COLOR_WRITE_ENABLE_ALPHA )
- } D3D10_COLOR_WRITE_ENABLE;
- typedef struct D3D10_BLEND_DESC
- {
- BOOL AlphaToCoverageEnable;
- BOOL BlendEnable[ 8 ];
- D3D10_BLEND SrcBlend;
- D3D10_BLEND DestBlend;
- D3D10_BLEND_OP BlendOp;
- D3D10_BLEND SrcBlendAlpha;
- D3D10_BLEND DestBlendAlpha;
- D3D10_BLEND_OP BlendOpAlpha;
- UINT8 RenderTargetWriteMask[ 8 ];
- } D3D10_BLEND_DESC;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0002_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0002_v0_0_s_ifspec;
- #ifndef __ID3D10BlendState_INTERFACE_DEFINED__
- #define __ID3D10BlendState_INTERFACE_DEFINED__
- /* interface ID3D10BlendState */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10BlendState;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("EDAD8D19-8A35-4d6d-8566-2EA276CDE161")
- ID3D10BlendState : public ID3D10DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_BLEND_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10BlendStateVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10BlendState * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10BlendState * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10BlendState * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10BlendState * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10BlendState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10BlendState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10BlendState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10BlendState * This,
- /* [annotation] */
- __out D3D10_BLEND_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10BlendStateVtbl;
- interface ID3D10BlendState
- {
- CONST_VTBL struct ID3D10BlendStateVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10BlendState_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10BlendState_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10BlendState_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10BlendState_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10BlendState_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10BlendState_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10BlendState_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10BlendState_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10BlendState_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0003 */
- /* [local] */
- typedef struct D3D10_RASTERIZER_DESC
- {
- D3D10_FILL_MODE FillMode;
- D3D10_CULL_MODE CullMode;
- BOOL FrontCounterClockwise;
- INT DepthBias;
- FLOAT DepthBiasClamp;
- FLOAT SlopeScaledDepthBias;
- BOOL DepthClipEnable;
- BOOL ScissorEnable;
- BOOL MultisampleEnable;
- BOOL AntialiasedLineEnable;
- } D3D10_RASTERIZER_DESC;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0003_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0003_v0_0_s_ifspec;
- #ifndef __ID3D10RasterizerState_INTERFACE_DEFINED__
- #define __ID3D10RasterizerState_INTERFACE_DEFINED__
- /* interface ID3D10RasterizerState */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10RasterizerState;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("A2A07292-89AF-4345-BE2E-C53D9FBB6E9F")
- ID3D10RasterizerState : public ID3D10DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_RASTERIZER_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10RasterizerStateVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10RasterizerState * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10RasterizerState * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10RasterizerState * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10RasterizerState * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10RasterizerState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10RasterizerState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10RasterizerState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10RasterizerState * This,
- /* [annotation] */
- __out D3D10_RASTERIZER_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10RasterizerStateVtbl;
- interface ID3D10RasterizerState
- {
- CONST_VTBL struct ID3D10RasterizerStateVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10RasterizerState_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10RasterizerState_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10RasterizerState_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10RasterizerState_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10RasterizerState_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10RasterizerState_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10RasterizerState_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10RasterizerState_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10RasterizerState_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0004 */
- /* [local] */
- #if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
- inline UINT D3D10CalcSubresource( UINT MipSlice, UINT ArraySlice, UINT MipLevels )
- { return MipSlice + ArraySlice * MipLevels; }
- #endif
- typedef struct D3D10_SUBRESOURCE_DATA
- {
- const void *pSysMem;
- UINT SysMemPitch;
- UINT SysMemSlicePitch;
- } D3D10_SUBRESOURCE_DATA;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0004_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0004_v0_0_s_ifspec;
- #ifndef __ID3D10Resource_INTERFACE_DEFINED__
- #define __ID3D10Resource_INTERFACE_DEFINED__
- /* interface ID3D10Resource */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10Resource;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C01-342C-4106-A19F-4F2704F689F0")
- ID3D10Resource : public ID3D10DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetType(
- /* [annotation] */
- __out D3D10_RESOURCE_DIMENSION *rType) = 0;
-
- virtual void STDMETHODCALLTYPE SetEvictionPriority(
- /* [annotation] */
- __in UINT EvictionPriority) = 0;
-
- virtual UINT STDMETHODCALLTYPE GetEvictionPriority( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10ResourceVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10Resource * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10Resource * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10Resource * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10Resource * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10Resource * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10Resource * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10Resource * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetType )(
- ID3D10Resource * This,
- /* [annotation] */
- __out D3D10_RESOURCE_DIMENSION *rType);
-
- void ( STDMETHODCALLTYPE *SetEvictionPriority )(
- ID3D10Resource * This,
- /* [annotation] */
- __in UINT EvictionPriority);
-
- UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
- ID3D10Resource * This);
-
- END_INTERFACE
- } ID3D10ResourceVtbl;
- interface ID3D10Resource
- {
- CONST_VTBL struct ID3D10ResourceVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10Resource_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10Resource_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10Resource_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10Resource_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10Resource_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10Resource_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10Resource_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10Resource_GetType(This,rType) \
- ( (This)->lpVtbl -> GetType(This,rType) )
- #define ID3D10Resource_SetEvictionPriority(This,EvictionPriority) \
- ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
- #define ID3D10Resource_GetEvictionPriority(This) \
- ( (This)->lpVtbl -> GetEvictionPriority(This) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10Resource_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0005 */
- /* [local] */
- typedef struct D3D10_BUFFER_DESC
- {
- UINT ByteWidth;
- D3D10_USAGE Usage;
- UINT BindFlags;
- UINT CPUAccessFlags;
- UINT MiscFlags;
- } D3D10_BUFFER_DESC;
- #if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
- struct CD3D10_BUFFER_DESC : public D3D10_BUFFER_DESC
- {
- CD3D10_BUFFER_DESC()
- {}
- explicit CD3D10_BUFFER_DESC( const D3D10_BUFFER_DESC& o ) :
- D3D10_BUFFER_DESC( o )
- {}
- explicit CD3D10_BUFFER_DESC(
- UINT byteWidth,
- UINT bindFlags,
- D3D10_USAGE usage = D3D10_USAGE_DEFAULT,
- UINT cpuaccessFlags = 0,
- UINT miscFlags = 0 )
- {
- ByteWidth = byteWidth;
- Usage = usage;
- BindFlags = bindFlags;
- CPUAccessFlags = cpuaccessFlags ;
- MiscFlags = miscFlags;
- }
- ~CD3D10_BUFFER_DESC() {}
- operator const D3D10_BUFFER_DESC&() const { return *this; }
- };
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0005_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0005_v0_0_s_ifspec;
- #ifndef __ID3D10Buffer_INTERFACE_DEFINED__
- #define __ID3D10Buffer_INTERFACE_DEFINED__
- /* interface ID3D10Buffer */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10Buffer;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C02-342C-4106-A19F-4F2704F689F0")
- ID3D10Buffer : public ID3D10Resource
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Map(
- /* [annotation] */
- __in D3D10_MAP MapType,
- /* [annotation] */
- __in UINT MapFlags,
- /* [annotation] */
- __out void **ppData) = 0;
-
- virtual void STDMETHODCALLTYPE Unmap( void) = 0;
-
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_BUFFER_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10BufferVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10Buffer * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10Buffer * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10Buffer * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10Buffer * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10Buffer * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10Buffer * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10Buffer * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetType )(
- ID3D10Buffer * This,
- /* [annotation] */
- __out D3D10_RESOURCE_DIMENSION *rType);
-
- void ( STDMETHODCALLTYPE *SetEvictionPriority )(
- ID3D10Buffer * This,
- /* [annotation] */
- __in UINT EvictionPriority);
-
- UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
- ID3D10Buffer * This);
-
- HRESULT ( STDMETHODCALLTYPE *Map )(
- ID3D10Buffer * This,
- /* [annotation] */
- __in D3D10_MAP MapType,
- /* [annotation] */
- __in UINT MapFlags,
- /* [annotation] */
- __out void **ppData);
-
- void ( STDMETHODCALLTYPE *Unmap )(
- ID3D10Buffer * This);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10Buffer * This,
- /* [annotation] */
- __out D3D10_BUFFER_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10BufferVtbl;
- interface ID3D10Buffer
- {
- CONST_VTBL struct ID3D10BufferVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10Buffer_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10Buffer_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10Buffer_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10Buffer_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10Buffer_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10Buffer_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10Buffer_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10Buffer_GetType(This,rType) \
- ( (This)->lpVtbl -> GetType(This,rType) )
- #define ID3D10Buffer_SetEvictionPriority(This,EvictionPriority) \
- ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
- #define ID3D10Buffer_GetEvictionPriority(This) \
- ( (This)->lpVtbl -> GetEvictionPriority(This) )
- #define ID3D10Buffer_Map(This,MapType,MapFlags,ppData) \
- ( (This)->lpVtbl -> Map(This,MapType,MapFlags,ppData) )
- #define ID3D10Buffer_Unmap(This) \
- ( (This)->lpVtbl -> Unmap(This) )
- #define ID3D10Buffer_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10Buffer_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0006 */
- /* [local] */
- typedef struct D3D10_TEXTURE1D_DESC
- {
- UINT Width;
- UINT MipLevels;
- UINT ArraySize;
- DXGI_FORMAT Format;
- D3D10_USAGE Usage;
- UINT BindFlags;
- UINT CPUAccessFlags;
- UINT MiscFlags;
- } D3D10_TEXTURE1D_DESC;
- #if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
- struct CD3D10_TEXTURE1D_DESC : public D3D10_TEXTURE1D_DESC
- {
- CD3D10_TEXTURE1D_DESC()
- {}
- explicit CD3D10_TEXTURE1D_DESC( const D3D10_TEXTURE1D_DESC& o ) :
- D3D10_TEXTURE1D_DESC( o )
- {}
- explicit CD3D10_TEXTURE1D_DESC(
- DXGI_FORMAT format,
- UINT width,
- UINT arraySize = 1,
- UINT mipLevels = 0,
- UINT bindFlags = D3D10_BIND_SHADER_RESOURCE,
- D3D10_USAGE usage = D3D10_USAGE_DEFAULT,
- UINT cpuaccessFlags= 0,
- UINT miscFlags = 0 )
- {
- Width = width;
- MipLevels = mipLevels;
- ArraySize = arraySize;
- Format = format;
- Usage = usage;
- BindFlags = bindFlags;
- CPUAccessFlags = cpuaccessFlags;
- MiscFlags = miscFlags;
- }
- ~CD3D10_TEXTURE1D_DESC() {}
- operator const D3D10_TEXTURE1D_DESC&() const { return *this; }
- };
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0006_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0006_v0_0_s_ifspec;
- #ifndef __ID3D10Texture1D_INTERFACE_DEFINED__
- #define __ID3D10Texture1D_INTERFACE_DEFINED__
- /* interface ID3D10Texture1D */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10Texture1D;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C03-342C-4106-A19F-4F2704F689F0")
- ID3D10Texture1D : public ID3D10Resource
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Map(
- /* [annotation] */
- __in UINT Subresource,
- /* [annotation] */
- __in D3D10_MAP MapType,
- /* [annotation] */
- __in UINT MapFlags,
- /* [annotation] */
- __out void **ppData) = 0;
-
- virtual void STDMETHODCALLTYPE Unmap(
- /* [annotation] */
- __in UINT Subresource) = 0;
-
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_TEXTURE1D_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10Texture1DVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10Texture1D * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10Texture1D * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10Texture1D * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10Texture1D * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10Texture1D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10Texture1D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10Texture1D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetType )(
- ID3D10Texture1D * This,
- /* [annotation] */
- __out D3D10_RESOURCE_DIMENSION *rType);
-
- void ( STDMETHODCALLTYPE *SetEvictionPriority )(
- ID3D10Texture1D * This,
- /* [annotation] */
- __in UINT EvictionPriority);
-
- UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
- ID3D10Texture1D * This);
-
- HRESULT ( STDMETHODCALLTYPE *Map )(
- ID3D10Texture1D * This,
- /* [annotation] */
- __in UINT Subresource,
- /* [annotation] */
- __in D3D10_MAP MapType,
- /* [annotation] */
- __in UINT MapFlags,
- /* [annotation] */
- __out void **ppData);
-
- void ( STDMETHODCALLTYPE *Unmap )(
- ID3D10Texture1D * This,
- /* [annotation] */
- __in UINT Subresource);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10Texture1D * This,
- /* [annotation] */
- __out D3D10_TEXTURE1D_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10Texture1DVtbl;
- interface ID3D10Texture1D
- {
- CONST_VTBL struct ID3D10Texture1DVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10Texture1D_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10Texture1D_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10Texture1D_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10Texture1D_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10Texture1D_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10Texture1D_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10Texture1D_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10Texture1D_GetType(This,rType) \
- ( (This)->lpVtbl -> GetType(This,rType) )
- #define ID3D10Texture1D_SetEvictionPriority(This,EvictionPriority) \
- ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
- #define ID3D10Texture1D_GetEvictionPriority(This) \
- ( (This)->lpVtbl -> GetEvictionPriority(This) )
- #define ID3D10Texture1D_Map(This,Subresource,MapType,MapFlags,ppData) \
- ( (This)->lpVtbl -> Map(This,Subresource,MapType,MapFlags,ppData) )
- #define ID3D10Texture1D_Unmap(This,Subresource) \
- ( (This)->lpVtbl -> Unmap(This,Subresource) )
- #define ID3D10Texture1D_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10Texture1D_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0007 */
- /* [local] */
- typedef struct D3D10_TEXTURE2D_DESC
- {
- UINT Width;
- UINT Height;
- UINT MipLevels;
- UINT ArraySize;
- DXGI_FORMAT Format;
- DXGI_SAMPLE_DESC SampleDesc;
- D3D10_USAGE Usage;
- UINT BindFlags;
- UINT CPUAccessFlags;
- UINT MiscFlags;
- } D3D10_TEXTURE2D_DESC;
- #if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
- struct CD3D10_TEXTURE2D_DESC : public D3D10_TEXTURE2D_DESC
- {
- CD3D10_TEXTURE2D_DESC()
- {}
- explicit CD3D10_TEXTURE2D_DESC( const D3D10_TEXTURE2D_DESC& o ) :
- D3D10_TEXTURE2D_DESC( o )
- {}
- explicit CD3D10_TEXTURE2D_DESC(
- DXGI_FORMAT format,
- UINT width,
- UINT height,
- UINT arraySize = 1,
- UINT mipLevels = 0,
- UINT bindFlags = D3D10_BIND_SHADER_RESOURCE,
- D3D10_USAGE usage = D3D10_USAGE_DEFAULT,
- UINT cpuaccessFlags = 0,
- UINT sampleCount = 1,
- UINT sampleQuality = 0,
- UINT miscFlags = 0 )
- {
- Width = width;
- Height = height;
- MipLevels = mipLevels;
- ArraySize = arraySize;
- Format = format;
- SampleDesc.Count = sampleCount;
- SampleDesc.Quality = sampleQuality;
- Usage = usage;
- BindFlags = bindFlags;
- CPUAccessFlags = cpuaccessFlags;
- MiscFlags = miscFlags;
- }
- ~CD3D10_TEXTURE2D_DESC() {}
- operator const D3D10_TEXTURE2D_DESC&() const { return *this; }
- };
- #endif
- typedef struct D3D10_MAPPED_TEXTURE2D
- {
- void *pData;
- UINT RowPitch;
- } D3D10_MAPPED_TEXTURE2D;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0007_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0007_v0_0_s_ifspec;
- #ifndef __ID3D10Texture2D_INTERFACE_DEFINED__
- #define __ID3D10Texture2D_INTERFACE_DEFINED__
- /* interface ID3D10Texture2D */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10Texture2D;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C04-342C-4106-A19F-4F2704F689F0")
- ID3D10Texture2D : public ID3D10Resource
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Map(
- /* [annotation] */
- __in UINT Subresource,
- /* [annotation] */
- __in D3D10_MAP MapType,
- /* [annotation] */
- __in UINT MapFlags,
- /* [annotation] */
- __out D3D10_MAPPED_TEXTURE2D *pMappedTex2D) = 0;
-
- virtual void STDMETHODCALLTYPE Unmap(
- /* [annotation] */
- __in UINT Subresource) = 0;
-
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_TEXTURE2D_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10Texture2DVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10Texture2D * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10Texture2D * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10Texture2D * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10Texture2D * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10Texture2D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10Texture2D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10Texture2D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetType )(
- ID3D10Texture2D * This,
- /* [annotation] */
- __out D3D10_RESOURCE_DIMENSION *rType);
-
- void ( STDMETHODCALLTYPE *SetEvictionPriority )(
- ID3D10Texture2D * This,
- /* [annotation] */
- __in UINT EvictionPriority);
-
- UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
- ID3D10Texture2D * This);
-
- HRESULT ( STDMETHODCALLTYPE *Map )(
- ID3D10Texture2D * This,
- /* [annotation] */
- __in UINT Subresource,
- /* [annotation] */
- __in D3D10_MAP MapType,
- /* [annotation] */
- __in UINT MapFlags,
- /* [annotation] */
- __out D3D10_MAPPED_TEXTURE2D *pMappedTex2D);
-
- void ( STDMETHODCALLTYPE *Unmap )(
- ID3D10Texture2D * This,
- /* [annotation] */
- __in UINT Subresource);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10Texture2D * This,
- /* [annotation] */
- __out D3D10_TEXTURE2D_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10Texture2DVtbl;
- interface ID3D10Texture2D
- {
- CONST_VTBL struct ID3D10Texture2DVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10Texture2D_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10Texture2D_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10Texture2D_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10Texture2D_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10Texture2D_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10Texture2D_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10Texture2D_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10Texture2D_GetType(This,rType) \
- ( (This)->lpVtbl -> GetType(This,rType) )
- #define ID3D10Texture2D_SetEvictionPriority(This,EvictionPriority) \
- ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
- #define ID3D10Texture2D_GetEvictionPriority(This) \
- ( (This)->lpVtbl -> GetEvictionPriority(This) )
- #define ID3D10Texture2D_Map(This,Subresource,MapType,MapFlags,pMappedTex2D) \
- ( (This)->lpVtbl -> Map(This,Subresource,MapType,MapFlags,pMappedTex2D) )
- #define ID3D10Texture2D_Unmap(This,Subresource) \
- ( (This)->lpVtbl -> Unmap(This,Subresource) )
- #define ID3D10Texture2D_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10Texture2D_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0008 */
- /* [local] */
- typedef struct D3D10_TEXTURE3D_DESC
- {
- UINT Width;
- UINT Height;
- UINT Depth;
- UINT MipLevels;
- DXGI_FORMAT Format;
- D3D10_USAGE Usage;
- UINT BindFlags;
- UINT CPUAccessFlags;
- UINT MiscFlags;
- } D3D10_TEXTURE3D_DESC;
- #if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
- struct CD3D10_TEXTURE3D_DESC : public D3D10_TEXTURE3D_DESC
- {
- CD3D10_TEXTURE3D_DESC()
- {}
- explicit CD3D10_TEXTURE3D_DESC( const D3D10_TEXTURE3D_DESC& o ) :
- D3D10_TEXTURE3D_DESC( o )
- {}
- explicit CD3D10_TEXTURE3D_DESC(
- DXGI_FORMAT format,
- UINT width,
- UINT height,
- UINT depth,
- UINT mipLevels = 0,
- UINT bindFlags = D3D10_BIND_SHADER_RESOURCE,
- D3D10_USAGE usage = D3D10_USAGE_DEFAULT,
- UINT cpuaccessFlags = 0,
- UINT miscFlags = 0 )
- {
- Width = width;
- Height = height;
- Depth = depth;
- MipLevels = mipLevels;
- Format = format;
- Usage = usage;
- BindFlags = bindFlags;
- CPUAccessFlags = cpuaccessFlags;
- MiscFlags = miscFlags;
- }
- ~CD3D10_TEXTURE3D_DESC() {}
- operator const D3D10_TEXTURE3D_DESC&() const { return *this; }
- };
- #endif
- typedef struct D3D10_MAPPED_TEXTURE3D
- {
- void *pData;
- UINT RowPitch;
- UINT DepthPitch;
- } D3D10_MAPPED_TEXTURE3D;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0008_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0008_v0_0_s_ifspec;
- #ifndef __ID3D10Texture3D_INTERFACE_DEFINED__
- #define __ID3D10Texture3D_INTERFACE_DEFINED__
- /* interface ID3D10Texture3D */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10Texture3D;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C05-342C-4106-A19F-4F2704F689F0")
- ID3D10Texture3D : public ID3D10Resource
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Map(
- /* [annotation] */
- __in UINT Subresource,
- /* [annotation] */
- __in D3D10_MAP MapType,
- /* [annotation] */
- __in UINT MapFlags,
- /* [annotation] */
- __out D3D10_MAPPED_TEXTURE3D *pMappedTex3D) = 0;
-
- virtual void STDMETHODCALLTYPE Unmap(
- /* [annotation] */
- __in UINT Subresource) = 0;
-
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_TEXTURE3D_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10Texture3DVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10Texture3D * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10Texture3D * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10Texture3D * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10Texture3D * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10Texture3D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10Texture3D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10Texture3D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetType )(
- ID3D10Texture3D * This,
- /* [annotation] */
- __out D3D10_RESOURCE_DIMENSION *rType);
-
- void ( STDMETHODCALLTYPE *SetEvictionPriority )(
- ID3D10Texture3D * This,
- /* [annotation] */
- __in UINT EvictionPriority);
-
- UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
- ID3D10Texture3D * This);
-
- HRESULT ( STDMETHODCALLTYPE *Map )(
- ID3D10Texture3D * This,
- /* [annotation] */
- __in UINT Subresource,
- /* [annotation] */
- __in D3D10_MAP MapType,
- /* [annotation] */
- __in UINT MapFlags,
- /* [annotation] */
- __out D3D10_MAPPED_TEXTURE3D *pMappedTex3D);
-
- void ( STDMETHODCALLTYPE *Unmap )(
- ID3D10Texture3D * This,
- /* [annotation] */
- __in UINT Subresource);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10Texture3D * This,
- /* [annotation] */
- __out D3D10_TEXTURE3D_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10Texture3DVtbl;
- interface ID3D10Texture3D
- {
- CONST_VTBL struct ID3D10Texture3DVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10Texture3D_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10Texture3D_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10Texture3D_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10Texture3D_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10Texture3D_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10Texture3D_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10Texture3D_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10Texture3D_GetType(This,rType) \
- ( (This)->lpVtbl -> GetType(This,rType) )
- #define ID3D10Texture3D_SetEvictionPriority(This,EvictionPriority) \
- ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
- #define ID3D10Texture3D_GetEvictionPriority(This) \
- ( (This)->lpVtbl -> GetEvictionPriority(This) )
- #define ID3D10Texture3D_Map(This,Subresource,MapType,MapFlags,pMappedTex3D) \
- ( (This)->lpVtbl -> Map(This,Subresource,MapType,MapFlags,pMappedTex3D) )
- #define ID3D10Texture3D_Unmap(This,Subresource) \
- ( (This)->lpVtbl -> Unmap(This,Subresource) )
- #define ID3D10Texture3D_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10Texture3D_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0009 */
- /* [local] */
- typedef
- enum D3D10_TEXTURECUBE_FACE
- { D3D10_TEXTURECUBE_FACE_POSITIVE_X = 0,
- D3D10_TEXTURECUBE_FACE_NEGATIVE_X = 1,
- D3D10_TEXTURECUBE_FACE_POSITIVE_Y = 2,
- D3D10_TEXTURECUBE_FACE_NEGATIVE_Y = 3,
- D3D10_TEXTURECUBE_FACE_POSITIVE_Z = 4,
- D3D10_TEXTURECUBE_FACE_NEGATIVE_Z = 5
- } D3D10_TEXTURECUBE_FACE;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0009_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0009_v0_0_s_ifspec;
- #ifndef __ID3D10View_INTERFACE_DEFINED__
- #define __ID3D10View_INTERFACE_DEFINED__
- /* interface ID3D10View */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10View;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C902B03F-60A7-49BA-9936-2A3AB37A7E33")
- ID3D10View : public ID3D10DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetResource(
- /* [annotation] */
- __out ID3D10Resource **ppResource) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10ViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10View * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10View * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10View * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10View * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10View * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10View * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10View * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetResource )(
- ID3D10View * This,
- /* [annotation] */
- __out ID3D10Resource **ppResource);
-
- END_INTERFACE
- } ID3D10ViewVtbl;
- interface ID3D10View
- {
- CONST_VTBL struct ID3D10ViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10View_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10View_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10View_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10View_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10View_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10View_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10View_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10View_GetResource(This,ppResource) \
- ( (This)->lpVtbl -> GetResource(This,ppResource) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10View_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0010 */
- /* [local] */
- typedef struct D3D10_BUFFER_SRV
- {
- union
- {
- UINT FirstElement;
- UINT ElementOffset;
- } ;
- union
- {
- UINT NumElements;
- UINT ElementWidth;
- } ;
- } D3D10_BUFFER_SRV;
- typedef struct D3D10_TEX1D_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- } D3D10_TEX1D_SRV;
- typedef struct D3D10_TEX1D_ARRAY_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D10_TEX1D_ARRAY_SRV;
- typedef struct D3D10_TEX2D_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- } D3D10_TEX2D_SRV;
- typedef struct D3D10_TEX2D_ARRAY_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D10_TEX2D_ARRAY_SRV;
- typedef struct D3D10_TEX3D_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- } D3D10_TEX3D_SRV;
- typedef struct D3D10_TEXCUBE_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- } D3D10_TEXCUBE_SRV;
- typedef struct D3D10_TEX2DMS_SRV
- {
- UINT UnusedField_NothingToDefine;
- } D3D10_TEX2DMS_SRV;
- typedef struct D3D10_TEX2DMS_ARRAY_SRV
- {
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D10_TEX2DMS_ARRAY_SRV;
- typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC
- {
- DXGI_FORMAT Format;
- D3D10_SRV_DIMENSION ViewDimension;
- union
- {
- D3D10_BUFFER_SRV Buffer;
- D3D10_TEX1D_SRV Texture1D;
- D3D10_TEX1D_ARRAY_SRV Texture1DArray;
- D3D10_TEX2D_SRV Texture2D;
- D3D10_TEX2D_ARRAY_SRV Texture2DArray;
- D3D10_TEX2DMS_SRV Texture2DMS;
- D3D10_TEX2DMS_ARRAY_SRV Texture2DMSArray;
- D3D10_TEX3D_SRV Texture3D;
- D3D10_TEXCUBE_SRV TextureCube;
- } ;
- } D3D10_SHADER_RESOURCE_VIEW_DESC;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0010_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0010_v0_0_s_ifspec;
- #ifndef __ID3D10ShaderResourceView_INTERFACE_DEFINED__
- #define __ID3D10ShaderResourceView_INTERFACE_DEFINED__
- /* interface ID3D10ShaderResourceView */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10ShaderResourceView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C07-342C-4106-A19F-4F2704F689F0")
- ID3D10ShaderResourceView : public ID3D10View
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10ShaderResourceViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10ShaderResourceView * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10ShaderResourceView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10ShaderResourceView * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10ShaderResourceView * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10ShaderResourceView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10ShaderResourceView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10ShaderResourceView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetResource )(
- ID3D10ShaderResourceView * This,
- /* [annotation] */
- __out ID3D10Resource **ppResource);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10ShaderResourceView * This,
- /* [annotation] */
- __out D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10ShaderResourceViewVtbl;
- interface ID3D10ShaderResourceView
- {
- CONST_VTBL struct ID3D10ShaderResourceViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10ShaderResourceView_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10ShaderResourceView_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10ShaderResourceView_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10ShaderResourceView_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10ShaderResourceView_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10ShaderResourceView_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10ShaderResourceView_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10ShaderResourceView_GetResource(This,ppResource) \
- ( (This)->lpVtbl -> GetResource(This,ppResource) )
- #define ID3D10ShaderResourceView_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10ShaderResourceView_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0011 */
- /* [local] */
- typedef struct D3D10_BUFFER_RTV
- {
- union
- {
- UINT FirstElement;
- UINT ElementOffset;
- } ;
- union
- {
- UINT NumElements;
- UINT ElementWidth;
- } ;
- } D3D10_BUFFER_RTV;
- typedef struct D3D10_TEX1D_RTV
- {
- UINT MipSlice;
- } D3D10_TEX1D_RTV;
- typedef struct D3D10_TEX1D_ARRAY_RTV
- {
- UINT MipSlice;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D10_TEX1D_ARRAY_RTV;
- typedef struct D3D10_TEX2D_RTV
- {
- UINT MipSlice;
- } D3D10_TEX2D_RTV;
- typedef struct D3D10_TEX2DMS_RTV
- {
- UINT UnusedField_NothingToDefine;
- } D3D10_TEX2DMS_RTV;
- typedef struct D3D10_TEX2D_ARRAY_RTV
- {
- UINT MipSlice;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D10_TEX2D_ARRAY_RTV;
- typedef struct D3D10_TEX2DMS_ARRAY_RTV
- {
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D10_TEX2DMS_ARRAY_RTV;
- typedef struct D3D10_TEX3D_RTV
- {
- UINT MipSlice;
- UINT FirstWSlice;
- UINT WSize;
- } D3D10_TEX3D_RTV;
- typedef struct D3D10_RENDER_TARGET_VIEW_DESC
- {
- DXGI_FORMAT Format;
- D3D10_RTV_DIMENSION ViewDimension;
- union
- {
- D3D10_BUFFER_RTV Buffer;
- D3D10_TEX1D_RTV Texture1D;
- D3D10_TEX1D_ARRAY_RTV Texture1DArray;
- D3D10_TEX2D_RTV Texture2D;
- D3D10_TEX2D_ARRAY_RTV Texture2DArray;
- D3D10_TEX2DMS_RTV Texture2DMS;
- D3D10_TEX2DMS_ARRAY_RTV Texture2DMSArray;
- D3D10_TEX3D_RTV Texture3D;
- } ;
- } D3D10_RENDER_TARGET_VIEW_DESC;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0011_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0011_v0_0_s_ifspec;
- #ifndef __ID3D10RenderTargetView_INTERFACE_DEFINED__
- #define __ID3D10RenderTargetView_INTERFACE_DEFINED__
- /* interface ID3D10RenderTargetView */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10RenderTargetView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C08-342C-4106-A19F-4F2704F689F0")
- ID3D10RenderTargetView : public ID3D10View
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_RENDER_TARGET_VIEW_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10RenderTargetViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10RenderTargetView * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10RenderTargetView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10RenderTargetView * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10RenderTargetView * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10RenderTargetView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10RenderTargetView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10RenderTargetView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetResource )(
- ID3D10RenderTargetView * This,
- /* [annotation] */
- __out ID3D10Resource **ppResource);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10RenderTargetView * This,
- /* [annotation] */
- __out D3D10_RENDER_TARGET_VIEW_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10RenderTargetViewVtbl;
- interface ID3D10RenderTargetView
- {
- CONST_VTBL struct ID3D10RenderTargetViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10RenderTargetView_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10RenderTargetView_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10RenderTargetView_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10RenderTargetView_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10RenderTargetView_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10RenderTargetView_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10RenderTargetView_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10RenderTargetView_GetResource(This,ppResource) \
- ( (This)->lpVtbl -> GetResource(This,ppResource) )
- #define ID3D10RenderTargetView_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10RenderTargetView_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0012 */
- /* [local] */
- typedef struct D3D10_TEX1D_DSV
- {
- UINT MipSlice;
- } D3D10_TEX1D_DSV;
- typedef struct D3D10_TEX1D_ARRAY_DSV
- {
- UINT MipSlice;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D10_TEX1D_ARRAY_DSV;
- typedef struct D3D10_TEX2D_DSV
- {
- UINT MipSlice;
- } D3D10_TEX2D_DSV;
- typedef struct D3D10_TEX2D_ARRAY_DSV
- {
- UINT MipSlice;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D10_TEX2D_ARRAY_DSV;
- typedef struct D3D10_TEX2DMS_DSV
- {
- UINT UnusedField_NothingToDefine;
- } D3D10_TEX2DMS_DSV;
- typedef struct D3D10_TEX2DMS_ARRAY_DSV
- {
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D10_TEX2DMS_ARRAY_DSV;
- typedef struct D3D10_DEPTH_STENCIL_VIEW_DESC
- {
- DXGI_FORMAT Format;
- D3D10_DSV_DIMENSION ViewDimension;
- union
- {
- D3D10_TEX1D_DSV Texture1D;
- D3D10_TEX1D_ARRAY_DSV Texture1DArray;
- D3D10_TEX2D_DSV Texture2D;
- D3D10_TEX2D_ARRAY_DSV Texture2DArray;
- D3D10_TEX2DMS_DSV Texture2DMS;
- D3D10_TEX2DMS_ARRAY_DSV Texture2DMSArray;
- } ;
- } D3D10_DEPTH_STENCIL_VIEW_DESC;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0012_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0012_v0_0_s_ifspec;
- #ifndef __ID3D10DepthStencilView_INTERFACE_DEFINED__
- #define __ID3D10DepthStencilView_INTERFACE_DEFINED__
- /* interface ID3D10DepthStencilView */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10DepthStencilView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C09-342C-4106-A19F-4F2704F689F0")
- ID3D10DepthStencilView : public ID3D10View
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10DepthStencilViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10DepthStencilView * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10DepthStencilView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10DepthStencilView * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10DepthStencilView * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10DepthStencilView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10DepthStencilView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10DepthStencilView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetResource )(
- ID3D10DepthStencilView * This,
- /* [annotation] */
- __out ID3D10Resource **ppResource);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10DepthStencilView * This,
- /* [annotation] */
- __out D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10DepthStencilViewVtbl;
- interface ID3D10DepthStencilView
- {
- CONST_VTBL struct ID3D10DepthStencilViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10DepthStencilView_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10DepthStencilView_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10DepthStencilView_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10DepthStencilView_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10DepthStencilView_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10DepthStencilView_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10DepthStencilView_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10DepthStencilView_GetResource(This,ppResource) \
- ( (This)->lpVtbl -> GetResource(This,ppResource) )
- #define ID3D10DepthStencilView_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10DepthStencilView_INTERFACE_DEFINED__ */
- #ifndef __ID3D10VertexShader_INTERFACE_DEFINED__
- #define __ID3D10VertexShader_INTERFACE_DEFINED__
- /* interface ID3D10VertexShader */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10VertexShader;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C0A-342C-4106-A19F-4F2704F689F0")
- ID3D10VertexShader : public ID3D10DeviceChild
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D10VertexShaderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10VertexShader * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10VertexShader * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10VertexShader * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10VertexShader * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10VertexShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10VertexShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10VertexShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D10VertexShaderVtbl;
- interface ID3D10VertexShader
- {
- CONST_VTBL struct ID3D10VertexShaderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10VertexShader_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10VertexShader_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10VertexShader_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10VertexShader_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10VertexShader_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10VertexShader_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10VertexShader_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10VertexShader_INTERFACE_DEFINED__ */
- #ifndef __ID3D10GeometryShader_INTERFACE_DEFINED__
- #define __ID3D10GeometryShader_INTERFACE_DEFINED__
- /* interface ID3D10GeometryShader */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10GeometryShader;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6316BE88-54CD-4040-AB44-20461BC81F68")
- ID3D10GeometryShader : public ID3D10DeviceChild
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D10GeometryShaderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10GeometryShader * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10GeometryShader * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10GeometryShader * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10GeometryShader * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10GeometryShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10GeometryShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10GeometryShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D10GeometryShaderVtbl;
- interface ID3D10GeometryShader
- {
- CONST_VTBL struct ID3D10GeometryShaderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10GeometryShader_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10GeometryShader_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10GeometryShader_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10GeometryShader_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10GeometryShader_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10GeometryShader_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10GeometryShader_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10GeometryShader_INTERFACE_DEFINED__ */
- #ifndef __ID3D10PixelShader_INTERFACE_DEFINED__
- #define __ID3D10PixelShader_INTERFACE_DEFINED__
- /* interface ID3D10PixelShader */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10PixelShader;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("4968B601-9D00-4cde-8346-8E7F675819B6")
- ID3D10PixelShader : public ID3D10DeviceChild
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D10PixelShaderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10PixelShader * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10PixelShader * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10PixelShader * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10PixelShader * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10PixelShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10PixelShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10PixelShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D10PixelShaderVtbl;
- interface ID3D10PixelShader
- {
- CONST_VTBL struct ID3D10PixelShaderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10PixelShader_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10PixelShader_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10PixelShader_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10PixelShader_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10PixelShader_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10PixelShader_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10PixelShader_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10PixelShader_INTERFACE_DEFINED__ */
- #ifndef __ID3D10InputLayout_INTERFACE_DEFINED__
- #define __ID3D10InputLayout_INTERFACE_DEFINED__
- /* interface ID3D10InputLayout */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10InputLayout;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C0B-342C-4106-A19F-4F2704F689F0")
- ID3D10InputLayout : public ID3D10DeviceChild
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D10InputLayoutVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10InputLayout * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10InputLayout * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10InputLayout * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10InputLayout * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10InputLayout * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10InputLayout * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10InputLayout * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D10InputLayoutVtbl;
- interface ID3D10InputLayout
- {
- CONST_VTBL struct ID3D10InputLayoutVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10InputLayout_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10InputLayout_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10InputLayout_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10InputLayout_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10InputLayout_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10InputLayout_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10InputLayout_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10InputLayout_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0017 */
- /* [local] */
- typedef
- enum D3D10_FILTER
- { D3D10_FILTER_MIN_MAG_MIP_POINT = 0,
- D3D10_FILTER_MIN_MAG_POINT_MIP_LINEAR = 0x1,
- D3D10_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x4,
- D3D10_FILTER_MIN_POINT_MAG_MIP_LINEAR = 0x5,
- D3D10_FILTER_MIN_LINEAR_MAG_MIP_POINT = 0x10,
- D3D10_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x11,
- D3D10_FILTER_MIN_MAG_LINEAR_MIP_POINT = 0x14,
- D3D10_FILTER_MIN_MAG_MIP_LINEAR = 0x15,
- D3D10_FILTER_ANISOTROPIC = 0x55,
- D3D10_FILTER_COMPARISON_MIN_MAG_MIP_POINT = 0x80,
- D3D10_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR = 0x81,
- D3D10_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x84,
- D3D10_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR = 0x85,
- D3D10_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT = 0x90,
- D3D10_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x91,
- D3D10_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT = 0x94,
- D3D10_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR = 0x95,
- D3D10_FILTER_COMPARISON_ANISOTROPIC = 0xd5,
- D3D10_FILTER_TEXT_1BIT = 0x80000000
- } D3D10_FILTER;
- typedef
- enum D3D10_FILTER_TYPE
- { D3D10_FILTER_TYPE_POINT = 0,
- D3D10_FILTER_TYPE_LINEAR = 1
- } D3D10_FILTER_TYPE;
- #define D3D10_FILTER_TYPE_MASK ( 0x3 )
- #define D3D10_MIN_FILTER_SHIFT ( 4 )
- #define D3D10_MAG_FILTER_SHIFT ( 2 )
- #define D3D10_MIP_FILTER_SHIFT ( 0 )
- #define D3D10_COMPARISON_FILTERING_BIT ( 0x80 )
- #define D3D10_ANISOTROPIC_FILTERING_BIT ( 0x40 )
- #define D3D10_TEXT_1BIT_BIT ( 0x80000000 )
- #define D3D10_ENCODE_BASIC_FILTER( min, mag, mip, bComparison ) \
- ( ( D3D10_FILTER ) ( \
- ( ( bComparison ) ? D3D10_COMPARISON_FILTERING_BIT : 0 ) | \
- ( ( ( min ) & D3D10_FILTER_TYPE_MASK ) << D3D10_MIN_FILTER_SHIFT ) | \
- ( ( ( mag ) & D3D10_FILTER_TYPE_MASK ) << D3D10_MAG_FILTER_SHIFT ) | \
- ( ( ( mip ) & D3D10_FILTER_TYPE_MASK ) << D3D10_MIP_FILTER_SHIFT ) ) )
- #define D3D10_ENCODE_ANISOTROPIC_FILTER( bComparison ) \
- ( ( D3D10_FILTER ) ( \
- D3D10_ANISOTROPIC_FILTERING_BIT | \
- D3D10_ENCODE_BASIC_FILTER( D3D10_FILTER_TYPE_LINEAR, \
- D3D10_FILTER_TYPE_LINEAR, \
- D3D10_FILTER_TYPE_LINEAR, \
- bComparison ) ) )
- #define D3D10_DECODE_MIN_FILTER( d3d10Filter ) \
- ( ( D3D10_FILTER_TYPE ) \
- ( ( ( d3d10Filter ) >> D3D10_MIN_FILTER_SHIFT ) & D3D10_FILTER_TYPE_MASK ) )
- #define D3D10_DECODE_MAG_FILTER( d3d10Filter ) \
- ( ( D3D10_FILTER_TYPE ) \
- ( ( ( d3d10Filter ) >> D3D10_MAG_FILTER_SHIFT ) & D3D10_FILTER_TYPE_MASK ) )
- #define D3D10_DECODE_MIP_FILTER( d3d10Filter ) \
- ( ( D3D10_FILTER_TYPE ) \
- ( ( ( d3d10Filter ) >> D3D10_MIP_FILTER_SHIFT ) & D3D10_FILTER_TYPE_MASK ) )
- #define D3D10_DECODE_IS_COMPARISON_FILTER( d3d10Filter ) \
- ( ( d3d10Filter ) & D3D10_COMPARISON_FILTERING_BIT )
- #define D3D10_DECODE_IS_ANISOTROPIC_FILTER( d3d10Filter ) \
- ( ( ( d3d10Filter ) & D3D10_ANISOTROPIC_FILTERING_BIT ) && \
- ( D3D10_FILTER_TYPE_LINEAR == D3D10_DECODE_MIN_FILTER( d3d10Filter ) ) && \
- ( D3D10_FILTER_TYPE_LINEAR == D3D10_DECODE_MAG_FILTER( d3d10Filter ) ) && \
- ( D3D10_FILTER_TYPE_LINEAR == D3D10_DECODE_MIP_FILTER( d3d10Filter ) ) )
- #define D3D10_DECODE_IS_TEXT_1BIT_FILTER( d3d10Filter ) \
- ( ( d3d10Filter ) == D3D10_TEXT_1BIT_BIT )
- typedef
- enum D3D10_TEXTURE_ADDRESS_MODE
- { D3D10_TEXTURE_ADDRESS_WRAP = 1,
- D3D10_TEXTURE_ADDRESS_MIRROR = 2,
- D3D10_TEXTURE_ADDRESS_CLAMP = 3,
- D3D10_TEXTURE_ADDRESS_BORDER = 4,
- D3D10_TEXTURE_ADDRESS_MIRROR_ONCE = 5
- } D3D10_TEXTURE_ADDRESS_MODE;
- typedef struct D3D10_SAMPLER_DESC
- {
- D3D10_FILTER Filter;
- D3D10_TEXTURE_ADDRESS_MODE AddressU;
- D3D10_TEXTURE_ADDRESS_MODE AddressV;
- D3D10_TEXTURE_ADDRESS_MODE AddressW;
- FLOAT MipLODBias;
- UINT MaxAnisotropy;
- D3D10_COMPARISON_FUNC ComparisonFunc;
- FLOAT BorderColor[ 4 ];
- FLOAT MinLOD;
- FLOAT MaxLOD;
- } D3D10_SAMPLER_DESC;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0017_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0017_v0_0_s_ifspec;
- #ifndef __ID3D10SamplerState_INTERFACE_DEFINED__
- #define __ID3D10SamplerState_INTERFACE_DEFINED__
- /* interface ID3D10SamplerState */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10SamplerState;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C0C-342C-4106-A19F-4F2704F689F0")
- ID3D10SamplerState : public ID3D10DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_SAMPLER_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10SamplerStateVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10SamplerState * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10SamplerState * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10SamplerState * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10SamplerState * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10SamplerState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10SamplerState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10SamplerState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10SamplerState * This,
- /* [annotation] */
- __out D3D10_SAMPLER_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10SamplerStateVtbl;
- interface ID3D10SamplerState
- {
- CONST_VTBL struct ID3D10SamplerStateVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10SamplerState_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10SamplerState_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10SamplerState_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10SamplerState_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10SamplerState_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10SamplerState_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10SamplerState_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10SamplerState_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10SamplerState_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0018 */
- /* [local] */
- typedef
- enum D3D10_FORMAT_SUPPORT
- { D3D10_FORMAT_SUPPORT_BUFFER = 0x1,
- D3D10_FORMAT_SUPPORT_IA_VERTEX_BUFFER = 0x2,
- D3D10_FORMAT_SUPPORT_IA_INDEX_BUFFER = 0x4,
- D3D10_FORMAT_SUPPORT_SO_BUFFER = 0x8,
- D3D10_FORMAT_SUPPORT_TEXTURE1D = 0x10,
- D3D10_FORMAT_SUPPORT_TEXTURE2D = 0x20,
- D3D10_FORMAT_SUPPORT_TEXTURE3D = 0x40,
- D3D10_FORMAT_SUPPORT_TEXTURECUBE = 0x80,
- D3D10_FORMAT_SUPPORT_SHADER_LOAD = 0x100,
- D3D10_FORMAT_SUPPORT_SHADER_SAMPLE = 0x200,
- D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON = 0x400,
- D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT = 0x800,
- D3D10_FORMAT_SUPPORT_MIP = 0x1000,
- D3D10_FORMAT_SUPPORT_MIP_AUTOGEN = 0x2000,
- D3D10_FORMAT_SUPPORT_RENDER_TARGET = 0x4000,
- D3D10_FORMAT_SUPPORT_BLENDABLE = 0x8000,
- D3D10_FORMAT_SUPPORT_DEPTH_STENCIL = 0x10000,
- D3D10_FORMAT_SUPPORT_CPU_LOCKABLE = 0x20000,
- D3D10_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE = 0x40000,
- D3D10_FORMAT_SUPPORT_DISPLAY = 0x80000,
- D3D10_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT = 0x100000,
- D3D10_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET = 0x200000,
- D3D10_FORMAT_SUPPORT_MULTISAMPLE_LOAD = 0x400000,
- D3D10_FORMAT_SUPPORT_SHADER_GATHER = 0x800000,
- D3D10_FORMAT_SUPPORT_BACK_BUFFER_CAST = 0x1000000
- } D3D10_FORMAT_SUPPORT;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0018_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0018_v0_0_s_ifspec;
- #ifndef __ID3D10Asynchronous_INTERFACE_DEFINED__
- #define __ID3D10Asynchronous_INTERFACE_DEFINED__
- /* interface ID3D10Asynchronous */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10Asynchronous;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C0D-342C-4106-A19F-4F2704F689F0")
- ID3D10Asynchronous : public ID3D10DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE Begin( void) = 0;
-
- virtual void STDMETHODCALLTYPE End( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetData(
- /* [annotation] */
- __out_bcount_opt(DataSize) void *pData,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in UINT GetDataFlags) = 0;
-
- virtual UINT STDMETHODCALLTYPE GetDataSize( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10AsynchronousVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10Asynchronous * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10Asynchronous * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10Asynchronous * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10Asynchronous * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10Asynchronous * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10Asynchronous * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10Asynchronous * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *Begin )(
- ID3D10Asynchronous * This);
-
- void ( STDMETHODCALLTYPE *End )(
- ID3D10Asynchronous * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetData )(
- ID3D10Asynchronous * This,
- /* [annotation] */
- __out_bcount_opt(DataSize) void *pData,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in UINT GetDataFlags);
-
- UINT ( STDMETHODCALLTYPE *GetDataSize )(
- ID3D10Asynchronous * This);
-
- END_INTERFACE
- } ID3D10AsynchronousVtbl;
- interface ID3D10Asynchronous
- {
- CONST_VTBL struct ID3D10AsynchronousVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10Asynchronous_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10Asynchronous_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10Asynchronous_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10Asynchronous_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10Asynchronous_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10Asynchronous_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10Asynchronous_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10Asynchronous_Begin(This) \
- ( (This)->lpVtbl -> Begin(This) )
- #define ID3D10Asynchronous_End(This) \
- ( (This)->lpVtbl -> End(This) )
- #define ID3D10Asynchronous_GetData(This,pData,DataSize,GetDataFlags) \
- ( (This)->lpVtbl -> GetData(This,pData,DataSize,GetDataFlags) )
- #define ID3D10Asynchronous_GetDataSize(This) \
- ( (This)->lpVtbl -> GetDataSize(This) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10Asynchronous_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0019 */
- /* [local] */
- typedef
- enum D3D10_ASYNC_GETDATA_FLAG
- { D3D10_ASYNC_GETDATA_DONOTFLUSH = 0x1
- } D3D10_ASYNC_GETDATA_FLAG;
- typedef
- enum D3D10_QUERY
- { D3D10_QUERY_EVENT = 0,
- D3D10_QUERY_OCCLUSION = ( D3D10_QUERY_EVENT + 1 ) ,
- D3D10_QUERY_TIMESTAMP = ( D3D10_QUERY_OCCLUSION + 1 ) ,
- D3D10_QUERY_TIMESTAMP_DISJOINT = ( D3D10_QUERY_TIMESTAMP + 1 ) ,
- D3D10_QUERY_PIPELINE_STATISTICS = ( D3D10_QUERY_TIMESTAMP_DISJOINT + 1 ) ,
- D3D10_QUERY_OCCLUSION_PREDICATE = ( D3D10_QUERY_PIPELINE_STATISTICS + 1 ) ,
- D3D10_QUERY_SO_STATISTICS = ( D3D10_QUERY_OCCLUSION_PREDICATE + 1 ) ,
- D3D10_QUERY_SO_OVERFLOW_PREDICATE = ( D3D10_QUERY_SO_STATISTICS + 1 )
- } D3D10_QUERY;
- typedef
- enum D3D10_QUERY_MISC_FLAG
- { D3D10_QUERY_MISC_PREDICATEHINT = 0x1
- } D3D10_QUERY_MISC_FLAG;
- typedef struct D3D10_QUERY_DESC
- {
- D3D10_QUERY Query;
- UINT MiscFlags;
- } D3D10_QUERY_DESC;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0019_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0019_v0_0_s_ifspec;
- #ifndef __ID3D10Query_INTERFACE_DEFINED__
- #define __ID3D10Query_INTERFACE_DEFINED__
- /* interface ID3D10Query */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10Query;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C0E-342C-4106-A19F-4F2704F689F0")
- ID3D10Query : public ID3D10Asynchronous
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_QUERY_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10QueryVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10Query * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10Query * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10Query * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10Query * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10Query * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10Query * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10Query * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *Begin )(
- ID3D10Query * This);
-
- void ( STDMETHODCALLTYPE *End )(
- ID3D10Query * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetData )(
- ID3D10Query * This,
- /* [annotation] */
- __out_bcount_opt(DataSize) void *pData,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in UINT GetDataFlags);
-
- UINT ( STDMETHODCALLTYPE *GetDataSize )(
- ID3D10Query * This);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10Query * This,
- /* [annotation] */
- __out D3D10_QUERY_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10QueryVtbl;
- interface ID3D10Query
- {
- CONST_VTBL struct ID3D10QueryVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10Query_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10Query_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10Query_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10Query_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10Query_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10Query_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10Query_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10Query_Begin(This) \
- ( (This)->lpVtbl -> Begin(This) )
- #define ID3D10Query_End(This) \
- ( (This)->lpVtbl -> End(This) )
- #define ID3D10Query_GetData(This,pData,DataSize,GetDataFlags) \
- ( (This)->lpVtbl -> GetData(This,pData,DataSize,GetDataFlags) )
- #define ID3D10Query_GetDataSize(This) \
- ( (This)->lpVtbl -> GetDataSize(This) )
- #define ID3D10Query_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10Query_INTERFACE_DEFINED__ */
- #ifndef __ID3D10Predicate_INTERFACE_DEFINED__
- #define __ID3D10Predicate_INTERFACE_DEFINED__
- /* interface ID3D10Predicate */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10Predicate;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C10-342C-4106-A19F-4F2704F689F0")
- ID3D10Predicate : public ID3D10Query
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D10PredicateVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10Predicate * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10Predicate * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10Predicate * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10Predicate * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10Predicate * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10Predicate * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10Predicate * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *Begin )(
- ID3D10Predicate * This);
-
- void ( STDMETHODCALLTYPE *End )(
- ID3D10Predicate * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetData )(
- ID3D10Predicate * This,
- /* [annotation] */
- __out_bcount_opt(DataSize) void *pData,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in UINT GetDataFlags);
-
- UINT ( STDMETHODCALLTYPE *GetDataSize )(
- ID3D10Predicate * This);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10Predicate * This,
- /* [annotation] */
- __out D3D10_QUERY_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10PredicateVtbl;
- interface ID3D10Predicate
- {
- CONST_VTBL struct ID3D10PredicateVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10Predicate_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10Predicate_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10Predicate_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10Predicate_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10Predicate_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10Predicate_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10Predicate_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10Predicate_Begin(This) \
- ( (This)->lpVtbl -> Begin(This) )
- #define ID3D10Predicate_End(This) \
- ( (This)->lpVtbl -> End(This) )
- #define ID3D10Predicate_GetData(This,pData,DataSize,GetDataFlags) \
- ( (This)->lpVtbl -> GetData(This,pData,DataSize,GetDataFlags) )
- #define ID3D10Predicate_GetDataSize(This) \
- ( (This)->lpVtbl -> GetDataSize(This) )
- #define ID3D10Predicate_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10Predicate_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0021 */
- /* [local] */
- typedef struct D3D10_QUERY_DATA_TIMESTAMP_DISJOINT
- {
- UINT64 Frequency;
- BOOL Disjoint;
- } D3D10_QUERY_DATA_TIMESTAMP_DISJOINT;
- typedef struct D3D10_QUERY_DATA_PIPELINE_STATISTICS
- {
- UINT64 IAVertices;
- UINT64 IAPrimitives;
- UINT64 VSInvocations;
- UINT64 GSInvocations;
- UINT64 GSPrimitives;
- UINT64 CInvocations;
- UINT64 CPrimitives;
- UINT64 PSInvocations;
- } D3D10_QUERY_DATA_PIPELINE_STATISTICS;
- typedef struct D3D10_QUERY_DATA_SO_STATISTICS
- {
- UINT64 NumPrimitivesWritten;
- UINT64 PrimitivesStorageNeeded;
- } D3D10_QUERY_DATA_SO_STATISTICS;
- typedef
- enum D3D10_COUNTER
- { D3D10_COUNTER_GPU_IDLE = 0,
- D3D10_COUNTER_VERTEX_PROCESSING = ( D3D10_COUNTER_GPU_IDLE + 1 ) ,
- D3D10_COUNTER_GEOMETRY_PROCESSING = ( D3D10_COUNTER_VERTEX_PROCESSING + 1 ) ,
- D3D10_COUNTER_PIXEL_PROCESSING = ( D3D10_COUNTER_GEOMETRY_PROCESSING + 1 ) ,
- D3D10_COUNTER_OTHER_GPU_PROCESSING = ( D3D10_COUNTER_PIXEL_PROCESSING + 1 ) ,
- D3D10_COUNTER_HOST_ADAPTER_BANDWIDTH_UTILIZATION = ( D3D10_COUNTER_OTHER_GPU_PROCESSING + 1 ) ,
- D3D10_COUNTER_LOCAL_VIDMEM_BANDWIDTH_UTILIZATION = ( D3D10_COUNTER_HOST_ADAPTER_BANDWIDTH_UTILIZATION + 1 ) ,
- D3D10_COUNTER_VERTEX_THROUGHPUT_UTILIZATION = ( D3D10_COUNTER_LOCAL_VIDMEM_BANDWIDTH_UTILIZATION + 1 ) ,
- D3D10_COUNTER_TRIANGLE_SETUP_THROUGHPUT_UTILIZATION = ( D3D10_COUNTER_VERTEX_THROUGHPUT_UTILIZATION + 1 ) ,
- D3D10_COUNTER_FILLRATE_THROUGHPUT_UTILIZATION = ( D3D10_COUNTER_TRIANGLE_SETUP_THROUGHPUT_UTILIZATION + 1 ) ,
- D3D10_COUNTER_VS_MEMORY_LIMITED = ( D3D10_COUNTER_FILLRATE_THROUGHPUT_UTILIZATION + 1 ) ,
- D3D10_COUNTER_VS_COMPUTATION_LIMITED = ( D3D10_COUNTER_VS_MEMORY_LIMITED + 1 ) ,
- D3D10_COUNTER_GS_MEMORY_LIMITED = ( D3D10_COUNTER_VS_COMPUTATION_LIMITED + 1 ) ,
- D3D10_COUNTER_GS_COMPUTATION_LIMITED = ( D3D10_COUNTER_GS_MEMORY_LIMITED + 1 ) ,
- D3D10_COUNTER_PS_MEMORY_LIMITED = ( D3D10_COUNTER_GS_COMPUTATION_LIMITED + 1 ) ,
- D3D10_COUNTER_PS_COMPUTATION_LIMITED = ( D3D10_COUNTER_PS_MEMORY_LIMITED + 1 ) ,
- D3D10_COUNTER_POST_TRANSFORM_CACHE_HIT_RATE = ( D3D10_COUNTER_PS_COMPUTATION_LIMITED + 1 ) ,
- D3D10_COUNTER_TEXTURE_CACHE_HIT_RATE = ( D3D10_COUNTER_POST_TRANSFORM_CACHE_HIT_RATE + 1 ) ,
- D3D10_COUNTER_DEVICE_DEPENDENT_0 = 0x40000000
- } D3D10_COUNTER;
- typedef
- enum D3D10_COUNTER_TYPE
- { D3D10_COUNTER_TYPE_FLOAT32 = 0,
- D3D10_COUNTER_TYPE_UINT16 = ( D3D10_COUNTER_TYPE_FLOAT32 + 1 ) ,
- D3D10_COUNTER_TYPE_UINT32 = ( D3D10_COUNTER_TYPE_UINT16 + 1 ) ,
- D3D10_COUNTER_TYPE_UINT64 = ( D3D10_COUNTER_TYPE_UINT32 + 1 )
- } D3D10_COUNTER_TYPE;
- typedef struct D3D10_COUNTER_DESC
- {
- D3D10_COUNTER Counter;
- UINT MiscFlags;
- } D3D10_COUNTER_DESC;
- typedef struct D3D10_COUNTER_INFO
- {
- D3D10_COUNTER LastDeviceDependentCounter;
- UINT NumSimultaneousCounters;
- UINT8 NumDetectableParallelUnits;
- } D3D10_COUNTER_INFO;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0021_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0021_v0_0_s_ifspec;
- #ifndef __ID3D10Counter_INTERFACE_DEFINED__
- #define __ID3D10Counter_INTERFACE_DEFINED__
- /* interface ID3D10Counter */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10Counter;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C11-342C-4106-A19F-4F2704F689F0")
- ID3D10Counter : public ID3D10Asynchronous
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D10_COUNTER_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10CounterVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10Counter * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10Counter * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10Counter * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D10Counter * This,
- /* [annotation] */
- __out ID3D10Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10Counter * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10Counter * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10Counter * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *Begin )(
- ID3D10Counter * This);
-
- void ( STDMETHODCALLTYPE *End )(
- ID3D10Counter * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetData )(
- ID3D10Counter * This,
- /* [annotation] */
- __out_bcount_opt(DataSize) void *pData,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in UINT GetDataFlags);
-
- UINT ( STDMETHODCALLTYPE *GetDataSize )(
- ID3D10Counter * This);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D10Counter * This,
- /* [annotation] */
- __out D3D10_COUNTER_DESC *pDesc);
-
- END_INTERFACE
- } ID3D10CounterVtbl;
- interface ID3D10Counter
- {
- CONST_VTBL struct ID3D10CounterVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10Counter_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10Counter_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10Counter_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10Counter_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D10Counter_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10Counter_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10Counter_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10Counter_Begin(This) \
- ( (This)->lpVtbl -> Begin(This) )
- #define ID3D10Counter_End(This) \
- ( (This)->lpVtbl -> End(This) )
- #define ID3D10Counter_GetData(This,pData,DataSize,GetDataFlags) \
- ( (This)->lpVtbl -> GetData(This,pData,DataSize,GetDataFlags) )
- #define ID3D10Counter_GetDataSize(This) \
- ( (This)->lpVtbl -> GetDataSize(This) )
- #define ID3D10Counter_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10Counter_INTERFACE_DEFINED__ */
- #ifndef __ID3D10Device_INTERFACE_DEFINED__
- #define __ID3D10Device_INTERFACE_DEFINED__
- /* interface ID3D10Device */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10Device;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4C0F-342C-4106-A19F-4F2704F689F0")
- ID3D10Device : public IUnknown
- {
- public:
- virtual void STDMETHODCALLTYPE VSSetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE PSSetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE PSSetShader(
- /* [annotation] */
- __in_opt ID3D10PixelShader *pPixelShader) = 0;
-
- virtual void STDMETHODCALLTYPE PSSetSamplers(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE VSSetShader(
- /* [annotation] */
- __in_opt ID3D10VertexShader *pVertexShader) = 0;
-
- virtual void STDMETHODCALLTYPE DrawIndexed(
- /* [annotation] */
- __in UINT IndexCount,
- /* [annotation] */
- __in UINT StartIndexLocation,
- /* [annotation] */
- __in INT BaseVertexLocation) = 0;
-
- virtual void STDMETHODCALLTYPE Draw(
- /* [annotation] */
- __in UINT VertexCount,
- /* [annotation] */
- __in UINT StartVertexLocation) = 0;
-
- virtual void STDMETHODCALLTYPE PSSetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE IASetInputLayout(
- /* [annotation] */
- __in_opt ID3D10InputLayout *pInputLayout) = 0;
-
- virtual void STDMETHODCALLTYPE IASetVertexBuffers(
- /* [annotation] */
- __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D10Buffer *const *ppVertexBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) const UINT *pStrides,
- /* [annotation] */
- __in_ecount(NumBuffers) const UINT *pOffsets) = 0;
-
- virtual void STDMETHODCALLTYPE IASetIndexBuffer(
- /* [annotation] */
- __in_opt ID3D10Buffer *pIndexBuffer,
- /* [annotation] */
- __in DXGI_FORMAT Format,
- /* [annotation] */
- __in UINT Offset) = 0;
-
- virtual void STDMETHODCALLTYPE DrawIndexedInstanced(
- /* [annotation] */
- __in UINT IndexCountPerInstance,
- /* [annotation] */
- __in UINT InstanceCount,
- /* [annotation] */
- __in UINT StartIndexLocation,
- /* [annotation] */
- __in INT BaseVertexLocation,
- /* [annotation] */
- __in UINT StartInstanceLocation) = 0;
-
- virtual void STDMETHODCALLTYPE DrawInstanced(
- /* [annotation] */
- __in UINT VertexCountPerInstance,
- /* [annotation] */
- __in UINT InstanceCount,
- /* [annotation] */
- __in UINT StartVertexLocation,
- /* [annotation] */
- __in UINT StartInstanceLocation) = 0;
-
- virtual void STDMETHODCALLTYPE GSSetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE GSSetShader(
- /* [annotation] */
- __in_opt ID3D10GeometryShader *pShader) = 0;
-
- virtual void STDMETHODCALLTYPE IASetPrimitiveTopology(
- /* [annotation] */
- __in D3D10_PRIMITIVE_TOPOLOGY Topology) = 0;
-
- virtual void STDMETHODCALLTYPE VSSetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE VSSetSamplers(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE SetPredication(
- /* [annotation] */
- __in_opt ID3D10Predicate *pPredicate,
- /* [annotation] */
- __in BOOL PredicateValue) = 0;
-
- virtual void STDMETHODCALLTYPE GSSetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE GSSetSamplers(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE OMSetRenderTargets(
- /* [annotation] */
- __in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
- /* [annotation] */
- __in_ecount_opt(NumViews) ID3D10RenderTargetView *const *ppRenderTargetViews,
- /* [annotation] */
- __in_opt ID3D10DepthStencilView *pDepthStencilView) = 0;
-
- virtual void STDMETHODCALLTYPE OMSetBlendState(
- /* [annotation] */
- __in_opt ID3D10BlendState *pBlendState,
- /* [annotation] */
- __in const FLOAT BlendFactor[ 4 ],
- /* [annotation] */
- __in UINT SampleMask) = 0;
-
- virtual void STDMETHODCALLTYPE OMSetDepthStencilState(
- /* [annotation] */
- __in_opt ID3D10DepthStencilState *pDepthStencilState,
- /* [annotation] */
- __in UINT StencilRef) = 0;
-
- virtual void STDMETHODCALLTYPE SOSetTargets(
- /* [annotation] */
- __in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
- /* [annotation] */
- __in_ecount_opt(NumBuffers) ID3D10Buffer *const *ppSOTargets,
- /* [annotation] */
- __in_ecount_opt(NumBuffers) const UINT *pOffsets) = 0;
-
- virtual void STDMETHODCALLTYPE DrawAuto( void) = 0;
-
- virtual void STDMETHODCALLTYPE RSSetState(
- /* [annotation] */
- __in_opt ID3D10RasterizerState *pRasterizerState) = 0;
-
- virtual void STDMETHODCALLTYPE RSSetViewports(
- /* [annotation] */
- __in_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumViewports,
- /* [annotation] */
- __in_ecount_opt(NumViewports) const D3D10_VIEWPORT *pViewports) = 0;
-
- virtual void STDMETHODCALLTYPE RSSetScissorRects(
- /* [annotation] */
- __in_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumRects,
- /* [annotation] */
- __in_ecount_opt(NumRects) const D3D10_RECT *pRects) = 0;
-
- virtual void STDMETHODCALLTYPE CopySubresourceRegion(
- /* [annotation] */
- __in ID3D10Resource *pDstResource,
- /* [annotation] */
- __in UINT DstSubresource,
- /* [annotation] */
- __in UINT DstX,
- /* [annotation] */
- __in UINT DstY,
- /* [annotation] */
- __in UINT DstZ,
- /* [annotation] */
- __in ID3D10Resource *pSrcResource,
- /* [annotation] */
- __in UINT SrcSubresource,
- /* [annotation] */
- __in_opt const D3D10_BOX *pSrcBox) = 0;
-
- virtual void STDMETHODCALLTYPE CopyResource(
- /* [annotation] */
- __in ID3D10Resource *pDstResource,
- /* [annotation] */
- __in ID3D10Resource *pSrcResource) = 0;
-
- virtual void STDMETHODCALLTYPE UpdateSubresource(
- /* [annotation] */
- __in ID3D10Resource *pDstResource,
- /* [annotation] */
- __in UINT DstSubresource,
- /* [annotation] */
- __in_opt const D3D10_BOX *pDstBox,
- /* [annotation] */
- __in const void *pSrcData,
- /* [annotation] */
- __in UINT SrcRowPitch,
- /* [annotation] */
- __in UINT SrcDepthPitch) = 0;
-
- virtual void STDMETHODCALLTYPE ClearRenderTargetView(
- /* [annotation] */
- __in ID3D10RenderTargetView *pRenderTargetView,
- /* [annotation] */
- __in const FLOAT ColorRGBA[ 4 ]) = 0;
-
- virtual void STDMETHODCALLTYPE ClearDepthStencilView(
- /* [annotation] */
- __in ID3D10DepthStencilView *pDepthStencilView,
- /* [annotation] */
- __in UINT ClearFlags,
- /* [annotation] */
- __in FLOAT Depth,
- /* [annotation] */
- __in UINT8 Stencil) = 0;
-
- virtual void STDMETHODCALLTYPE GenerateMips(
- /* [annotation] */
- __in ID3D10ShaderResourceView *pShaderResourceView) = 0;
-
- virtual void STDMETHODCALLTYPE ResolveSubresource(
- /* [annotation] */
- __in ID3D10Resource *pDstResource,
- /* [annotation] */
- __in UINT DstSubresource,
- /* [annotation] */
- __in ID3D10Resource *pSrcResource,
- /* [annotation] */
- __in UINT SrcSubresource,
- /* [annotation] */
- __in DXGI_FORMAT Format) = 0;
-
- virtual void STDMETHODCALLTYPE VSGetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE PSGetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE PSGetShader(
- /* [annotation] */
- __out ID3D10PixelShader **ppPixelShader) = 0;
-
- virtual void STDMETHODCALLTYPE PSGetSamplers(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE VSGetShader(
- /* [annotation] */
- __out ID3D10VertexShader **ppVertexShader) = 0;
-
- virtual void STDMETHODCALLTYPE PSGetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE IAGetInputLayout(
- /* [annotation] */
- __out ID3D10InputLayout **ppInputLayout) = 0;
-
- virtual void STDMETHODCALLTYPE IAGetVertexBuffers(
- /* [annotation] */
- __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) ID3D10Buffer **ppVertexBuffers,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) UINT *pStrides,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) UINT *pOffsets) = 0;
-
- virtual void STDMETHODCALLTYPE IAGetIndexBuffer(
- /* [annotation] */
- __out_opt ID3D10Buffer **pIndexBuffer,
- /* [annotation] */
- __out_opt DXGI_FORMAT *Format,
- /* [annotation] */
- __out_opt UINT *Offset) = 0;
-
- virtual void STDMETHODCALLTYPE GSGetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE GSGetShader(
- /* [annotation] */
- __out ID3D10GeometryShader **ppGeometryShader) = 0;
-
- virtual void STDMETHODCALLTYPE IAGetPrimitiveTopology(
- /* [annotation] */
- __out D3D10_PRIMITIVE_TOPOLOGY *pTopology) = 0;
-
- virtual void STDMETHODCALLTYPE VSGetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE VSGetSamplers(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE GetPredication(
- /* [annotation] */
- __out_opt ID3D10Predicate **ppPredicate,
- /* [annotation] */
- __out_opt BOOL *pPredicateValue) = 0;
-
- virtual void STDMETHODCALLTYPE GSGetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE GSGetSamplers(
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE OMGetRenderTargets(
- /* [annotation] */
- __in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
- /* [annotation] */
- __out_ecount_opt(NumViews) ID3D10RenderTargetView **ppRenderTargetViews,
- /* [annotation] */
- __out_opt ID3D10DepthStencilView **ppDepthStencilView) = 0;
-
- virtual void STDMETHODCALLTYPE OMGetBlendState(
- /* [annotation] */
- __out_opt ID3D10BlendState **ppBlendState,
- /* [annotation] */
- __out_opt FLOAT BlendFactor[ 4 ],
- /* [annotation] */
- __out_opt UINT *pSampleMask) = 0;
-
- virtual void STDMETHODCALLTYPE OMGetDepthStencilState(
- /* [annotation] */
- __out_opt ID3D10DepthStencilState **ppDepthStencilState,
- /* [annotation] */
- __out_opt UINT *pStencilRef) = 0;
-
- virtual void STDMETHODCALLTYPE SOGetTargets(
- /* [annotation] */
- __in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) ID3D10Buffer **ppSOTargets,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) UINT *pOffsets) = 0;
-
- virtual void STDMETHODCALLTYPE RSGetState(
- /* [annotation] */
- __out ID3D10RasterizerState **ppRasterizerState) = 0;
-
- virtual void STDMETHODCALLTYPE RSGetViewports(
- /* [annotation] */
- __inout /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *NumViewports,
- /* [annotation] */
- __out_ecount_opt(*NumViewports) D3D10_VIEWPORT *pViewports) = 0;
-
- virtual void STDMETHODCALLTYPE RSGetScissorRects(
- /* [annotation] */
- __inout /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *NumRects,
- /* [annotation] */
- __out_ecount_opt(*NumRects) D3D10_RECT *pRects) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDeviceRemovedReason( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetExceptionMode(
- UINT RaiseFlags) = 0;
-
- virtual UINT STDMETHODCALLTYPE GetExceptionMode( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData) = 0;
-
- virtual void STDMETHODCALLTYPE ClearState( void) = 0;
-
- virtual void STDMETHODCALLTYPE Flush( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateBuffer(
- /* [annotation] */
- __in const D3D10_BUFFER_DESC *pDesc,
- /* [annotation] */
- __in_opt const D3D10_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out_opt ID3D10Buffer **ppBuffer) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateTexture1D(
- /* [annotation] */
- __in const D3D10_TEXTURE1D_DESC *pDesc,
- /* [annotation] */
- __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out ID3D10Texture1D **ppTexture1D) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateTexture2D(
- /* [annotation] */
- __in const D3D10_TEXTURE2D_DESC *pDesc,
- /* [annotation] */
- __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out ID3D10Texture2D **ppTexture2D) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateTexture3D(
- /* [annotation] */
- __in const D3D10_TEXTURE3D_DESC *pDesc,
- /* [annotation] */
- __in_xcount_opt(pDesc->MipLevels) const D3D10_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out ID3D10Texture3D **ppTexture3D) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView(
- /* [annotation] */
- __in ID3D10Resource *pResource,
- /* [annotation] */
- __in_opt const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D10ShaderResourceView **ppSRView) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView(
- /* [annotation] */
- __in ID3D10Resource *pResource,
- /* [annotation] */
- __in_opt const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D10RenderTargetView **ppRTView) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilView(
- /* [annotation] */
- __in ID3D10Resource *pResource,
- /* [annotation] */
- __in_opt const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D10DepthStencilView **ppDepthStencilView) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateInputLayout(
- /* [annotation] */
- __in_ecount(NumElements) const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs,
- /* [annotation] */
- __in_range( 0, D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
- /* [annotation] */
- __in const void *pShaderBytecodeWithInputSignature,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __out_opt ID3D10InputLayout **ppInputLayout) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateVertexShader(
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __out_opt ID3D10VertexShader **ppVertexShader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader(
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __out_opt ID3D10GeometryShader **ppGeometryShader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateGeometryShaderWithStreamOutput(
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_ecount_opt(NumEntries) const D3D10_SO_DECLARATION_ENTRY *pSODeclaration,
- /* [annotation] */
- __in_range( 0, D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT ) UINT NumEntries,
- /* [annotation] */
- __in UINT OutputStreamStride,
- /* [annotation] */
- __out_opt ID3D10GeometryShader **ppGeometryShader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreatePixelShader(
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __out_opt ID3D10PixelShader **ppPixelShader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateBlendState(
- /* [annotation] */
- __in const D3D10_BLEND_DESC *pBlendStateDesc,
- /* [annotation] */
- __out_opt ID3D10BlendState **ppBlendState) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilState(
- /* [annotation] */
- __in const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,
- /* [annotation] */
- __out_opt ID3D10DepthStencilState **ppDepthStencilState) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState(
- /* [annotation] */
- __in const D3D10_RASTERIZER_DESC *pRasterizerDesc,
- /* [annotation] */
- __out_opt ID3D10RasterizerState **ppRasterizerState) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateSamplerState(
- /* [annotation] */
- __in const D3D10_SAMPLER_DESC *pSamplerDesc,
- /* [annotation] */
- __out_opt ID3D10SamplerState **ppSamplerState) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateQuery(
- /* [annotation] */
- __in const D3D10_QUERY_DESC *pQueryDesc,
- /* [annotation] */
- __out_opt ID3D10Query **ppQuery) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreatePredicate(
- /* [annotation] */
- __in const D3D10_QUERY_DESC *pPredicateDesc,
- /* [annotation] */
- __out_opt ID3D10Predicate **ppPredicate) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateCounter(
- /* [annotation] */
- __in const D3D10_COUNTER_DESC *pCounterDesc,
- /* [annotation] */
- __out_opt ID3D10Counter **ppCounter) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CheckFormatSupport(
- /* [annotation] */
- __in DXGI_FORMAT Format,
- /* [annotation] */
- __out UINT *pFormatSupport) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels(
- /* [annotation] */
- __in DXGI_FORMAT Format,
- /* [annotation] */
- __in UINT SampleCount,
- /* [annotation] */
- __out UINT *pNumQualityLevels) = 0;
-
- virtual void STDMETHODCALLTYPE CheckCounterInfo(
- /* [annotation] */
- __out D3D10_COUNTER_INFO *pCounterInfo) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CheckCounter(
- /* [annotation] */
- __in const D3D10_COUNTER_DESC *pDesc,
- /* [annotation] */
- __out D3D10_COUNTER_TYPE *pType,
- /* [annotation] */
- __out UINT *pActiveCounters,
- /* [annotation] */
- __out_ecount_opt(*pNameLength) LPSTR szName,
- /* [annotation] */
- __inout_opt UINT *pNameLength,
- /* [annotation] */
- __out_ecount_opt(*pUnitsLength) LPSTR szUnits,
- /* [annotation] */
- __inout_opt UINT *pUnitsLength,
- /* [annotation] */
- __out_ecount_opt(*pDescriptionLength) LPSTR szDescription,
- /* [annotation] */
- __inout_opt UINT *pDescriptionLength) = 0;
-
- virtual UINT STDMETHODCALLTYPE GetCreationFlags( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OpenSharedResource(
- /* [annotation] */
- __in HANDLE hResource,
- /* [annotation] */
- __in REFIID ReturnedInterface,
- /* [annotation] */
- __out_opt void **ppResource) = 0;
-
- virtual void STDMETHODCALLTYPE SetTextFilterSize(
- /* [annotation] */
- __in UINT Width,
- /* [annotation] */
- __in UINT Height) = 0;
-
- virtual void STDMETHODCALLTYPE GetTextFilterSize(
- /* [annotation] */
- __out_opt UINT *pWidth,
- /* [annotation] */
- __out_opt UINT *pHeight) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10DeviceVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10Device * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10Device * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10Device * This);
-
- void ( STDMETHODCALLTYPE *VSSetConstantBuffers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *PSSetShaderResources )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *PSSetShader )(
- ID3D10Device * This,
- /* [annotation] */
- __in_opt ID3D10PixelShader *pPixelShader);
-
- void ( STDMETHODCALLTYPE *PSSetSamplers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers);
-
- void ( STDMETHODCALLTYPE *VSSetShader )(
- ID3D10Device * This,
- /* [annotation] */
- __in_opt ID3D10VertexShader *pVertexShader);
-
- void ( STDMETHODCALLTYPE *DrawIndexed )(
- ID3D10Device * This,
- /* [annotation] */
- __in UINT IndexCount,
- /* [annotation] */
- __in UINT StartIndexLocation,
- /* [annotation] */
- __in INT BaseVertexLocation);
-
- void ( STDMETHODCALLTYPE *Draw )(
- ID3D10Device * This,
- /* [annotation] */
- __in UINT VertexCount,
- /* [annotation] */
- __in UINT StartVertexLocation);
-
- void ( STDMETHODCALLTYPE *PSSetConstantBuffers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *IASetInputLayout )(
- ID3D10Device * This,
- /* [annotation] */
- __in_opt ID3D10InputLayout *pInputLayout);
-
- void ( STDMETHODCALLTYPE *IASetVertexBuffers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D10Buffer *const *ppVertexBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) const UINT *pStrides,
- /* [annotation] */
- __in_ecount(NumBuffers) const UINT *pOffsets);
-
- void ( STDMETHODCALLTYPE *IASetIndexBuffer )(
- ID3D10Device * This,
- /* [annotation] */
- __in_opt ID3D10Buffer *pIndexBuffer,
- /* [annotation] */
- __in DXGI_FORMAT Format,
- /* [annotation] */
- __in UINT Offset);
-
- void ( STDMETHODCALLTYPE *DrawIndexedInstanced )(
- ID3D10Device * This,
- /* [annotation] */
- __in UINT IndexCountPerInstance,
- /* [annotation] */
- __in UINT InstanceCount,
- /* [annotation] */
- __in UINT StartIndexLocation,
- /* [annotation] */
- __in INT BaseVertexLocation,
- /* [annotation] */
- __in UINT StartInstanceLocation);
-
- void ( STDMETHODCALLTYPE *DrawInstanced )(
- ID3D10Device * This,
- /* [annotation] */
- __in UINT VertexCountPerInstance,
- /* [annotation] */
- __in UINT InstanceCount,
- /* [annotation] */
- __in UINT StartVertexLocation,
- /* [annotation] */
- __in UINT StartInstanceLocation);
-
- void ( STDMETHODCALLTYPE *GSSetConstantBuffers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *GSSetShader )(
- ID3D10Device * This,
- /* [annotation] */
- __in_opt ID3D10GeometryShader *pShader);
-
- void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )(
- ID3D10Device * This,
- /* [annotation] */
- __in D3D10_PRIMITIVE_TOPOLOGY Topology);
-
- void ( STDMETHODCALLTYPE *VSSetShaderResources )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *VSSetSamplers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers);
-
- void ( STDMETHODCALLTYPE *SetPredication )(
- ID3D10Device * This,
- /* [annotation] */
- __in_opt ID3D10Predicate *pPredicate,
- /* [annotation] */
- __in BOOL PredicateValue);
-
- void ( STDMETHODCALLTYPE *GSSetShaderResources )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *GSSetSamplers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers);
-
- void ( STDMETHODCALLTYPE *OMSetRenderTargets )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
- /* [annotation] */
- __in_ecount_opt(NumViews) ID3D10RenderTargetView *const *ppRenderTargetViews,
- /* [annotation] */
- __in_opt ID3D10DepthStencilView *pDepthStencilView);
-
- void ( STDMETHODCALLTYPE *OMSetBlendState )(
- ID3D10Device * This,
- /* [annotation] */
- __in_opt ID3D10BlendState *pBlendState,
- /* [annotation] */
- __in const FLOAT BlendFactor[ 4 ],
- /* [annotation] */
- __in UINT SampleMask);
-
- void ( STDMETHODCALLTYPE *OMSetDepthStencilState )(
- ID3D10Device * This,
- /* [annotation] */
- __in_opt ID3D10DepthStencilState *pDepthStencilState,
- /* [annotation] */
- __in UINT StencilRef);
-
- void ( STDMETHODCALLTYPE *SOSetTargets )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
- /* [annotation] */
- __in_ecount_opt(NumBuffers) ID3D10Buffer *const *ppSOTargets,
- /* [annotation] */
- __in_ecount_opt(NumBuffers) const UINT *pOffsets);
-
- void ( STDMETHODCALLTYPE *DrawAuto )(
- ID3D10Device * This);
-
- void ( STDMETHODCALLTYPE *RSSetState )(
- ID3D10Device * This,
- /* [annotation] */
- __in_opt ID3D10RasterizerState *pRasterizerState);
-
- void ( STDMETHODCALLTYPE *RSSetViewports )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumViewports,
- /* [annotation] */
- __in_ecount_opt(NumViewports) const D3D10_VIEWPORT *pViewports);
-
- void ( STDMETHODCALLTYPE *RSSetScissorRects )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumRects,
- /* [annotation] */
- __in_ecount_opt(NumRects) const D3D10_RECT *pRects);
-
- void ( STDMETHODCALLTYPE *CopySubresourceRegion )(
- ID3D10Device * This,
- /* [annotation] */
- __in ID3D10Resource *pDstResource,
- /* [annotation] */
- __in UINT DstSubresource,
- /* [annotation] */
- __in UINT DstX,
- /* [annotation] */
- __in UINT DstY,
- /* [annotation] */
- __in UINT DstZ,
- /* [annotation] */
- __in ID3D10Resource *pSrcResource,
- /* [annotation] */
- __in UINT SrcSubresource,
- /* [annotation] */
- __in_opt const D3D10_BOX *pSrcBox);
-
- void ( STDMETHODCALLTYPE *CopyResource )(
- ID3D10Device * This,
- /* [annotation] */
- __in ID3D10Resource *pDstResource,
- /* [annotation] */
- __in ID3D10Resource *pSrcResource);
-
- void ( STDMETHODCALLTYPE *UpdateSubresource )(
- ID3D10Device * This,
- /* [annotation] */
- __in ID3D10Resource *pDstResource,
- /* [annotation] */
- __in UINT DstSubresource,
- /* [annotation] */
- __in_opt const D3D10_BOX *pDstBox,
- /* [annotation] */
- __in const void *pSrcData,
- /* [annotation] */
- __in UINT SrcRowPitch,
- /* [annotation] */
- __in UINT SrcDepthPitch);
-
- void ( STDMETHODCALLTYPE *ClearRenderTargetView )(
- ID3D10Device * This,
- /* [annotation] */
- __in ID3D10RenderTargetView *pRenderTargetView,
- /* [annotation] */
- __in const FLOAT ColorRGBA[ 4 ]);
-
- void ( STDMETHODCALLTYPE *ClearDepthStencilView )(
- ID3D10Device * This,
- /* [annotation] */
- __in ID3D10DepthStencilView *pDepthStencilView,
- /* [annotation] */
- __in UINT ClearFlags,
- /* [annotation] */
- __in FLOAT Depth,
- /* [annotation] */
- __in UINT8 Stencil);
-
- void ( STDMETHODCALLTYPE *GenerateMips )(
- ID3D10Device * This,
- /* [annotation] */
- __in ID3D10ShaderResourceView *pShaderResourceView);
-
- void ( STDMETHODCALLTYPE *ResolveSubresource )(
- ID3D10Device * This,
- /* [annotation] */
- __in ID3D10Resource *pDstResource,
- /* [annotation] */
- __in UINT DstSubresource,
- /* [annotation] */
- __in ID3D10Resource *pSrcResource,
- /* [annotation] */
- __in UINT SrcSubresource,
- /* [annotation] */
- __in DXGI_FORMAT Format);
-
- void ( STDMETHODCALLTYPE *VSGetConstantBuffers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *PSGetShaderResources )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *PSGetShader )(
- ID3D10Device * This,
- /* [annotation] */
- __out ID3D10PixelShader **ppPixelShader);
-
- void ( STDMETHODCALLTYPE *PSGetSamplers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers);
-
- void ( STDMETHODCALLTYPE *VSGetShader )(
- ID3D10Device * This,
- /* [annotation] */
- __out ID3D10VertexShader **ppVertexShader);
-
- void ( STDMETHODCALLTYPE *PSGetConstantBuffers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *IAGetInputLayout )(
- ID3D10Device * This,
- /* [annotation] */
- __out ID3D10InputLayout **ppInputLayout);
-
- void ( STDMETHODCALLTYPE *IAGetVertexBuffers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) ID3D10Buffer **ppVertexBuffers,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) UINT *pStrides,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) UINT *pOffsets);
-
- void ( STDMETHODCALLTYPE *IAGetIndexBuffer )(
- ID3D10Device * This,
- /* [annotation] */
- __out_opt ID3D10Buffer **pIndexBuffer,
- /* [annotation] */
- __out_opt DXGI_FORMAT *Format,
- /* [annotation] */
- __out_opt UINT *Offset);
-
- void ( STDMETHODCALLTYPE *GSGetConstantBuffers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *GSGetShader )(
- ID3D10Device * This,
- /* [annotation] */
- __out ID3D10GeometryShader **ppGeometryShader);
-
- void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )(
- ID3D10Device * This,
- /* [annotation] */
- __out D3D10_PRIMITIVE_TOPOLOGY *pTopology);
-
- void ( STDMETHODCALLTYPE *VSGetShaderResources )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *VSGetSamplers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers);
-
- void ( STDMETHODCALLTYPE *GetPredication )(
- ID3D10Device * This,
- /* [annotation] */
- __out_opt ID3D10Predicate **ppPredicate,
- /* [annotation] */
- __out_opt BOOL *pPredicateValue);
-
- void ( STDMETHODCALLTYPE *GSGetShaderResources )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *GSGetSamplers )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers);
-
- void ( STDMETHODCALLTYPE *OMGetRenderTargets )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
- /* [annotation] */
- __out_ecount_opt(NumViews) ID3D10RenderTargetView **ppRenderTargetViews,
- /* [annotation] */
- __out_opt ID3D10DepthStencilView **ppDepthStencilView);
-
- void ( STDMETHODCALLTYPE *OMGetBlendState )(
- ID3D10Device * This,
- /* [annotation] */
- __out_opt ID3D10BlendState **ppBlendState,
- /* [annotation] */
- __out_opt FLOAT BlendFactor[ 4 ],
- /* [annotation] */
- __out_opt UINT *pSampleMask);
-
- void ( STDMETHODCALLTYPE *OMGetDepthStencilState )(
- ID3D10Device * This,
- /* [annotation] */
- __out_opt ID3D10DepthStencilState **ppDepthStencilState,
- /* [annotation] */
- __out_opt UINT *pStencilRef);
-
- void ( STDMETHODCALLTYPE *SOGetTargets )(
- ID3D10Device * This,
- /* [annotation] */
- __in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) ID3D10Buffer **ppSOTargets,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) UINT *pOffsets);
-
- void ( STDMETHODCALLTYPE *RSGetState )(
- ID3D10Device * This,
- /* [annotation] */
- __out ID3D10RasterizerState **ppRasterizerState);
-
- void ( STDMETHODCALLTYPE *RSGetViewports )(
- ID3D10Device * This,
- /* [annotation] */
- __inout /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *NumViewports,
- /* [annotation] */
- __out_ecount_opt(*NumViewports) D3D10_VIEWPORT *pViewports);
-
- void ( STDMETHODCALLTYPE *RSGetScissorRects )(
- ID3D10Device * This,
- /* [annotation] */
- __inout /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *NumRects,
- /* [annotation] */
- __out_ecount_opt(*NumRects) D3D10_RECT *pRects);
-
- HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )(
- ID3D10Device * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )(
- ID3D10Device * This,
- UINT RaiseFlags);
-
- UINT ( STDMETHODCALLTYPE *GetExceptionMode )(
- ID3D10Device * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D10Device * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D10Device * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D10Device * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *ClearState )(
- ID3D10Device * This);
-
- void ( STDMETHODCALLTYPE *Flush )(
- ID3D10Device * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBuffer )(
- ID3D10Device * This,
- /* [annotation] */
- __in const D3D10_BUFFER_DESC *pDesc,
- /* [annotation] */
- __in_opt const D3D10_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out_opt ID3D10Buffer **ppBuffer);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )(
- ID3D10Device * This,
- /* [annotation] */
- __in const D3D10_TEXTURE1D_DESC *pDesc,
- /* [annotation] */
- __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out ID3D10Texture1D **ppTexture1D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )(
- ID3D10Device * This,
- /* [annotation] */
- __in const D3D10_TEXTURE2D_DESC *pDesc,
- /* [annotation] */
- __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out ID3D10Texture2D **ppTexture2D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )(
- ID3D10Device * This,
- /* [annotation] */
- __in const D3D10_TEXTURE3D_DESC *pDesc,
- /* [annotation] */
- __in_xcount_opt(pDesc->MipLevels) const D3D10_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out ID3D10Texture3D **ppTexture3D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )(
- ID3D10Device * This,
- /* [annotation] */
- __in ID3D10Resource *pResource,
- /* [annotation] */
- __in_opt const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D10ShaderResourceView **ppSRView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )(
- ID3D10Device * This,
- /* [annotation] */
- __in ID3D10Resource *pResource,
- /* [annotation] */
- __in_opt const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D10RenderTargetView **ppRTView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )(
- ID3D10Device * This,
- /* [annotation] */
- __in ID3D10Resource *pResource,
- /* [annotation] */
- __in_opt const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D10DepthStencilView **ppDepthStencilView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )(
- ID3D10Device * This,
- /* [annotation] */
- __in_ecount(NumElements) const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs,
- /* [annotation] */
- __in_range( 0, D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
- /* [annotation] */
- __in const void *pShaderBytecodeWithInputSignature,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __out_opt ID3D10InputLayout **ppInputLayout);
-
- HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )(
- ID3D10Device * This,
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __out_opt ID3D10VertexShader **ppVertexShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )(
- ID3D10Device * This,
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __out_opt ID3D10GeometryShader **ppGeometryShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )(
- ID3D10Device * This,
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_ecount_opt(NumEntries) const D3D10_SO_DECLARATION_ENTRY *pSODeclaration,
- /* [annotation] */
- __in_range( 0, D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT ) UINT NumEntries,
- /* [annotation] */
- __in UINT OutputStreamStride,
- /* [annotation] */
- __out_opt ID3D10GeometryShader **ppGeometryShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )(
- ID3D10Device * This,
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __out_opt ID3D10PixelShader **ppPixelShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBlendState )(
- ID3D10Device * This,
- /* [annotation] */
- __in const D3D10_BLEND_DESC *pBlendStateDesc,
- /* [annotation] */
- __out_opt ID3D10BlendState **ppBlendState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )(
- ID3D10Device * This,
- /* [annotation] */
- __in const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,
- /* [annotation] */
- __out_opt ID3D10DepthStencilState **ppDepthStencilState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )(
- ID3D10Device * This,
- /* [annotation] */
- __in const D3D10_RASTERIZER_DESC *pRasterizerDesc,
- /* [annotation] */
- __out_opt ID3D10RasterizerState **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )(
- ID3D10Device * This,
- /* [annotation] */
- __in const D3D10_SAMPLER_DESC *pSamplerDesc,
- /* [annotation] */
- __out_opt ID3D10SamplerState **ppSamplerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateQuery )(
- ID3D10Device * This,
- /* [annotation] */
- __in const D3D10_QUERY_DESC *pQueryDesc,
- /* [annotation] */
- __out_opt ID3D10Query **ppQuery);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePredicate )(
- ID3D10Device * This,
- /* [annotation] */
- __in const D3D10_QUERY_DESC *pPredicateDesc,
- /* [annotation] */
- __out_opt ID3D10Predicate **ppPredicate);
-
- HRESULT ( STDMETHODCALLTYPE *CreateCounter )(
- ID3D10Device * This,
- /* [annotation] */
- __in const D3D10_COUNTER_DESC *pCounterDesc,
- /* [annotation] */
- __out_opt ID3D10Counter **ppCounter);
-
- HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )(
- ID3D10Device * This,
- /* [annotation] */
- __in DXGI_FORMAT Format,
- /* [annotation] */
- __out UINT *pFormatSupport);
-
- HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )(
- ID3D10Device * This,
- /* [annotation] */
- __in DXGI_FORMAT Format,
- /* [annotation] */
- __in UINT SampleCount,
- /* [annotation] */
- __out UINT *pNumQualityLevels);
-
- void ( STDMETHODCALLTYPE *CheckCounterInfo )(
- ID3D10Device * This,
- /* [annotation] */
- __out D3D10_COUNTER_INFO *pCounterInfo);
-
- HRESULT ( STDMETHODCALLTYPE *CheckCounter )(
- ID3D10Device * This,
- /* [annotation] */
- __in const D3D10_COUNTER_DESC *pDesc,
- /* [annotation] */
- __out D3D10_COUNTER_TYPE *pType,
- /* [annotation] */
- __out UINT *pActiveCounters,
- /* [annotation] */
- __out_ecount_opt(*pNameLength) LPSTR szName,
- /* [annotation] */
- __inout_opt UINT *pNameLength,
- /* [annotation] */
- __out_ecount_opt(*pUnitsLength) LPSTR szUnits,
- /* [annotation] */
- __inout_opt UINT *pUnitsLength,
- /* [annotation] */
- __out_ecount_opt(*pDescriptionLength) LPSTR szDescription,
- /* [annotation] */
- __inout_opt UINT *pDescriptionLength);
-
- UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
- ID3D10Device * This);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )(
- ID3D10Device * This,
- /* [annotation] */
- __in HANDLE hResource,
- /* [annotation] */
- __in REFIID ReturnedInterface,
- /* [annotation] */
- __out_opt void **ppResource);
-
- void ( STDMETHODCALLTYPE *SetTextFilterSize )(
- ID3D10Device * This,
- /* [annotation] */
- __in UINT Width,
- /* [annotation] */
- __in UINT Height);
-
- void ( STDMETHODCALLTYPE *GetTextFilterSize )(
- ID3D10Device * This,
- /* [annotation] */
- __out_opt UINT *pWidth,
- /* [annotation] */
- __out_opt UINT *pHeight);
-
- END_INTERFACE
- } ID3D10DeviceVtbl;
- interface ID3D10Device
- {
- CONST_VTBL struct ID3D10DeviceVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10Device_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10Device_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10Device_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10Device_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D10Device_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D10Device_PSSetShader(This,pPixelShader) \
- ( (This)->lpVtbl -> PSSetShader(This,pPixelShader) )
- #define ID3D10Device_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D10Device_VSSetShader(This,pVertexShader) \
- ( (This)->lpVtbl -> VSSetShader(This,pVertexShader) )
- #define ID3D10Device_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) \
- ( (This)->lpVtbl -> DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) )
- #define ID3D10Device_Draw(This,VertexCount,StartVertexLocation) \
- ( (This)->lpVtbl -> Draw(This,VertexCount,StartVertexLocation) )
- #define ID3D10Device_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D10Device_IASetInputLayout(This,pInputLayout) \
- ( (This)->lpVtbl -> IASetInputLayout(This,pInputLayout) )
- #define ID3D10Device_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
- ( (This)->lpVtbl -> IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
- #define ID3D10Device_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) \
- ( (This)->lpVtbl -> IASetIndexBuffer(This,pIndexBuffer,Format,Offset) )
- #define ID3D10Device_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) \
- ( (This)->lpVtbl -> DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) )
- #define ID3D10Device_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) \
- ( (This)->lpVtbl -> DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) )
- #define ID3D10Device_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D10Device_GSSetShader(This,pShader) \
- ( (This)->lpVtbl -> GSSetShader(This,pShader) )
- #define ID3D10Device_IASetPrimitiveTopology(This,Topology) \
- ( (This)->lpVtbl -> IASetPrimitiveTopology(This,Topology) )
- #define ID3D10Device_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D10Device_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D10Device_SetPredication(This,pPredicate,PredicateValue) \
- ( (This)->lpVtbl -> SetPredication(This,pPredicate,PredicateValue) )
- #define ID3D10Device_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D10Device_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D10Device_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) \
- ( (This)->lpVtbl -> OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) )
- #define ID3D10Device_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) \
- ( (This)->lpVtbl -> OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) )
- #define ID3D10Device_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) \
- ( (This)->lpVtbl -> OMSetDepthStencilState(This,pDepthStencilState,StencilRef) )
- #define ID3D10Device_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) \
- ( (This)->lpVtbl -> SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) )
- #define ID3D10Device_DrawAuto(This) \
- ( (This)->lpVtbl -> DrawAuto(This) )
- #define ID3D10Device_RSSetState(This,pRasterizerState) \
- ( (This)->lpVtbl -> RSSetState(This,pRasterizerState) )
- #define ID3D10Device_RSSetViewports(This,NumViewports,pViewports) \
- ( (This)->lpVtbl -> RSSetViewports(This,NumViewports,pViewports) )
- #define ID3D10Device_RSSetScissorRects(This,NumRects,pRects) \
- ( (This)->lpVtbl -> RSSetScissorRects(This,NumRects,pRects) )
- #define ID3D10Device_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) \
- ( (This)->lpVtbl -> CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) )
- #define ID3D10Device_CopyResource(This,pDstResource,pSrcResource) \
- ( (This)->lpVtbl -> CopyResource(This,pDstResource,pSrcResource) )
- #define ID3D10Device_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) \
- ( (This)->lpVtbl -> UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) )
- #define ID3D10Device_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) \
- ( (This)->lpVtbl -> ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) )
- #define ID3D10Device_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) \
- ( (This)->lpVtbl -> ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) )
- #define ID3D10Device_GenerateMips(This,pShaderResourceView) \
- ( (This)->lpVtbl -> GenerateMips(This,pShaderResourceView) )
- #define ID3D10Device_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) \
- ( (This)->lpVtbl -> ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) )
- #define ID3D10Device_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D10Device_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D10Device_PSGetShader(This,ppPixelShader) \
- ( (This)->lpVtbl -> PSGetShader(This,ppPixelShader) )
- #define ID3D10Device_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D10Device_VSGetShader(This,ppVertexShader) \
- ( (This)->lpVtbl -> VSGetShader(This,ppVertexShader) )
- #define ID3D10Device_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D10Device_IAGetInputLayout(This,ppInputLayout) \
- ( (This)->lpVtbl -> IAGetInputLayout(This,ppInputLayout) )
- #define ID3D10Device_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
- ( (This)->lpVtbl -> IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
- #define ID3D10Device_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) \
- ( (This)->lpVtbl -> IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) )
- #define ID3D10Device_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D10Device_GSGetShader(This,ppGeometryShader) \
- ( (This)->lpVtbl -> GSGetShader(This,ppGeometryShader) )
- #define ID3D10Device_IAGetPrimitiveTopology(This,pTopology) \
- ( (This)->lpVtbl -> IAGetPrimitiveTopology(This,pTopology) )
- #define ID3D10Device_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D10Device_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D10Device_GetPredication(This,ppPredicate,pPredicateValue) \
- ( (This)->lpVtbl -> GetPredication(This,ppPredicate,pPredicateValue) )
- #define ID3D10Device_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D10Device_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D10Device_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) \
- ( (This)->lpVtbl -> OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) )
- #define ID3D10Device_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) \
- ( (This)->lpVtbl -> OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) )
- #define ID3D10Device_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) \
- ( (This)->lpVtbl -> OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) )
- #define ID3D10Device_SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets) \
- ( (This)->lpVtbl -> SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets) )
- #define ID3D10Device_RSGetState(This,ppRasterizerState) \
- ( (This)->lpVtbl -> RSGetState(This,ppRasterizerState) )
- #define ID3D10Device_RSGetViewports(This,NumViewports,pViewports) \
- ( (This)->lpVtbl -> RSGetViewports(This,NumViewports,pViewports) )
- #define ID3D10Device_RSGetScissorRects(This,NumRects,pRects) \
- ( (This)->lpVtbl -> RSGetScissorRects(This,NumRects,pRects) )
- #define ID3D10Device_GetDeviceRemovedReason(This) \
- ( (This)->lpVtbl -> GetDeviceRemovedReason(This) )
- #define ID3D10Device_SetExceptionMode(This,RaiseFlags) \
- ( (This)->lpVtbl -> SetExceptionMode(This,RaiseFlags) )
- #define ID3D10Device_GetExceptionMode(This) \
- ( (This)->lpVtbl -> GetExceptionMode(This) )
- #define ID3D10Device_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D10Device_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D10Device_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D10Device_ClearState(This) \
- ( (This)->lpVtbl -> ClearState(This) )
- #define ID3D10Device_Flush(This) \
- ( (This)->lpVtbl -> Flush(This) )
- #define ID3D10Device_CreateBuffer(This,pDesc,pInitialData,ppBuffer) \
- ( (This)->lpVtbl -> CreateBuffer(This,pDesc,pInitialData,ppBuffer) )
- #define ID3D10Device_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) \
- ( (This)->lpVtbl -> CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) )
- #define ID3D10Device_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) \
- ( (This)->lpVtbl -> CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) )
- #define ID3D10Device_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) \
- ( (This)->lpVtbl -> CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) )
- #define ID3D10Device_CreateShaderResourceView(This,pResource,pDesc,ppSRView) \
- ( (This)->lpVtbl -> CreateShaderResourceView(This,pResource,pDesc,ppSRView) )
- #define ID3D10Device_CreateRenderTargetView(This,pResource,pDesc,ppRTView) \
- ( (This)->lpVtbl -> CreateRenderTargetView(This,pResource,pDesc,ppRTView) )
- #define ID3D10Device_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) \
- ( (This)->lpVtbl -> CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) )
- #define ID3D10Device_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) \
- ( (This)->lpVtbl -> CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) )
- #define ID3D10Device_CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader) \
- ( (This)->lpVtbl -> CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader) )
- #define ID3D10Device_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader) \
- ( (This)->lpVtbl -> CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader) )
- #define ID3D10Device_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader) \
- ( (This)->lpVtbl -> CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader) )
- #define ID3D10Device_CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader) \
- ( (This)->lpVtbl -> CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader) )
- #define ID3D10Device_CreateBlendState(This,pBlendStateDesc,ppBlendState) \
- ( (This)->lpVtbl -> CreateBlendState(This,pBlendStateDesc,ppBlendState) )
- #define ID3D10Device_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) \
- ( (This)->lpVtbl -> CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) )
- #define ID3D10Device_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D10Device_CreateSamplerState(This,pSamplerDesc,ppSamplerState) \
- ( (This)->lpVtbl -> CreateSamplerState(This,pSamplerDesc,ppSamplerState) )
- #define ID3D10Device_CreateQuery(This,pQueryDesc,ppQuery) \
- ( (This)->lpVtbl -> CreateQuery(This,pQueryDesc,ppQuery) )
- #define ID3D10Device_CreatePredicate(This,pPredicateDesc,ppPredicate) \
- ( (This)->lpVtbl -> CreatePredicate(This,pPredicateDesc,ppPredicate) )
- #define ID3D10Device_CreateCounter(This,pCounterDesc,ppCounter) \
- ( (This)->lpVtbl -> CreateCounter(This,pCounterDesc,ppCounter) )
- #define ID3D10Device_CheckFormatSupport(This,Format,pFormatSupport) \
- ( (This)->lpVtbl -> CheckFormatSupport(This,Format,pFormatSupport) )
- #define ID3D10Device_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) \
- ( (This)->lpVtbl -> CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) )
- #define ID3D10Device_CheckCounterInfo(This,pCounterInfo) \
- ( (This)->lpVtbl -> CheckCounterInfo(This,pCounterInfo) )
- #define ID3D10Device_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) \
- ( (This)->lpVtbl -> CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) )
- #define ID3D10Device_GetCreationFlags(This) \
- ( (This)->lpVtbl -> GetCreationFlags(This) )
- #define ID3D10Device_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResource(This,hResource,ReturnedInterface,ppResource) )
- #define ID3D10Device_SetTextFilterSize(This,Width,Height) \
- ( (This)->lpVtbl -> SetTextFilterSize(This,Width,Height) )
- #define ID3D10Device_GetTextFilterSize(This,pWidth,pHeight) \
- ( (This)->lpVtbl -> GetTextFilterSize(This,pWidth,pHeight) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10Device_INTERFACE_DEFINED__ */
- #ifndef __ID3D10Multithread_INTERFACE_DEFINED__
- #define __ID3D10Multithread_INTERFACE_DEFINED__
- /* interface ID3D10Multithread */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D10Multithread;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4E00-342C-4106-A19F-4F2704F689F0")
- ID3D10Multithread : public IUnknown
- {
- public:
- virtual void STDMETHODCALLTYPE Enter( void) = 0;
-
- virtual void STDMETHODCALLTYPE Leave( void) = 0;
-
- virtual BOOL STDMETHODCALLTYPE SetMultithreadProtected(
- /* [annotation] */
- __in BOOL bMTProtect) = 0;
-
- virtual BOOL STDMETHODCALLTYPE GetMultithreadProtected( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D10MultithreadVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D10Multithread * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D10Multithread * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D10Multithread * This);
-
- void ( STDMETHODCALLTYPE *Enter )(
- ID3D10Multithread * This);
-
- void ( STDMETHODCALLTYPE *Leave )(
- ID3D10Multithread * This);
-
- BOOL ( STDMETHODCALLTYPE *SetMultithreadProtected )(
- ID3D10Multithread * This,
- /* [annotation] */
- __in BOOL bMTProtect);
-
- BOOL ( STDMETHODCALLTYPE *GetMultithreadProtected )(
- ID3D10Multithread * This);
-
- END_INTERFACE
- } ID3D10MultithreadVtbl;
- interface ID3D10Multithread
- {
- CONST_VTBL struct ID3D10MultithreadVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D10Multithread_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D10Multithread_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D10Multithread_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D10Multithread_Enter(This) \
- ( (This)->lpVtbl -> Enter(This) )
- #define ID3D10Multithread_Leave(This) \
- ( (This)->lpVtbl -> Leave(This) )
- #define ID3D10Multithread_SetMultithreadProtected(This,bMTProtect) \
- ( (This)->lpVtbl -> SetMultithreadProtected(This,bMTProtect) )
- #define ID3D10Multithread_GetMultithreadProtected(This) \
- ( (This)->lpVtbl -> GetMultithreadProtected(This) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D10Multithread_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d10_0000_0024 */
- /* [local] */
- typedef
- enum D3D10_CREATE_DEVICE_FLAG
- { D3D10_CREATE_DEVICE_SINGLETHREADED = 0x1,
- D3D10_CREATE_DEVICE_DEBUG = 0x2,
- D3D10_CREATE_DEVICE_SWITCH_TO_REF = 0x4,
- D3D10_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS = 0x8,
- D3D10_CREATE_DEVICE_ALLOW_NULL_FROM_MAP = 0x10,
- D3D10_CREATE_DEVICE_BGRA_SUPPORT = 0x20,
- D3D10_CREATE_DEVICE_STRICT_VALIDATION = 0x200
- } D3D10_CREATE_DEVICE_FLAG;
- #define D3D10_SDK_VERSION ( 29 )
- #if !defined( D3D10_IGNORE_SDK_LAYERS )
- #include "d3d10sdklayers.h"
- #endif
- #include "d3d10misc.h"
- #include "d3d10shader.h"
- #include "d3d10effect.h"
- DEFINE_GUID(IID_ID3D10DeviceChild,0x9B7E4C00,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10DepthStencilState,0x2B4B1CC8,0xA4AD,0x41f8,0x83,0x22,0xCA,0x86,0xFC,0x3E,0xC6,0x75);
- DEFINE_GUID(IID_ID3D10BlendState,0xEDAD8D19,0x8A35,0x4d6d,0x85,0x66,0x2E,0xA2,0x76,0xCD,0xE1,0x61);
- DEFINE_GUID(IID_ID3D10RasterizerState,0xA2A07292,0x89AF,0x4345,0xBE,0x2E,0xC5,0x3D,0x9F,0xBB,0x6E,0x9F);
- DEFINE_GUID(IID_ID3D10Resource,0x9B7E4C01,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10Buffer,0x9B7E4C02,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10Texture1D,0x9B7E4C03,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10Texture2D,0x9B7E4C04,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10Texture3D,0x9B7E4C05,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10View,0xC902B03F,0x60A7,0x49BA,0x99,0x36,0x2A,0x3A,0xB3,0x7A,0x7E,0x33);
- DEFINE_GUID(IID_ID3D10ShaderResourceView,0x9B7E4C07,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10RenderTargetView,0x9B7E4C08,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10DepthStencilView,0x9B7E4C09,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10VertexShader,0x9B7E4C0A,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10GeometryShader,0x6316BE88,0x54CD,0x4040,0xAB,0x44,0x20,0x46,0x1B,0xC8,0x1F,0x68);
- DEFINE_GUID(IID_ID3D10PixelShader,0x4968B601,0x9D00,0x4cde,0x83,0x46,0x8E,0x7F,0x67,0x58,0x19,0xB6);
- DEFINE_GUID(IID_ID3D10InputLayout,0x9B7E4C0B,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10SamplerState,0x9B7E4C0C,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10Asynchronous,0x9B7E4C0D,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10Query,0x9B7E4C0E,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10Predicate,0x9B7E4C10,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10Counter,0x9B7E4C11,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10Device,0x9B7E4C0F,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D10Multithread,0x9B7E4E00,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0024_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0024_v0_0_s_ifspec;
- /* Additional Prototypes for ALL interfaces */
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif
|