d3d11_1.h 224 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230
  1. /*** Autogenerated by WIDL 7.7 from include/d3d11_1.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __d3d11_1_h__
  14. #define __d3d11_1_h__
  15. /* Forward declarations */
  16. #ifndef __ID3D11BlendState1_FWD_DEFINED__
  17. #define __ID3D11BlendState1_FWD_DEFINED__
  18. typedef interface ID3D11BlendState1 ID3D11BlendState1;
  19. #ifdef __cplusplus
  20. interface ID3D11BlendState1;
  21. #endif /* __cplusplus */
  22. #endif
  23. #ifndef __ID3DDeviceContextState_FWD_DEFINED__
  24. #define __ID3DDeviceContextState_FWD_DEFINED__
  25. typedef interface ID3DDeviceContextState ID3DDeviceContextState;
  26. #ifdef __cplusplus
  27. interface ID3DDeviceContextState;
  28. #endif /* __cplusplus */
  29. #endif
  30. #ifndef __ID3D11DeviceContext1_FWD_DEFINED__
  31. #define __ID3D11DeviceContext1_FWD_DEFINED__
  32. typedef interface ID3D11DeviceContext1 ID3D11DeviceContext1;
  33. #ifdef __cplusplus
  34. interface ID3D11DeviceContext1;
  35. #endif /* __cplusplus */
  36. #endif
  37. #ifndef __ID3D11VideoContext1_FWD_DEFINED__
  38. #define __ID3D11VideoContext1_FWD_DEFINED__
  39. typedef interface ID3D11VideoContext1 ID3D11VideoContext1;
  40. #ifdef __cplusplus
  41. interface ID3D11VideoContext1;
  42. #endif /* __cplusplus */
  43. #endif
  44. #ifndef __ID3D11VideoDevice1_FWD_DEFINED__
  45. #define __ID3D11VideoDevice1_FWD_DEFINED__
  46. typedef interface ID3D11VideoDevice1 ID3D11VideoDevice1;
  47. #ifdef __cplusplus
  48. interface ID3D11VideoDevice1;
  49. #endif /* __cplusplus */
  50. #endif
  51. #ifndef __ID3D11VideoProcessorEnumerator1_FWD_DEFINED__
  52. #define __ID3D11VideoProcessorEnumerator1_FWD_DEFINED__
  53. typedef interface ID3D11VideoProcessorEnumerator1 ID3D11VideoProcessorEnumerator1;
  54. #ifdef __cplusplus
  55. interface ID3D11VideoProcessorEnumerator1;
  56. #endif /* __cplusplus */
  57. #endif
  58. #ifndef __ID3DUserDefinedAnnotation_FWD_DEFINED__
  59. #define __ID3DUserDefinedAnnotation_FWD_DEFINED__
  60. typedef interface ID3DUserDefinedAnnotation ID3DUserDefinedAnnotation;
  61. #ifdef __cplusplus
  62. interface ID3DUserDefinedAnnotation;
  63. #endif /* __cplusplus */
  64. #endif
  65. #ifndef __ID3D11RasterizerState1_FWD_DEFINED__
  66. #define __ID3D11RasterizerState1_FWD_DEFINED__
  67. typedef interface ID3D11RasterizerState1 ID3D11RasterizerState1;
  68. #ifdef __cplusplus
  69. interface ID3D11RasterizerState1;
  70. #endif /* __cplusplus */
  71. #endif
  72. #ifndef __ID3D11Device1_FWD_DEFINED__
  73. #define __ID3D11Device1_FWD_DEFINED__
  74. typedef interface ID3D11Device1 ID3D11Device1;
  75. #ifdef __cplusplus
  76. interface ID3D11Device1;
  77. #endif /* __cplusplus */
  78. #endif
  79. /* Headers for imported files */
  80. #include <oaidl.h>
  81. #include <ocidl.h>
  82. #include <dxgi1_2.h>
  83. #include <d3dcommon.h>
  84. #include <d3d11.h>
  85. #ifdef __cplusplus
  86. extern "C" {
  87. #endif
  88. typedef enum D3D11_LOGIC_OP {
  89. D3D11_LOGIC_OP_CLEAR = 0,
  90. D3D11_LOGIC_OP_SET = 1,
  91. D3D11_LOGIC_OP_COPY = 2,
  92. D3D11_LOGIC_OP_COPY_INVERTED = 3,
  93. D3D11_LOGIC_OP_NOOP = 4,
  94. D3D11_LOGIC_OP_INVERT = 5,
  95. D3D11_LOGIC_OP_AND = 6,
  96. D3D11_LOGIC_OP_NAND = 7,
  97. D3D11_LOGIC_OP_OR = 8,
  98. D3D11_LOGIC_OP_NOR = 9,
  99. D3D11_LOGIC_OP_XOR = 10,
  100. D3D11_LOGIC_OP_EQUIV = 11,
  101. D3D11_LOGIC_OP_AND_REVERSE = 12,
  102. D3D11_LOGIC_OP_AND_INVERTED = 13,
  103. D3D11_LOGIC_OP_OR_REVERSE = 14,
  104. D3D11_LOGIC_OP_OR_INVERTED = 15
  105. } D3D11_LOGIC_OP;
  106. typedef enum D3D11_COPY_FLAGS {
  107. D3D11_COPY_NO_OVERWRITE = 0x1,
  108. D3D11_COPY_DISCARD = 0x2
  109. } D3D11_COPY_FLAGS;
  110. typedef enum D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG {
  111. D3D11_1_CREATE_DEVICE_CONTEXT_STATE_SINGLETHREADED = 0x1
  112. } D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG;
  113. typedef enum D3D11_VIDEO_DECODER_CAPS {
  114. D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE = 0x1,
  115. D3D11_VIDEO_DECODER_CAPS_NON_REAL_TIME = 0x2,
  116. D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_DYNAMIC = 0x4,
  117. D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_REQUIRED = 0x8,
  118. D3D11_VIDEO_DECODER_CAPS_UNSUPPORTED = 0x10
  119. } D3D11_VIDEO_DECODER_CAPS;
  120. typedef enum D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS {
  121. D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_ROTATION = 0x1,
  122. D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_RESIZE = 0x2,
  123. D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_COLOR_SPACE_CONVERSION = 0x4,
  124. D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_TRIPLE_BUFFER_OUTPUT = 0x8
  125. } D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS;
  126. typedef enum D3D11_CRYPTO_SESSION_STATUS {
  127. D3D11_CRYPTO_SESSION_STATUS_OK = 0x0,
  128. D3D11_CRYPTO_SESSION_STATUS_KEY_LOST = 0x1,
  129. D3D11_CRYPTO_SESSION_STATUS_KEY_AND_CONTENT_LOST = 0x2
  130. } D3D11_CRYPTO_SESSION_STATUS;
  131. typedef struct D3D11_RENDER_TARGET_BLEND_DESC1 {
  132. WINBOOL BlendEnable;
  133. WINBOOL LogicOpEnable;
  134. D3D11_BLEND SrcBlend;
  135. D3D11_BLEND DestBlend;
  136. D3D11_BLEND_OP BlendOp;
  137. D3D11_BLEND SrcBlendAlpha;
  138. D3D11_BLEND DestBlendAlpha;
  139. D3D11_BLEND_OP BlendOpAlpha;
  140. D3D11_LOGIC_OP LogicOp;
  141. UINT8 RenderTargetWriteMask;
  142. } D3D11_RENDER_TARGET_BLEND_DESC1;
  143. typedef struct D3D11_BLEND_DESC1 {
  144. WINBOOL AlphaToCoverageEnable;
  145. WINBOOL IndependentBlendEnable;
  146. D3D11_RENDER_TARGET_BLEND_DESC1 RenderTarget[8];
  147. } D3D11_BLEND_DESC1;
  148. typedef struct D3D11_RASTERIZER_DESC1 {
  149. D3D11_FILL_MODE FillMode;
  150. D3D11_CULL_MODE CullMode;
  151. WINBOOL FrontCounterClockwise;
  152. INT DepthBias;
  153. FLOAT DepthBiasClamp;
  154. FLOAT SlopeScaledDepthBias;
  155. WINBOOL DepthClipEnable;
  156. WINBOOL ScissorEnable;
  157. WINBOOL MultisampleEnable;
  158. WINBOOL AntialiasedLineEnable;
  159. UINT ForcedSampleCount;
  160. } D3D11_RASTERIZER_DESC1;
  161. typedef struct D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK {
  162. UINT ClearSize;
  163. UINT EncryptedSize;
  164. } D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK;
  165. typedef struct D3D11_VIDEO_DECODER_BUFFER_DESC1 {
  166. D3D11_VIDEO_DECODER_BUFFER_TYPE BufferType;
  167. UINT DataOffset;
  168. UINT DataSize;
  169. void *pIV;
  170. UINT IVSize;
  171. D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK *pSubSampleMappingBlock;
  172. UINT SubSampleMappingCount;
  173. } D3D11_VIDEO_DECODER_BUFFER_DESC1;
  174. typedef struct D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION {
  175. ID3D11CryptoSession *pCryptoSession;
  176. UINT BlobSize;
  177. void *pBlob;
  178. GUID *pKeyInfoId;
  179. UINT PrivateDataSize;
  180. void *pPrivateData;
  181. } D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION;
  182. typedef struct D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT {
  183. WINBOOL Enable;
  184. UINT Width;
  185. UINT Height;
  186. DXGI_FORMAT Format;
  187. } D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT;
  188. typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA {
  189. UINT PrivateDataSize;
  190. UINT HWProtectionDataSize;
  191. BYTE pbInput[4];
  192. } D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA;
  193. typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA {
  194. UINT PrivateDataSize;
  195. UINT MaxHWProtectionDataSize;
  196. UINT HWProtectionDataSize;
  197. UINT64 TransportTime;
  198. UINT64 ExecutionTime;
  199. BYTE pbOutput[4];
  200. } D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA;
  201. typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA {
  202. UINT HWProtectionFunctionID;
  203. D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA *pInputData;
  204. D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA *pOutputData;
  205. HRESULT Status;
  206. } D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA;
  207. typedef struct D3D11_VIDEO_SAMPLE_DESC {
  208. UINT Width;
  209. UINT Height;
  210. DXGI_FORMAT Format;
  211. DXGI_COLOR_SPACE_TYPE ColorSpace;
  212. } D3D11_VIDEO_SAMPLE_DESC;
  213. /*****************************************************************************
  214. * ID3D11BlendState1 interface
  215. */
  216. #ifndef __ID3D11BlendState1_INTERFACE_DEFINED__
  217. #define __ID3D11BlendState1_INTERFACE_DEFINED__
  218. DEFINE_GUID(IID_ID3D11BlendState1, 0xcc86fabe, 0xda55, 0x401d, 0x85,0xe7, 0xe3,0xc9,0xde,0x28,0x77,0xe9);
  219. #if defined(__cplusplus) && !defined(CINTERFACE)
  220. MIDL_INTERFACE("cc86fabe-da55-401d-85e7-e3c9de2877e9")
  221. ID3D11BlendState1 : public ID3D11BlendState
  222. {
  223. virtual void STDMETHODCALLTYPE GetDesc1(
  224. D3D11_BLEND_DESC1 *pDesc) = 0;
  225. };
  226. #ifdef __CRT_UUID_DECL
  227. __CRT_UUID_DECL(ID3D11BlendState1, 0xcc86fabe, 0xda55, 0x401d, 0x85,0xe7, 0xe3,0xc9,0xde,0x28,0x77,0xe9)
  228. #endif
  229. #else
  230. typedef struct ID3D11BlendState1Vtbl {
  231. BEGIN_INTERFACE
  232. /*** IUnknown methods ***/
  233. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  234. ID3D11BlendState1 *This,
  235. REFIID riid,
  236. void **ppvObject);
  237. ULONG (STDMETHODCALLTYPE *AddRef)(
  238. ID3D11BlendState1 *This);
  239. ULONG (STDMETHODCALLTYPE *Release)(
  240. ID3D11BlendState1 *This);
  241. /*** ID3D11DeviceChild methods ***/
  242. void (STDMETHODCALLTYPE *GetDevice)(
  243. ID3D11BlendState1 *This,
  244. ID3D11Device **ppDevice);
  245. HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
  246. ID3D11BlendState1 *This,
  247. REFGUID guid,
  248. UINT *pDataSize,
  249. void *pData);
  250. HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
  251. ID3D11BlendState1 *This,
  252. REFGUID guid,
  253. UINT DataSize,
  254. const void *pData);
  255. HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
  256. ID3D11BlendState1 *This,
  257. REFGUID guid,
  258. const IUnknown *pData);
  259. /*** ID3D11BlendState methods ***/
  260. void (STDMETHODCALLTYPE *GetDesc)(
  261. ID3D11BlendState1 *This,
  262. D3D11_BLEND_DESC *pDesc);
  263. /*** ID3D11BlendState1 methods ***/
  264. void (STDMETHODCALLTYPE *GetDesc1)(
  265. ID3D11BlendState1 *This,
  266. D3D11_BLEND_DESC1 *pDesc);
  267. END_INTERFACE
  268. } ID3D11BlendState1Vtbl;
  269. interface ID3D11BlendState1 {
  270. CONST_VTBL ID3D11BlendState1Vtbl* lpVtbl;
  271. };
  272. #ifdef COBJMACROS
  273. #ifndef WIDL_C_INLINE_WRAPPERS
  274. /*** IUnknown methods ***/
  275. #define ID3D11BlendState1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  276. #define ID3D11BlendState1_AddRef(This) (This)->lpVtbl->AddRef(This)
  277. #define ID3D11BlendState1_Release(This) (This)->lpVtbl->Release(This)
  278. /*** ID3D11DeviceChild methods ***/
  279. #define ID3D11BlendState1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
  280. #define ID3D11BlendState1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
  281. #define ID3D11BlendState1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
  282. #define ID3D11BlendState1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
  283. /*** ID3D11BlendState methods ***/
  284. #define ID3D11BlendState1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
  285. /*** ID3D11BlendState1 methods ***/
  286. #define ID3D11BlendState1_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc)
  287. #else
  288. /*** IUnknown methods ***/
  289. static FORCEINLINE HRESULT ID3D11BlendState1_QueryInterface(ID3D11BlendState1* This,REFIID riid,void **ppvObject) {
  290. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  291. }
  292. static FORCEINLINE ULONG ID3D11BlendState1_AddRef(ID3D11BlendState1* This) {
  293. return This->lpVtbl->AddRef(This);
  294. }
  295. static FORCEINLINE ULONG ID3D11BlendState1_Release(ID3D11BlendState1* This) {
  296. return This->lpVtbl->Release(This);
  297. }
  298. /*** ID3D11DeviceChild methods ***/
  299. static FORCEINLINE void ID3D11BlendState1_GetDevice(ID3D11BlendState1* This,ID3D11Device **ppDevice) {
  300. This->lpVtbl->GetDevice(This,ppDevice);
  301. }
  302. static FORCEINLINE HRESULT ID3D11BlendState1_GetPrivateData(ID3D11BlendState1* This,REFGUID guid,UINT *pDataSize,void *pData) {
  303. return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
  304. }
  305. static FORCEINLINE HRESULT ID3D11BlendState1_SetPrivateData(ID3D11BlendState1* This,REFGUID guid,UINT DataSize,const void *pData) {
  306. return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
  307. }
  308. static FORCEINLINE HRESULT ID3D11BlendState1_SetPrivateDataInterface(ID3D11BlendState1* This,REFGUID guid,const IUnknown *pData) {
  309. return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
  310. }
  311. /*** ID3D11BlendState methods ***/
  312. static FORCEINLINE void ID3D11BlendState1_GetDesc(ID3D11BlendState1* This,D3D11_BLEND_DESC *pDesc) {
  313. This->lpVtbl->GetDesc(This,pDesc);
  314. }
  315. /*** ID3D11BlendState1 methods ***/
  316. static FORCEINLINE void ID3D11BlendState1_GetDesc1(ID3D11BlendState1* This,D3D11_BLEND_DESC1 *pDesc) {
  317. This->lpVtbl->GetDesc1(This,pDesc);
  318. }
  319. #endif
  320. #endif
  321. #endif
  322. #endif /* __ID3D11BlendState1_INTERFACE_DEFINED__ */
  323. /*****************************************************************************
  324. * ID3DDeviceContextState interface
  325. */
  326. #ifndef __ID3DDeviceContextState_INTERFACE_DEFINED__
  327. #define __ID3DDeviceContextState_INTERFACE_DEFINED__
  328. DEFINE_GUID(IID_ID3DDeviceContextState, 0x5c1e0d8a, 0x7c23, 0x48f9, 0x8c,0x59, 0xa9,0x29,0x58,0xce,0xff,0x11);
  329. #if defined(__cplusplus) && !defined(CINTERFACE)
  330. MIDL_INTERFACE("5c1e0d8a-7c23-48f9-8c59-a92958ceff11")
  331. ID3DDeviceContextState : public ID3D11DeviceChild
  332. {
  333. };
  334. #ifdef __CRT_UUID_DECL
  335. __CRT_UUID_DECL(ID3DDeviceContextState, 0x5c1e0d8a, 0x7c23, 0x48f9, 0x8c,0x59, 0xa9,0x29,0x58,0xce,0xff,0x11)
  336. #endif
  337. #else
  338. typedef struct ID3DDeviceContextStateVtbl {
  339. BEGIN_INTERFACE
  340. /*** IUnknown methods ***/
  341. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  342. ID3DDeviceContextState *This,
  343. REFIID riid,
  344. void **ppvObject);
  345. ULONG (STDMETHODCALLTYPE *AddRef)(
  346. ID3DDeviceContextState *This);
  347. ULONG (STDMETHODCALLTYPE *Release)(
  348. ID3DDeviceContextState *This);
  349. /*** ID3D11DeviceChild methods ***/
  350. void (STDMETHODCALLTYPE *GetDevice)(
  351. ID3DDeviceContextState *This,
  352. ID3D11Device **ppDevice);
  353. HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
  354. ID3DDeviceContextState *This,
  355. REFGUID guid,
  356. UINT *pDataSize,
  357. void *pData);
  358. HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
  359. ID3DDeviceContextState *This,
  360. REFGUID guid,
  361. UINT DataSize,
  362. const void *pData);
  363. HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
  364. ID3DDeviceContextState *This,
  365. REFGUID guid,
  366. const IUnknown *pData);
  367. END_INTERFACE
  368. } ID3DDeviceContextStateVtbl;
  369. interface ID3DDeviceContextState {
  370. CONST_VTBL ID3DDeviceContextStateVtbl* lpVtbl;
  371. };
  372. #ifdef COBJMACROS
  373. #ifndef WIDL_C_INLINE_WRAPPERS
  374. /*** IUnknown methods ***/
  375. #define ID3DDeviceContextState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  376. #define ID3DDeviceContextState_AddRef(This) (This)->lpVtbl->AddRef(This)
  377. #define ID3DDeviceContextState_Release(This) (This)->lpVtbl->Release(This)
  378. /*** ID3D11DeviceChild methods ***/
  379. #define ID3DDeviceContextState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
  380. #define ID3DDeviceContextState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
  381. #define ID3DDeviceContextState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
  382. #define ID3DDeviceContextState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
  383. #else
  384. /*** IUnknown methods ***/
  385. static FORCEINLINE HRESULT ID3DDeviceContextState_QueryInterface(ID3DDeviceContextState* This,REFIID riid,void **ppvObject) {
  386. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  387. }
  388. static FORCEINLINE ULONG ID3DDeviceContextState_AddRef(ID3DDeviceContextState* This) {
  389. return This->lpVtbl->AddRef(This);
  390. }
  391. static FORCEINLINE ULONG ID3DDeviceContextState_Release(ID3DDeviceContextState* This) {
  392. return This->lpVtbl->Release(This);
  393. }
  394. /*** ID3D11DeviceChild methods ***/
  395. static FORCEINLINE void ID3DDeviceContextState_GetDevice(ID3DDeviceContextState* This,ID3D11Device **ppDevice) {
  396. This->lpVtbl->GetDevice(This,ppDevice);
  397. }
  398. static FORCEINLINE HRESULT ID3DDeviceContextState_GetPrivateData(ID3DDeviceContextState* This,REFGUID guid,UINT *pDataSize,void *pData) {
  399. return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
  400. }
  401. static FORCEINLINE HRESULT ID3DDeviceContextState_SetPrivateData(ID3DDeviceContextState* This,REFGUID guid,UINT DataSize,const void *pData) {
  402. return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
  403. }
  404. static FORCEINLINE HRESULT ID3DDeviceContextState_SetPrivateDataInterface(ID3DDeviceContextState* This,REFGUID guid,const IUnknown *pData) {
  405. return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
  406. }
  407. #endif
  408. #endif
  409. #endif
  410. #endif /* __ID3DDeviceContextState_INTERFACE_DEFINED__ */
  411. /*****************************************************************************
  412. * ID3D11DeviceContext1 interface
  413. */
  414. #ifndef __ID3D11DeviceContext1_INTERFACE_DEFINED__
  415. #define __ID3D11DeviceContext1_INTERFACE_DEFINED__
  416. DEFINE_GUID(IID_ID3D11DeviceContext1, 0xbb2c6faa, 0xb5fb, 0x4082, 0x8e,0x6b, 0x38,0x8b,0x8c,0xfa,0x90,0xe1);
  417. #if defined(__cplusplus) && !defined(CINTERFACE)
  418. MIDL_INTERFACE("bb2c6faa-b5fb-4082-8e6b-388b8cfa90e1")
  419. ID3D11DeviceContext1 : public ID3D11DeviceContext
  420. {
  421. virtual void STDMETHODCALLTYPE CopySubresourceRegion1(
  422. ID3D11Resource *pDstResource,
  423. UINT DstSubresource,
  424. UINT DstX,
  425. UINT DstY,
  426. UINT DstZ,
  427. ID3D11Resource *pSrcResource,
  428. UINT SrcSubresource,
  429. const D3D11_BOX *pSrcBox,
  430. UINT CopyFlags) = 0;
  431. virtual void STDMETHODCALLTYPE UpdateSubresource1(
  432. ID3D11Resource *pDstResource,
  433. UINT DstSubresource,
  434. const D3D11_BOX *pDstBox,
  435. const void *pSrcData,
  436. UINT SrcRowPitch,
  437. UINT SrcDepthPitch,
  438. UINT CopyFlags) = 0;
  439. virtual void STDMETHODCALLTYPE DiscardResource(
  440. ID3D11Resource *pResource) = 0;
  441. virtual void STDMETHODCALLTYPE DiscardView(
  442. ID3D11View *pResourceView) = 0;
  443. virtual void STDMETHODCALLTYPE VSSetConstantBuffers1(
  444. UINT StartSlot,
  445. UINT NumBuffers,
  446. ID3D11Buffer *const *ppConstantBuffers,
  447. const UINT *pFirstConstant,
  448. const UINT *pNumConstants) = 0;
  449. virtual void STDMETHODCALLTYPE HSSetConstantBuffers1(
  450. UINT StartSlot,
  451. UINT NumBuffers,
  452. ID3D11Buffer *const *ppConstantBuffers,
  453. const UINT *pFirstConstant,
  454. const UINT *pNumConstants) = 0;
  455. virtual void STDMETHODCALLTYPE DSSetConstantBuffers1(
  456. UINT StartSlot,
  457. UINT NumBuffers,
  458. ID3D11Buffer *const *ppConstantBuffers,
  459. const UINT *pFirstConstant,
  460. const UINT *pNumConstants) = 0;
  461. virtual void STDMETHODCALLTYPE GSSetConstantBuffers1(
  462. UINT StartSlot,
  463. UINT NumBuffers,
  464. ID3D11Buffer *const *ppConstantBuffers,
  465. const UINT *pFirstConstant,
  466. const UINT *pNumConstants) = 0;
  467. virtual void STDMETHODCALLTYPE PSSetConstantBuffers1(
  468. UINT StartSlot,
  469. UINT NumBuffers,
  470. ID3D11Buffer *const *ppConstantBuffers,
  471. const UINT *pFirstConstant,
  472. const UINT *pNumConstants) = 0;
  473. virtual void STDMETHODCALLTYPE CSSetConstantBuffers1(
  474. UINT StartSlot,
  475. UINT NumBuffers,
  476. ID3D11Buffer *const *ppConstantBuffers,
  477. const UINT *pFirstConstant,
  478. const UINT *pNumConstants) = 0;
  479. virtual void STDMETHODCALLTYPE VSGetConstantBuffers1(
  480. UINT StartSlot,
  481. UINT NumBuffers,
  482. ID3D11Buffer **ppConstantBuffers,
  483. UINT *pFirstConstant,
  484. UINT *pNumConstants) = 0;
  485. virtual void STDMETHODCALLTYPE HSGetConstantBuffers1(
  486. UINT StartSlot,
  487. UINT NumBuffers,
  488. ID3D11Buffer **ppConstantBuffers,
  489. UINT *pFirstConstant,
  490. UINT *pNumConstants) = 0;
  491. virtual void STDMETHODCALLTYPE DSGetConstantBuffers1(
  492. UINT StartSlot,
  493. UINT NumBuffers,
  494. ID3D11Buffer **ppConstantBuffers,
  495. UINT *pFirstConstant,
  496. UINT *pNumConstants) = 0;
  497. virtual void STDMETHODCALLTYPE GSGetConstantBuffers1(
  498. UINT StartSlot,
  499. UINT NumBuffers,
  500. ID3D11Buffer **ppConstantBuffers,
  501. UINT *pFirstConstant,
  502. UINT *pNumConstants) = 0;
  503. virtual void STDMETHODCALLTYPE PSGetConstantBuffers1(
  504. UINT StartSlot,
  505. UINT NumBuffers,
  506. ID3D11Buffer **ppConstantBuffers,
  507. UINT *pFirstConstant,
  508. UINT *pNumConstants) = 0;
  509. virtual void STDMETHODCALLTYPE CSGetConstantBuffers1(
  510. UINT StartSlot,
  511. UINT NumBuffers,
  512. ID3D11Buffer **ppConstantBuffers,
  513. UINT *pFirstConstant,
  514. UINT *pNumConstants) = 0;
  515. virtual void STDMETHODCALLTYPE SwapDeviceContextState(
  516. ID3DDeviceContextState *pState,
  517. ID3DDeviceContextState **ppPreviousState) = 0;
  518. virtual void STDMETHODCALLTYPE ClearView(
  519. ID3D11View *pView,
  520. const FLOAT Color[4],
  521. const D3D11_RECT *pRect,
  522. UINT NumRects) = 0;
  523. virtual void STDMETHODCALLTYPE DiscardView1(
  524. ID3D11View *pResourceView,
  525. const D3D11_RECT *pRects,
  526. UINT NumRects) = 0;
  527. };
  528. #ifdef __CRT_UUID_DECL
  529. __CRT_UUID_DECL(ID3D11DeviceContext1, 0xbb2c6faa, 0xb5fb, 0x4082, 0x8e,0x6b, 0x38,0x8b,0x8c,0xfa,0x90,0xe1)
  530. #endif
  531. #else
  532. typedef struct ID3D11DeviceContext1Vtbl {
  533. BEGIN_INTERFACE
  534. /*** IUnknown methods ***/
  535. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  536. ID3D11DeviceContext1 *This,
  537. REFIID riid,
  538. void **ppvObject);
  539. ULONG (STDMETHODCALLTYPE *AddRef)(
  540. ID3D11DeviceContext1 *This);
  541. ULONG (STDMETHODCALLTYPE *Release)(
  542. ID3D11DeviceContext1 *This);
  543. /*** ID3D11DeviceChild methods ***/
  544. void (STDMETHODCALLTYPE *GetDevice)(
  545. ID3D11DeviceContext1 *This,
  546. ID3D11Device **ppDevice);
  547. HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
  548. ID3D11DeviceContext1 *This,
  549. REFGUID guid,
  550. UINT *pDataSize,
  551. void *pData);
  552. HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
  553. ID3D11DeviceContext1 *This,
  554. REFGUID guid,
  555. UINT DataSize,
  556. const void *pData);
  557. HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
  558. ID3D11DeviceContext1 *This,
  559. REFGUID guid,
  560. const IUnknown *pData);
  561. /*** ID3D11DeviceContext methods ***/
  562. void (STDMETHODCALLTYPE *VSSetConstantBuffers)(
  563. ID3D11DeviceContext1 *This,
  564. UINT StartSlot,
  565. UINT NumBuffers,
  566. ID3D11Buffer *const *ppConstantBuffers);
  567. void (STDMETHODCALLTYPE *PSSetShaderResources)(
  568. ID3D11DeviceContext1 *This,
  569. UINT StartSlot,
  570. UINT NumViews,
  571. ID3D11ShaderResourceView *const *ppShaderResourceViews);
  572. void (STDMETHODCALLTYPE *PSSetShader)(
  573. ID3D11DeviceContext1 *This,
  574. ID3D11PixelShader *pPixelShader,
  575. ID3D11ClassInstance *const *ppClassInstances,
  576. UINT NumClassInstances);
  577. void (STDMETHODCALLTYPE *PSSetSamplers)(
  578. ID3D11DeviceContext1 *This,
  579. UINT StartSlot,
  580. UINT NumSamplers,
  581. ID3D11SamplerState *const *ppSamplers);
  582. void (STDMETHODCALLTYPE *VSSetShader)(
  583. ID3D11DeviceContext1 *This,
  584. ID3D11VertexShader *pVertexShader,
  585. ID3D11ClassInstance *const *ppClassInstances,
  586. UINT NumClassInstances);
  587. void (STDMETHODCALLTYPE *DrawIndexed)(
  588. ID3D11DeviceContext1 *This,
  589. UINT IndexCount,
  590. UINT StartIndexLocation,
  591. INT BaseVertexLocation);
  592. void (STDMETHODCALLTYPE *Draw)(
  593. ID3D11DeviceContext1 *This,
  594. UINT VertexCount,
  595. UINT StartVertexLocation);
  596. HRESULT (STDMETHODCALLTYPE *Map)(
  597. ID3D11DeviceContext1 *This,
  598. ID3D11Resource *pResource,
  599. UINT Subresource,
  600. D3D11_MAP MapType,
  601. UINT MapFlags,
  602. D3D11_MAPPED_SUBRESOURCE *pMappedResource);
  603. void (STDMETHODCALLTYPE *Unmap)(
  604. ID3D11DeviceContext1 *This,
  605. ID3D11Resource *pResource,
  606. UINT Subresource);
  607. void (STDMETHODCALLTYPE *PSSetConstantBuffers)(
  608. ID3D11DeviceContext1 *This,
  609. UINT StartSlot,
  610. UINT NumBuffers,
  611. ID3D11Buffer *const *ppConstantBuffers);
  612. void (STDMETHODCALLTYPE *IASetInputLayout)(
  613. ID3D11DeviceContext1 *This,
  614. ID3D11InputLayout *pInputLayout);
  615. void (STDMETHODCALLTYPE *IASetVertexBuffers)(
  616. ID3D11DeviceContext1 *This,
  617. UINT StartSlot,
  618. UINT NumBuffers,
  619. ID3D11Buffer *const *ppVertexBuffers,
  620. const UINT *pStrides,
  621. const UINT *pOffsets);
  622. void (STDMETHODCALLTYPE *IASetIndexBuffer)(
  623. ID3D11DeviceContext1 *This,
  624. ID3D11Buffer *pIndexBuffer,
  625. DXGI_FORMAT Format,
  626. UINT Offset);
  627. void (STDMETHODCALLTYPE *DrawIndexedInstanced)(
  628. ID3D11DeviceContext1 *This,
  629. UINT IndexCountPerInstance,
  630. UINT InstanceCount,
  631. UINT StartIndexLocation,
  632. INT BaseVertexLocation,
  633. UINT StartInstanceLocation);
  634. void (STDMETHODCALLTYPE *DrawInstanced)(
  635. ID3D11DeviceContext1 *This,
  636. UINT VertexCountPerInstance,
  637. UINT InstanceCount,
  638. UINT StartVertexLocation,
  639. UINT StartInstanceLocation);
  640. void (STDMETHODCALLTYPE *GSSetConstantBuffers)(
  641. ID3D11DeviceContext1 *This,
  642. UINT StartSlot,
  643. UINT NumBuffers,
  644. ID3D11Buffer *const *ppConstantBuffers);
  645. void (STDMETHODCALLTYPE *GSSetShader)(
  646. ID3D11DeviceContext1 *This,
  647. ID3D11GeometryShader *pShader,
  648. ID3D11ClassInstance *const *ppClassInstances,
  649. UINT NumClassInstances);
  650. void (STDMETHODCALLTYPE *IASetPrimitiveTopology)(
  651. ID3D11DeviceContext1 *This,
  652. D3D11_PRIMITIVE_TOPOLOGY Topology);
  653. void (STDMETHODCALLTYPE *VSSetShaderResources)(
  654. ID3D11DeviceContext1 *This,
  655. UINT StartSlot,
  656. UINT NumViews,
  657. ID3D11ShaderResourceView *const *ppShaderResourceViews);
  658. void (STDMETHODCALLTYPE *VSSetSamplers)(
  659. ID3D11DeviceContext1 *This,
  660. UINT StartSlot,
  661. UINT NumSamplers,
  662. ID3D11SamplerState *const *ppSamplers);
  663. void (STDMETHODCALLTYPE *Begin)(
  664. ID3D11DeviceContext1 *This,
  665. ID3D11Asynchronous *pAsync);
  666. void (STDMETHODCALLTYPE *End)(
  667. ID3D11DeviceContext1 *This,
  668. ID3D11Asynchronous *pAsync);
  669. HRESULT (STDMETHODCALLTYPE *GetData)(
  670. ID3D11DeviceContext1 *This,
  671. ID3D11Asynchronous *pAsync,
  672. void *pData,
  673. UINT DataSize,
  674. UINT GetDataFlags);
  675. void (STDMETHODCALLTYPE *SetPredication)(
  676. ID3D11DeviceContext1 *This,
  677. ID3D11Predicate *pPredicate,
  678. WINBOOL PredicateValue);
  679. void (STDMETHODCALLTYPE *GSSetShaderResources)(
  680. ID3D11DeviceContext1 *This,
  681. UINT StartSlot,
  682. UINT NumViews,
  683. ID3D11ShaderResourceView *const *ppShaderResourceViews);
  684. void (STDMETHODCALLTYPE *GSSetSamplers)(
  685. ID3D11DeviceContext1 *This,
  686. UINT StartSlot,
  687. UINT NumSamplers,
  688. ID3D11SamplerState *const *ppSamplers);
  689. void (STDMETHODCALLTYPE *OMSetRenderTargets)(
  690. ID3D11DeviceContext1 *This,
  691. UINT NumViews,
  692. ID3D11RenderTargetView *const *ppRenderTargetViews,
  693. ID3D11DepthStencilView *pDepthStencilView);
  694. void (STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews)(
  695. ID3D11DeviceContext1 *This,
  696. UINT NumRTVs,
  697. ID3D11RenderTargetView *const *ppRenderTargetViews,
  698. ID3D11DepthStencilView *pDepthStencilView,
  699. UINT UAVStartSlot,
  700. UINT NumUAVs,
  701. ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
  702. const UINT *pUAVInitialCounts);
  703. void (STDMETHODCALLTYPE *OMSetBlendState)(
  704. ID3D11DeviceContext1 *This,
  705. ID3D11BlendState *pBlendState,
  706. const FLOAT BlendFactor[4],
  707. UINT SampleMask);
  708. void (STDMETHODCALLTYPE *OMSetDepthStencilState)(
  709. ID3D11DeviceContext1 *This,
  710. ID3D11DepthStencilState *pDepthStencilState,
  711. UINT StencilRef);
  712. void (STDMETHODCALLTYPE *SOSetTargets)(
  713. ID3D11DeviceContext1 *This,
  714. UINT NumBuffers,
  715. ID3D11Buffer *const *ppSOTargets,
  716. const UINT *pOffsets);
  717. void (STDMETHODCALLTYPE *DrawAuto)(
  718. ID3D11DeviceContext1 *This);
  719. void (STDMETHODCALLTYPE *DrawIndexedInstancedIndirect)(
  720. ID3D11DeviceContext1 *This,
  721. ID3D11Buffer *pBufferForArgs,
  722. UINT AlignedByteOffsetForArgs);
  723. void (STDMETHODCALLTYPE *DrawInstancedIndirect)(
  724. ID3D11DeviceContext1 *This,
  725. ID3D11Buffer *pBufferForArgs,
  726. UINT AlignedByteOffsetForArgs);
  727. void (STDMETHODCALLTYPE *Dispatch)(
  728. ID3D11DeviceContext1 *This,
  729. UINT ThreadGroupCountX,
  730. UINT ThreadGroupCountY,
  731. UINT ThreadGroupCountZ);
  732. void (STDMETHODCALLTYPE *DispatchIndirect)(
  733. ID3D11DeviceContext1 *This,
  734. ID3D11Buffer *pBufferForArgs,
  735. UINT AlignedByteOffsetForArgs);
  736. void (STDMETHODCALLTYPE *RSSetState)(
  737. ID3D11DeviceContext1 *This,
  738. ID3D11RasterizerState *pRasterizerState);
  739. void (STDMETHODCALLTYPE *RSSetViewports)(
  740. ID3D11DeviceContext1 *This,
  741. UINT NumViewports,
  742. const D3D11_VIEWPORT *pViewports);
  743. void (STDMETHODCALLTYPE *RSSetScissorRects)(
  744. ID3D11DeviceContext1 *This,
  745. UINT NumRects,
  746. const D3D11_RECT *pRects);
  747. void (STDMETHODCALLTYPE *CopySubresourceRegion)(
  748. ID3D11DeviceContext1 *This,
  749. ID3D11Resource *pDstResource,
  750. UINT DstSubresource,
  751. UINT DstX,
  752. UINT DstY,
  753. UINT DstZ,
  754. ID3D11Resource *pSrcResource,
  755. UINT SrcSubresource,
  756. const D3D11_BOX *pSrcBox);
  757. void (STDMETHODCALLTYPE *CopyResource)(
  758. ID3D11DeviceContext1 *This,
  759. ID3D11Resource *pDstResource,
  760. ID3D11Resource *pSrcResource);
  761. void (STDMETHODCALLTYPE *UpdateSubresource)(
  762. ID3D11DeviceContext1 *This,
  763. ID3D11Resource *pDstResource,
  764. UINT DstSubresource,
  765. const D3D11_BOX *pDstBox,
  766. const void *pSrcData,
  767. UINT SrcRowPitch,
  768. UINT SrcDepthPitch);
  769. void (STDMETHODCALLTYPE *CopyStructureCount)(
  770. ID3D11DeviceContext1 *This,
  771. ID3D11Buffer *pDstBuffer,
  772. UINT DstAlignedByteOffset,
  773. ID3D11UnorderedAccessView *pSrcView);
  774. void (STDMETHODCALLTYPE *ClearRenderTargetView)(
  775. ID3D11DeviceContext1 *This,
  776. ID3D11RenderTargetView *pRenderTargetView,
  777. const FLOAT ColorRGBA[4]);
  778. void (STDMETHODCALLTYPE *ClearUnorderedAccessViewUint)(
  779. ID3D11DeviceContext1 *This,
  780. ID3D11UnorderedAccessView *pUnorderedAccessView,
  781. const UINT Values[4]);
  782. void (STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat)(
  783. ID3D11DeviceContext1 *This,
  784. ID3D11UnorderedAccessView *pUnorderedAccessView,
  785. const FLOAT Values[4]);
  786. void (STDMETHODCALLTYPE *ClearDepthStencilView)(
  787. ID3D11DeviceContext1 *This,
  788. ID3D11DepthStencilView *pDepthStencilView,
  789. UINT ClearFlags,
  790. FLOAT Depth,
  791. UINT8 Stencil);
  792. void (STDMETHODCALLTYPE *GenerateMips)(
  793. ID3D11DeviceContext1 *This,
  794. ID3D11ShaderResourceView *pShaderResourceView);
  795. void (STDMETHODCALLTYPE *SetResourceMinLOD)(
  796. ID3D11DeviceContext1 *This,
  797. ID3D11Resource *pResource,
  798. FLOAT MinLOD);
  799. FLOAT (STDMETHODCALLTYPE *GetResourceMinLOD)(
  800. ID3D11DeviceContext1 *This,
  801. ID3D11Resource *pResource);
  802. void (STDMETHODCALLTYPE *ResolveSubresource)(
  803. ID3D11DeviceContext1 *This,
  804. ID3D11Resource *pDstResource,
  805. UINT DstSubresource,
  806. ID3D11Resource *pSrcResource,
  807. UINT SrcSubresource,
  808. DXGI_FORMAT Format);
  809. void (STDMETHODCALLTYPE *ExecuteCommandList)(
  810. ID3D11DeviceContext1 *This,
  811. ID3D11CommandList *pCommandList,
  812. WINBOOL RestoreContextState);
  813. void (STDMETHODCALLTYPE *HSSetShaderResources)(
  814. ID3D11DeviceContext1 *This,
  815. UINT StartSlot,
  816. UINT NumViews,
  817. ID3D11ShaderResourceView *const *ppShaderResourceViews);
  818. void (STDMETHODCALLTYPE *HSSetShader)(
  819. ID3D11DeviceContext1 *This,
  820. ID3D11HullShader *pHullShader,
  821. ID3D11ClassInstance *const *ppClassInstances,
  822. UINT NumClassInstances);
  823. void (STDMETHODCALLTYPE *HSSetSamplers)(
  824. ID3D11DeviceContext1 *This,
  825. UINT StartSlot,
  826. UINT NumSamplers,
  827. ID3D11SamplerState *const *ppSamplers);
  828. void (STDMETHODCALLTYPE *HSSetConstantBuffers)(
  829. ID3D11DeviceContext1 *This,
  830. UINT StartSlot,
  831. UINT NumBuffers,
  832. ID3D11Buffer *const *ppConstantBuffers);
  833. void (STDMETHODCALLTYPE *DSSetShaderResources)(
  834. ID3D11DeviceContext1 *This,
  835. UINT StartSlot,
  836. UINT NumViews,
  837. ID3D11ShaderResourceView *const *ppShaderResourceViews);
  838. void (STDMETHODCALLTYPE *DSSetShader)(
  839. ID3D11DeviceContext1 *This,
  840. ID3D11DomainShader *pDomainShader,
  841. ID3D11ClassInstance *const *ppClassInstances,
  842. UINT NumClassInstances);
  843. void (STDMETHODCALLTYPE *DSSetSamplers)(
  844. ID3D11DeviceContext1 *This,
  845. UINT StartSlot,
  846. UINT NumSamplers,
  847. ID3D11SamplerState *const *ppSamplers);
  848. void (STDMETHODCALLTYPE *DSSetConstantBuffers)(
  849. ID3D11DeviceContext1 *This,
  850. UINT StartSlot,
  851. UINT NumBuffers,
  852. ID3D11Buffer *const *ppConstantBuffers);
  853. void (STDMETHODCALLTYPE *CSSetShaderResources)(
  854. ID3D11DeviceContext1 *This,
  855. UINT StartSlot,
  856. UINT NumViews,
  857. ID3D11ShaderResourceView *const *ppShaderResourceViews);
  858. void (STDMETHODCALLTYPE *CSSetUnorderedAccessViews)(
  859. ID3D11DeviceContext1 *This,
  860. UINT StartSlot,
  861. UINT NumUAVs,
  862. ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
  863. const UINT *pUAVInitialCounts);
  864. void (STDMETHODCALLTYPE *CSSetShader)(
  865. ID3D11DeviceContext1 *This,
  866. ID3D11ComputeShader *pComputeShader,
  867. ID3D11ClassInstance *const *ppClassInstances,
  868. UINT NumClassInstances);
  869. void (STDMETHODCALLTYPE *CSSetSamplers)(
  870. ID3D11DeviceContext1 *This,
  871. UINT StartSlot,
  872. UINT NumSamplers,
  873. ID3D11SamplerState *const *ppSamplers);
  874. void (STDMETHODCALLTYPE *CSSetConstantBuffers)(
  875. ID3D11DeviceContext1 *This,
  876. UINT StartSlot,
  877. UINT NumBuffers,
  878. ID3D11Buffer *const *ppConstantBuffers);
  879. void (STDMETHODCALLTYPE *VSGetConstantBuffers)(
  880. ID3D11DeviceContext1 *This,
  881. UINT StartSlot,
  882. UINT NumBuffers,
  883. ID3D11Buffer **ppConstantBuffers);
  884. void (STDMETHODCALLTYPE *PSGetShaderResources)(
  885. ID3D11DeviceContext1 *This,
  886. UINT StartSlot,
  887. UINT NumViews,
  888. ID3D11ShaderResourceView **ppShaderResourceViews);
  889. void (STDMETHODCALLTYPE *PSGetShader)(
  890. ID3D11DeviceContext1 *This,
  891. ID3D11PixelShader **ppPixelShader,
  892. ID3D11ClassInstance **ppClassInstances,
  893. UINT *pNumClassInstances);
  894. void (STDMETHODCALLTYPE *PSGetSamplers)(
  895. ID3D11DeviceContext1 *This,
  896. UINT StartSlot,
  897. UINT NumSamplers,
  898. ID3D11SamplerState **ppSamplers);
  899. void (STDMETHODCALLTYPE *VSGetShader)(
  900. ID3D11DeviceContext1 *This,
  901. ID3D11VertexShader **ppVertexShader,
  902. ID3D11ClassInstance **ppClassInstances,
  903. UINT *pNumClassInstances);
  904. void (STDMETHODCALLTYPE *PSGetConstantBuffers)(
  905. ID3D11DeviceContext1 *This,
  906. UINT StartSlot,
  907. UINT NumBuffers,
  908. ID3D11Buffer **ppConstantBuffers);
  909. void (STDMETHODCALLTYPE *IAGetInputLayout)(
  910. ID3D11DeviceContext1 *This,
  911. ID3D11InputLayout **ppInputLayout);
  912. void (STDMETHODCALLTYPE *IAGetVertexBuffers)(
  913. ID3D11DeviceContext1 *This,
  914. UINT StartSlot,
  915. UINT NumBuffers,
  916. ID3D11Buffer **ppVertexBuffers,
  917. UINT *pStrides,
  918. UINT *pOffsets);
  919. void (STDMETHODCALLTYPE *IAGetIndexBuffer)(
  920. ID3D11DeviceContext1 *This,
  921. ID3D11Buffer **pIndexBuffer,
  922. DXGI_FORMAT *Format,
  923. UINT *Offset);
  924. void (STDMETHODCALLTYPE *GSGetConstantBuffers)(
  925. ID3D11DeviceContext1 *This,
  926. UINT StartSlot,
  927. UINT NumBuffers,
  928. ID3D11Buffer **ppConstantBuffers);
  929. void (STDMETHODCALLTYPE *GSGetShader)(
  930. ID3D11DeviceContext1 *This,
  931. ID3D11GeometryShader **ppGeometryShader,
  932. ID3D11ClassInstance **ppClassInstances,
  933. UINT *pNumClassInstances);
  934. void (STDMETHODCALLTYPE *IAGetPrimitiveTopology)(
  935. ID3D11DeviceContext1 *This,
  936. D3D11_PRIMITIVE_TOPOLOGY *pTopology);
  937. void (STDMETHODCALLTYPE *VSGetShaderResources)(
  938. ID3D11DeviceContext1 *This,
  939. UINT StartSlot,
  940. UINT NumViews,
  941. ID3D11ShaderResourceView **ppShaderResourceViews);
  942. void (STDMETHODCALLTYPE *VSGetSamplers)(
  943. ID3D11DeviceContext1 *This,
  944. UINT StartSlot,
  945. UINT NumSamplers,
  946. ID3D11SamplerState **ppSamplers);
  947. void (STDMETHODCALLTYPE *GetPredication)(
  948. ID3D11DeviceContext1 *This,
  949. ID3D11Predicate **ppPredicate,
  950. WINBOOL *pPredicateValue);
  951. void (STDMETHODCALLTYPE *GSGetShaderResources)(
  952. ID3D11DeviceContext1 *This,
  953. UINT StartSlot,
  954. UINT NumViews,
  955. ID3D11ShaderResourceView **ppShaderResourceViews);
  956. void (STDMETHODCALLTYPE *GSGetSamplers)(
  957. ID3D11DeviceContext1 *This,
  958. UINT StartSlot,
  959. UINT NumSamplers,
  960. ID3D11SamplerState **ppSamplers);
  961. void (STDMETHODCALLTYPE *OMGetRenderTargets)(
  962. ID3D11DeviceContext1 *This,
  963. UINT NumViews,
  964. ID3D11RenderTargetView **ppRenderTargetViews,
  965. ID3D11DepthStencilView **ppDepthStencilView);
  966. void (STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews)(
  967. ID3D11DeviceContext1 *This,
  968. UINT NumRTVs,
  969. ID3D11RenderTargetView **ppRenderTargetViews,
  970. ID3D11DepthStencilView **ppDepthStencilView,
  971. UINT UAVStartSlot,
  972. UINT NumUAVs,
  973. ID3D11UnorderedAccessView **ppUnorderedAccessViews);
  974. void (STDMETHODCALLTYPE *OMGetBlendState)(
  975. ID3D11DeviceContext1 *This,
  976. ID3D11BlendState **ppBlendState,
  977. FLOAT BlendFactor[4],
  978. UINT *pSampleMask);
  979. void (STDMETHODCALLTYPE *OMGetDepthStencilState)(
  980. ID3D11DeviceContext1 *This,
  981. ID3D11DepthStencilState **ppDepthStencilState,
  982. UINT *pStencilRef);
  983. void (STDMETHODCALLTYPE *SOGetTargets)(
  984. ID3D11DeviceContext1 *This,
  985. UINT NumBuffers,
  986. ID3D11Buffer **ppSOTargets);
  987. void (STDMETHODCALLTYPE *RSGetState)(
  988. ID3D11DeviceContext1 *This,
  989. ID3D11RasterizerState **ppRasterizerState);
  990. void (STDMETHODCALLTYPE *RSGetViewports)(
  991. ID3D11DeviceContext1 *This,
  992. UINT *pNumViewports,
  993. D3D11_VIEWPORT *pViewports);
  994. void (STDMETHODCALLTYPE *RSGetScissorRects)(
  995. ID3D11DeviceContext1 *This,
  996. UINT *pNumRects,
  997. D3D11_RECT *pRects);
  998. void (STDMETHODCALLTYPE *HSGetShaderResources)(
  999. ID3D11DeviceContext1 *This,
  1000. UINT StartSlot,
  1001. UINT NumViews,
  1002. ID3D11ShaderResourceView **ppShaderResourceViews);
  1003. void (STDMETHODCALLTYPE *HSGetShader)(
  1004. ID3D11DeviceContext1 *This,
  1005. ID3D11HullShader **ppHullShader,
  1006. ID3D11ClassInstance **ppClassInstances,
  1007. UINT *pNumClassInstances);
  1008. void (STDMETHODCALLTYPE *HSGetSamplers)(
  1009. ID3D11DeviceContext1 *This,
  1010. UINT StartSlot,
  1011. UINT NumSamplers,
  1012. ID3D11SamplerState **ppSamplers);
  1013. void (STDMETHODCALLTYPE *HSGetConstantBuffers)(
  1014. ID3D11DeviceContext1 *This,
  1015. UINT StartSlot,
  1016. UINT NumBuffers,
  1017. ID3D11Buffer **ppConstantBuffers);
  1018. void (STDMETHODCALLTYPE *DSGetShaderResources)(
  1019. ID3D11DeviceContext1 *This,
  1020. UINT StartSlot,
  1021. UINT NumViews,
  1022. ID3D11ShaderResourceView **ppShaderResourceViews);
  1023. void (STDMETHODCALLTYPE *DSGetShader)(
  1024. ID3D11DeviceContext1 *This,
  1025. ID3D11DomainShader **ppDomainShader,
  1026. ID3D11ClassInstance **ppClassInstances,
  1027. UINT *pNumClassInstances);
  1028. void (STDMETHODCALLTYPE *DSGetSamplers)(
  1029. ID3D11DeviceContext1 *This,
  1030. UINT StartSlot,
  1031. UINT NumSamplers,
  1032. ID3D11SamplerState **ppSamplers);
  1033. void (STDMETHODCALLTYPE *DSGetConstantBuffers)(
  1034. ID3D11DeviceContext1 *This,
  1035. UINT StartSlot,
  1036. UINT NumBuffers,
  1037. ID3D11Buffer **ppConstantBuffers);
  1038. void (STDMETHODCALLTYPE *CSGetShaderResources)(
  1039. ID3D11DeviceContext1 *This,
  1040. UINT StartSlot,
  1041. UINT NumViews,
  1042. ID3D11ShaderResourceView **ppShaderResourceViews);
  1043. void (STDMETHODCALLTYPE *CSGetUnorderedAccessViews)(
  1044. ID3D11DeviceContext1 *This,
  1045. UINT StartSlot,
  1046. UINT NumUAVs,
  1047. ID3D11UnorderedAccessView **ppUnorderedAccessViews);
  1048. void (STDMETHODCALLTYPE *CSGetShader)(
  1049. ID3D11DeviceContext1 *This,
  1050. ID3D11ComputeShader **ppComputeShader,
  1051. ID3D11ClassInstance **ppClassInstances,
  1052. UINT *pNumClassInstances);
  1053. void (STDMETHODCALLTYPE *CSGetSamplers)(
  1054. ID3D11DeviceContext1 *This,
  1055. UINT StartSlot,
  1056. UINT NumSamplers,
  1057. ID3D11SamplerState **ppSamplers);
  1058. void (STDMETHODCALLTYPE *CSGetConstantBuffers)(
  1059. ID3D11DeviceContext1 *This,
  1060. UINT StartSlot,
  1061. UINT NumBuffers,
  1062. ID3D11Buffer **ppConstantBuffers);
  1063. void (STDMETHODCALLTYPE *ClearState)(
  1064. ID3D11DeviceContext1 *This);
  1065. void (STDMETHODCALLTYPE *Flush)(
  1066. ID3D11DeviceContext1 *This);
  1067. D3D11_DEVICE_CONTEXT_TYPE (STDMETHODCALLTYPE *GetType)(
  1068. ID3D11DeviceContext1 *This);
  1069. UINT (STDMETHODCALLTYPE *GetContextFlags)(
  1070. ID3D11DeviceContext1 *This);
  1071. HRESULT (STDMETHODCALLTYPE *FinishCommandList)(
  1072. ID3D11DeviceContext1 *This,
  1073. WINBOOL RestoreDeferredContextState,
  1074. ID3D11CommandList **ppCommandList);
  1075. /*** ID3D11DeviceContext1 methods ***/
  1076. void (STDMETHODCALLTYPE *CopySubresourceRegion1)(
  1077. ID3D11DeviceContext1 *This,
  1078. ID3D11Resource *pDstResource,
  1079. UINT DstSubresource,
  1080. UINT DstX,
  1081. UINT DstY,
  1082. UINT DstZ,
  1083. ID3D11Resource *pSrcResource,
  1084. UINT SrcSubresource,
  1085. const D3D11_BOX *pSrcBox,
  1086. UINT CopyFlags);
  1087. void (STDMETHODCALLTYPE *UpdateSubresource1)(
  1088. ID3D11DeviceContext1 *This,
  1089. ID3D11Resource *pDstResource,
  1090. UINT DstSubresource,
  1091. const D3D11_BOX *pDstBox,
  1092. const void *pSrcData,
  1093. UINT SrcRowPitch,
  1094. UINT SrcDepthPitch,
  1095. UINT CopyFlags);
  1096. void (STDMETHODCALLTYPE *DiscardResource)(
  1097. ID3D11DeviceContext1 *This,
  1098. ID3D11Resource *pResource);
  1099. void (STDMETHODCALLTYPE *DiscardView)(
  1100. ID3D11DeviceContext1 *This,
  1101. ID3D11View *pResourceView);
  1102. void (STDMETHODCALLTYPE *VSSetConstantBuffers1)(
  1103. ID3D11DeviceContext1 *This,
  1104. UINT StartSlot,
  1105. UINT NumBuffers,
  1106. ID3D11Buffer *const *ppConstantBuffers,
  1107. const UINT *pFirstConstant,
  1108. const UINT *pNumConstants);
  1109. void (STDMETHODCALLTYPE *HSSetConstantBuffers1)(
  1110. ID3D11DeviceContext1 *This,
  1111. UINT StartSlot,
  1112. UINT NumBuffers,
  1113. ID3D11Buffer *const *ppConstantBuffers,
  1114. const UINT *pFirstConstant,
  1115. const UINT *pNumConstants);
  1116. void (STDMETHODCALLTYPE *DSSetConstantBuffers1)(
  1117. ID3D11DeviceContext1 *This,
  1118. UINT StartSlot,
  1119. UINT NumBuffers,
  1120. ID3D11Buffer *const *ppConstantBuffers,
  1121. const UINT *pFirstConstant,
  1122. const UINT *pNumConstants);
  1123. void (STDMETHODCALLTYPE *GSSetConstantBuffers1)(
  1124. ID3D11DeviceContext1 *This,
  1125. UINT StartSlot,
  1126. UINT NumBuffers,
  1127. ID3D11Buffer *const *ppConstantBuffers,
  1128. const UINT *pFirstConstant,
  1129. const UINT *pNumConstants);
  1130. void (STDMETHODCALLTYPE *PSSetConstantBuffers1)(
  1131. ID3D11DeviceContext1 *This,
  1132. UINT StartSlot,
  1133. UINT NumBuffers,
  1134. ID3D11Buffer *const *ppConstantBuffers,
  1135. const UINT *pFirstConstant,
  1136. const UINT *pNumConstants);
  1137. void (STDMETHODCALLTYPE *CSSetConstantBuffers1)(
  1138. ID3D11DeviceContext1 *This,
  1139. UINT StartSlot,
  1140. UINT NumBuffers,
  1141. ID3D11Buffer *const *ppConstantBuffers,
  1142. const UINT *pFirstConstant,
  1143. const UINT *pNumConstants);
  1144. void (STDMETHODCALLTYPE *VSGetConstantBuffers1)(
  1145. ID3D11DeviceContext1 *This,
  1146. UINT StartSlot,
  1147. UINT NumBuffers,
  1148. ID3D11Buffer **ppConstantBuffers,
  1149. UINT *pFirstConstant,
  1150. UINT *pNumConstants);
  1151. void (STDMETHODCALLTYPE *HSGetConstantBuffers1)(
  1152. ID3D11DeviceContext1 *This,
  1153. UINT StartSlot,
  1154. UINT NumBuffers,
  1155. ID3D11Buffer **ppConstantBuffers,
  1156. UINT *pFirstConstant,
  1157. UINT *pNumConstants);
  1158. void (STDMETHODCALLTYPE *DSGetConstantBuffers1)(
  1159. ID3D11DeviceContext1 *This,
  1160. UINT StartSlot,
  1161. UINT NumBuffers,
  1162. ID3D11Buffer **ppConstantBuffers,
  1163. UINT *pFirstConstant,
  1164. UINT *pNumConstants);
  1165. void (STDMETHODCALLTYPE *GSGetConstantBuffers1)(
  1166. ID3D11DeviceContext1 *This,
  1167. UINT StartSlot,
  1168. UINT NumBuffers,
  1169. ID3D11Buffer **ppConstantBuffers,
  1170. UINT *pFirstConstant,
  1171. UINT *pNumConstants);
  1172. void (STDMETHODCALLTYPE *PSGetConstantBuffers1)(
  1173. ID3D11DeviceContext1 *This,
  1174. UINT StartSlot,
  1175. UINT NumBuffers,
  1176. ID3D11Buffer **ppConstantBuffers,
  1177. UINT *pFirstConstant,
  1178. UINT *pNumConstants);
  1179. void (STDMETHODCALLTYPE *CSGetConstantBuffers1)(
  1180. ID3D11DeviceContext1 *This,
  1181. UINT StartSlot,
  1182. UINT NumBuffers,
  1183. ID3D11Buffer **ppConstantBuffers,
  1184. UINT *pFirstConstant,
  1185. UINT *pNumConstants);
  1186. void (STDMETHODCALLTYPE *SwapDeviceContextState)(
  1187. ID3D11DeviceContext1 *This,
  1188. ID3DDeviceContextState *pState,
  1189. ID3DDeviceContextState **ppPreviousState);
  1190. void (STDMETHODCALLTYPE *ClearView)(
  1191. ID3D11DeviceContext1 *This,
  1192. ID3D11View *pView,
  1193. const FLOAT Color[4],
  1194. const D3D11_RECT *pRect,
  1195. UINT NumRects);
  1196. void (STDMETHODCALLTYPE *DiscardView1)(
  1197. ID3D11DeviceContext1 *This,
  1198. ID3D11View *pResourceView,
  1199. const D3D11_RECT *pRects,
  1200. UINT NumRects);
  1201. END_INTERFACE
  1202. } ID3D11DeviceContext1Vtbl;
  1203. interface ID3D11DeviceContext1 {
  1204. CONST_VTBL ID3D11DeviceContext1Vtbl* lpVtbl;
  1205. };
  1206. #ifdef COBJMACROS
  1207. #ifndef WIDL_C_INLINE_WRAPPERS
  1208. /*** IUnknown methods ***/
  1209. #define ID3D11DeviceContext1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1210. #define ID3D11DeviceContext1_AddRef(This) (This)->lpVtbl->AddRef(This)
  1211. #define ID3D11DeviceContext1_Release(This) (This)->lpVtbl->Release(This)
  1212. /*** ID3D11DeviceChild methods ***/
  1213. #define ID3D11DeviceContext1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
  1214. #define ID3D11DeviceContext1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
  1215. #define ID3D11DeviceContext1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
  1216. #define ID3D11DeviceContext1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
  1217. /*** ID3D11DeviceContext methods ***/
  1218. #define ID3D11DeviceContext1_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
  1219. #define ID3D11DeviceContext1_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
  1220. #define ID3D11DeviceContext1_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances)
  1221. #define ID3D11DeviceContext1_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
  1222. #define ID3D11DeviceContext1_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances)
  1223. #define ID3D11DeviceContext1_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) (This)->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation)
  1224. #define ID3D11DeviceContext1_Draw(This,VertexCount,StartVertexLocation) (This)->lpVtbl->Draw(This,VertexCount,StartVertexLocation)
  1225. #define ID3D11DeviceContext1_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) (This)->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource)
  1226. #define ID3D11DeviceContext1_Unmap(This,pResource,Subresource) (This)->lpVtbl->Unmap(This,pResource,Subresource)
  1227. #define ID3D11DeviceContext1_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
  1228. #define ID3D11DeviceContext1_IASetInputLayout(This,pInputLayout) (This)->lpVtbl->IASetInputLayout(This,pInputLayout)
  1229. #define ID3D11DeviceContext1_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets)
  1230. #define ID3D11DeviceContext1_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset)
  1231. #define ID3D11DeviceContext1_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation)
  1232. #define ID3D11DeviceContext1_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation)
  1233. #define ID3D11DeviceContext1_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
  1234. #define ID3D11DeviceContext1_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances)
  1235. #define ID3D11DeviceContext1_IASetPrimitiveTopology(This,Topology) (This)->lpVtbl->IASetPrimitiveTopology(This,Topology)
  1236. #define ID3D11DeviceContext1_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
  1237. #define ID3D11DeviceContext1_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
  1238. #define ID3D11DeviceContext1_Begin(This,pAsync) (This)->lpVtbl->Begin(This,pAsync)
  1239. #define ID3D11DeviceContext1_End(This,pAsync) (This)->lpVtbl->End(This,pAsync)
  1240. #define ID3D11DeviceContext1_GetData(This,pAsync,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags)
  1241. #define ID3D11DeviceContext1_SetPredication(This,pPredicate,PredicateValue) (This)->lpVtbl->SetPredication(This,pPredicate,PredicateValue)
  1242. #define ID3D11DeviceContext1_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
  1243. #define ID3D11DeviceContext1_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
  1244. #define ID3D11DeviceContext1_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) (This)->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView)
  1245. #define ID3D11DeviceContext1_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts)
  1246. #define ID3D11DeviceContext1_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) (This)->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask)
  1247. #define ID3D11DeviceContext1_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) (This)->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef)
  1248. #define ID3D11DeviceContext1_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets)
  1249. #define ID3D11DeviceContext1_DrawAuto(This) (This)->lpVtbl->DrawAuto(This)
  1250. #define ID3D11DeviceContext1_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs)
  1251. #define ID3D11DeviceContext1_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs)
  1252. #define ID3D11DeviceContext1_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) (This)->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ)
  1253. #define ID3D11DeviceContext1_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs)
  1254. #define ID3D11DeviceContext1_RSSetState(This,pRasterizerState) (This)->lpVtbl->RSSetState(This,pRasterizerState)
  1255. #define ID3D11DeviceContext1_RSSetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSSetViewports(This,NumViewports,pViewports)
  1256. #define ID3D11DeviceContext1_RSSetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSSetScissorRects(This,NumRects,pRects)
  1257. #define ID3D11DeviceContext1_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) (This)->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox)
  1258. #define ID3D11DeviceContext1_CopyResource(This,pDstResource,pSrcResource) (This)->lpVtbl->CopyResource(This,pDstResource,pSrcResource)
  1259. #define ID3D11DeviceContext1_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) (This)->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch)
  1260. #define ID3D11DeviceContext1_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) (This)->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView)
  1261. #define ID3D11DeviceContext1_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) (This)->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA)
  1262. #define ID3D11DeviceContext1_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values)
  1263. #define ID3D11DeviceContext1_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values)
  1264. #define ID3D11DeviceContext1_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) (This)->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil)
  1265. #define ID3D11DeviceContext1_GenerateMips(This,pShaderResourceView) (This)->lpVtbl->GenerateMips(This,pShaderResourceView)
  1266. #define ID3D11DeviceContext1_SetResourceMinLOD(This,pResource,MinLOD) (This)->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD)
  1267. #define ID3D11DeviceContext1_GetResourceMinLOD(This,pResource) (This)->lpVtbl->GetResourceMinLOD(This,pResource)
  1268. #define ID3D11DeviceContext1_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) (This)->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format)
  1269. #define ID3D11DeviceContext1_ExecuteCommandList(This,pCommandList,RestoreContextState) (This)->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState)
  1270. #define ID3D11DeviceContext1_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
  1271. #define ID3D11DeviceContext1_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances)
  1272. #define ID3D11DeviceContext1_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
  1273. #define ID3D11DeviceContext1_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
  1274. #define ID3D11DeviceContext1_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
  1275. #define ID3D11DeviceContext1_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances)
  1276. #define ID3D11DeviceContext1_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
  1277. #define ID3D11DeviceContext1_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
  1278. #define ID3D11DeviceContext1_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
  1279. #define ID3D11DeviceContext1_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts)
  1280. #define ID3D11DeviceContext1_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances)
  1281. #define ID3D11DeviceContext1_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
  1282. #define ID3D11DeviceContext1_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
  1283. #define ID3D11DeviceContext1_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
  1284. #define ID3D11DeviceContext1_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
  1285. #define ID3D11DeviceContext1_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances)
  1286. #define ID3D11DeviceContext1_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
  1287. #define ID3D11DeviceContext1_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances)
  1288. #define ID3D11DeviceContext1_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
  1289. #define ID3D11DeviceContext1_IAGetInputLayout(This,ppInputLayout) (This)->lpVtbl->IAGetInputLayout(This,ppInputLayout)
  1290. #define ID3D11DeviceContext1_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets)
  1291. #define ID3D11DeviceContext1_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset)
  1292. #define ID3D11DeviceContext1_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
  1293. #define ID3D11DeviceContext1_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances)
  1294. #define ID3D11DeviceContext1_IAGetPrimitiveTopology(This,pTopology) (This)->lpVtbl->IAGetPrimitiveTopology(This,pTopology)
  1295. #define ID3D11DeviceContext1_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
  1296. #define ID3D11DeviceContext1_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
  1297. #define ID3D11DeviceContext1_GetPredication(This,ppPredicate,pPredicateValue) (This)->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue)
  1298. #define ID3D11DeviceContext1_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
  1299. #define ID3D11DeviceContext1_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
  1300. #define ID3D11DeviceContext1_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) (This)->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView)
  1301. #define ID3D11DeviceContext1_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews)
  1302. #define ID3D11DeviceContext1_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) (This)->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask)
  1303. #define ID3D11DeviceContext1_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) (This)->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef)
  1304. #define ID3D11DeviceContext1_SOGetTargets(This,NumBuffers,ppSOTargets) (This)->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets)
  1305. #define ID3D11DeviceContext1_RSGetState(This,ppRasterizerState) (This)->lpVtbl->RSGetState(This,ppRasterizerState)
  1306. #define ID3D11DeviceContext1_RSGetViewports(This,pNumViewports,pViewports) (This)->lpVtbl->RSGetViewports(This,pNumViewports,pViewports)
  1307. #define ID3D11DeviceContext1_RSGetScissorRects(This,pNumRects,pRects) (This)->lpVtbl->RSGetScissorRects(This,pNumRects,pRects)
  1308. #define ID3D11DeviceContext1_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
  1309. #define ID3D11DeviceContext1_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances)
  1310. #define ID3D11DeviceContext1_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
  1311. #define ID3D11DeviceContext1_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
  1312. #define ID3D11DeviceContext1_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
  1313. #define ID3D11DeviceContext1_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances)
  1314. #define ID3D11DeviceContext1_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
  1315. #define ID3D11DeviceContext1_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
  1316. #define ID3D11DeviceContext1_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
  1317. #define ID3D11DeviceContext1_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews)
  1318. #define ID3D11DeviceContext1_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances)
  1319. #define ID3D11DeviceContext1_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
  1320. #define ID3D11DeviceContext1_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
  1321. #define ID3D11DeviceContext1_ClearState(This) (This)->lpVtbl->ClearState(This)
  1322. #define ID3D11DeviceContext1_Flush(This) (This)->lpVtbl->Flush(This)
  1323. #define ID3D11DeviceContext1_GetType(This) (This)->lpVtbl->GetType(This)
  1324. #define ID3D11DeviceContext1_GetContextFlags(This) (This)->lpVtbl->GetContextFlags(This)
  1325. #define ID3D11DeviceContext1_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) (This)->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList)
  1326. /*** ID3D11DeviceContext1 methods ***/
  1327. #define ID3D11DeviceContext1_CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) (This)->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags)
  1328. #define ID3D11DeviceContext1_UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) (This)->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags)
  1329. #define ID3D11DeviceContext1_DiscardResource(This,pResource) (This)->lpVtbl->DiscardResource(This,pResource)
  1330. #define ID3D11DeviceContext1_DiscardView(This,pResourceView) (This)->lpVtbl->DiscardView(This,pResourceView)
  1331. #define ID3D11DeviceContext1_VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
  1332. #define ID3D11DeviceContext1_HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
  1333. #define ID3D11DeviceContext1_DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
  1334. #define ID3D11DeviceContext1_GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
  1335. #define ID3D11DeviceContext1_PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
  1336. #define ID3D11DeviceContext1_CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
  1337. #define ID3D11DeviceContext1_VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
  1338. #define ID3D11DeviceContext1_HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
  1339. #define ID3D11DeviceContext1_DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
  1340. #define ID3D11DeviceContext1_GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
  1341. #define ID3D11DeviceContext1_PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
  1342. #define ID3D11DeviceContext1_CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
  1343. #define ID3D11DeviceContext1_SwapDeviceContextState(This,pState,ppPreviousState) (This)->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState)
  1344. #define ID3D11DeviceContext1_ClearView(This,pView,Color,pRect,NumRects) (This)->lpVtbl->ClearView(This,pView,Color,pRect,NumRects)
  1345. #define ID3D11DeviceContext1_DiscardView1(This,pResourceView,pRects,NumRects) (This)->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects)
  1346. #else
  1347. /*** IUnknown methods ***/
  1348. static FORCEINLINE HRESULT ID3D11DeviceContext1_QueryInterface(ID3D11DeviceContext1* This,REFIID riid,void **ppvObject) {
  1349. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1350. }
  1351. static FORCEINLINE ULONG ID3D11DeviceContext1_AddRef(ID3D11DeviceContext1* This) {
  1352. return This->lpVtbl->AddRef(This);
  1353. }
  1354. static FORCEINLINE ULONG ID3D11DeviceContext1_Release(ID3D11DeviceContext1* This) {
  1355. return This->lpVtbl->Release(This);
  1356. }
  1357. /*** ID3D11DeviceChild methods ***/
  1358. static FORCEINLINE void ID3D11DeviceContext1_GetDevice(ID3D11DeviceContext1* This,ID3D11Device **ppDevice) {
  1359. This->lpVtbl->GetDevice(This,ppDevice);
  1360. }
  1361. static FORCEINLINE HRESULT ID3D11DeviceContext1_GetPrivateData(ID3D11DeviceContext1* This,REFGUID guid,UINT *pDataSize,void *pData) {
  1362. return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
  1363. }
  1364. static FORCEINLINE HRESULT ID3D11DeviceContext1_SetPrivateData(ID3D11DeviceContext1* This,REFGUID guid,UINT DataSize,const void *pData) {
  1365. return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
  1366. }
  1367. static FORCEINLINE HRESULT ID3D11DeviceContext1_SetPrivateDataInterface(ID3D11DeviceContext1* This,REFGUID guid,const IUnknown *pData) {
  1368. return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
  1369. }
  1370. /*** ID3D11DeviceContext methods ***/
  1371. static FORCEINLINE void ID3D11DeviceContext1_VSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
  1372. This->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
  1373. }
  1374. static FORCEINLINE void ID3D11DeviceContext1_PSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
  1375. This->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
  1376. }
  1377. static FORCEINLINE void ID3D11DeviceContext1_PSSetShader(ID3D11DeviceContext1* This,ID3D11PixelShader *pPixelShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
  1378. This->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances);
  1379. }
  1380. static FORCEINLINE void ID3D11DeviceContext1_PSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
  1381. This->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
  1382. }
  1383. static FORCEINLINE void ID3D11DeviceContext1_VSSetShader(ID3D11DeviceContext1* This,ID3D11VertexShader *pVertexShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
  1384. This->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances);
  1385. }
  1386. static FORCEINLINE void ID3D11DeviceContext1_DrawIndexed(ID3D11DeviceContext1* This,UINT IndexCount,UINT StartIndexLocation,INT BaseVertexLocation) {
  1387. This->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation);
  1388. }
  1389. static FORCEINLINE void ID3D11DeviceContext1_Draw(ID3D11DeviceContext1* This,UINT VertexCount,UINT StartVertexLocation) {
  1390. This->lpVtbl->Draw(This,VertexCount,StartVertexLocation);
  1391. }
  1392. static FORCEINLINE HRESULT ID3D11DeviceContext1_Map(ID3D11DeviceContext1* This,ID3D11Resource *pResource,UINT Subresource,D3D11_MAP MapType,UINT MapFlags,D3D11_MAPPED_SUBRESOURCE *pMappedResource) {
  1393. return This->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource);
  1394. }
  1395. static FORCEINLINE void ID3D11DeviceContext1_Unmap(ID3D11DeviceContext1* This,ID3D11Resource *pResource,UINT Subresource) {
  1396. This->lpVtbl->Unmap(This,pResource,Subresource);
  1397. }
  1398. static FORCEINLINE void ID3D11DeviceContext1_PSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
  1399. This->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
  1400. }
  1401. static FORCEINLINE void ID3D11DeviceContext1_IASetInputLayout(ID3D11DeviceContext1* This,ID3D11InputLayout *pInputLayout) {
  1402. This->lpVtbl->IASetInputLayout(This,pInputLayout);
  1403. }
  1404. static FORCEINLINE void ID3D11DeviceContext1_IASetVertexBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppVertexBuffers,const UINT *pStrides,const UINT *pOffsets) {
  1405. This->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets);
  1406. }
  1407. static FORCEINLINE void ID3D11DeviceContext1_IASetIndexBuffer(ID3D11DeviceContext1* This,ID3D11Buffer *pIndexBuffer,DXGI_FORMAT Format,UINT Offset) {
  1408. This->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset);
  1409. }
  1410. static FORCEINLINE void ID3D11DeviceContext1_DrawIndexedInstanced(ID3D11DeviceContext1* This,UINT IndexCountPerInstance,UINT InstanceCount,UINT StartIndexLocation,INT BaseVertexLocation,UINT StartInstanceLocation) {
  1411. This->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation);
  1412. }
  1413. static FORCEINLINE void ID3D11DeviceContext1_DrawInstanced(ID3D11DeviceContext1* This,UINT VertexCountPerInstance,UINT InstanceCount,UINT StartVertexLocation,UINT StartInstanceLocation) {
  1414. This->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation);
  1415. }
  1416. static FORCEINLINE void ID3D11DeviceContext1_GSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
  1417. This->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
  1418. }
  1419. static FORCEINLINE void ID3D11DeviceContext1_GSSetShader(ID3D11DeviceContext1* This,ID3D11GeometryShader *pShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
  1420. This->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances);
  1421. }
  1422. static FORCEINLINE void ID3D11DeviceContext1_IASetPrimitiveTopology(ID3D11DeviceContext1* This,D3D11_PRIMITIVE_TOPOLOGY Topology) {
  1423. This->lpVtbl->IASetPrimitiveTopology(This,Topology);
  1424. }
  1425. static FORCEINLINE void ID3D11DeviceContext1_VSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
  1426. This->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
  1427. }
  1428. static FORCEINLINE void ID3D11DeviceContext1_VSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
  1429. This->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
  1430. }
  1431. static FORCEINLINE void ID3D11DeviceContext1_Begin(ID3D11DeviceContext1* This,ID3D11Asynchronous *pAsync) {
  1432. This->lpVtbl->Begin(This,pAsync);
  1433. }
  1434. static FORCEINLINE void ID3D11DeviceContext1_End(ID3D11DeviceContext1* This,ID3D11Asynchronous *pAsync) {
  1435. This->lpVtbl->End(This,pAsync);
  1436. }
  1437. static FORCEINLINE HRESULT ID3D11DeviceContext1_GetData(ID3D11DeviceContext1* This,ID3D11Asynchronous *pAsync,void *pData,UINT DataSize,UINT GetDataFlags) {
  1438. return This->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags);
  1439. }
  1440. static FORCEINLINE void ID3D11DeviceContext1_SetPredication(ID3D11DeviceContext1* This,ID3D11Predicate *pPredicate,WINBOOL PredicateValue) {
  1441. This->lpVtbl->SetPredication(This,pPredicate,PredicateValue);
  1442. }
  1443. static FORCEINLINE void ID3D11DeviceContext1_GSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
  1444. This->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
  1445. }
  1446. static FORCEINLINE void ID3D11DeviceContext1_GSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
  1447. This->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
  1448. }
  1449. static FORCEINLINE void ID3D11DeviceContext1_OMSetRenderTargets(ID3D11DeviceContext1* This,UINT NumViews,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView) {
  1450. This->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView);
  1451. }
  1452. static FORCEINLINE void ID3D11DeviceContext1_OMSetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext1* This,UINT NumRTVs,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) {
  1453. This->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts);
  1454. }
  1455. static FORCEINLINE void ID3D11DeviceContext1_OMSetBlendState(ID3D11DeviceContext1* This,ID3D11BlendState *pBlendState,const FLOAT BlendFactor[4],UINT SampleMask) {
  1456. This->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask);
  1457. }
  1458. static FORCEINLINE void ID3D11DeviceContext1_OMSetDepthStencilState(ID3D11DeviceContext1* This,ID3D11DepthStencilState *pDepthStencilState,UINT StencilRef) {
  1459. This->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef);
  1460. }
  1461. static FORCEINLINE void ID3D11DeviceContext1_SOSetTargets(ID3D11DeviceContext1* This,UINT NumBuffers,ID3D11Buffer *const *ppSOTargets,const UINT *pOffsets) {
  1462. This->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets);
  1463. }
  1464. static FORCEINLINE void ID3D11DeviceContext1_DrawAuto(ID3D11DeviceContext1* This) {
  1465. This->lpVtbl->DrawAuto(This);
  1466. }
  1467. static FORCEINLINE void ID3D11DeviceContext1_DrawIndexedInstancedIndirect(ID3D11DeviceContext1* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) {
  1468. This->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs);
  1469. }
  1470. static FORCEINLINE void ID3D11DeviceContext1_DrawInstancedIndirect(ID3D11DeviceContext1* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) {
  1471. This->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs);
  1472. }
  1473. static FORCEINLINE void ID3D11DeviceContext1_Dispatch(ID3D11DeviceContext1* This,UINT ThreadGroupCountX,UINT ThreadGroupCountY,UINT ThreadGroupCountZ) {
  1474. This->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ);
  1475. }
  1476. static FORCEINLINE void ID3D11DeviceContext1_DispatchIndirect(ID3D11DeviceContext1* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) {
  1477. This->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs);
  1478. }
  1479. static FORCEINLINE void ID3D11DeviceContext1_RSSetState(ID3D11DeviceContext1* This,ID3D11RasterizerState *pRasterizerState) {
  1480. This->lpVtbl->RSSetState(This,pRasterizerState);
  1481. }
  1482. static FORCEINLINE void ID3D11DeviceContext1_RSSetViewports(ID3D11DeviceContext1* This,UINT NumViewports,const D3D11_VIEWPORT *pViewports) {
  1483. This->lpVtbl->RSSetViewports(This,NumViewports,pViewports);
  1484. }
  1485. static FORCEINLINE void ID3D11DeviceContext1_RSSetScissorRects(ID3D11DeviceContext1* This,UINT NumRects,const D3D11_RECT *pRects) {
  1486. This->lpVtbl->RSSetScissorRects(This,NumRects,pRects);
  1487. }
  1488. static FORCEINLINE void ID3D11DeviceContext1_CopySubresourceRegion(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox) {
  1489. This->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox);
  1490. }
  1491. static FORCEINLINE void ID3D11DeviceContext1_CopyResource(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,ID3D11Resource *pSrcResource) {
  1492. This->lpVtbl->CopyResource(This,pDstResource,pSrcResource);
  1493. }
  1494. static FORCEINLINE void ID3D11DeviceContext1_UpdateSubresource(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch) {
  1495. This->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch);
  1496. }
  1497. static FORCEINLINE void ID3D11DeviceContext1_CopyStructureCount(ID3D11DeviceContext1* This,ID3D11Buffer *pDstBuffer,UINT DstAlignedByteOffset,ID3D11UnorderedAccessView *pSrcView) {
  1498. This->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView);
  1499. }
  1500. static FORCEINLINE void ID3D11DeviceContext1_ClearRenderTargetView(ID3D11DeviceContext1* This,ID3D11RenderTargetView *pRenderTargetView,const FLOAT ColorRGBA[4]) {
  1501. This->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA);
  1502. }
  1503. static FORCEINLINE void ID3D11DeviceContext1_ClearUnorderedAccessViewUint(ID3D11DeviceContext1* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const UINT Values[4]) {
  1504. This->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values);
  1505. }
  1506. static FORCEINLINE void ID3D11DeviceContext1_ClearUnorderedAccessViewFloat(ID3D11DeviceContext1* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const FLOAT Values[4]) {
  1507. This->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values);
  1508. }
  1509. static FORCEINLINE void ID3D11DeviceContext1_ClearDepthStencilView(ID3D11DeviceContext1* This,ID3D11DepthStencilView *pDepthStencilView,UINT ClearFlags,FLOAT Depth,UINT8 Stencil) {
  1510. This->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil);
  1511. }
  1512. static FORCEINLINE void ID3D11DeviceContext1_GenerateMips(ID3D11DeviceContext1* This,ID3D11ShaderResourceView *pShaderResourceView) {
  1513. This->lpVtbl->GenerateMips(This,pShaderResourceView);
  1514. }
  1515. static FORCEINLINE void ID3D11DeviceContext1_SetResourceMinLOD(ID3D11DeviceContext1* This,ID3D11Resource *pResource,FLOAT MinLOD) {
  1516. This->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD);
  1517. }
  1518. static FORCEINLINE FLOAT ID3D11DeviceContext1_GetResourceMinLOD(ID3D11DeviceContext1* This,ID3D11Resource *pResource) {
  1519. return This->lpVtbl->GetResourceMinLOD(This,pResource);
  1520. }
  1521. static FORCEINLINE void ID3D11DeviceContext1_ResolveSubresource(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,ID3D11Resource *pSrcResource,UINT SrcSubresource,DXGI_FORMAT Format) {
  1522. This->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format);
  1523. }
  1524. static FORCEINLINE void ID3D11DeviceContext1_ExecuteCommandList(ID3D11DeviceContext1* This,ID3D11CommandList *pCommandList,WINBOOL RestoreContextState) {
  1525. This->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState);
  1526. }
  1527. static FORCEINLINE void ID3D11DeviceContext1_HSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
  1528. This->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
  1529. }
  1530. static FORCEINLINE void ID3D11DeviceContext1_HSSetShader(ID3D11DeviceContext1* This,ID3D11HullShader *pHullShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
  1531. This->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances);
  1532. }
  1533. static FORCEINLINE void ID3D11DeviceContext1_HSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
  1534. This->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
  1535. }
  1536. static FORCEINLINE void ID3D11DeviceContext1_HSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
  1537. This->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
  1538. }
  1539. static FORCEINLINE void ID3D11DeviceContext1_DSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
  1540. This->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
  1541. }
  1542. static FORCEINLINE void ID3D11DeviceContext1_DSSetShader(ID3D11DeviceContext1* This,ID3D11DomainShader *pDomainShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
  1543. This->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances);
  1544. }
  1545. static FORCEINLINE void ID3D11DeviceContext1_DSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
  1546. This->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
  1547. }
  1548. static FORCEINLINE void ID3D11DeviceContext1_DSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
  1549. This->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
  1550. }
  1551. static FORCEINLINE void ID3D11DeviceContext1_CSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
  1552. This->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
  1553. }
  1554. static FORCEINLINE void ID3D11DeviceContext1_CSSetUnorderedAccessViews(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) {
  1555. This->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts);
  1556. }
  1557. static FORCEINLINE void ID3D11DeviceContext1_CSSetShader(ID3D11DeviceContext1* This,ID3D11ComputeShader *pComputeShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
  1558. This->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances);
  1559. }
  1560. static FORCEINLINE void ID3D11DeviceContext1_CSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
  1561. This->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
  1562. }
  1563. static FORCEINLINE void ID3D11DeviceContext1_CSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
  1564. This->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
  1565. }
  1566. static FORCEINLINE void ID3D11DeviceContext1_VSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
  1567. This->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
  1568. }
  1569. static FORCEINLINE void ID3D11DeviceContext1_PSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
  1570. This->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
  1571. }
  1572. static FORCEINLINE void ID3D11DeviceContext1_PSGetShader(ID3D11DeviceContext1* This,ID3D11PixelShader **ppPixelShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
  1573. This->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances);
  1574. }
  1575. static FORCEINLINE void ID3D11DeviceContext1_PSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
  1576. This->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
  1577. }
  1578. static FORCEINLINE void ID3D11DeviceContext1_VSGetShader(ID3D11DeviceContext1* This,ID3D11VertexShader **ppVertexShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
  1579. This->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances);
  1580. }
  1581. static FORCEINLINE void ID3D11DeviceContext1_PSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
  1582. This->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
  1583. }
  1584. static FORCEINLINE void ID3D11DeviceContext1_IAGetInputLayout(ID3D11DeviceContext1* This,ID3D11InputLayout **ppInputLayout) {
  1585. This->lpVtbl->IAGetInputLayout(This,ppInputLayout);
  1586. }
  1587. static FORCEINLINE void ID3D11DeviceContext1_IAGetVertexBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppVertexBuffers,UINT *pStrides,UINT *pOffsets) {
  1588. This->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets);
  1589. }
  1590. static FORCEINLINE void ID3D11DeviceContext1_IAGetIndexBuffer(ID3D11DeviceContext1* This,ID3D11Buffer **pIndexBuffer,DXGI_FORMAT *Format,UINT *Offset) {
  1591. This->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset);
  1592. }
  1593. static FORCEINLINE void ID3D11DeviceContext1_GSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
  1594. This->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
  1595. }
  1596. static FORCEINLINE void ID3D11DeviceContext1_GSGetShader(ID3D11DeviceContext1* This,ID3D11GeometryShader **ppGeometryShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
  1597. This->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances);
  1598. }
  1599. static FORCEINLINE void ID3D11DeviceContext1_IAGetPrimitiveTopology(ID3D11DeviceContext1* This,D3D11_PRIMITIVE_TOPOLOGY *pTopology) {
  1600. This->lpVtbl->IAGetPrimitiveTopology(This,pTopology);
  1601. }
  1602. static FORCEINLINE void ID3D11DeviceContext1_VSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
  1603. This->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
  1604. }
  1605. static FORCEINLINE void ID3D11DeviceContext1_VSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
  1606. This->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
  1607. }
  1608. static FORCEINLINE void ID3D11DeviceContext1_GetPredication(ID3D11DeviceContext1* This,ID3D11Predicate **ppPredicate,WINBOOL *pPredicateValue) {
  1609. This->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue);
  1610. }
  1611. static FORCEINLINE void ID3D11DeviceContext1_GSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
  1612. This->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
  1613. }
  1614. static FORCEINLINE void ID3D11DeviceContext1_GSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
  1615. This->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
  1616. }
  1617. static FORCEINLINE void ID3D11DeviceContext1_OMGetRenderTargets(ID3D11DeviceContext1* This,UINT NumViews,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView) {
  1618. This->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView);
  1619. }
  1620. static FORCEINLINE void ID3D11DeviceContext1_OMGetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext1* This,UINT NumRTVs,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) {
  1621. This->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews);
  1622. }
  1623. static FORCEINLINE void ID3D11DeviceContext1_OMGetBlendState(ID3D11DeviceContext1* This,ID3D11BlendState **ppBlendState,FLOAT BlendFactor[4],UINT *pSampleMask) {
  1624. This->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask);
  1625. }
  1626. static FORCEINLINE void ID3D11DeviceContext1_OMGetDepthStencilState(ID3D11DeviceContext1* This,ID3D11DepthStencilState **ppDepthStencilState,UINT *pStencilRef) {
  1627. This->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef);
  1628. }
  1629. static FORCEINLINE void ID3D11DeviceContext1_SOGetTargets(ID3D11DeviceContext1* This,UINT NumBuffers,ID3D11Buffer **ppSOTargets) {
  1630. This->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets);
  1631. }
  1632. static FORCEINLINE void ID3D11DeviceContext1_RSGetState(ID3D11DeviceContext1* This,ID3D11RasterizerState **ppRasterizerState) {
  1633. This->lpVtbl->RSGetState(This,ppRasterizerState);
  1634. }
  1635. static FORCEINLINE void ID3D11DeviceContext1_RSGetViewports(ID3D11DeviceContext1* This,UINT *pNumViewports,D3D11_VIEWPORT *pViewports) {
  1636. This->lpVtbl->RSGetViewports(This,pNumViewports,pViewports);
  1637. }
  1638. static FORCEINLINE void ID3D11DeviceContext1_RSGetScissorRects(ID3D11DeviceContext1* This,UINT *pNumRects,D3D11_RECT *pRects) {
  1639. This->lpVtbl->RSGetScissorRects(This,pNumRects,pRects);
  1640. }
  1641. static FORCEINLINE void ID3D11DeviceContext1_HSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
  1642. This->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
  1643. }
  1644. static FORCEINLINE void ID3D11DeviceContext1_HSGetShader(ID3D11DeviceContext1* This,ID3D11HullShader **ppHullShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
  1645. This->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances);
  1646. }
  1647. static FORCEINLINE void ID3D11DeviceContext1_HSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
  1648. This->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
  1649. }
  1650. static FORCEINLINE void ID3D11DeviceContext1_HSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
  1651. This->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
  1652. }
  1653. static FORCEINLINE void ID3D11DeviceContext1_DSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
  1654. This->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
  1655. }
  1656. static FORCEINLINE void ID3D11DeviceContext1_DSGetShader(ID3D11DeviceContext1* This,ID3D11DomainShader **ppDomainShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
  1657. This->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances);
  1658. }
  1659. static FORCEINLINE void ID3D11DeviceContext1_DSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
  1660. This->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
  1661. }
  1662. static FORCEINLINE void ID3D11DeviceContext1_DSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
  1663. This->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
  1664. }
  1665. static FORCEINLINE void ID3D11DeviceContext1_CSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
  1666. This->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
  1667. }
  1668. static FORCEINLINE void ID3D11DeviceContext1_CSGetUnorderedAccessViews(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) {
  1669. This->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews);
  1670. }
  1671. static FORCEINLINE void ID3D11DeviceContext1_CSGetShader(ID3D11DeviceContext1* This,ID3D11ComputeShader **ppComputeShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
  1672. This->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances);
  1673. }
  1674. static FORCEINLINE void ID3D11DeviceContext1_CSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
  1675. This->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
  1676. }
  1677. static FORCEINLINE void ID3D11DeviceContext1_CSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
  1678. This->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
  1679. }
  1680. static FORCEINLINE void ID3D11DeviceContext1_ClearState(ID3D11DeviceContext1* This) {
  1681. This->lpVtbl->ClearState(This);
  1682. }
  1683. static FORCEINLINE void ID3D11DeviceContext1_Flush(ID3D11DeviceContext1* This) {
  1684. This->lpVtbl->Flush(This);
  1685. }
  1686. static FORCEINLINE D3D11_DEVICE_CONTEXT_TYPE ID3D11DeviceContext1_GetType(ID3D11DeviceContext1* This) {
  1687. return This->lpVtbl->GetType(This);
  1688. }
  1689. static FORCEINLINE UINT ID3D11DeviceContext1_GetContextFlags(ID3D11DeviceContext1* This) {
  1690. return This->lpVtbl->GetContextFlags(This);
  1691. }
  1692. static FORCEINLINE HRESULT ID3D11DeviceContext1_FinishCommandList(ID3D11DeviceContext1* This,WINBOOL RestoreDeferredContextState,ID3D11CommandList **ppCommandList) {
  1693. return This->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList);
  1694. }
  1695. /*** ID3D11DeviceContext1 methods ***/
  1696. static FORCEINLINE void ID3D11DeviceContext1_CopySubresourceRegion1(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox,UINT CopyFlags) {
  1697. This->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags);
  1698. }
  1699. static FORCEINLINE void ID3D11DeviceContext1_UpdateSubresource1(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch,UINT CopyFlags) {
  1700. This->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags);
  1701. }
  1702. static FORCEINLINE void ID3D11DeviceContext1_DiscardResource(ID3D11DeviceContext1* This,ID3D11Resource *pResource) {
  1703. This->lpVtbl->DiscardResource(This,pResource);
  1704. }
  1705. static FORCEINLINE void ID3D11DeviceContext1_DiscardView(ID3D11DeviceContext1* This,ID3D11View *pResourceView) {
  1706. This->lpVtbl->DiscardView(This,pResourceView);
  1707. }
  1708. static FORCEINLINE void ID3D11DeviceContext1_VSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) {
  1709. This->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
  1710. }
  1711. static FORCEINLINE void ID3D11DeviceContext1_HSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) {
  1712. This->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
  1713. }
  1714. static FORCEINLINE void ID3D11DeviceContext1_DSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) {
  1715. This->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
  1716. }
  1717. static FORCEINLINE void ID3D11DeviceContext1_GSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) {
  1718. This->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
  1719. }
  1720. static FORCEINLINE void ID3D11DeviceContext1_PSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) {
  1721. This->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
  1722. }
  1723. static FORCEINLINE void ID3D11DeviceContext1_CSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) {
  1724. This->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
  1725. }
  1726. static FORCEINLINE void ID3D11DeviceContext1_VSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) {
  1727. This->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
  1728. }
  1729. static FORCEINLINE void ID3D11DeviceContext1_HSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) {
  1730. This->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
  1731. }
  1732. static FORCEINLINE void ID3D11DeviceContext1_DSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) {
  1733. This->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
  1734. }
  1735. static FORCEINLINE void ID3D11DeviceContext1_GSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) {
  1736. This->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
  1737. }
  1738. static FORCEINLINE void ID3D11DeviceContext1_PSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) {
  1739. This->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
  1740. }
  1741. static FORCEINLINE void ID3D11DeviceContext1_CSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) {
  1742. This->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
  1743. }
  1744. static FORCEINLINE void ID3D11DeviceContext1_SwapDeviceContextState(ID3D11DeviceContext1* This,ID3DDeviceContextState *pState,ID3DDeviceContextState **ppPreviousState) {
  1745. This->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState);
  1746. }
  1747. static FORCEINLINE void ID3D11DeviceContext1_ClearView(ID3D11DeviceContext1* This,ID3D11View *pView,const FLOAT Color[4],const D3D11_RECT *pRect,UINT NumRects) {
  1748. This->lpVtbl->ClearView(This,pView,Color,pRect,NumRects);
  1749. }
  1750. static FORCEINLINE void ID3D11DeviceContext1_DiscardView1(ID3D11DeviceContext1* This,ID3D11View *pResourceView,const D3D11_RECT *pRects,UINT NumRects) {
  1751. This->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects);
  1752. }
  1753. #endif
  1754. #endif
  1755. #endif
  1756. #endif /* __ID3D11DeviceContext1_INTERFACE_DEFINED__ */
  1757. /*****************************************************************************
  1758. * ID3D11VideoContext1 interface
  1759. */
  1760. #ifndef __ID3D11VideoContext1_INTERFACE_DEFINED__
  1761. #define __ID3D11VideoContext1_INTERFACE_DEFINED__
  1762. DEFINE_GUID(IID_ID3D11VideoContext1, 0xa7f026da, 0xa5f8, 0x4487, 0xa5,0x64, 0x15,0xe3,0x43,0x57,0x65,0x1e);
  1763. #if defined(__cplusplus) && !defined(CINTERFACE)
  1764. MIDL_INTERFACE("a7f026da-a5f8-4487-a564-15e34357651e")
  1765. ID3D11VideoContext1 : public ID3D11VideoContext
  1766. {
  1767. virtual HRESULT STDMETHODCALLTYPE SubmitDecoderBuffers1(
  1768. ID3D11VideoDecoder *decoder,
  1769. UINT buffer_count,
  1770. const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc) = 0;
  1771. virtual HRESULT STDMETHODCALLTYPE GetDataForNewHardwareKey(
  1772. ID3D11CryptoSession *session,
  1773. UINT input_size,
  1774. const void *input_data,
  1775. UINT64 *output_data) = 0;
  1776. virtual HRESULT STDMETHODCALLTYPE CheckCryptoSessionStatus(
  1777. ID3D11CryptoSession *session,
  1778. D3D11_CRYPTO_SESSION_STATUS *status) = 0;
  1779. virtual HRESULT STDMETHODCALLTYPE DecoderEnableDownsampling(
  1780. ID3D11VideoDecoder *decoder,
  1781. DXGI_COLOR_SPACE_TYPE colour_space,
  1782. const D3D11_VIDEO_SAMPLE_DESC *output_desc,
  1783. UINT reference_frame_count) = 0;
  1784. virtual HRESULT STDMETHODCALLTYPE DecoderUpdateDownsampling(
  1785. ID3D11VideoDecoder *decoder,
  1786. const D3D11_VIDEO_SAMPLE_DESC *output_desc) = 0;
  1787. virtual void STDMETHODCALLTYPE VideoProcessorSetOutputColorSpace1(
  1788. ID3D11VideoProcessor *processor,
  1789. DXGI_COLOR_SPACE_TYPE colour_space) = 0;
  1790. virtual void STDMETHODCALLTYPE VideoProcessorSetOutputShaderUsage(
  1791. ID3D11VideoProcessor *processor,
  1792. WINBOOL shader_usage) = 0;
  1793. virtual void STDMETHODCALLTYPE VideoProcessorGetOutputColorSpace1(
  1794. ID3D11VideoProcessor *processor,
  1795. DXGI_COLOR_SPACE_TYPE *colour_space) = 0;
  1796. virtual void STDMETHODCALLTYPE VideoProcessorGetOutputShaderUsage(
  1797. ID3D11VideoProcessor *processor,
  1798. WINBOOL *shader_usage) = 0;
  1799. virtual void STDMETHODCALLTYPE VideoProcessorSetStreamColorSpace1(
  1800. ID3D11VideoProcessor *processor,
  1801. UINT stream_index,
  1802. DXGI_COLOR_SPACE_TYPE colour_space) = 0;
  1803. virtual void STDMETHODCALLTYPE VideoProcessorSetStreamMirror(
  1804. ID3D11VideoProcessor *processor,
  1805. UINT stream_index,
  1806. WINBOOL enable,
  1807. WINBOOL flip_horizontal,
  1808. WINBOOL flip_vertical) = 0;
  1809. virtual void STDMETHODCALLTYPE VideoProcessorGetStreamColorSpace1(
  1810. ID3D11VideoProcessor *processor,
  1811. UINT stream_index,
  1812. DXGI_COLOR_SPACE_TYPE *colour_space) = 0;
  1813. virtual void STDMETHODCALLTYPE VideoProcessorGetStreamMirror(
  1814. ID3D11VideoProcessor *processor,
  1815. UINT stream_index,
  1816. WINBOOL *enable,
  1817. WINBOOL *flip_horizontal,
  1818. WINBOOL *flip_vertical) = 0;
  1819. virtual HRESULT STDMETHODCALLTYPE VideoProcessorGetBehaviorHints(
  1820. ID3D11VideoProcessor *processor,
  1821. UINT output_width,
  1822. UINT output_height,
  1823. DXGI_FORMAT output_format,
  1824. UINT stream_count,
  1825. const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *streams,
  1826. UINT *behaviour_hints) = 0;
  1827. };
  1828. #ifdef __CRT_UUID_DECL
  1829. __CRT_UUID_DECL(ID3D11VideoContext1, 0xa7f026da, 0xa5f8, 0x4487, 0xa5,0x64, 0x15,0xe3,0x43,0x57,0x65,0x1e)
  1830. #endif
  1831. #else
  1832. typedef struct ID3D11VideoContext1Vtbl {
  1833. BEGIN_INTERFACE
  1834. /*** IUnknown methods ***/
  1835. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1836. ID3D11VideoContext1 *This,
  1837. REFIID riid,
  1838. void **ppvObject);
  1839. ULONG (STDMETHODCALLTYPE *AddRef)(
  1840. ID3D11VideoContext1 *This);
  1841. ULONG (STDMETHODCALLTYPE *Release)(
  1842. ID3D11VideoContext1 *This);
  1843. /*** ID3D11DeviceChild methods ***/
  1844. void (STDMETHODCALLTYPE *GetDevice)(
  1845. ID3D11VideoContext1 *This,
  1846. ID3D11Device **ppDevice);
  1847. HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
  1848. ID3D11VideoContext1 *This,
  1849. REFGUID guid,
  1850. UINT *pDataSize,
  1851. void *pData);
  1852. HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
  1853. ID3D11VideoContext1 *This,
  1854. REFGUID guid,
  1855. UINT DataSize,
  1856. const void *pData);
  1857. HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
  1858. ID3D11VideoContext1 *This,
  1859. REFGUID guid,
  1860. const IUnknown *pData);
  1861. /*** ID3D11VideoContext methods ***/
  1862. HRESULT (STDMETHODCALLTYPE *GetDecoderBuffer)(
  1863. ID3D11VideoContext1 *This,
  1864. ID3D11VideoDecoder *decoder,
  1865. D3D11_VIDEO_DECODER_BUFFER_TYPE type,
  1866. UINT *buffer_size,
  1867. void **buffer);
  1868. HRESULT (STDMETHODCALLTYPE *ReleaseDecoderBuffer)(
  1869. ID3D11VideoContext1 *This,
  1870. ID3D11VideoDecoder *decoder,
  1871. D3D11_VIDEO_DECODER_BUFFER_TYPE type);
  1872. HRESULT (STDMETHODCALLTYPE *DecoderBeginFrame)(
  1873. ID3D11VideoContext1 *This,
  1874. ID3D11VideoDecoder *decoder,
  1875. ID3D11VideoDecoderOutputView *view,
  1876. UINT key_size,
  1877. const void *key);
  1878. HRESULT (STDMETHODCALLTYPE *DecoderEndFrame)(
  1879. ID3D11VideoContext1 *This,
  1880. ID3D11VideoDecoder *decoder);
  1881. HRESULT (STDMETHODCALLTYPE *SubmitDecoderBuffers)(
  1882. ID3D11VideoContext1 *This,
  1883. ID3D11VideoDecoder *decoder,
  1884. UINT buffers_count,
  1885. const D3D11_VIDEO_DECODER_BUFFER_DESC *buffer_desc);
  1886. HRESULT (STDMETHODCALLTYPE *DecoderExtension)(
  1887. ID3D11VideoContext1 *This,
  1888. ID3D11VideoDecoder *decoder,
  1889. const D3D11_VIDEO_DECODER_EXTENSION *extension);
  1890. void (STDMETHODCALLTYPE *VideoProcessorSetOutputTargetRect)(
  1891. ID3D11VideoContext1 *This,
  1892. ID3D11VideoProcessor *processor,
  1893. WINBOOL enable,
  1894. const RECT *rect);
  1895. void (STDMETHODCALLTYPE *VideoProcessorSetOutputBackgroundColor)(
  1896. ID3D11VideoContext1 *This,
  1897. ID3D11VideoProcessor *processor,
  1898. WINBOOL y_cb_cr,
  1899. const D3D11_VIDEO_COLOR *color);
  1900. void (STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace)(
  1901. ID3D11VideoContext1 *This,
  1902. ID3D11VideoProcessor *processor,
  1903. const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space);
  1904. void (STDMETHODCALLTYPE *VideoProcessorSetOutputAlphaFillMode)(
  1905. ID3D11VideoContext1 *This,
  1906. ID3D11VideoProcessor *processor,
  1907. D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE alpha_fill_mode,
  1908. UINT stream_idx);
  1909. void (STDMETHODCALLTYPE *VideoProcessorSetOutputConstriction)(
  1910. ID3D11VideoContext1 *This,
  1911. ID3D11VideoProcessor *processor,
  1912. WINBOOL enable,
  1913. SIZE size);
  1914. void (STDMETHODCALLTYPE *VideoProcessorSetOutputStereoMode)(
  1915. ID3D11VideoContext1 *This,
  1916. ID3D11VideoProcessor *processor,
  1917. WINBOOL enable);
  1918. HRESULT (STDMETHODCALLTYPE *VideoProcessorSetOutputExtension)(
  1919. ID3D11VideoContext1 *This,
  1920. ID3D11VideoProcessor *processor,
  1921. const GUID *guid,
  1922. UINT data_size,
  1923. void *data);
  1924. void (STDMETHODCALLTYPE *VideoProcessorGetOutputTargetRect)(
  1925. ID3D11VideoContext1 *This,
  1926. ID3D11VideoProcessor *processor,
  1927. WINBOOL *enabled,
  1928. RECT *rect);
  1929. void (STDMETHODCALLTYPE *VideoProcessorGetOutputBackgroundColor)(
  1930. ID3D11VideoContext1 *This,
  1931. ID3D11VideoProcessor *processor,
  1932. WINBOOL *y_cb_cr,
  1933. D3D11_VIDEO_COLOR *color);
  1934. void (STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace)(
  1935. ID3D11VideoContext1 *This,
  1936. ID3D11VideoProcessor *processor,
  1937. D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space);
  1938. void (STDMETHODCALLTYPE *VideoProcessorGetOutputAlphaFillMode)(
  1939. ID3D11VideoContext1 *This,
  1940. ID3D11VideoProcessor *processor,
  1941. D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *alpha_fill_mode,
  1942. UINT *stream_idx);
  1943. void (STDMETHODCALLTYPE *VideoProcessorGetOutputConstriction)(
  1944. ID3D11VideoContext1 *This,
  1945. ID3D11VideoProcessor *processor,
  1946. WINBOOL *enabled,
  1947. SIZE *size);
  1948. void (STDMETHODCALLTYPE *VideoProcessorGetOutputStereoMode)(
  1949. ID3D11VideoContext1 *This,
  1950. ID3D11VideoProcessor *processor,
  1951. WINBOOL *enabled);
  1952. HRESULT (STDMETHODCALLTYPE *VideoProcessorGetOutputExtension)(
  1953. ID3D11VideoContext1 *This,
  1954. ID3D11VideoProcessor *processor,
  1955. const GUID *guid,
  1956. UINT data_size,
  1957. void *data);
  1958. void (STDMETHODCALLTYPE *VideoProcessorSetStreamFrameFormat)(
  1959. ID3D11VideoContext1 *This,
  1960. ID3D11VideoProcessor *processor,
  1961. UINT stream_idx,
  1962. D3D11_VIDEO_FRAME_FORMAT format);
  1963. void (STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace)(
  1964. ID3D11VideoContext1 *This,
  1965. ID3D11VideoProcessor *processor,
  1966. UINT stream_idx,
  1967. const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space);
  1968. void (STDMETHODCALLTYPE *VideoProcessorSetStreamOutputRate)(
  1969. ID3D11VideoContext1 *This,
  1970. ID3D11VideoProcessor *processor,
  1971. UINT stream_idx,
  1972. D3D11_VIDEO_PROCESSOR_OUTPUT_RATE rate,
  1973. WINBOOL repeat,
  1974. const DXGI_RATIONAL *custom_rate);
  1975. void (STDMETHODCALLTYPE *VideoProcessorSetStreamSourceRect)(
  1976. ID3D11VideoContext1 *This,
  1977. ID3D11VideoProcessor *processor,
  1978. UINT stream_idx,
  1979. WINBOOL enable,
  1980. const RECT *rect);
  1981. void (STDMETHODCALLTYPE *VideoProcessorSetStreamDestRect)(
  1982. ID3D11VideoContext1 *This,
  1983. ID3D11VideoProcessor *processor,
  1984. UINT stream_idx,
  1985. WINBOOL enable,
  1986. const RECT *rect);
  1987. void (STDMETHODCALLTYPE *VideoProcessorSetStreamAlpha)(
  1988. ID3D11VideoContext1 *This,
  1989. ID3D11VideoProcessor *processor,
  1990. UINT stream_idx,
  1991. WINBOOL enable,
  1992. float alpha);
  1993. void (STDMETHODCALLTYPE *VideoProcessorSetStreamPalette)(
  1994. ID3D11VideoContext1 *This,
  1995. ID3D11VideoProcessor *processor,
  1996. UINT stream_idx,
  1997. UINT entry_count,
  1998. const UINT *entries);
  1999. void (STDMETHODCALLTYPE *VideoProcessorSetStreamPixelAspectRatio)(
  2000. ID3D11VideoContext1 *This,
  2001. ID3D11VideoProcessor *processor,
  2002. UINT stream_idx,
  2003. WINBOOL enable,
  2004. const DXGI_RATIONAL *src_aspect_ratio,
  2005. const DXGI_RATIONAL *dst_aspect_ratio);
  2006. void (STDMETHODCALLTYPE *VideoProcessorSetStreamLumaKey)(
  2007. ID3D11VideoContext1 *This,
  2008. ID3D11VideoProcessor *processor,
  2009. UINT stream_idx,
  2010. WINBOOL enable,
  2011. float lower,
  2012. float upper);
  2013. void (STDMETHODCALLTYPE *VideoProcessorSetStreamStereoFormat)(
  2014. ID3D11VideoContext1 *This,
  2015. ID3D11VideoProcessor *processor,
  2016. UINT stream_idx,
  2017. WINBOOL enable,
  2018. D3D11_VIDEO_PROCESSOR_STEREO_FORMAT format,
  2019. WINBOOL left_view_frame0,
  2020. WINBOOL base_view_frame0,
  2021. D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE flip_mode,
  2022. int mono_offset);
  2023. void (STDMETHODCALLTYPE *VideoProcessorSetStreamAutoProcessingMode)(
  2024. ID3D11VideoContext1 *This,
  2025. ID3D11VideoProcessor *processor,
  2026. UINT stream_idx,
  2027. WINBOOL enable);
  2028. void (STDMETHODCALLTYPE *VideoProcessorSetStreamFilter)(
  2029. ID3D11VideoContext1 *This,
  2030. ID3D11VideoProcessor *processor,
  2031. UINT stream_idx,
  2032. D3D11_VIDEO_PROCESSOR_FILTER filter,
  2033. WINBOOL enable,
  2034. int level);
  2035. HRESULT (STDMETHODCALLTYPE *VideoProcessorSetStreamExtension)(
  2036. ID3D11VideoContext1 *This,
  2037. ID3D11VideoProcessor *processor,
  2038. UINT stream_idx,
  2039. const GUID *guid,
  2040. UINT data_size,
  2041. void *data);
  2042. void (STDMETHODCALLTYPE *VideoProcessorGetStreamFrameFormat)(
  2043. ID3D11VideoContext1 *This,
  2044. ID3D11VideoProcessor *processor,
  2045. UINT stream_idx,
  2046. D3D11_VIDEO_FRAME_FORMAT *format);
  2047. void (STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace)(
  2048. ID3D11VideoContext1 *This,
  2049. ID3D11VideoProcessor *processor,
  2050. UINT stream_idx,
  2051. D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space);
  2052. void (STDMETHODCALLTYPE *VideoProcessorGetStreamOutputRate)(
  2053. ID3D11VideoContext1 *This,
  2054. ID3D11VideoProcessor *processor,
  2055. UINT stream_idx,
  2056. D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *rate,
  2057. WINBOOL *repeat,
  2058. DXGI_RATIONAL *custom_rate);
  2059. void (STDMETHODCALLTYPE *VideoProcessorGetStreamSourceRect)(
  2060. ID3D11VideoContext1 *This,
  2061. ID3D11VideoProcessor *processor,
  2062. UINT stream_idx,
  2063. WINBOOL *enabled,
  2064. RECT *rect);
  2065. void (STDMETHODCALLTYPE *VideoProcessorGetStreamDestRect)(
  2066. ID3D11VideoContext1 *This,
  2067. ID3D11VideoProcessor *processor,
  2068. UINT stream_idx,
  2069. WINBOOL *enabled,
  2070. RECT *rect);
  2071. void (STDMETHODCALLTYPE *VideoProcessorGetStreamAlpha)(
  2072. ID3D11VideoContext1 *This,
  2073. ID3D11VideoProcessor *processor,
  2074. UINT stream_idx,
  2075. WINBOOL *enabled,
  2076. float *alpha);
  2077. void (STDMETHODCALLTYPE *VideoProcessorGetStreamPalette)(
  2078. ID3D11VideoContext1 *This,
  2079. ID3D11VideoProcessor *processor,
  2080. UINT stream_idx,
  2081. UINT entry_count,
  2082. UINT *entries);
  2083. void (STDMETHODCALLTYPE *VideoProcessorGetStreamPixelAspectRatio)(
  2084. ID3D11VideoContext1 *This,
  2085. ID3D11VideoProcessor *processor,
  2086. UINT stream_idx,
  2087. WINBOOL *enabled,
  2088. DXGI_RATIONAL *src_aspect_ratio,
  2089. DXGI_RATIONAL *dst_aspect_ratio);
  2090. void (STDMETHODCALLTYPE *VideoProcessorGetStreamLumaKey)(
  2091. ID3D11VideoContext1 *This,
  2092. ID3D11VideoProcessor *processor,
  2093. UINT stream_idx,
  2094. WINBOOL *enabled,
  2095. float *lower,
  2096. float *upper);
  2097. void (STDMETHODCALLTYPE *VideoProcessorGetStreamStereoFormat)(
  2098. ID3D11VideoContext1 *This,
  2099. ID3D11VideoProcessor *processor,
  2100. UINT stream_idx,
  2101. WINBOOL *enabled,
  2102. D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *format,
  2103. WINBOOL *left_view_frame0,
  2104. WINBOOL *base_view_frame0,
  2105. D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *flip_mode,
  2106. int *mono_offset);
  2107. void (STDMETHODCALLTYPE *VideoProcessorGetStreamAutoProcessingMode)(
  2108. ID3D11VideoContext1 *This,
  2109. ID3D11VideoProcessor *processor,
  2110. UINT stream_idx,
  2111. WINBOOL *enabled);
  2112. void (STDMETHODCALLTYPE *VideoProcessorGetStreamFilter)(
  2113. ID3D11VideoContext1 *This,
  2114. ID3D11VideoProcessor *processor,
  2115. UINT stream_idx,
  2116. D3D11_VIDEO_PROCESSOR_FILTER filter,
  2117. WINBOOL *enabled,
  2118. int *level);
  2119. HRESULT (STDMETHODCALLTYPE *VideoProcessorGetStreamExtension)(
  2120. ID3D11VideoContext1 *This,
  2121. ID3D11VideoProcessor *processor,
  2122. UINT stream_idx,
  2123. const GUID *guid,
  2124. UINT data_size,
  2125. void *data);
  2126. HRESULT (STDMETHODCALLTYPE *VideoProcessorBlt)(
  2127. ID3D11VideoContext1 *This,
  2128. ID3D11VideoProcessor *processor,
  2129. ID3D11VideoProcessorOutputView *view,
  2130. UINT frame_idx,
  2131. UINT stream_count,
  2132. const D3D11_VIDEO_PROCESSOR_STREAM *streams);
  2133. HRESULT (STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchange)(
  2134. ID3D11VideoContext1 *This,
  2135. ID3D11CryptoSession *session,
  2136. UINT data_size,
  2137. void *data);
  2138. void (STDMETHODCALLTYPE *EncryptionBlt)(
  2139. ID3D11VideoContext1 *This,
  2140. ID3D11CryptoSession *session,
  2141. ID3D11Texture2D *src_surface,
  2142. ID3D11Texture2D *dst_surface,
  2143. UINT iv_size,
  2144. void *iv);
  2145. void (STDMETHODCALLTYPE *DecryptionBlt)(
  2146. ID3D11VideoContext1 *This,
  2147. ID3D11CryptoSession *session,
  2148. ID3D11Texture2D *src_surface,
  2149. ID3D11Texture2D *dst_surface,
  2150. D3D11_ENCRYPTED_BLOCK_INFO *block_info,
  2151. UINT key_size,
  2152. const void *key,
  2153. UINT iv_size,
  2154. void *iv);
  2155. void (STDMETHODCALLTYPE *StartSessionKeyRefresh)(
  2156. ID3D11VideoContext1 *This,
  2157. ID3D11CryptoSession *session,
  2158. UINT random_number_size,
  2159. void *random_number);
  2160. void (STDMETHODCALLTYPE *FinishSessionKeyRefresh)(
  2161. ID3D11VideoContext1 *This,
  2162. ID3D11CryptoSession *session);
  2163. HRESULT (STDMETHODCALLTYPE *GetEncryptionBltKey)(
  2164. ID3D11VideoContext1 *This,
  2165. ID3D11CryptoSession *session,
  2166. UINT key_size,
  2167. void *key);
  2168. HRESULT (STDMETHODCALLTYPE *NegotiateAuthenticatedChannelKeyExchange)(
  2169. ID3D11VideoContext1 *This,
  2170. ID3D11AuthenticatedChannel *channel,
  2171. UINT data_size,
  2172. void *data);
  2173. HRESULT (STDMETHODCALLTYPE *QueryAuthenticatedChannel)(
  2174. ID3D11VideoContext1 *This,
  2175. ID3D11AuthenticatedChannel *channel,
  2176. UINT input_size,
  2177. const void *input,
  2178. UINT output_size,
  2179. void *output);
  2180. HRESULT (STDMETHODCALLTYPE *ConfigureAuthenticatedChannel)(
  2181. ID3D11VideoContext1 *This,
  2182. ID3D11AuthenticatedChannel *channel,
  2183. UINT input_size,
  2184. const void *input,
  2185. D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *output);
  2186. void (STDMETHODCALLTYPE *VideoProcessorSetStreamRotation)(
  2187. ID3D11VideoContext1 *This,
  2188. ID3D11VideoProcessor *processor,
  2189. UINT stream_idx,
  2190. WINBOOL enable,
  2191. D3D11_VIDEO_PROCESSOR_ROTATION rotation);
  2192. void (STDMETHODCALLTYPE *VideoProcessorGetStreamRotation)(
  2193. ID3D11VideoContext1 *This,
  2194. ID3D11VideoProcessor *processor,
  2195. UINT stream_idx,
  2196. WINBOOL *enable,
  2197. D3D11_VIDEO_PROCESSOR_ROTATION *rotation);
  2198. /*** ID3D11VideoContext1 methods ***/
  2199. HRESULT (STDMETHODCALLTYPE *SubmitDecoderBuffers1)(
  2200. ID3D11VideoContext1 *This,
  2201. ID3D11VideoDecoder *decoder,
  2202. UINT buffer_count,
  2203. const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc);
  2204. HRESULT (STDMETHODCALLTYPE *GetDataForNewHardwareKey)(
  2205. ID3D11VideoContext1 *This,
  2206. ID3D11CryptoSession *session,
  2207. UINT input_size,
  2208. const void *input_data,
  2209. UINT64 *output_data);
  2210. HRESULT (STDMETHODCALLTYPE *CheckCryptoSessionStatus)(
  2211. ID3D11VideoContext1 *This,
  2212. ID3D11CryptoSession *session,
  2213. D3D11_CRYPTO_SESSION_STATUS *status);
  2214. HRESULT (STDMETHODCALLTYPE *DecoderEnableDownsampling)(
  2215. ID3D11VideoContext1 *This,
  2216. ID3D11VideoDecoder *decoder,
  2217. DXGI_COLOR_SPACE_TYPE colour_space,
  2218. const D3D11_VIDEO_SAMPLE_DESC *output_desc,
  2219. UINT reference_frame_count);
  2220. HRESULT (STDMETHODCALLTYPE *DecoderUpdateDownsampling)(
  2221. ID3D11VideoContext1 *This,
  2222. ID3D11VideoDecoder *decoder,
  2223. const D3D11_VIDEO_SAMPLE_DESC *output_desc);
  2224. void (STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace1)(
  2225. ID3D11VideoContext1 *This,
  2226. ID3D11VideoProcessor *processor,
  2227. DXGI_COLOR_SPACE_TYPE colour_space);
  2228. void (STDMETHODCALLTYPE *VideoProcessorSetOutputShaderUsage)(
  2229. ID3D11VideoContext1 *This,
  2230. ID3D11VideoProcessor *processor,
  2231. WINBOOL shader_usage);
  2232. void (STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace1)(
  2233. ID3D11VideoContext1 *This,
  2234. ID3D11VideoProcessor *processor,
  2235. DXGI_COLOR_SPACE_TYPE *colour_space);
  2236. void (STDMETHODCALLTYPE *VideoProcessorGetOutputShaderUsage)(
  2237. ID3D11VideoContext1 *This,
  2238. ID3D11VideoProcessor *processor,
  2239. WINBOOL *shader_usage);
  2240. void (STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace1)(
  2241. ID3D11VideoContext1 *This,
  2242. ID3D11VideoProcessor *processor,
  2243. UINT stream_index,
  2244. DXGI_COLOR_SPACE_TYPE colour_space);
  2245. void (STDMETHODCALLTYPE *VideoProcessorSetStreamMirror)(
  2246. ID3D11VideoContext1 *This,
  2247. ID3D11VideoProcessor *processor,
  2248. UINT stream_index,
  2249. WINBOOL enable,
  2250. WINBOOL flip_horizontal,
  2251. WINBOOL flip_vertical);
  2252. void (STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace1)(
  2253. ID3D11VideoContext1 *This,
  2254. ID3D11VideoProcessor *processor,
  2255. UINT stream_index,
  2256. DXGI_COLOR_SPACE_TYPE *colour_space);
  2257. void (STDMETHODCALLTYPE *VideoProcessorGetStreamMirror)(
  2258. ID3D11VideoContext1 *This,
  2259. ID3D11VideoProcessor *processor,
  2260. UINT stream_index,
  2261. WINBOOL *enable,
  2262. WINBOOL *flip_horizontal,
  2263. WINBOOL *flip_vertical);
  2264. HRESULT (STDMETHODCALLTYPE *VideoProcessorGetBehaviorHints)(
  2265. ID3D11VideoContext1 *This,
  2266. ID3D11VideoProcessor *processor,
  2267. UINT output_width,
  2268. UINT output_height,
  2269. DXGI_FORMAT output_format,
  2270. UINT stream_count,
  2271. const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *streams,
  2272. UINT *behaviour_hints);
  2273. END_INTERFACE
  2274. } ID3D11VideoContext1Vtbl;
  2275. interface ID3D11VideoContext1 {
  2276. CONST_VTBL ID3D11VideoContext1Vtbl* lpVtbl;
  2277. };
  2278. #ifdef COBJMACROS
  2279. #ifndef WIDL_C_INLINE_WRAPPERS
  2280. /*** IUnknown methods ***/
  2281. #define ID3D11VideoContext1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2282. #define ID3D11VideoContext1_AddRef(This) (This)->lpVtbl->AddRef(This)
  2283. #define ID3D11VideoContext1_Release(This) (This)->lpVtbl->Release(This)
  2284. /*** ID3D11DeviceChild methods ***/
  2285. #define ID3D11VideoContext1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
  2286. #define ID3D11VideoContext1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
  2287. #define ID3D11VideoContext1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
  2288. #define ID3D11VideoContext1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
  2289. /*** ID3D11VideoContext methods ***/
  2290. #define ID3D11VideoContext1_GetDecoderBuffer(This,decoder,type,buffer_size,buffer) (This)->lpVtbl->GetDecoderBuffer(This,decoder,type,buffer_size,buffer)
  2291. #define ID3D11VideoContext1_ReleaseDecoderBuffer(This,decoder,type) (This)->lpVtbl->ReleaseDecoderBuffer(This,decoder,type)
  2292. #define ID3D11VideoContext1_DecoderBeginFrame(This,decoder,view,key_size,key) (This)->lpVtbl->DecoderBeginFrame(This,decoder,view,key_size,key)
  2293. #define ID3D11VideoContext1_DecoderEndFrame(This,decoder) (This)->lpVtbl->DecoderEndFrame(This,decoder)
  2294. #define ID3D11VideoContext1_SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc) (This)->lpVtbl->SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc)
  2295. #define ID3D11VideoContext1_DecoderExtension(This,decoder,extension) (This)->lpVtbl->DecoderExtension(This,decoder,extension)
  2296. #define ID3D11VideoContext1_VideoProcessorSetOutputTargetRect(This,processor,enable,rect) (This)->lpVtbl->VideoProcessorSetOutputTargetRect(This,processor,enable,rect)
  2297. #define ID3D11VideoContext1_VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color) (This)->lpVtbl->VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color)
  2298. #define ID3D11VideoContext1_VideoProcessorSetOutputColorSpace(This,processor,color_space) (This)->lpVtbl->VideoProcessorSetOutputColorSpace(This,processor,color_space)
  2299. #define ID3D11VideoContext1_VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) (This)->lpVtbl->VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx)
  2300. #define ID3D11VideoContext1_VideoProcessorSetOutputConstriction(This,processor,enable,size) (This)->lpVtbl->VideoProcessorSetOutputConstriction(This,processor,enable,size)
  2301. #define ID3D11VideoContext1_VideoProcessorSetOutputStereoMode(This,processor,enable) (This)->lpVtbl->VideoProcessorSetOutputStereoMode(This,processor,enable)
  2302. #define ID3D11VideoContext1_VideoProcessorSetOutputExtension(This,processor,guid,data_size,data) (This)->lpVtbl->VideoProcessorSetOutputExtension(This,processor,guid,data_size,data)
  2303. #define ID3D11VideoContext1_VideoProcessorGetOutputTargetRect(This,processor,enabled,rect) (This)->lpVtbl->VideoProcessorGetOutputTargetRect(This,processor,enabled,rect)
  2304. #define ID3D11VideoContext1_VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color) (This)->lpVtbl->VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color)
  2305. #define ID3D11VideoContext1_VideoProcessorGetOutputColorSpace(This,processor,color_space) (This)->lpVtbl->VideoProcessorGetOutputColorSpace(This,processor,color_space)
  2306. #define ID3D11VideoContext1_VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) (This)->lpVtbl->VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx)
  2307. #define ID3D11VideoContext1_VideoProcessorGetOutputConstriction(This,processor,enabled,size) (This)->lpVtbl->VideoProcessorGetOutputConstriction(This,processor,enabled,size)
  2308. #define ID3D11VideoContext1_VideoProcessorGetOutputStereoMode(This,processor,enabled) (This)->lpVtbl->VideoProcessorGetOutputStereoMode(This,processor,enabled)
  2309. #define ID3D11VideoContext1_VideoProcessorGetOutputExtension(This,processor,guid,data_size,data) (This)->lpVtbl->VideoProcessorGetOutputExtension(This,processor,guid,data_size,data)
  2310. #define ID3D11VideoContext1_VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format) (This)->lpVtbl->VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format)
  2311. #define ID3D11VideoContext1_VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space) (This)->lpVtbl->VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space)
  2312. #define ID3D11VideoContext1_VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) (This)->lpVtbl->VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate)
  2313. #define ID3D11VideoContext1_VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect) (This)->lpVtbl->VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect)
  2314. #define ID3D11VideoContext1_VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect) (This)->lpVtbl->VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect)
  2315. #define ID3D11VideoContext1_VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha) (This)->lpVtbl->VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha)
  2316. #define ID3D11VideoContext1_VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries) (This)->lpVtbl->VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries)
  2317. #define ID3D11VideoContext1_VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio) (This)->lpVtbl->VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio)
  2318. #define ID3D11VideoContext1_VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper) (This)->lpVtbl->VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper)
  2319. #define ID3D11VideoContext1_VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) (This)->lpVtbl->VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset)
  2320. #define ID3D11VideoContext1_VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable) (This)->lpVtbl->VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable)
  2321. #define ID3D11VideoContext1_VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level) (This)->lpVtbl->VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level)
  2322. #define ID3D11VideoContext1_VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data) (This)->lpVtbl->VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data)
  2323. #define ID3D11VideoContext1_VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format) (This)->lpVtbl->VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format)
  2324. #define ID3D11VideoContext1_VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space) (This)->lpVtbl->VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space)
  2325. #define ID3D11VideoContext1_VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) (This)->lpVtbl->VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate)
  2326. #define ID3D11VideoContext1_VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect) (This)->lpVtbl->VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect)
  2327. #define ID3D11VideoContext1_VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect) (This)->lpVtbl->VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect)
  2328. #define ID3D11VideoContext1_VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha) (This)->lpVtbl->VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha)
  2329. #define ID3D11VideoContext1_VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries) (This)->lpVtbl->VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries)
  2330. #define ID3D11VideoContext1_VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio) (This)->lpVtbl->VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio)
  2331. #define ID3D11VideoContext1_VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper) (This)->lpVtbl->VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper)
  2332. #define ID3D11VideoContext1_VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset) (This)->lpVtbl->VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset)
  2333. #define ID3D11VideoContext1_VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled) (This)->lpVtbl->VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled)
  2334. #define ID3D11VideoContext1_VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level) (This)->lpVtbl->VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level)
  2335. #define ID3D11VideoContext1_VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data) (This)->lpVtbl->VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data)
  2336. #define ID3D11VideoContext1_VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams) (This)->lpVtbl->VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams)
  2337. #define ID3D11VideoContext1_NegotiateCryptoSessionKeyExchange(This,session,data_size,data) (This)->lpVtbl->NegotiateCryptoSessionKeyExchange(This,session,data_size,data)
  2338. #define ID3D11VideoContext1_EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv) (This)->lpVtbl->EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv)
  2339. #define ID3D11VideoContext1_DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv) (This)->lpVtbl->DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv)
  2340. #define ID3D11VideoContext1_StartSessionKeyRefresh(This,session,random_number_size,random_number) (This)->lpVtbl->StartSessionKeyRefresh(This,session,random_number_size,random_number)
  2341. #define ID3D11VideoContext1_FinishSessionKeyRefresh(This,session) (This)->lpVtbl->FinishSessionKeyRefresh(This,session)
  2342. #define ID3D11VideoContext1_GetEncryptionBltKey(This,session,key_size,key) (This)->lpVtbl->GetEncryptionBltKey(This,session,key_size,key)
  2343. #define ID3D11VideoContext1_NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data) (This)->lpVtbl->NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data)
  2344. #define ID3D11VideoContext1_QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output) (This)->lpVtbl->QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output)
  2345. #define ID3D11VideoContext1_ConfigureAuthenticatedChannel(This,channel,input_size,input,output) (This)->lpVtbl->ConfigureAuthenticatedChannel(This,channel,input_size,input,output)
  2346. #define ID3D11VideoContext1_VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation) (This)->lpVtbl->VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation)
  2347. #define ID3D11VideoContext1_VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation) (This)->lpVtbl->VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation)
  2348. /*** ID3D11VideoContext1 methods ***/
  2349. #define ID3D11VideoContext1_SubmitDecoderBuffers1(This,decoder,buffer_count,buffer_desc) (This)->lpVtbl->SubmitDecoderBuffers1(This,decoder,buffer_count,buffer_desc)
  2350. #define ID3D11VideoContext1_GetDataForNewHardwareKey(This,session,input_size,input_data,output_data) (This)->lpVtbl->GetDataForNewHardwareKey(This,session,input_size,input_data,output_data)
  2351. #define ID3D11VideoContext1_CheckCryptoSessionStatus(This,session,status) (This)->lpVtbl->CheckCryptoSessionStatus(This,session,status)
  2352. #define ID3D11VideoContext1_DecoderEnableDownsampling(This,decoder,colour_space,output_desc,reference_frame_count) (This)->lpVtbl->DecoderEnableDownsampling(This,decoder,colour_space,output_desc,reference_frame_count)
  2353. #define ID3D11VideoContext1_DecoderUpdateDownsampling(This,decoder,output_desc) (This)->lpVtbl->DecoderUpdateDownsampling(This,decoder,output_desc)
  2354. #define ID3D11VideoContext1_VideoProcessorSetOutputColorSpace1(This,processor,colour_space) (This)->lpVtbl->VideoProcessorSetOutputColorSpace1(This,processor,colour_space)
  2355. #define ID3D11VideoContext1_VideoProcessorSetOutputShaderUsage(This,processor,shader_usage) (This)->lpVtbl->VideoProcessorSetOutputShaderUsage(This,processor,shader_usage)
  2356. #define ID3D11VideoContext1_VideoProcessorGetOutputColorSpace1(This,processor,colour_space) (This)->lpVtbl->VideoProcessorGetOutputColorSpace1(This,processor,colour_space)
  2357. #define ID3D11VideoContext1_VideoProcessorGetOutputShaderUsage(This,processor,shader_usage) (This)->lpVtbl->VideoProcessorGetOutputShaderUsage(This,processor,shader_usage)
  2358. #define ID3D11VideoContext1_VideoProcessorSetStreamColorSpace1(This,processor,stream_index,colour_space) (This)->lpVtbl->VideoProcessorSetStreamColorSpace1(This,processor,stream_index,colour_space)
  2359. #define ID3D11VideoContext1_VideoProcessorSetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical) (This)->lpVtbl->VideoProcessorSetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical)
  2360. #define ID3D11VideoContext1_VideoProcessorGetStreamColorSpace1(This,processor,stream_index,colour_space) (This)->lpVtbl->VideoProcessorGetStreamColorSpace1(This,processor,stream_index,colour_space)
  2361. #define ID3D11VideoContext1_VideoProcessorGetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical) (This)->lpVtbl->VideoProcessorGetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical)
  2362. #define ID3D11VideoContext1_VideoProcessorGetBehaviorHints(This,processor,output_width,output_height,output_format,stream_count,streams,behaviour_hints) (This)->lpVtbl->VideoProcessorGetBehaviorHints(This,processor,output_width,output_height,output_format,stream_count,streams,behaviour_hints)
  2363. #else
  2364. /*** IUnknown methods ***/
  2365. static FORCEINLINE HRESULT ID3D11VideoContext1_QueryInterface(ID3D11VideoContext1* This,REFIID riid,void **ppvObject) {
  2366. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2367. }
  2368. static FORCEINLINE ULONG ID3D11VideoContext1_AddRef(ID3D11VideoContext1* This) {
  2369. return This->lpVtbl->AddRef(This);
  2370. }
  2371. static FORCEINLINE ULONG ID3D11VideoContext1_Release(ID3D11VideoContext1* This) {
  2372. return This->lpVtbl->Release(This);
  2373. }
  2374. /*** ID3D11DeviceChild methods ***/
  2375. static FORCEINLINE void ID3D11VideoContext1_GetDevice(ID3D11VideoContext1* This,ID3D11Device **ppDevice) {
  2376. This->lpVtbl->GetDevice(This,ppDevice);
  2377. }
  2378. static FORCEINLINE HRESULT ID3D11VideoContext1_GetPrivateData(ID3D11VideoContext1* This,REFGUID guid,UINT *pDataSize,void *pData) {
  2379. return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
  2380. }
  2381. static FORCEINLINE HRESULT ID3D11VideoContext1_SetPrivateData(ID3D11VideoContext1* This,REFGUID guid,UINT DataSize,const void *pData) {
  2382. return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
  2383. }
  2384. static FORCEINLINE HRESULT ID3D11VideoContext1_SetPrivateDataInterface(ID3D11VideoContext1* This,REFGUID guid,const IUnknown *pData) {
  2385. return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
  2386. }
  2387. /*** ID3D11VideoContext methods ***/
  2388. static FORCEINLINE HRESULT ID3D11VideoContext1_GetDecoderBuffer(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,D3D11_VIDEO_DECODER_BUFFER_TYPE type,UINT *buffer_size,void **buffer) {
  2389. return This->lpVtbl->GetDecoderBuffer(This,decoder,type,buffer_size,buffer);
  2390. }
  2391. static FORCEINLINE HRESULT ID3D11VideoContext1_ReleaseDecoderBuffer(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,D3D11_VIDEO_DECODER_BUFFER_TYPE type) {
  2392. return This->lpVtbl->ReleaseDecoderBuffer(This,decoder,type);
  2393. }
  2394. static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderBeginFrame(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,ID3D11VideoDecoderOutputView *view,UINT key_size,const void *key) {
  2395. return This->lpVtbl->DecoderBeginFrame(This,decoder,view,key_size,key);
  2396. }
  2397. static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderEndFrame(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder) {
  2398. return This->lpVtbl->DecoderEndFrame(This,decoder);
  2399. }
  2400. static FORCEINLINE HRESULT ID3D11VideoContext1_SubmitDecoderBuffers(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,UINT buffers_count,const D3D11_VIDEO_DECODER_BUFFER_DESC *buffer_desc) {
  2401. return This->lpVtbl->SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc);
  2402. }
  2403. static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderExtension(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,const D3D11_VIDEO_DECODER_EXTENSION *extension) {
  2404. return This->lpVtbl->DecoderExtension(This,decoder,extension);
  2405. }
  2406. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputTargetRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL enable,const RECT *rect) {
  2407. This->lpVtbl->VideoProcessorSetOutputTargetRect(This,processor,enable,rect);
  2408. }
  2409. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputBackgroundColor(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL y_cb_cr,const D3D11_VIDEO_COLOR *color) {
  2410. This->lpVtbl->VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color);
  2411. }
  2412. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputColorSpace(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) {
  2413. This->lpVtbl->VideoProcessorSetOutputColorSpace(This,processor,color_space);
  2414. }
  2415. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputAlphaFillMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE alpha_fill_mode,UINT stream_idx) {
  2416. This->lpVtbl->VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx);
  2417. }
  2418. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputConstriction(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL enable,SIZE size) {
  2419. This->lpVtbl->VideoProcessorSetOutputConstriction(This,processor,enable,size);
  2420. }
  2421. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputStereoMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL enable) {
  2422. This->lpVtbl->VideoProcessorSetOutputStereoMode(This,processor,enable);
  2423. }
  2424. static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorSetOutputExtension(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,const GUID *guid,UINT data_size,void *data) {
  2425. return This->lpVtbl->VideoProcessorSetOutputExtension(This,processor,guid,data_size,data);
  2426. }
  2427. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputTargetRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL *enabled,RECT *rect) {
  2428. This->lpVtbl->VideoProcessorGetOutputTargetRect(This,processor,enabled,rect);
  2429. }
  2430. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputBackgroundColor(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL *y_cb_cr,D3D11_VIDEO_COLOR *color) {
  2431. This->lpVtbl->VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color);
  2432. }
  2433. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputColorSpace(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) {
  2434. This->lpVtbl->VideoProcessorGetOutputColorSpace(This,processor,color_space);
  2435. }
  2436. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputAlphaFillMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *alpha_fill_mode,UINT *stream_idx) {
  2437. This->lpVtbl->VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx);
  2438. }
  2439. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputConstriction(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL *enabled,SIZE *size) {
  2440. This->lpVtbl->VideoProcessorGetOutputConstriction(This,processor,enabled,size);
  2441. }
  2442. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputStereoMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL *enabled) {
  2443. This->lpVtbl->VideoProcessorGetOutputStereoMode(This,processor,enabled);
  2444. }
  2445. static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorGetOutputExtension(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,const GUID *guid,UINT data_size,void *data) {
  2446. return This->lpVtbl->VideoProcessorGetOutputExtension(This,processor,guid,data_size,data);
  2447. }
  2448. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamFrameFormat(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_FRAME_FORMAT format) {
  2449. This->lpVtbl->VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format);
  2450. }
  2451. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamColorSpace(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) {
  2452. This->lpVtbl->VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space);
  2453. }
  2454. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamOutputRate(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_OUTPUT_RATE rate,WINBOOL repeat,const DXGI_RATIONAL *custom_rate) {
  2455. This->lpVtbl->VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate);
  2456. }
  2457. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamSourceRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable,const RECT *rect) {
  2458. This->lpVtbl->VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect);
  2459. }
  2460. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamDestRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable,const RECT *rect) {
  2461. This->lpVtbl->VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect);
  2462. }
  2463. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamAlpha(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable,float alpha) {
  2464. This->lpVtbl->VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha);
  2465. }
  2466. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamPalette(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,UINT entry_count,const UINT *entries) {
  2467. This->lpVtbl->VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries);
  2468. }
  2469. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable,const DXGI_RATIONAL *src_aspect_ratio,const DXGI_RATIONAL *dst_aspect_ratio) {
  2470. This->lpVtbl->VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio);
  2471. }
  2472. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamLumaKey(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable,float lower,float upper) {
  2473. This->lpVtbl->VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper);
  2474. }
  2475. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamStereoFormat(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable,D3D11_VIDEO_PROCESSOR_STEREO_FORMAT format,WINBOOL left_view_frame0,WINBOOL base_view_frame0,D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE flip_mode,int mono_offset) {
  2476. This->lpVtbl->VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset);
  2477. }
  2478. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable) {
  2479. This->lpVtbl->VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable);
  2480. }
  2481. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamFilter(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_FILTER filter,WINBOOL enable,int level) {
  2482. This->lpVtbl->VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level);
  2483. }
  2484. static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorSetStreamExtension(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,const GUID *guid,UINT data_size,void *data) {
  2485. return This->lpVtbl->VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data);
  2486. }
  2487. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamFrameFormat(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_FRAME_FORMAT *format) {
  2488. This->lpVtbl->VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format);
  2489. }
  2490. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamColorSpace(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) {
  2491. This->lpVtbl->VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space);
  2492. }
  2493. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamOutputRate(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *rate,WINBOOL *repeat,DXGI_RATIONAL *custom_rate) {
  2494. This->lpVtbl->VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate);
  2495. }
  2496. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamSourceRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled,RECT *rect) {
  2497. This->lpVtbl->VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect);
  2498. }
  2499. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamDestRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled,RECT *rect) {
  2500. This->lpVtbl->VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect);
  2501. }
  2502. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamAlpha(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled,float *alpha) {
  2503. This->lpVtbl->VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha);
  2504. }
  2505. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamPalette(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,UINT entry_count,UINT *entries) {
  2506. This->lpVtbl->VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries);
  2507. }
  2508. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled,DXGI_RATIONAL *src_aspect_ratio,DXGI_RATIONAL *dst_aspect_ratio) {
  2509. This->lpVtbl->VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio);
  2510. }
  2511. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamLumaKey(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled,float *lower,float *upper) {
  2512. This->lpVtbl->VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper);
  2513. }
  2514. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamStereoFormat(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled,D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *format,WINBOOL *left_view_frame0,WINBOOL *base_view_frame0,D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *flip_mode,int *mono_offset) {
  2515. This->lpVtbl->VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset);
  2516. }
  2517. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled) {
  2518. This->lpVtbl->VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled);
  2519. }
  2520. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamFilter(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_FILTER filter,WINBOOL *enabled,int *level) {
  2521. This->lpVtbl->VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level);
  2522. }
  2523. static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorGetStreamExtension(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,const GUID *guid,UINT data_size,void *data) {
  2524. return This->lpVtbl->VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data);
  2525. }
  2526. static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorBlt(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,ID3D11VideoProcessorOutputView *view,UINT frame_idx,UINT stream_count,const D3D11_VIDEO_PROCESSOR_STREAM *streams) {
  2527. return This->lpVtbl->VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams);
  2528. }
  2529. static FORCEINLINE HRESULT ID3D11VideoContext1_NegotiateCryptoSessionKeyExchange(ID3D11VideoContext1* This,ID3D11CryptoSession *session,UINT data_size,void *data) {
  2530. return This->lpVtbl->NegotiateCryptoSessionKeyExchange(This,session,data_size,data);
  2531. }
  2532. static FORCEINLINE void ID3D11VideoContext1_EncryptionBlt(ID3D11VideoContext1* This,ID3D11CryptoSession *session,ID3D11Texture2D *src_surface,ID3D11Texture2D *dst_surface,UINT iv_size,void *iv) {
  2533. This->lpVtbl->EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv);
  2534. }
  2535. static FORCEINLINE void ID3D11VideoContext1_DecryptionBlt(ID3D11VideoContext1* This,ID3D11CryptoSession *session,ID3D11Texture2D *src_surface,ID3D11Texture2D *dst_surface,D3D11_ENCRYPTED_BLOCK_INFO *block_info,UINT key_size,const void *key,UINT iv_size,void *iv) {
  2536. This->lpVtbl->DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv);
  2537. }
  2538. static FORCEINLINE void ID3D11VideoContext1_StartSessionKeyRefresh(ID3D11VideoContext1* This,ID3D11CryptoSession *session,UINT random_number_size,void *random_number) {
  2539. This->lpVtbl->StartSessionKeyRefresh(This,session,random_number_size,random_number);
  2540. }
  2541. static FORCEINLINE void ID3D11VideoContext1_FinishSessionKeyRefresh(ID3D11VideoContext1* This,ID3D11CryptoSession *session) {
  2542. This->lpVtbl->FinishSessionKeyRefresh(This,session);
  2543. }
  2544. static FORCEINLINE HRESULT ID3D11VideoContext1_GetEncryptionBltKey(ID3D11VideoContext1* This,ID3D11CryptoSession *session,UINT key_size,void *key) {
  2545. return This->lpVtbl->GetEncryptionBltKey(This,session,key_size,key);
  2546. }
  2547. static FORCEINLINE HRESULT ID3D11VideoContext1_NegotiateAuthenticatedChannelKeyExchange(ID3D11VideoContext1* This,ID3D11AuthenticatedChannel *channel,UINT data_size,void *data) {
  2548. return This->lpVtbl->NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data);
  2549. }
  2550. static FORCEINLINE HRESULT ID3D11VideoContext1_QueryAuthenticatedChannel(ID3D11VideoContext1* This,ID3D11AuthenticatedChannel *channel,UINT input_size,const void *input,UINT output_size,void *output) {
  2551. return This->lpVtbl->QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output);
  2552. }
  2553. static FORCEINLINE HRESULT ID3D11VideoContext1_ConfigureAuthenticatedChannel(ID3D11VideoContext1* This,ID3D11AuthenticatedChannel *channel,UINT input_size,const void *input,D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *output) {
  2554. return This->lpVtbl->ConfigureAuthenticatedChannel(This,channel,input_size,input,output);
  2555. }
  2556. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamRotation(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable,D3D11_VIDEO_PROCESSOR_ROTATION rotation) {
  2557. This->lpVtbl->VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation);
  2558. }
  2559. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamRotation(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enable,D3D11_VIDEO_PROCESSOR_ROTATION *rotation) {
  2560. This->lpVtbl->VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation);
  2561. }
  2562. /*** ID3D11VideoContext1 methods ***/
  2563. static FORCEINLINE HRESULT ID3D11VideoContext1_SubmitDecoderBuffers1(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,UINT buffer_count,const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc) {
  2564. return This->lpVtbl->SubmitDecoderBuffers1(This,decoder,buffer_count,buffer_desc);
  2565. }
  2566. static FORCEINLINE HRESULT ID3D11VideoContext1_GetDataForNewHardwareKey(ID3D11VideoContext1* This,ID3D11CryptoSession *session,UINT input_size,const void *input_data,UINT64 *output_data) {
  2567. return This->lpVtbl->GetDataForNewHardwareKey(This,session,input_size,input_data,output_data);
  2568. }
  2569. static FORCEINLINE HRESULT ID3D11VideoContext1_CheckCryptoSessionStatus(ID3D11VideoContext1* This,ID3D11CryptoSession *session,D3D11_CRYPTO_SESSION_STATUS *status) {
  2570. return This->lpVtbl->CheckCryptoSessionStatus(This,session,status);
  2571. }
  2572. static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderEnableDownsampling(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,DXGI_COLOR_SPACE_TYPE colour_space,const D3D11_VIDEO_SAMPLE_DESC *output_desc,UINT reference_frame_count) {
  2573. return This->lpVtbl->DecoderEnableDownsampling(This,decoder,colour_space,output_desc,reference_frame_count);
  2574. }
  2575. static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderUpdateDownsampling(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,const D3D11_VIDEO_SAMPLE_DESC *output_desc) {
  2576. return This->lpVtbl->DecoderUpdateDownsampling(This,decoder,output_desc);
  2577. }
  2578. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputColorSpace1(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,DXGI_COLOR_SPACE_TYPE colour_space) {
  2579. This->lpVtbl->VideoProcessorSetOutputColorSpace1(This,processor,colour_space);
  2580. }
  2581. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputShaderUsage(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL shader_usage) {
  2582. This->lpVtbl->VideoProcessorSetOutputShaderUsage(This,processor,shader_usage);
  2583. }
  2584. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputColorSpace1(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,DXGI_COLOR_SPACE_TYPE *colour_space) {
  2585. This->lpVtbl->VideoProcessorGetOutputColorSpace1(This,processor,colour_space);
  2586. }
  2587. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputShaderUsage(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL *shader_usage) {
  2588. This->lpVtbl->VideoProcessorGetOutputShaderUsage(This,processor,shader_usage);
  2589. }
  2590. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamColorSpace1(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_index,DXGI_COLOR_SPACE_TYPE colour_space) {
  2591. This->lpVtbl->VideoProcessorSetStreamColorSpace1(This,processor,stream_index,colour_space);
  2592. }
  2593. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamMirror(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_index,WINBOOL enable,WINBOOL flip_horizontal,WINBOOL flip_vertical) {
  2594. This->lpVtbl->VideoProcessorSetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical);
  2595. }
  2596. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamColorSpace1(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_index,DXGI_COLOR_SPACE_TYPE *colour_space) {
  2597. This->lpVtbl->VideoProcessorGetStreamColorSpace1(This,processor,stream_index,colour_space);
  2598. }
  2599. static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamMirror(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_index,WINBOOL *enable,WINBOOL *flip_horizontal,WINBOOL *flip_vertical) {
  2600. This->lpVtbl->VideoProcessorGetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical);
  2601. }
  2602. static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorGetBehaviorHints(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT output_width,UINT output_height,DXGI_FORMAT output_format,UINT stream_count,const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *streams,UINT *behaviour_hints) {
  2603. return This->lpVtbl->VideoProcessorGetBehaviorHints(This,processor,output_width,output_height,output_format,stream_count,streams,behaviour_hints);
  2604. }
  2605. #endif
  2606. #endif
  2607. #endif
  2608. #endif /* __ID3D11VideoContext1_INTERFACE_DEFINED__ */
  2609. /*****************************************************************************
  2610. * ID3D11VideoDevice1 interface
  2611. */
  2612. #ifndef __ID3D11VideoDevice1_INTERFACE_DEFINED__
  2613. #define __ID3D11VideoDevice1_INTERFACE_DEFINED__
  2614. DEFINE_GUID(IID_ID3D11VideoDevice1, 0x29da1d51, 0x1321, 0x4454, 0x80,0x4b, 0xf5,0xfc,0x9f,0x86,0x1f,0x0f);
  2615. #if defined(__cplusplus) && !defined(CINTERFACE)
  2616. MIDL_INTERFACE("29da1d51-1321-4454-804b-f5fc9f861f0f")
  2617. ID3D11VideoDevice1 : public ID3D11VideoDevice
  2618. {
  2619. virtual HRESULT STDMETHODCALLTYPE GetCryptoSessionPrivateDataSize(
  2620. const GUID *crypto_type,
  2621. const GUID *decoder_profile,
  2622. const GUID *key_exchange_type,
  2623. UINT *input_size,
  2624. UINT *output_size) = 0;
  2625. virtual HRESULT STDMETHODCALLTYPE GetVideoDecoderCaps(
  2626. const GUID *decoder_profile,
  2627. UINT sample_width,
  2628. UINT sample_height,
  2629. const DXGI_RATIONAL *framerate,
  2630. UINT bitrate,
  2631. const GUID *crypto_type,
  2632. UINT *decoder_caps) = 0;
  2633. virtual HRESULT STDMETHODCALLTYPE CheckVideoDecoderDownsampling(
  2634. const D3D11_VIDEO_DECODER_DESC *input_desc,
  2635. DXGI_COLOR_SPACE_TYPE input_colour_space,
  2636. const D3D11_VIDEO_DECODER_CONFIG *input_config,
  2637. const DXGI_RATIONAL *framerate,
  2638. const D3D11_VIDEO_SAMPLE_DESC *output_desc,
  2639. WINBOOL *supported,
  2640. WINBOOL *real_time_hint) = 0;
  2641. virtual HRESULT STDMETHODCALLTYPE RecommendVideoDecoderDownsampleParameters(
  2642. const D3D11_VIDEO_DECODER_DESC *input_desc,
  2643. DXGI_COLOR_SPACE_TYPE input_colour_space,
  2644. const D3D11_VIDEO_DECODER_CONFIG *input_config,
  2645. const DXGI_RATIONAL *framerate,
  2646. D3D11_VIDEO_SAMPLE_DESC *recommended_output_desc) = 0;
  2647. };
  2648. #ifdef __CRT_UUID_DECL
  2649. __CRT_UUID_DECL(ID3D11VideoDevice1, 0x29da1d51, 0x1321, 0x4454, 0x80,0x4b, 0xf5,0xfc,0x9f,0x86,0x1f,0x0f)
  2650. #endif
  2651. #else
  2652. typedef struct ID3D11VideoDevice1Vtbl {
  2653. BEGIN_INTERFACE
  2654. /*** IUnknown methods ***/
  2655. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2656. ID3D11VideoDevice1 *This,
  2657. REFIID riid,
  2658. void **ppvObject);
  2659. ULONG (STDMETHODCALLTYPE *AddRef)(
  2660. ID3D11VideoDevice1 *This);
  2661. ULONG (STDMETHODCALLTYPE *Release)(
  2662. ID3D11VideoDevice1 *This);
  2663. /*** ID3D11VideoDevice methods ***/
  2664. HRESULT (STDMETHODCALLTYPE *CreateVideoDecoder)(
  2665. ID3D11VideoDevice1 *This,
  2666. const D3D11_VIDEO_DECODER_DESC *pVideoDesc,
  2667. const D3D11_VIDEO_DECODER_CONFIG *pConfig,
  2668. ID3D11VideoDecoder **ppDecoder);
  2669. HRESULT (STDMETHODCALLTYPE *CreateVideoProcessor)(
  2670. ID3D11VideoDevice1 *This,
  2671. ID3D11VideoProcessorEnumerator *pEnum,
  2672. UINT RateConversionIndex,
  2673. ID3D11VideoProcessor **ppVideoProcessor);
  2674. HRESULT (STDMETHODCALLTYPE *CreateAuthenticatedChannel)(
  2675. ID3D11VideoDevice1 *This,
  2676. D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,
  2677. ID3D11AuthenticatedChannel **ppAuthenticatedChannel);
  2678. HRESULT (STDMETHODCALLTYPE *CreateCryptoSession)(
  2679. ID3D11VideoDevice1 *This,
  2680. const GUID *pCryptoType,
  2681. const GUID *pDecoderProfile,
  2682. const GUID *pKeyExchangeType,
  2683. ID3D11CryptoSession **ppCryptoSession);
  2684. HRESULT (STDMETHODCALLTYPE *CreateVideoDecoderOutputView)(
  2685. ID3D11VideoDevice1 *This,
  2686. ID3D11Resource *pResource,
  2687. const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc,
  2688. ID3D11VideoDecoderOutputView **ppVDOVView);
  2689. HRESULT (STDMETHODCALLTYPE *CreateVideoProcessorInputView)(
  2690. ID3D11VideoDevice1 *This,
  2691. ID3D11Resource *pResource,
  2692. ID3D11VideoProcessorEnumerator *pEnum,
  2693. const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc,
  2694. ID3D11VideoProcessorInputView **ppVPIView);
  2695. HRESULT (STDMETHODCALLTYPE *CreateVideoProcessorOutputView)(
  2696. ID3D11VideoDevice1 *This,
  2697. ID3D11Resource *pResource,
  2698. ID3D11VideoProcessorEnumerator *pEnum,
  2699. const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc,
  2700. ID3D11VideoProcessorOutputView **ppVPOView);
  2701. HRESULT (STDMETHODCALLTYPE *CreateVideoProcessorEnumerator)(
  2702. ID3D11VideoDevice1 *This,
  2703. const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc,
  2704. ID3D11VideoProcessorEnumerator **ppEnum);
  2705. UINT (STDMETHODCALLTYPE *GetVideoDecoderProfileCount)(
  2706. ID3D11VideoDevice1 *This);
  2707. HRESULT (STDMETHODCALLTYPE *GetVideoDecoderProfile)(
  2708. ID3D11VideoDevice1 *This,
  2709. UINT Index,
  2710. GUID *pDecoderProfile);
  2711. HRESULT (STDMETHODCALLTYPE *CheckVideoDecoderFormat)(
  2712. ID3D11VideoDevice1 *This,
  2713. const GUID *pDecoderProfile,
  2714. DXGI_FORMAT Format,
  2715. WINBOOL *pSupported);
  2716. HRESULT (STDMETHODCALLTYPE *GetVideoDecoderConfigCount)(
  2717. ID3D11VideoDevice1 *This,
  2718. const D3D11_VIDEO_DECODER_DESC *pDesc,
  2719. UINT *pCount);
  2720. HRESULT (STDMETHODCALLTYPE *GetVideoDecoderConfig)(
  2721. ID3D11VideoDevice1 *This,
  2722. const D3D11_VIDEO_DECODER_DESC *pDesc,
  2723. UINT Index,
  2724. D3D11_VIDEO_DECODER_CONFIG *pConfig);
  2725. HRESULT (STDMETHODCALLTYPE *GetContentProtectionCaps)(
  2726. ID3D11VideoDevice1 *This,
  2727. const GUID *pCryptoType,
  2728. const GUID *pDecoderProfile,
  2729. D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps);
  2730. HRESULT (STDMETHODCALLTYPE *CheckCryptoKeyExchange)(
  2731. ID3D11VideoDevice1 *This,
  2732. const GUID *pCryptoType,
  2733. const GUID *pDecoderProfile,
  2734. UINT Index,
  2735. GUID *pKeyExchangeType);
  2736. HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
  2737. ID3D11VideoDevice1 *This,
  2738. REFGUID guid,
  2739. UINT DataSize,
  2740. const void *pData);
  2741. HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
  2742. ID3D11VideoDevice1 *This,
  2743. REFGUID guid,
  2744. const IUnknown *pData);
  2745. /*** ID3D11VideoDevice1 methods ***/
  2746. HRESULT (STDMETHODCALLTYPE *GetCryptoSessionPrivateDataSize)(
  2747. ID3D11VideoDevice1 *This,
  2748. const GUID *crypto_type,
  2749. const GUID *decoder_profile,
  2750. const GUID *key_exchange_type,
  2751. UINT *input_size,
  2752. UINT *output_size);
  2753. HRESULT (STDMETHODCALLTYPE *GetVideoDecoderCaps)(
  2754. ID3D11VideoDevice1 *This,
  2755. const GUID *decoder_profile,
  2756. UINT sample_width,
  2757. UINT sample_height,
  2758. const DXGI_RATIONAL *framerate,
  2759. UINT bitrate,
  2760. const GUID *crypto_type,
  2761. UINT *decoder_caps);
  2762. HRESULT (STDMETHODCALLTYPE *CheckVideoDecoderDownsampling)(
  2763. ID3D11VideoDevice1 *This,
  2764. const D3D11_VIDEO_DECODER_DESC *input_desc,
  2765. DXGI_COLOR_SPACE_TYPE input_colour_space,
  2766. const D3D11_VIDEO_DECODER_CONFIG *input_config,
  2767. const DXGI_RATIONAL *framerate,
  2768. const D3D11_VIDEO_SAMPLE_DESC *output_desc,
  2769. WINBOOL *supported,
  2770. WINBOOL *real_time_hint);
  2771. HRESULT (STDMETHODCALLTYPE *RecommendVideoDecoderDownsampleParameters)(
  2772. ID3D11VideoDevice1 *This,
  2773. const D3D11_VIDEO_DECODER_DESC *input_desc,
  2774. DXGI_COLOR_SPACE_TYPE input_colour_space,
  2775. const D3D11_VIDEO_DECODER_CONFIG *input_config,
  2776. const DXGI_RATIONAL *framerate,
  2777. D3D11_VIDEO_SAMPLE_DESC *recommended_output_desc);
  2778. END_INTERFACE
  2779. } ID3D11VideoDevice1Vtbl;
  2780. interface ID3D11VideoDevice1 {
  2781. CONST_VTBL ID3D11VideoDevice1Vtbl* lpVtbl;
  2782. };
  2783. #ifdef COBJMACROS
  2784. #ifndef WIDL_C_INLINE_WRAPPERS
  2785. /*** IUnknown methods ***/
  2786. #define ID3D11VideoDevice1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2787. #define ID3D11VideoDevice1_AddRef(This) (This)->lpVtbl->AddRef(This)
  2788. #define ID3D11VideoDevice1_Release(This) (This)->lpVtbl->Release(This)
  2789. /*** ID3D11VideoDevice methods ***/
  2790. #define ID3D11VideoDevice1_CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder) (This)->lpVtbl->CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder)
  2791. #define ID3D11VideoDevice1_CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor) (This)->lpVtbl->CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor)
  2792. #define ID3D11VideoDevice1_CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel) (This)->lpVtbl->CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel)
  2793. #define ID3D11VideoDevice1_CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession) (This)->lpVtbl->CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession)
  2794. #define ID3D11VideoDevice1_CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView) (This)->lpVtbl->CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView)
  2795. #define ID3D11VideoDevice1_CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView) (This)->lpVtbl->CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView)
  2796. #define ID3D11VideoDevice1_CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView) (This)->lpVtbl->CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView)
  2797. #define ID3D11VideoDevice1_CreateVideoProcessorEnumerator(This,pDesc,ppEnum) (This)->lpVtbl->CreateVideoProcessorEnumerator(This,pDesc,ppEnum)
  2798. #define ID3D11VideoDevice1_GetVideoDecoderProfileCount(This) (This)->lpVtbl->GetVideoDecoderProfileCount(This)
  2799. #define ID3D11VideoDevice1_GetVideoDecoderProfile(This,Index,pDecoderProfile) (This)->lpVtbl->GetVideoDecoderProfile(This,Index,pDecoderProfile)
  2800. #define ID3D11VideoDevice1_CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported) (This)->lpVtbl->CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported)
  2801. #define ID3D11VideoDevice1_GetVideoDecoderConfigCount(This,pDesc,pCount) (This)->lpVtbl->GetVideoDecoderConfigCount(This,pDesc,pCount)
  2802. #define ID3D11VideoDevice1_GetVideoDecoderConfig(This,pDesc,Index,pConfig) (This)->lpVtbl->GetVideoDecoderConfig(This,pDesc,Index,pConfig)
  2803. #define ID3D11VideoDevice1_GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps) (This)->lpVtbl->GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps)
  2804. #define ID3D11VideoDevice1_CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType) (This)->lpVtbl->CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType)
  2805. #define ID3D11VideoDevice1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
  2806. #define ID3D11VideoDevice1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
  2807. /*** ID3D11VideoDevice1 methods ***/
  2808. #define ID3D11VideoDevice1_GetCryptoSessionPrivateDataSize(This,crypto_type,decoder_profile,key_exchange_type,input_size,output_size) (This)->lpVtbl->GetCryptoSessionPrivateDataSize(This,crypto_type,decoder_profile,key_exchange_type,input_size,output_size)
  2809. #define ID3D11VideoDevice1_GetVideoDecoderCaps(This,decoder_profile,sample_width,sample_height,framerate,bitrate,crypto_type,decoder_caps) (This)->lpVtbl->GetVideoDecoderCaps(This,decoder_profile,sample_width,sample_height,framerate,bitrate,crypto_type,decoder_caps)
  2810. #define ID3D11VideoDevice1_CheckVideoDecoderDownsampling(This,input_desc,input_colour_space,input_config,framerate,output_desc,supported,real_time_hint) (This)->lpVtbl->CheckVideoDecoderDownsampling(This,input_desc,input_colour_space,input_config,framerate,output_desc,supported,real_time_hint)
  2811. #define ID3D11VideoDevice1_RecommendVideoDecoderDownsampleParameters(This,input_desc,input_colour_space,input_config,framerate,recommended_output_desc) (This)->lpVtbl->RecommendVideoDecoderDownsampleParameters(This,input_desc,input_colour_space,input_config,framerate,recommended_output_desc)
  2812. #else
  2813. /*** IUnknown methods ***/
  2814. static FORCEINLINE HRESULT ID3D11VideoDevice1_QueryInterface(ID3D11VideoDevice1* This,REFIID riid,void **ppvObject) {
  2815. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2816. }
  2817. static FORCEINLINE ULONG ID3D11VideoDevice1_AddRef(ID3D11VideoDevice1* This) {
  2818. return This->lpVtbl->AddRef(This);
  2819. }
  2820. static FORCEINLINE ULONG ID3D11VideoDevice1_Release(ID3D11VideoDevice1* This) {
  2821. return This->lpVtbl->Release(This);
  2822. }
  2823. /*** ID3D11VideoDevice methods ***/
  2824. static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoDecoder(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *pVideoDesc,const D3D11_VIDEO_DECODER_CONFIG *pConfig,ID3D11VideoDecoder **ppDecoder) {
  2825. return This->lpVtbl->CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder);
  2826. }
  2827. static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoProcessor(ID3D11VideoDevice1* This,ID3D11VideoProcessorEnumerator *pEnum,UINT RateConversionIndex,ID3D11VideoProcessor **ppVideoProcessor) {
  2828. return This->lpVtbl->CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor);
  2829. }
  2830. static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateAuthenticatedChannel(ID3D11VideoDevice1* This,D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,ID3D11AuthenticatedChannel **ppAuthenticatedChannel) {
  2831. return This->lpVtbl->CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel);
  2832. }
  2833. static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateCryptoSession(ID3D11VideoDevice1* This,const GUID *pCryptoType,const GUID *pDecoderProfile,const GUID *pKeyExchangeType,ID3D11CryptoSession **ppCryptoSession) {
  2834. return This->lpVtbl->CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession);
  2835. }
  2836. static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoDecoderOutputView(ID3D11VideoDevice1* This,ID3D11Resource *pResource,const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc,ID3D11VideoDecoderOutputView **ppVDOVView) {
  2837. return This->lpVtbl->CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView);
  2838. }
  2839. static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoProcessorInputView(ID3D11VideoDevice1* This,ID3D11Resource *pResource,ID3D11VideoProcessorEnumerator *pEnum,const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc,ID3D11VideoProcessorInputView **ppVPIView) {
  2840. return This->lpVtbl->CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView);
  2841. }
  2842. static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoProcessorOutputView(ID3D11VideoDevice1* This,ID3D11Resource *pResource,ID3D11VideoProcessorEnumerator *pEnum,const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc,ID3D11VideoProcessorOutputView **ppVPOView) {
  2843. return This->lpVtbl->CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView);
  2844. }
  2845. static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoProcessorEnumerator(ID3D11VideoDevice1* This,const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc,ID3D11VideoProcessorEnumerator **ppEnum) {
  2846. return This->lpVtbl->CreateVideoProcessorEnumerator(This,pDesc,ppEnum);
  2847. }
  2848. static FORCEINLINE UINT ID3D11VideoDevice1_GetVideoDecoderProfileCount(ID3D11VideoDevice1* This) {
  2849. return This->lpVtbl->GetVideoDecoderProfileCount(This);
  2850. }
  2851. static FORCEINLINE HRESULT ID3D11VideoDevice1_GetVideoDecoderProfile(ID3D11VideoDevice1* This,UINT Index,GUID *pDecoderProfile) {
  2852. return This->lpVtbl->GetVideoDecoderProfile(This,Index,pDecoderProfile);
  2853. }
  2854. static FORCEINLINE HRESULT ID3D11VideoDevice1_CheckVideoDecoderFormat(ID3D11VideoDevice1* This,const GUID *pDecoderProfile,DXGI_FORMAT Format,WINBOOL *pSupported) {
  2855. return This->lpVtbl->CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported);
  2856. }
  2857. static FORCEINLINE HRESULT ID3D11VideoDevice1_GetVideoDecoderConfigCount(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *pDesc,UINT *pCount) {
  2858. return This->lpVtbl->GetVideoDecoderConfigCount(This,pDesc,pCount);
  2859. }
  2860. static FORCEINLINE HRESULT ID3D11VideoDevice1_GetVideoDecoderConfig(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *pDesc,UINT Index,D3D11_VIDEO_DECODER_CONFIG *pConfig) {
  2861. return This->lpVtbl->GetVideoDecoderConfig(This,pDesc,Index,pConfig);
  2862. }
  2863. static FORCEINLINE HRESULT ID3D11VideoDevice1_GetContentProtectionCaps(ID3D11VideoDevice1* This,const GUID *pCryptoType,const GUID *pDecoderProfile,D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps) {
  2864. return This->lpVtbl->GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps);
  2865. }
  2866. static FORCEINLINE HRESULT ID3D11VideoDevice1_CheckCryptoKeyExchange(ID3D11VideoDevice1* This,const GUID *pCryptoType,const GUID *pDecoderProfile,UINT Index,GUID *pKeyExchangeType) {
  2867. return This->lpVtbl->CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType);
  2868. }
  2869. static FORCEINLINE HRESULT ID3D11VideoDevice1_SetPrivateData(ID3D11VideoDevice1* This,REFGUID guid,UINT DataSize,const void *pData) {
  2870. return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
  2871. }
  2872. static FORCEINLINE HRESULT ID3D11VideoDevice1_SetPrivateDataInterface(ID3D11VideoDevice1* This,REFGUID guid,const IUnknown *pData) {
  2873. return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
  2874. }
  2875. /*** ID3D11VideoDevice1 methods ***/
  2876. static FORCEINLINE HRESULT ID3D11VideoDevice1_GetCryptoSessionPrivateDataSize(ID3D11VideoDevice1* This,const GUID *crypto_type,const GUID *decoder_profile,const GUID *key_exchange_type,UINT *input_size,UINT *output_size) {
  2877. return This->lpVtbl->GetCryptoSessionPrivateDataSize(This,crypto_type,decoder_profile,key_exchange_type,input_size,output_size);
  2878. }
  2879. static FORCEINLINE HRESULT ID3D11VideoDevice1_GetVideoDecoderCaps(ID3D11VideoDevice1* This,const GUID *decoder_profile,UINT sample_width,UINT sample_height,const DXGI_RATIONAL *framerate,UINT bitrate,const GUID *crypto_type,UINT *decoder_caps) {
  2880. return This->lpVtbl->GetVideoDecoderCaps(This,decoder_profile,sample_width,sample_height,framerate,bitrate,crypto_type,decoder_caps);
  2881. }
  2882. static FORCEINLINE HRESULT ID3D11VideoDevice1_CheckVideoDecoderDownsampling(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *input_desc,DXGI_COLOR_SPACE_TYPE input_colour_space,const D3D11_VIDEO_DECODER_CONFIG *input_config,const DXGI_RATIONAL *framerate,const D3D11_VIDEO_SAMPLE_DESC *output_desc,WINBOOL *supported,WINBOOL *real_time_hint) {
  2883. return This->lpVtbl->CheckVideoDecoderDownsampling(This,input_desc,input_colour_space,input_config,framerate,output_desc,supported,real_time_hint);
  2884. }
  2885. static FORCEINLINE HRESULT ID3D11VideoDevice1_RecommendVideoDecoderDownsampleParameters(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *input_desc,DXGI_COLOR_SPACE_TYPE input_colour_space,const D3D11_VIDEO_DECODER_CONFIG *input_config,const DXGI_RATIONAL *framerate,D3D11_VIDEO_SAMPLE_DESC *recommended_output_desc) {
  2886. return This->lpVtbl->RecommendVideoDecoderDownsampleParameters(This,input_desc,input_colour_space,input_config,framerate,recommended_output_desc);
  2887. }
  2888. #endif
  2889. #endif
  2890. #endif
  2891. #endif /* __ID3D11VideoDevice1_INTERFACE_DEFINED__ */
  2892. /*****************************************************************************
  2893. * ID3D11VideoProcessorEnumerator1 interface
  2894. */
  2895. #ifndef __ID3D11VideoProcessorEnumerator1_INTERFACE_DEFINED__
  2896. #define __ID3D11VideoProcessorEnumerator1_INTERFACE_DEFINED__
  2897. DEFINE_GUID(IID_ID3D11VideoProcessorEnumerator1, 0x465217f2, 0x5568, 0x43cf, 0xb5,0xb9, 0xf6,0x1d,0x54,0x53,0x1c,0xa1);
  2898. #if defined(__cplusplus) && !defined(CINTERFACE)
  2899. MIDL_INTERFACE("465217f2-5568-43cf-b5b9-f61d54531ca1")
  2900. ID3D11VideoProcessorEnumerator1 : public ID3D11VideoProcessorEnumerator
  2901. {
  2902. virtual HRESULT STDMETHODCALLTYPE CheckVideoProcessorFormatConversion(
  2903. DXGI_FORMAT input_format,
  2904. DXGI_COLOR_SPACE_TYPE input_colour_space,
  2905. DXGI_FORMAT output_format,
  2906. DXGI_COLOR_SPACE_TYPE output_colour_space,
  2907. WINBOOL *supported) = 0;
  2908. };
  2909. #ifdef __CRT_UUID_DECL
  2910. __CRT_UUID_DECL(ID3D11VideoProcessorEnumerator1, 0x465217f2, 0x5568, 0x43cf, 0xb5,0xb9, 0xf6,0x1d,0x54,0x53,0x1c,0xa1)
  2911. #endif
  2912. #else
  2913. typedef struct ID3D11VideoProcessorEnumerator1Vtbl {
  2914. BEGIN_INTERFACE
  2915. /*** IUnknown methods ***/
  2916. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2917. ID3D11VideoProcessorEnumerator1 *This,
  2918. REFIID riid,
  2919. void **ppvObject);
  2920. ULONG (STDMETHODCALLTYPE *AddRef)(
  2921. ID3D11VideoProcessorEnumerator1 *This);
  2922. ULONG (STDMETHODCALLTYPE *Release)(
  2923. ID3D11VideoProcessorEnumerator1 *This);
  2924. /*** ID3D11DeviceChild methods ***/
  2925. void (STDMETHODCALLTYPE *GetDevice)(
  2926. ID3D11VideoProcessorEnumerator1 *This,
  2927. ID3D11Device **ppDevice);
  2928. HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
  2929. ID3D11VideoProcessorEnumerator1 *This,
  2930. REFGUID guid,
  2931. UINT *pDataSize,
  2932. void *pData);
  2933. HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
  2934. ID3D11VideoProcessorEnumerator1 *This,
  2935. REFGUID guid,
  2936. UINT DataSize,
  2937. const void *pData);
  2938. HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
  2939. ID3D11VideoProcessorEnumerator1 *This,
  2940. REFGUID guid,
  2941. const IUnknown *pData);
  2942. /*** ID3D11VideoProcessorEnumerator methods ***/
  2943. HRESULT (STDMETHODCALLTYPE *GetVideoProcessorContentDesc)(
  2944. ID3D11VideoProcessorEnumerator1 *This,
  2945. D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc);
  2946. HRESULT (STDMETHODCALLTYPE *CheckVideoProcessorFormat)(
  2947. ID3D11VideoProcessorEnumerator1 *This,
  2948. DXGI_FORMAT Format,
  2949. UINT *pFlags);
  2950. HRESULT (STDMETHODCALLTYPE *GetVideoProcessorCaps)(
  2951. ID3D11VideoProcessorEnumerator1 *This,
  2952. D3D11_VIDEO_PROCESSOR_CAPS *pCaps);
  2953. HRESULT (STDMETHODCALLTYPE *GetVideoProcessorRateConversionCaps)(
  2954. ID3D11VideoProcessorEnumerator1 *This,
  2955. UINT TypeIndex,
  2956. D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps);
  2957. HRESULT (STDMETHODCALLTYPE *GetVideoProcessorCustomRate)(
  2958. ID3D11VideoProcessorEnumerator1 *This,
  2959. UINT TypeIndex,
  2960. UINT CustomRateIndex,
  2961. D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate);
  2962. HRESULT (STDMETHODCALLTYPE *GetVideoProcessorFilterRange)(
  2963. ID3D11VideoProcessorEnumerator1 *This,
  2964. D3D11_VIDEO_PROCESSOR_FILTER Filter,
  2965. D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange);
  2966. /*** ID3D11VideoProcessorEnumerator1 methods ***/
  2967. HRESULT (STDMETHODCALLTYPE *CheckVideoProcessorFormatConversion)(
  2968. ID3D11VideoProcessorEnumerator1 *This,
  2969. DXGI_FORMAT input_format,
  2970. DXGI_COLOR_SPACE_TYPE input_colour_space,
  2971. DXGI_FORMAT output_format,
  2972. DXGI_COLOR_SPACE_TYPE output_colour_space,
  2973. WINBOOL *supported);
  2974. END_INTERFACE
  2975. } ID3D11VideoProcessorEnumerator1Vtbl;
  2976. interface ID3D11VideoProcessorEnumerator1 {
  2977. CONST_VTBL ID3D11VideoProcessorEnumerator1Vtbl* lpVtbl;
  2978. };
  2979. #ifdef COBJMACROS
  2980. #ifndef WIDL_C_INLINE_WRAPPERS
  2981. /*** IUnknown methods ***/
  2982. #define ID3D11VideoProcessorEnumerator1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2983. #define ID3D11VideoProcessorEnumerator1_AddRef(This) (This)->lpVtbl->AddRef(This)
  2984. #define ID3D11VideoProcessorEnumerator1_Release(This) (This)->lpVtbl->Release(This)
  2985. /*** ID3D11DeviceChild methods ***/
  2986. #define ID3D11VideoProcessorEnumerator1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
  2987. #define ID3D11VideoProcessorEnumerator1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
  2988. #define ID3D11VideoProcessorEnumerator1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
  2989. #define ID3D11VideoProcessorEnumerator1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
  2990. /*** ID3D11VideoProcessorEnumerator methods ***/
  2991. #define ID3D11VideoProcessorEnumerator1_GetVideoProcessorContentDesc(This,pContentDesc) (This)->lpVtbl->GetVideoProcessorContentDesc(This,pContentDesc)
  2992. #define ID3D11VideoProcessorEnumerator1_CheckVideoProcessorFormat(This,Format,pFlags) (This)->lpVtbl->CheckVideoProcessorFormat(This,Format,pFlags)
  2993. #define ID3D11VideoProcessorEnumerator1_GetVideoProcessorCaps(This,pCaps) (This)->lpVtbl->GetVideoProcessorCaps(This,pCaps)
  2994. #define ID3D11VideoProcessorEnumerator1_GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps) (This)->lpVtbl->GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps)
  2995. #define ID3D11VideoProcessorEnumerator1_GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate) (This)->lpVtbl->GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate)
  2996. #define ID3D11VideoProcessorEnumerator1_GetVideoProcessorFilterRange(This,Filter,pRange) (This)->lpVtbl->GetVideoProcessorFilterRange(This,Filter,pRange)
  2997. /*** ID3D11VideoProcessorEnumerator1 methods ***/
  2998. #define ID3D11VideoProcessorEnumerator1_CheckVideoProcessorFormatConversion(This,input_format,input_colour_space,output_format,output_colour_space,supported) (This)->lpVtbl->CheckVideoProcessorFormatConversion(This,input_format,input_colour_space,output_format,output_colour_space,supported)
  2999. #else
  3000. /*** IUnknown methods ***/
  3001. static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_QueryInterface(ID3D11VideoProcessorEnumerator1* This,REFIID riid,void **ppvObject) {
  3002. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3003. }
  3004. static FORCEINLINE ULONG ID3D11VideoProcessorEnumerator1_AddRef(ID3D11VideoProcessorEnumerator1* This) {
  3005. return This->lpVtbl->AddRef(This);
  3006. }
  3007. static FORCEINLINE ULONG ID3D11VideoProcessorEnumerator1_Release(ID3D11VideoProcessorEnumerator1* This) {
  3008. return This->lpVtbl->Release(This);
  3009. }
  3010. /*** ID3D11DeviceChild methods ***/
  3011. static FORCEINLINE void ID3D11VideoProcessorEnumerator1_GetDevice(ID3D11VideoProcessorEnumerator1* This,ID3D11Device **ppDevice) {
  3012. This->lpVtbl->GetDevice(This,ppDevice);
  3013. }
  3014. static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetPrivateData(ID3D11VideoProcessorEnumerator1* This,REFGUID guid,UINT *pDataSize,void *pData) {
  3015. return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
  3016. }
  3017. static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_SetPrivateData(ID3D11VideoProcessorEnumerator1* This,REFGUID guid,UINT DataSize,const void *pData) {
  3018. return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
  3019. }
  3020. static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_SetPrivateDataInterface(ID3D11VideoProcessorEnumerator1* This,REFGUID guid,const IUnknown *pData) {
  3021. return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
  3022. }
  3023. /*** ID3D11VideoProcessorEnumerator methods ***/
  3024. static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorContentDesc(ID3D11VideoProcessorEnumerator1* This,D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc) {
  3025. return This->lpVtbl->GetVideoProcessorContentDesc(This,pContentDesc);
  3026. }
  3027. static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_CheckVideoProcessorFormat(ID3D11VideoProcessorEnumerator1* This,DXGI_FORMAT Format,UINT *pFlags) {
  3028. return This->lpVtbl->CheckVideoProcessorFormat(This,Format,pFlags);
  3029. }
  3030. static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorCaps(ID3D11VideoProcessorEnumerator1* This,D3D11_VIDEO_PROCESSOR_CAPS *pCaps) {
  3031. return This->lpVtbl->GetVideoProcessorCaps(This,pCaps);
  3032. }
  3033. static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorRateConversionCaps(ID3D11VideoProcessorEnumerator1* This,UINT TypeIndex,D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps) {
  3034. return This->lpVtbl->GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps);
  3035. }
  3036. static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorCustomRate(ID3D11VideoProcessorEnumerator1* This,UINT TypeIndex,UINT CustomRateIndex,D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate) {
  3037. return This->lpVtbl->GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate);
  3038. }
  3039. static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorFilterRange(ID3D11VideoProcessorEnumerator1* This,D3D11_VIDEO_PROCESSOR_FILTER Filter,D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange) {
  3040. return This->lpVtbl->GetVideoProcessorFilterRange(This,Filter,pRange);
  3041. }
  3042. /*** ID3D11VideoProcessorEnumerator1 methods ***/
  3043. static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_CheckVideoProcessorFormatConversion(ID3D11VideoProcessorEnumerator1* This,DXGI_FORMAT input_format,DXGI_COLOR_SPACE_TYPE input_colour_space,DXGI_FORMAT output_format,DXGI_COLOR_SPACE_TYPE output_colour_space,WINBOOL *supported) {
  3044. return This->lpVtbl->CheckVideoProcessorFormatConversion(This,input_format,input_colour_space,output_format,output_colour_space,supported);
  3045. }
  3046. #endif
  3047. #endif
  3048. #endif
  3049. #endif /* __ID3D11VideoProcessorEnumerator1_INTERFACE_DEFINED__ */
  3050. /*****************************************************************************
  3051. * ID3DUserDefinedAnnotation interface
  3052. */
  3053. #ifndef __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__
  3054. #define __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__
  3055. DEFINE_GUID(IID_ID3DUserDefinedAnnotation, 0xb2daad8b, 0x03d4, 0x4dbf, 0x95,0xeb, 0x32,0xab,0x4b,0x63,0xd0,0xab);
  3056. #if defined(__cplusplus) && !defined(CINTERFACE)
  3057. MIDL_INTERFACE("b2daad8b-03d4-4dbf-95eb-32ab4b63d0ab")
  3058. ID3DUserDefinedAnnotation : public IUnknown
  3059. {
  3060. virtual INT STDMETHODCALLTYPE BeginEvent(
  3061. LPCWSTR Name) = 0;
  3062. virtual INT STDMETHODCALLTYPE EndEvent(
  3063. ) = 0;
  3064. virtual void STDMETHODCALLTYPE SetMarker(
  3065. LPCWSTR Name) = 0;
  3066. virtual WINBOOL STDMETHODCALLTYPE GetStatus(
  3067. ) = 0;
  3068. };
  3069. #ifdef __CRT_UUID_DECL
  3070. __CRT_UUID_DECL(ID3DUserDefinedAnnotation, 0xb2daad8b, 0x03d4, 0x4dbf, 0x95,0xeb, 0x32,0xab,0x4b,0x63,0xd0,0xab)
  3071. #endif
  3072. #else
  3073. typedef struct ID3DUserDefinedAnnotationVtbl {
  3074. BEGIN_INTERFACE
  3075. /*** IUnknown methods ***/
  3076. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3077. ID3DUserDefinedAnnotation *This,
  3078. REFIID riid,
  3079. void **ppvObject);
  3080. ULONG (STDMETHODCALLTYPE *AddRef)(
  3081. ID3DUserDefinedAnnotation *This);
  3082. ULONG (STDMETHODCALLTYPE *Release)(
  3083. ID3DUserDefinedAnnotation *This);
  3084. /*** ID3DUserDefinedAnnotation methods ***/
  3085. INT (STDMETHODCALLTYPE *BeginEvent)(
  3086. ID3DUserDefinedAnnotation *This,
  3087. LPCWSTR Name);
  3088. INT (STDMETHODCALLTYPE *EndEvent)(
  3089. ID3DUserDefinedAnnotation *This);
  3090. void (STDMETHODCALLTYPE *SetMarker)(
  3091. ID3DUserDefinedAnnotation *This,
  3092. LPCWSTR Name);
  3093. WINBOOL (STDMETHODCALLTYPE *GetStatus)(
  3094. ID3DUserDefinedAnnotation *This);
  3095. END_INTERFACE
  3096. } ID3DUserDefinedAnnotationVtbl;
  3097. interface ID3DUserDefinedAnnotation {
  3098. CONST_VTBL ID3DUserDefinedAnnotationVtbl* lpVtbl;
  3099. };
  3100. #ifdef COBJMACROS
  3101. #ifndef WIDL_C_INLINE_WRAPPERS
  3102. /*** IUnknown methods ***/
  3103. #define ID3DUserDefinedAnnotation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3104. #define ID3DUserDefinedAnnotation_AddRef(This) (This)->lpVtbl->AddRef(This)
  3105. #define ID3DUserDefinedAnnotation_Release(This) (This)->lpVtbl->Release(This)
  3106. /*** ID3DUserDefinedAnnotation methods ***/
  3107. #define ID3DUserDefinedAnnotation_BeginEvent(This,Name) (This)->lpVtbl->BeginEvent(This,Name)
  3108. #define ID3DUserDefinedAnnotation_EndEvent(This) (This)->lpVtbl->EndEvent(This)
  3109. #define ID3DUserDefinedAnnotation_SetMarker(This,Name) (This)->lpVtbl->SetMarker(This,Name)
  3110. #define ID3DUserDefinedAnnotation_GetStatus(This) (This)->lpVtbl->GetStatus(This)
  3111. #else
  3112. /*** IUnknown methods ***/
  3113. static FORCEINLINE HRESULT ID3DUserDefinedAnnotation_QueryInterface(ID3DUserDefinedAnnotation* This,REFIID riid,void **ppvObject) {
  3114. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3115. }
  3116. static FORCEINLINE ULONG ID3DUserDefinedAnnotation_AddRef(ID3DUserDefinedAnnotation* This) {
  3117. return This->lpVtbl->AddRef(This);
  3118. }
  3119. static FORCEINLINE ULONG ID3DUserDefinedAnnotation_Release(ID3DUserDefinedAnnotation* This) {
  3120. return This->lpVtbl->Release(This);
  3121. }
  3122. /*** ID3DUserDefinedAnnotation methods ***/
  3123. static FORCEINLINE INT ID3DUserDefinedAnnotation_BeginEvent(ID3DUserDefinedAnnotation* This,LPCWSTR Name) {
  3124. return This->lpVtbl->BeginEvent(This,Name);
  3125. }
  3126. static FORCEINLINE INT ID3DUserDefinedAnnotation_EndEvent(ID3DUserDefinedAnnotation* This) {
  3127. return This->lpVtbl->EndEvent(This);
  3128. }
  3129. static FORCEINLINE void ID3DUserDefinedAnnotation_SetMarker(ID3DUserDefinedAnnotation* This,LPCWSTR Name) {
  3130. This->lpVtbl->SetMarker(This,Name);
  3131. }
  3132. static FORCEINLINE WINBOOL ID3DUserDefinedAnnotation_GetStatus(ID3DUserDefinedAnnotation* This) {
  3133. return This->lpVtbl->GetStatus(This);
  3134. }
  3135. #endif
  3136. #endif
  3137. #endif
  3138. #endif /* __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__ */
  3139. /*****************************************************************************
  3140. * ID3D11RasterizerState1 interface
  3141. */
  3142. #ifndef __ID3D11RasterizerState1_INTERFACE_DEFINED__
  3143. #define __ID3D11RasterizerState1_INTERFACE_DEFINED__
  3144. DEFINE_GUID(IID_ID3D11RasterizerState1, 0x1217d7a6, 0x5039, 0x418c, 0xb0,0x42, 0x9c,0xbe,0x25,0x6a,0xfd,0x6e);
  3145. #if defined(__cplusplus) && !defined(CINTERFACE)
  3146. MIDL_INTERFACE("1217d7a6-5039-418c-b042-9cbe256afd6e")
  3147. ID3D11RasterizerState1 : public ID3D11RasterizerState
  3148. {
  3149. virtual void STDMETHODCALLTYPE GetDesc1(
  3150. D3D11_RASTERIZER_DESC1 *pDesc) = 0;
  3151. };
  3152. #ifdef __CRT_UUID_DECL
  3153. __CRT_UUID_DECL(ID3D11RasterizerState1, 0x1217d7a6, 0x5039, 0x418c, 0xb0,0x42, 0x9c,0xbe,0x25,0x6a,0xfd,0x6e)
  3154. #endif
  3155. #else
  3156. typedef struct ID3D11RasterizerState1Vtbl {
  3157. BEGIN_INTERFACE
  3158. /*** IUnknown methods ***/
  3159. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3160. ID3D11RasterizerState1 *This,
  3161. REFIID riid,
  3162. void **ppvObject);
  3163. ULONG (STDMETHODCALLTYPE *AddRef)(
  3164. ID3D11RasterizerState1 *This);
  3165. ULONG (STDMETHODCALLTYPE *Release)(
  3166. ID3D11RasterizerState1 *This);
  3167. /*** ID3D11DeviceChild methods ***/
  3168. void (STDMETHODCALLTYPE *GetDevice)(
  3169. ID3D11RasterizerState1 *This,
  3170. ID3D11Device **ppDevice);
  3171. HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
  3172. ID3D11RasterizerState1 *This,
  3173. REFGUID guid,
  3174. UINT *pDataSize,
  3175. void *pData);
  3176. HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
  3177. ID3D11RasterizerState1 *This,
  3178. REFGUID guid,
  3179. UINT DataSize,
  3180. const void *pData);
  3181. HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
  3182. ID3D11RasterizerState1 *This,
  3183. REFGUID guid,
  3184. const IUnknown *pData);
  3185. /*** ID3D11RasterizerState methods ***/
  3186. void (STDMETHODCALLTYPE *GetDesc)(
  3187. ID3D11RasterizerState1 *This,
  3188. D3D11_RASTERIZER_DESC *pDesc);
  3189. /*** ID3D11RasterizerState1 methods ***/
  3190. void (STDMETHODCALLTYPE *GetDesc1)(
  3191. ID3D11RasterizerState1 *This,
  3192. D3D11_RASTERIZER_DESC1 *pDesc);
  3193. END_INTERFACE
  3194. } ID3D11RasterizerState1Vtbl;
  3195. interface ID3D11RasterizerState1 {
  3196. CONST_VTBL ID3D11RasterizerState1Vtbl* lpVtbl;
  3197. };
  3198. #ifdef COBJMACROS
  3199. #ifndef WIDL_C_INLINE_WRAPPERS
  3200. /*** IUnknown methods ***/
  3201. #define ID3D11RasterizerState1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3202. #define ID3D11RasterizerState1_AddRef(This) (This)->lpVtbl->AddRef(This)
  3203. #define ID3D11RasterizerState1_Release(This) (This)->lpVtbl->Release(This)
  3204. /*** ID3D11DeviceChild methods ***/
  3205. #define ID3D11RasterizerState1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
  3206. #define ID3D11RasterizerState1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
  3207. #define ID3D11RasterizerState1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
  3208. #define ID3D11RasterizerState1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
  3209. /*** ID3D11RasterizerState methods ***/
  3210. #define ID3D11RasterizerState1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
  3211. /*** ID3D11RasterizerState1 methods ***/
  3212. #define ID3D11RasterizerState1_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc)
  3213. #else
  3214. /*** IUnknown methods ***/
  3215. static FORCEINLINE HRESULT ID3D11RasterizerState1_QueryInterface(ID3D11RasterizerState1* This,REFIID riid,void **ppvObject) {
  3216. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3217. }
  3218. static FORCEINLINE ULONG ID3D11RasterizerState1_AddRef(ID3D11RasterizerState1* This) {
  3219. return This->lpVtbl->AddRef(This);
  3220. }
  3221. static FORCEINLINE ULONG ID3D11RasterizerState1_Release(ID3D11RasterizerState1* This) {
  3222. return This->lpVtbl->Release(This);
  3223. }
  3224. /*** ID3D11DeviceChild methods ***/
  3225. static FORCEINLINE void ID3D11RasterizerState1_GetDevice(ID3D11RasterizerState1* This,ID3D11Device **ppDevice) {
  3226. This->lpVtbl->GetDevice(This,ppDevice);
  3227. }
  3228. static FORCEINLINE HRESULT ID3D11RasterizerState1_GetPrivateData(ID3D11RasterizerState1* This,REFGUID guid,UINT *pDataSize,void *pData) {
  3229. return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
  3230. }
  3231. static FORCEINLINE HRESULT ID3D11RasterizerState1_SetPrivateData(ID3D11RasterizerState1* This,REFGUID guid,UINT DataSize,const void *pData) {
  3232. return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
  3233. }
  3234. static FORCEINLINE HRESULT ID3D11RasterizerState1_SetPrivateDataInterface(ID3D11RasterizerState1* This,REFGUID guid,const IUnknown *pData) {
  3235. return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
  3236. }
  3237. /*** ID3D11RasterizerState methods ***/
  3238. static FORCEINLINE void ID3D11RasterizerState1_GetDesc(ID3D11RasterizerState1* This,D3D11_RASTERIZER_DESC *pDesc) {
  3239. This->lpVtbl->GetDesc(This,pDesc);
  3240. }
  3241. /*** ID3D11RasterizerState1 methods ***/
  3242. static FORCEINLINE void ID3D11RasterizerState1_GetDesc1(ID3D11RasterizerState1* This,D3D11_RASTERIZER_DESC1 *pDesc) {
  3243. This->lpVtbl->GetDesc1(This,pDesc);
  3244. }
  3245. #endif
  3246. #endif
  3247. #endif
  3248. #endif /* __ID3D11RasterizerState1_INTERFACE_DEFINED__ */
  3249. /*****************************************************************************
  3250. * ID3D11Device1 interface
  3251. */
  3252. #ifndef __ID3D11Device1_INTERFACE_DEFINED__
  3253. #define __ID3D11Device1_INTERFACE_DEFINED__
  3254. DEFINE_GUID(IID_ID3D11Device1, 0xa04bfb29, 0x08ef, 0x43d6, 0xa4,0x9c, 0xa9,0xbd,0xbd,0xcb,0xe6,0x86);
  3255. #if defined(__cplusplus) && !defined(CINTERFACE)
  3256. MIDL_INTERFACE("a04bfb29-08ef-43d6-a49c-a9bdbdcbe686")
  3257. ID3D11Device1 : public ID3D11Device
  3258. {
  3259. virtual void STDMETHODCALLTYPE GetImmediateContext1(
  3260. ID3D11DeviceContext1 **ppImmediateContext) = 0;
  3261. virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext1(
  3262. UINT ContextFlags,
  3263. ID3D11DeviceContext1 **ppDeferredContext) = 0;
  3264. virtual HRESULT STDMETHODCALLTYPE CreateBlendState1(
  3265. const D3D11_BLEND_DESC1 *pBlendStateDesc,
  3266. ID3D11BlendState1 **ppBlendState) = 0;
  3267. virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState1(
  3268. const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
  3269. ID3D11RasterizerState1 **ppRasterizerState) = 0;
  3270. virtual HRESULT STDMETHODCALLTYPE CreateDeviceContextState(
  3271. UINT Flags,
  3272. const D3D_FEATURE_LEVEL *pFeatureLevels,
  3273. UINT FeatureLevels,
  3274. UINT SDKVersion,
  3275. REFIID EmulatedInterface,
  3276. D3D_FEATURE_LEVEL *pChosenFeatureLevel,
  3277. ID3DDeviceContextState **ppContextState) = 0;
  3278. virtual HRESULT STDMETHODCALLTYPE OpenSharedResource1(
  3279. HANDLE hResource,
  3280. REFIID returnedInterface,
  3281. void **ppResource) = 0;
  3282. virtual HRESULT STDMETHODCALLTYPE OpenSharedResourceByName(
  3283. LPCWSTR lpName,
  3284. DWORD dwDesiredAccess,
  3285. REFIID returnedInterface,
  3286. void **ppResource) = 0;
  3287. };
  3288. #ifdef __CRT_UUID_DECL
  3289. __CRT_UUID_DECL(ID3D11Device1, 0xa04bfb29, 0x08ef, 0x43d6, 0xa4,0x9c, 0xa9,0xbd,0xbd,0xcb,0xe6,0x86)
  3290. #endif
  3291. #else
  3292. typedef struct ID3D11Device1Vtbl {
  3293. BEGIN_INTERFACE
  3294. /*** IUnknown methods ***/
  3295. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3296. ID3D11Device1 *This,
  3297. REFIID riid,
  3298. void **ppvObject);
  3299. ULONG (STDMETHODCALLTYPE *AddRef)(
  3300. ID3D11Device1 *This);
  3301. ULONG (STDMETHODCALLTYPE *Release)(
  3302. ID3D11Device1 *This);
  3303. /*** ID3D11Device methods ***/
  3304. HRESULT (STDMETHODCALLTYPE *CreateBuffer)(
  3305. ID3D11Device1 *This,
  3306. const D3D11_BUFFER_DESC *pDesc,
  3307. const D3D11_SUBRESOURCE_DATA *pInitialData,
  3308. ID3D11Buffer **ppBuffer);
  3309. HRESULT (STDMETHODCALLTYPE *CreateTexture1D)(
  3310. ID3D11Device1 *This,
  3311. const D3D11_TEXTURE1D_DESC *pDesc,
  3312. const D3D11_SUBRESOURCE_DATA *pInitialData,
  3313. ID3D11Texture1D **ppTexture1D);
  3314. HRESULT (STDMETHODCALLTYPE *CreateTexture2D)(
  3315. ID3D11Device1 *This,
  3316. const D3D11_TEXTURE2D_DESC *pDesc,
  3317. const D3D11_SUBRESOURCE_DATA *pInitialData,
  3318. ID3D11Texture2D **ppTexture2D);
  3319. HRESULT (STDMETHODCALLTYPE *CreateTexture3D)(
  3320. ID3D11Device1 *This,
  3321. const D3D11_TEXTURE3D_DESC *pDesc,
  3322. const D3D11_SUBRESOURCE_DATA *pInitialData,
  3323. ID3D11Texture3D **ppTexture3D);
  3324. HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)(
  3325. ID3D11Device1 *This,
  3326. ID3D11Resource *pResource,
  3327. const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
  3328. ID3D11ShaderResourceView **ppSRView);
  3329. HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView)(
  3330. ID3D11Device1 *This,
  3331. ID3D11Resource *pResource,
  3332. const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
  3333. ID3D11UnorderedAccessView **ppUAView);
  3334. HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)(
  3335. ID3D11Device1 *This,
  3336. ID3D11Resource *pResource,
  3337. const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
  3338. ID3D11RenderTargetView **ppRTView);
  3339. HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)(
  3340. ID3D11Device1 *This,
  3341. ID3D11Resource *pResource,
  3342. const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
  3343. ID3D11DepthStencilView **ppDepthStencilView);
  3344. HRESULT (STDMETHODCALLTYPE *CreateInputLayout)(
  3345. ID3D11Device1 *This,
  3346. const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
  3347. UINT NumElements,
  3348. const void *pShaderBytecodeWithInputSignature,
  3349. SIZE_T BytecodeLength,
  3350. ID3D11InputLayout **ppInputLayout);
  3351. HRESULT (STDMETHODCALLTYPE *CreateVertexShader)(
  3352. ID3D11Device1 *This,
  3353. const void *pShaderBytecode,
  3354. SIZE_T BytecodeLength,
  3355. ID3D11ClassLinkage *pClassLinkage,
  3356. ID3D11VertexShader **ppVertexShader);
  3357. HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)(
  3358. ID3D11Device1 *This,
  3359. const void *pShaderBytecode,
  3360. SIZE_T BytecodeLength,
  3361. ID3D11ClassLinkage *pClassLinkage,
  3362. ID3D11GeometryShader **ppGeometryShader);
  3363. HRESULT (STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput)(
  3364. ID3D11Device1 *This,
  3365. const void *pShaderBytecode,
  3366. SIZE_T BytecodeLength,
  3367. const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
  3368. UINT NumEntries,
  3369. const UINT *pBufferStrides,
  3370. UINT NumStrides,
  3371. UINT RasterizedStream,
  3372. ID3D11ClassLinkage *pClassLinkage,
  3373. ID3D11GeometryShader **ppGeometryShader);
  3374. HRESULT (STDMETHODCALLTYPE *CreatePixelShader)(
  3375. ID3D11Device1 *This,
  3376. const void *pShaderBytecode,
  3377. SIZE_T BytecodeLength,
  3378. ID3D11ClassLinkage *pClassLinkage,
  3379. ID3D11PixelShader **ppPixelShader);
  3380. HRESULT (STDMETHODCALLTYPE *CreateHullShader)(
  3381. ID3D11Device1 *This,
  3382. const void *pShaderBytecode,
  3383. SIZE_T BytecodeLength,
  3384. ID3D11ClassLinkage *pClassLinkage,
  3385. ID3D11HullShader **ppHullShader);
  3386. HRESULT (STDMETHODCALLTYPE *CreateDomainShader)(
  3387. ID3D11Device1 *This,
  3388. const void *pShaderBytecode,
  3389. SIZE_T BytecodeLength,
  3390. ID3D11ClassLinkage *pClassLinkage,
  3391. ID3D11DomainShader **ppDomainShader);
  3392. HRESULT (STDMETHODCALLTYPE *CreateComputeShader)(
  3393. ID3D11Device1 *This,
  3394. const void *pShaderBytecode,
  3395. SIZE_T BytecodeLength,
  3396. ID3D11ClassLinkage *pClassLinkage,
  3397. ID3D11ComputeShader **ppComputeShader);
  3398. HRESULT (STDMETHODCALLTYPE *CreateClassLinkage)(
  3399. ID3D11Device1 *This,
  3400. ID3D11ClassLinkage **ppLinkage);
  3401. HRESULT (STDMETHODCALLTYPE *CreateBlendState)(
  3402. ID3D11Device1 *This,
  3403. const D3D11_BLEND_DESC *pBlendStateDesc,
  3404. ID3D11BlendState **ppBlendState);
  3405. HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)(
  3406. ID3D11Device1 *This,
  3407. const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
  3408. ID3D11DepthStencilState **ppDepthStencilState);
  3409. HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)(
  3410. ID3D11Device1 *This,
  3411. const D3D11_RASTERIZER_DESC *pRasterizerDesc,
  3412. ID3D11RasterizerState **ppRasterizerState);
  3413. HRESULT (STDMETHODCALLTYPE *CreateSamplerState)(
  3414. ID3D11Device1 *This,
  3415. const D3D11_SAMPLER_DESC *pSamplerDesc,
  3416. ID3D11SamplerState **ppSamplerState);
  3417. HRESULT (STDMETHODCALLTYPE *CreateQuery)(
  3418. ID3D11Device1 *This,
  3419. const D3D11_QUERY_DESC *pQueryDesc,
  3420. ID3D11Query **ppQuery);
  3421. HRESULT (STDMETHODCALLTYPE *CreatePredicate)(
  3422. ID3D11Device1 *This,
  3423. const D3D11_QUERY_DESC *pPredicateDesc,
  3424. ID3D11Predicate **ppPredicate);
  3425. HRESULT (STDMETHODCALLTYPE *CreateCounter)(
  3426. ID3D11Device1 *This,
  3427. const D3D11_COUNTER_DESC *pCounterDesc,
  3428. ID3D11Counter **ppCounter);
  3429. HRESULT (STDMETHODCALLTYPE *CreateDeferredContext)(
  3430. ID3D11Device1 *This,
  3431. UINT ContextFlags,
  3432. ID3D11DeviceContext **ppDeferredContext);
  3433. HRESULT (STDMETHODCALLTYPE *OpenSharedResource)(
  3434. ID3D11Device1 *This,
  3435. HANDLE hResource,
  3436. REFIID ReturnedInterface,
  3437. void **ppResource);
  3438. HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)(
  3439. ID3D11Device1 *This,
  3440. DXGI_FORMAT Format,
  3441. UINT *pFormatSupport);
  3442. HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)(
  3443. ID3D11Device1 *This,
  3444. DXGI_FORMAT Format,
  3445. UINT SampleCount,
  3446. UINT *pNumQualityLevels);
  3447. void (STDMETHODCALLTYPE *CheckCounterInfo)(
  3448. ID3D11Device1 *This,
  3449. D3D11_COUNTER_INFO *pCounterInfo);
  3450. HRESULT (STDMETHODCALLTYPE *CheckCounter)(
  3451. ID3D11Device1 *This,
  3452. const D3D11_COUNTER_DESC *pDesc,
  3453. D3D11_COUNTER_TYPE *pType,
  3454. UINT *pActiveCounters,
  3455. LPSTR szName,
  3456. UINT *pNameLength,
  3457. LPSTR szUnits,
  3458. UINT *pUnitsLength,
  3459. LPSTR szDescription,
  3460. UINT *pDescriptionLength);
  3461. HRESULT (STDMETHODCALLTYPE *CheckFeatureSupport)(
  3462. ID3D11Device1 *This,
  3463. D3D11_FEATURE Feature,
  3464. void *pFeatureSupportData,
  3465. UINT FeatureSupportDataSize);
  3466. HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
  3467. ID3D11Device1 *This,
  3468. REFGUID guid,
  3469. UINT *pDataSize,
  3470. void *pData);
  3471. HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
  3472. ID3D11Device1 *This,
  3473. REFGUID guid,
  3474. UINT DataSize,
  3475. const void *pData);
  3476. HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
  3477. ID3D11Device1 *This,
  3478. REFGUID guid,
  3479. const IUnknown *pData);
  3480. D3D_FEATURE_LEVEL (STDMETHODCALLTYPE *GetFeatureLevel)(
  3481. ID3D11Device1 *This);
  3482. UINT (STDMETHODCALLTYPE *GetCreationFlags)(
  3483. ID3D11Device1 *This);
  3484. HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)(
  3485. ID3D11Device1 *This);
  3486. void (STDMETHODCALLTYPE *GetImmediateContext)(
  3487. ID3D11Device1 *This,
  3488. ID3D11DeviceContext **ppImmediateContext);
  3489. HRESULT (STDMETHODCALLTYPE *SetExceptionMode)(
  3490. ID3D11Device1 *This,
  3491. UINT RaiseFlags);
  3492. UINT (STDMETHODCALLTYPE *GetExceptionMode)(
  3493. ID3D11Device1 *This);
  3494. /*** ID3D11Device1 methods ***/
  3495. void (STDMETHODCALLTYPE *GetImmediateContext1)(
  3496. ID3D11Device1 *This,
  3497. ID3D11DeviceContext1 **ppImmediateContext);
  3498. HRESULT (STDMETHODCALLTYPE *CreateDeferredContext1)(
  3499. ID3D11Device1 *This,
  3500. UINT ContextFlags,
  3501. ID3D11DeviceContext1 **ppDeferredContext);
  3502. HRESULT (STDMETHODCALLTYPE *CreateBlendState1)(
  3503. ID3D11Device1 *This,
  3504. const D3D11_BLEND_DESC1 *pBlendStateDesc,
  3505. ID3D11BlendState1 **ppBlendState);
  3506. HRESULT (STDMETHODCALLTYPE *CreateRasterizerState1)(
  3507. ID3D11Device1 *This,
  3508. const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
  3509. ID3D11RasterizerState1 **ppRasterizerState);
  3510. HRESULT (STDMETHODCALLTYPE *CreateDeviceContextState)(
  3511. ID3D11Device1 *This,
  3512. UINT Flags,
  3513. const D3D_FEATURE_LEVEL *pFeatureLevels,
  3514. UINT FeatureLevels,
  3515. UINT SDKVersion,
  3516. REFIID EmulatedInterface,
  3517. D3D_FEATURE_LEVEL *pChosenFeatureLevel,
  3518. ID3DDeviceContextState **ppContextState);
  3519. HRESULT (STDMETHODCALLTYPE *OpenSharedResource1)(
  3520. ID3D11Device1 *This,
  3521. HANDLE hResource,
  3522. REFIID returnedInterface,
  3523. void **ppResource);
  3524. HRESULT (STDMETHODCALLTYPE *OpenSharedResourceByName)(
  3525. ID3D11Device1 *This,
  3526. LPCWSTR lpName,
  3527. DWORD dwDesiredAccess,
  3528. REFIID returnedInterface,
  3529. void **ppResource);
  3530. END_INTERFACE
  3531. } ID3D11Device1Vtbl;
  3532. interface ID3D11Device1 {
  3533. CONST_VTBL ID3D11Device1Vtbl* lpVtbl;
  3534. };
  3535. #ifdef COBJMACROS
  3536. #ifndef WIDL_C_INLINE_WRAPPERS
  3537. /*** IUnknown methods ***/
  3538. #define ID3D11Device1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3539. #define ID3D11Device1_AddRef(This) (This)->lpVtbl->AddRef(This)
  3540. #define ID3D11Device1_Release(This) (This)->lpVtbl->Release(This)
  3541. /*** ID3D11Device methods ***/
  3542. #define ID3D11Device1_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer)
  3543. #define ID3D11Device1_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D)
  3544. #define ID3D11Device1_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D)
  3545. #define ID3D11Device1_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D)
  3546. #define ID3D11Device1_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView)
  3547. #define ID3D11Device1_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) (This)->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView)
  3548. #define ID3D11Device1_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView)
  3549. #define ID3D11Device1_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView)
  3550. #define ID3D11Device1_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout)
  3551. #define ID3D11Device1_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader)
  3552. #define ID3D11Device1_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader)
  3553. #define ID3D11Device1_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader)
  3554. #define ID3D11Device1_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader)
  3555. #define ID3D11Device1_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) (This)->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader)
  3556. #define ID3D11Device1_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) (This)->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader)
  3557. #define ID3D11Device1_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) (This)->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader)
  3558. #define ID3D11Device1_CreateClassLinkage(This,ppLinkage) (This)->lpVtbl->CreateClassLinkage(This,ppLinkage)
  3559. #define ID3D11Device1_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState)
  3560. #define ID3D11Device1_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState)
  3561. #define ID3D11Device1_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState)
  3562. #define ID3D11Device1_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState)
  3563. #define ID3D11Device1_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery)
  3564. #define ID3D11Device1_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate)
  3565. #define ID3D11Device1_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter)
  3566. #define ID3D11Device1_CreateDeferredContext(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext)
  3567. #define ID3D11Device1_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource)
  3568. #define ID3D11Device1_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport)
  3569. #define ID3D11Device1_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels)
  3570. #define ID3D11Device1_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo)
  3571. #define ID3D11Device1_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) (This)->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength)
  3572. #define ID3D11Device1_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) (This)->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize)
  3573. #define ID3D11Device1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
  3574. #define ID3D11Device1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
  3575. #define ID3D11Device1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
  3576. #define ID3D11Device1_GetFeatureLevel(This) (This)->lpVtbl->GetFeatureLevel(This)
  3577. #define ID3D11Device1_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This)
  3578. #define ID3D11Device1_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This)
  3579. #define ID3D11Device1_GetImmediateContext(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext(This,ppImmediateContext)
  3580. #define ID3D11Device1_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags)
  3581. #define ID3D11Device1_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This)
  3582. /*** ID3D11Device1 methods ***/
  3583. #define ID3D11Device1_GetImmediateContext1(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext1(This,ppImmediateContext)
  3584. #define ID3D11Device1_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext)
  3585. #define ID3D11Device1_CreateBlendState1(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState)
  3586. #define ID3D11Device1_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState)
  3587. #define ID3D11Device1_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) (This)->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState)
  3588. #define ID3D11Device1_OpenSharedResource1(This,hResource,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource)
  3589. #define ID3D11Device1_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource)
  3590. #else
  3591. /*** IUnknown methods ***/
  3592. static FORCEINLINE HRESULT ID3D11Device1_QueryInterface(ID3D11Device1* This,REFIID riid,void **ppvObject) {
  3593. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3594. }
  3595. static FORCEINLINE ULONG ID3D11Device1_AddRef(ID3D11Device1* This) {
  3596. return This->lpVtbl->AddRef(This);
  3597. }
  3598. static FORCEINLINE ULONG ID3D11Device1_Release(ID3D11Device1* This) {
  3599. return This->lpVtbl->Release(This);
  3600. }
  3601. /*** ID3D11Device methods ***/
  3602. static FORCEINLINE HRESULT ID3D11Device1_CreateBuffer(ID3D11Device1* This,const D3D11_BUFFER_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Buffer **ppBuffer) {
  3603. return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer);
  3604. }
  3605. static FORCEINLINE HRESULT ID3D11Device1_CreateTexture1D(ID3D11Device1* This,const D3D11_TEXTURE1D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture1D **ppTexture1D) {
  3606. return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D);
  3607. }
  3608. static FORCEINLINE HRESULT ID3D11Device1_CreateTexture2D(ID3D11Device1* This,const D3D11_TEXTURE2D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture2D **ppTexture2D) {
  3609. return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D);
  3610. }
  3611. static FORCEINLINE HRESULT ID3D11Device1_CreateTexture3D(ID3D11Device1* This,const D3D11_TEXTURE3D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture3D **ppTexture3D) {
  3612. return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D);
  3613. }
  3614. static FORCEINLINE HRESULT ID3D11Device1_CreateShaderResourceView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D11ShaderResourceView **ppSRView) {
  3615. return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView);
  3616. }
  3617. static FORCEINLINE HRESULT ID3D11Device1_CreateUnorderedAccessView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,ID3D11UnorderedAccessView **ppUAView) {
  3618. return This->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView);
  3619. }
  3620. static FORCEINLINE HRESULT ID3D11Device1_CreateRenderTargetView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,ID3D11RenderTargetView **ppRTView) {
  3621. return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView);
  3622. }
  3623. static FORCEINLINE HRESULT ID3D11Device1_CreateDepthStencilView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D11DepthStencilView **ppDepthStencilView) {
  3624. return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView);
  3625. }
  3626. static FORCEINLINE HRESULT ID3D11Device1_CreateInputLayout(ID3D11Device1* This,const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D11InputLayout **ppInputLayout) {
  3627. return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout);
  3628. }
  3629. static FORCEINLINE HRESULT ID3D11Device1_CreateVertexShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11VertexShader **ppVertexShader) {
  3630. return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader);
  3631. }
  3632. static FORCEINLINE HRESULT ID3D11Device1_CreateGeometryShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) {
  3633. return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader);
  3634. }
  3635. static FORCEINLINE HRESULT ID3D11Device1_CreateGeometryShaderWithStreamOutput(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,UINT NumEntries,const UINT *pBufferStrides,UINT NumStrides,UINT RasterizedStream,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) {
  3636. return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader);
  3637. }
  3638. static FORCEINLINE HRESULT ID3D11Device1_CreatePixelShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11PixelShader **ppPixelShader) {
  3639. return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader);
  3640. }
  3641. static FORCEINLINE HRESULT ID3D11Device1_CreateHullShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11HullShader **ppHullShader) {
  3642. return This->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader);
  3643. }
  3644. static FORCEINLINE HRESULT ID3D11Device1_CreateDomainShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11DomainShader **ppDomainShader) {
  3645. return This->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader);
  3646. }
  3647. static FORCEINLINE HRESULT ID3D11Device1_CreateComputeShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11ComputeShader **ppComputeShader) {
  3648. return This->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader);
  3649. }
  3650. static FORCEINLINE HRESULT ID3D11Device1_CreateClassLinkage(ID3D11Device1* This,ID3D11ClassLinkage **ppLinkage) {
  3651. return This->lpVtbl->CreateClassLinkage(This,ppLinkage);
  3652. }
  3653. static FORCEINLINE HRESULT ID3D11Device1_CreateBlendState(ID3D11Device1* This,const D3D11_BLEND_DESC *pBlendStateDesc,ID3D11BlendState **ppBlendState) {
  3654. return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState);
  3655. }
  3656. static FORCEINLINE HRESULT ID3D11Device1_CreateDepthStencilState(ID3D11Device1* This,const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D11DepthStencilState **ppDepthStencilState) {
  3657. return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState);
  3658. }
  3659. static FORCEINLINE HRESULT ID3D11Device1_CreateRasterizerState(ID3D11Device1* This,const D3D11_RASTERIZER_DESC *pRasterizerDesc,ID3D11RasterizerState **ppRasterizerState) {
  3660. return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState);
  3661. }
  3662. static FORCEINLINE HRESULT ID3D11Device1_CreateSamplerState(ID3D11Device1* This,const D3D11_SAMPLER_DESC *pSamplerDesc,ID3D11SamplerState **ppSamplerState) {
  3663. return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState);
  3664. }
  3665. static FORCEINLINE HRESULT ID3D11Device1_CreateQuery(ID3D11Device1* This,const D3D11_QUERY_DESC *pQueryDesc,ID3D11Query **ppQuery) {
  3666. return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery);
  3667. }
  3668. static FORCEINLINE HRESULT ID3D11Device1_CreatePredicate(ID3D11Device1* This,const D3D11_QUERY_DESC *pPredicateDesc,ID3D11Predicate **ppPredicate) {
  3669. return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate);
  3670. }
  3671. static FORCEINLINE HRESULT ID3D11Device1_CreateCounter(ID3D11Device1* This,const D3D11_COUNTER_DESC *pCounterDesc,ID3D11Counter **ppCounter) {
  3672. return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter);
  3673. }
  3674. static FORCEINLINE HRESULT ID3D11Device1_CreateDeferredContext(ID3D11Device1* This,UINT ContextFlags,ID3D11DeviceContext **ppDeferredContext) {
  3675. return This->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext);
  3676. }
  3677. static FORCEINLINE HRESULT ID3D11Device1_OpenSharedResource(ID3D11Device1* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) {
  3678. return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource);
  3679. }
  3680. static FORCEINLINE HRESULT ID3D11Device1_CheckFormatSupport(ID3D11Device1* This,DXGI_FORMAT Format,UINT *pFormatSupport) {
  3681. return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport);
  3682. }
  3683. static FORCEINLINE HRESULT ID3D11Device1_CheckMultisampleQualityLevels(ID3D11Device1* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) {
  3684. return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels);
  3685. }
  3686. static FORCEINLINE void ID3D11Device1_CheckCounterInfo(ID3D11Device1* This,D3D11_COUNTER_INFO *pCounterInfo) {
  3687. This->lpVtbl->CheckCounterInfo(This,pCounterInfo);
  3688. }
  3689. static FORCEINLINE HRESULT ID3D11Device1_CheckCounter(ID3D11Device1* This,const D3D11_COUNTER_DESC *pDesc,D3D11_COUNTER_TYPE *pType,UINT *pActiveCounters,LPSTR szName,UINT *pNameLength,LPSTR szUnits,UINT *pUnitsLength,LPSTR szDescription,UINT *pDescriptionLength) {
  3690. return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength);
  3691. }
  3692. static FORCEINLINE HRESULT ID3D11Device1_CheckFeatureSupport(ID3D11Device1* This,D3D11_FEATURE Feature,void *pFeatureSupportData,UINT FeatureSupportDataSize) {
  3693. return This->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize);
  3694. }
  3695. static FORCEINLINE HRESULT ID3D11Device1_GetPrivateData(ID3D11Device1* This,REFGUID guid,UINT *pDataSize,void *pData) {
  3696. return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
  3697. }
  3698. static FORCEINLINE HRESULT ID3D11Device1_SetPrivateData(ID3D11Device1* This,REFGUID guid,UINT DataSize,const void *pData) {
  3699. return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
  3700. }
  3701. static FORCEINLINE HRESULT ID3D11Device1_SetPrivateDataInterface(ID3D11Device1* This,REFGUID guid,const IUnknown *pData) {
  3702. return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
  3703. }
  3704. static FORCEINLINE D3D_FEATURE_LEVEL ID3D11Device1_GetFeatureLevel(ID3D11Device1* This) {
  3705. return This->lpVtbl->GetFeatureLevel(This);
  3706. }
  3707. static FORCEINLINE UINT ID3D11Device1_GetCreationFlags(ID3D11Device1* This) {
  3708. return This->lpVtbl->GetCreationFlags(This);
  3709. }
  3710. static FORCEINLINE HRESULT ID3D11Device1_GetDeviceRemovedReason(ID3D11Device1* This) {
  3711. return This->lpVtbl->GetDeviceRemovedReason(This);
  3712. }
  3713. static FORCEINLINE void ID3D11Device1_GetImmediateContext(ID3D11Device1* This,ID3D11DeviceContext **ppImmediateContext) {
  3714. This->lpVtbl->GetImmediateContext(This,ppImmediateContext);
  3715. }
  3716. static FORCEINLINE HRESULT ID3D11Device1_SetExceptionMode(ID3D11Device1* This,UINT RaiseFlags) {
  3717. return This->lpVtbl->SetExceptionMode(This,RaiseFlags);
  3718. }
  3719. static FORCEINLINE UINT ID3D11Device1_GetExceptionMode(ID3D11Device1* This) {
  3720. return This->lpVtbl->GetExceptionMode(This);
  3721. }
  3722. /*** ID3D11Device1 methods ***/
  3723. static FORCEINLINE void ID3D11Device1_GetImmediateContext1(ID3D11Device1* This,ID3D11DeviceContext1 **ppImmediateContext) {
  3724. This->lpVtbl->GetImmediateContext1(This,ppImmediateContext);
  3725. }
  3726. static FORCEINLINE HRESULT ID3D11Device1_CreateDeferredContext1(ID3D11Device1* This,UINT ContextFlags,ID3D11DeviceContext1 **ppDeferredContext) {
  3727. return This->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext);
  3728. }
  3729. static FORCEINLINE HRESULT ID3D11Device1_CreateBlendState1(ID3D11Device1* This,const D3D11_BLEND_DESC1 *pBlendStateDesc,ID3D11BlendState1 **ppBlendState) {
  3730. return This->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState);
  3731. }
  3732. static FORCEINLINE HRESULT ID3D11Device1_CreateRasterizerState1(ID3D11Device1* This,const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,ID3D11RasterizerState1 **ppRasterizerState) {
  3733. return This->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState);
  3734. }
  3735. static FORCEINLINE HRESULT ID3D11Device1_CreateDeviceContextState(ID3D11Device1* This,UINT Flags,const D3D_FEATURE_LEVEL *pFeatureLevels,UINT FeatureLevels,UINT SDKVersion,REFIID EmulatedInterface,D3D_FEATURE_LEVEL *pChosenFeatureLevel,ID3DDeviceContextState **ppContextState) {
  3736. return This->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState);
  3737. }
  3738. static FORCEINLINE HRESULT ID3D11Device1_OpenSharedResource1(ID3D11Device1* This,HANDLE hResource,REFIID returnedInterface,void **ppResource) {
  3739. return This->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource);
  3740. }
  3741. static FORCEINLINE HRESULT ID3D11Device1_OpenSharedResourceByName(ID3D11Device1* This,LPCWSTR lpName,DWORD dwDesiredAccess,REFIID returnedInterface,void **ppResource) {
  3742. return This->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource);
  3743. }
  3744. #endif
  3745. #endif
  3746. #endif
  3747. #endif /* __ID3D11Device1_INTERFACE_DEFINED__ */
  3748. /* Begin additional prototypes for all interfaces */
  3749. /* End additional prototypes */
  3750. #ifdef __cplusplus
  3751. }
  3752. #endif
  3753. #endif /* __d3d11_1_h__ */