123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230 |
- /*** Autogenerated by WIDL 7.7 from include/d3d11_1.idl - Do not edit ***/
- #ifdef _WIN32
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- #include <rpc.h>
- #include <rpcndr.h>
- #endif
- #ifndef COM_NO_WINDOWS_H
- #include <windows.h>
- #include <ole2.h>
- #endif
- #ifndef __d3d11_1_h__
- #define __d3d11_1_h__
- /* Forward declarations */
- #ifndef __ID3D11BlendState1_FWD_DEFINED__
- #define __ID3D11BlendState1_FWD_DEFINED__
- typedef interface ID3D11BlendState1 ID3D11BlendState1;
- #ifdef __cplusplus
- interface ID3D11BlendState1;
- #endif /* __cplusplus */
- #endif
- #ifndef __ID3DDeviceContextState_FWD_DEFINED__
- #define __ID3DDeviceContextState_FWD_DEFINED__
- typedef interface ID3DDeviceContextState ID3DDeviceContextState;
- #ifdef __cplusplus
- interface ID3DDeviceContextState;
- #endif /* __cplusplus */
- #endif
- #ifndef __ID3D11DeviceContext1_FWD_DEFINED__
- #define __ID3D11DeviceContext1_FWD_DEFINED__
- typedef interface ID3D11DeviceContext1 ID3D11DeviceContext1;
- #ifdef __cplusplus
- interface ID3D11DeviceContext1;
- #endif /* __cplusplus */
- #endif
- #ifndef __ID3D11VideoContext1_FWD_DEFINED__
- #define __ID3D11VideoContext1_FWD_DEFINED__
- typedef interface ID3D11VideoContext1 ID3D11VideoContext1;
- #ifdef __cplusplus
- interface ID3D11VideoContext1;
- #endif /* __cplusplus */
- #endif
- #ifndef __ID3D11VideoDevice1_FWD_DEFINED__
- #define __ID3D11VideoDevice1_FWD_DEFINED__
- typedef interface ID3D11VideoDevice1 ID3D11VideoDevice1;
- #ifdef __cplusplus
- interface ID3D11VideoDevice1;
- #endif /* __cplusplus */
- #endif
- #ifndef __ID3D11VideoProcessorEnumerator1_FWD_DEFINED__
- #define __ID3D11VideoProcessorEnumerator1_FWD_DEFINED__
- typedef interface ID3D11VideoProcessorEnumerator1 ID3D11VideoProcessorEnumerator1;
- #ifdef __cplusplus
- interface ID3D11VideoProcessorEnumerator1;
- #endif /* __cplusplus */
- #endif
- #ifndef __ID3DUserDefinedAnnotation_FWD_DEFINED__
- #define __ID3DUserDefinedAnnotation_FWD_DEFINED__
- typedef interface ID3DUserDefinedAnnotation ID3DUserDefinedAnnotation;
- #ifdef __cplusplus
- interface ID3DUserDefinedAnnotation;
- #endif /* __cplusplus */
- #endif
- #ifndef __ID3D11RasterizerState1_FWD_DEFINED__
- #define __ID3D11RasterizerState1_FWD_DEFINED__
- typedef interface ID3D11RasterizerState1 ID3D11RasterizerState1;
- #ifdef __cplusplus
- interface ID3D11RasterizerState1;
- #endif /* __cplusplus */
- #endif
- #ifndef __ID3D11Device1_FWD_DEFINED__
- #define __ID3D11Device1_FWD_DEFINED__
- typedef interface ID3D11Device1 ID3D11Device1;
- #ifdef __cplusplus
- interface ID3D11Device1;
- #endif /* __cplusplus */
- #endif
- /* Headers for imported files */
- #include <oaidl.h>
- #include <ocidl.h>
- #include <dxgi1_2.h>
- #include <d3dcommon.h>
- #include <d3d11.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- typedef enum D3D11_LOGIC_OP {
- D3D11_LOGIC_OP_CLEAR = 0,
- D3D11_LOGIC_OP_SET = 1,
- D3D11_LOGIC_OP_COPY = 2,
- D3D11_LOGIC_OP_COPY_INVERTED = 3,
- D3D11_LOGIC_OP_NOOP = 4,
- D3D11_LOGIC_OP_INVERT = 5,
- D3D11_LOGIC_OP_AND = 6,
- D3D11_LOGIC_OP_NAND = 7,
- D3D11_LOGIC_OP_OR = 8,
- D3D11_LOGIC_OP_NOR = 9,
- D3D11_LOGIC_OP_XOR = 10,
- D3D11_LOGIC_OP_EQUIV = 11,
- D3D11_LOGIC_OP_AND_REVERSE = 12,
- D3D11_LOGIC_OP_AND_INVERTED = 13,
- D3D11_LOGIC_OP_OR_REVERSE = 14,
- D3D11_LOGIC_OP_OR_INVERTED = 15
- } D3D11_LOGIC_OP;
- typedef enum D3D11_COPY_FLAGS {
- D3D11_COPY_NO_OVERWRITE = 0x1,
- D3D11_COPY_DISCARD = 0x2
- } D3D11_COPY_FLAGS;
- typedef enum D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG {
- D3D11_1_CREATE_DEVICE_CONTEXT_STATE_SINGLETHREADED = 0x1
- } D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG;
- typedef enum D3D11_VIDEO_DECODER_CAPS {
- D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE = 0x1,
- D3D11_VIDEO_DECODER_CAPS_NON_REAL_TIME = 0x2,
- D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_DYNAMIC = 0x4,
- D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_REQUIRED = 0x8,
- D3D11_VIDEO_DECODER_CAPS_UNSUPPORTED = 0x10
- } D3D11_VIDEO_DECODER_CAPS;
- typedef enum D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS {
- D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_ROTATION = 0x1,
- D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_RESIZE = 0x2,
- D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_COLOR_SPACE_CONVERSION = 0x4,
- D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_TRIPLE_BUFFER_OUTPUT = 0x8
- } D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS;
- typedef enum D3D11_CRYPTO_SESSION_STATUS {
- D3D11_CRYPTO_SESSION_STATUS_OK = 0x0,
- D3D11_CRYPTO_SESSION_STATUS_KEY_LOST = 0x1,
- D3D11_CRYPTO_SESSION_STATUS_KEY_AND_CONTENT_LOST = 0x2
- } D3D11_CRYPTO_SESSION_STATUS;
- typedef struct D3D11_RENDER_TARGET_BLEND_DESC1 {
- WINBOOL BlendEnable;
- WINBOOL LogicOpEnable;
- D3D11_BLEND SrcBlend;
- D3D11_BLEND DestBlend;
- D3D11_BLEND_OP BlendOp;
- D3D11_BLEND SrcBlendAlpha;
- D3D11_BLEND DestBlendAlpha;
- D3D11_BLEND_OP BlendOpAlpha;
- D3D11_LOGIC_OP LogicOp;
- UINT8 RenderTargetWriteMask;
- } D3D11_RENDER_TARGET_BLEND_DESC1;
- typedef struct D3D11_BLEND_DESC1 {
- WINBOOL AlphaToCoverageEnable;
- WINBOOL IndependentBlendEnable;
- D3D11_RENDER_TARGET_BLEND_DESC1 RenderTarget[8];
- } D3D11_BLEND_DESC1;
- typedef struct D3D11_RASTERIZER_DESC1 {
- D3D11_FILL_MODE FillMode;
- D3D11_CULL_MODE CullMode;
- WINBOOL FrontCounterClockwise;
- INT DepthBias;
- FLOAT DepthBiasClamp;
- FLOAT SlopeScaledDepthBias;
- WINBOOL DepthClipEnable;
- WINBOOL ScissorEnable;
- WINBOOL MultisampleEnable;
- WINBOOL AntialiasedLineEnable;
- UINT ForcedSampleCount;
- } D3D11_RASTERIZER_DESC1;
- typedef struct D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK {
- UINT ClearSize;
- UINT EncryptedSize;
- } D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK;
- typedef struct D3D11_VIDEO_DECODER_BUFFER_DESC1 {
- D3D11_VIDEO_DECODER_BUFFER_TYPE BufferType;
- UINT DataOffset;
- UINT DataSize;
- void *pIV;
- UINT IVSize;
- D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK *pSubSampleMappingBlock;
- UINT SubSampleMappingCount;
- } D3D11_VIDEO_DECODER_BUFFER_DESC1;
- typedef struct D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION {
- ID3D11CryptoSession *pCryptoSession;
- UINT BlobSize;
- void *pBlob;
- GUID *pKeyInfoId;
- UINT PrivateDataSize;
- void *pPrivateData;
- } D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION;
- typedef struct D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT {
- WINBOOL Enable;
- UINT Width;
- UINT Height;
- DXGI_FORMAT Format;
- } D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT;
- typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA {
- UINT PrivateDataSize;
- UINT HWProtectionDataSize;
- BYTE pbInput[4];
- } D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA;
- typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA {
- UINT PrivateDataSize;
- UINT MaxHWProtectionDataSize;
- UINT HWProtectionDataSize;
- UINT64 TransportTime;
- UINT64 ExecutionTime;
- BYTE pbOutput[4];
- } D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA;
- typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA {
- UINT HWProtectionFunctionID;
- D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA *pInputData;
- D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA *pOutputData;
- HRESULT Status;
- } D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA;
- typedef struct D3D11_VIDEO_SAMPLE_DESC {
- UINT Width;
- UINT Height;
- DXGI_FORMAT Format;
- DXGI_COLOR_SPACE_TYPE ColorSpace;
- } D3D11_VIDEO_SAMPLE_DESC;
- /*****************************************************************************
- * ID3D11BlendState1 interface
- */
- #ifndef __ID3D11BlendState1_INTERFACE_DEFINED__
- #define __ID3D11BlendState1_INTERFACE_DEFINED__
- DEFINE_GUID(IID_ID3D11BlendState1, 0xcc86fabe, 0xda55, 0x401d, 0x85,0xe7, 0xe3,0xc9,0xde,0x28,0x77,0xe9);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("cc86fabe-da55-401d-85e7-e3c9de2877e9")
- ID3D11BlendState1 : public ID3D11BlendState
- {
- virtual void STDMETHODCALLTYPE GetDesc1(
- D3D11_BLEND_DESC1 *pDesc) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(ID3D11BlendState1, 0xcc86fabe, 0xda55, 0x401d, 0x85,0xe7, 0xe3,0xc9,0xde,0x28,0x77,0xe9)
- #endif
- #else
- typedef struct ID3D11BlendState1Vtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- ID3D11BlendState1 *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- ID3D11BlendState1 *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- ID3D11BlendState1 *This);
- /*** ID3D11DeviceChild methods ***/
- void (STDMETHODCALLTYPE *GetDevice)(
- ID3D11BlendState1 *This,
- ID3D11Device **ppDevice);
- HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
- ID3D11BlendState1 *This,
- REFGUID guid,
- UINT *pDataSize,
- void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
- ID3D11BlendState1 *This,
- REFGUID guid,
- UINT DataSize,
- const void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
- ID3D11BlendState1 *This,
- REFGUID guid,
- const IUnknown *pData);
- /*** ID3D11BlendState methods ***/
- void (STDMETHODCALLTYPE *GetDesc)(
- ID3D11BlendState1 *This,
- D3D11_BLEND_DESC *pDesc);
- /*** ID3D11BlendState1 methods ***/
- void (STDMETHODCALLTYPE *GetDesc1)(
- ID3D11BlendState1 *This,
- D3D11_BLEND_DESC1 *pDesc);
- END_INTERFACE
- } ID3D11BlendState1Vtbl;
- interface ID3D11BlendState1 {
- CONST_VTBL ID3D11BlendState1Vtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define ID3D11BlendState1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define ID3D11BlendState1_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define ID3D11BlendState1_Release(This) (This)->lpVtbl->Release(This)
- /*** ID3D11DeviceChild methods ***/
- #define ID3D11BlendState1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
- #define ID3D11BlendState1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
- #define ID3D11BlendState1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
- #define ID3D11BlendState1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
- /*** ID3D11BlendState methods ***/
- #define ID3D11BlendState1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
- /*** ID3D11BlendState1 methods ***/
- #define ID3D11BlendState1_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT ID3D11BlendState1_QueryInterface(ID3D11BlendState1* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG ID3D11BlendState1_AddRef(ID3D11BlendState1* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG ID3D11BlendState1_Release(ID3D11BlendState1* This) {
- return This->lpVtbl->Release(This);
- }
- /*** ID3D11DeviceChild methods ***/
- static FORCEINLINE void ID3D11BlendState1_GetDevice(ID3D11BlendState1* This,ID3D11Device **ppDevice) {
- This->lpVtbl->GetDevice(This,ppDevice);
- }
- static FORCEINLINE HRESULT ID3D11BlendState1_GetPrivateData(ID3D11BlendState1* This,REFGUID guid,UINT *pDataSize,void *pData) {
- return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11BlendState1_SetPrivateData(ID3D11BlendState1* This,REFGUID guid,UINT DataSize,const void *pData) {
- return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11BlendState1_SetPrivateDataInterface(ID3D11BlendState1* This,REFGUID guid,const IUnknown *pData) {
- return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
- }
- /*** ID3D11BlendState methods ***/
- static FORCEINLINE void ID3D11BlendState1_GetDesc(ID3D11BlendState1* This,D3D11_BLEND_DESC *pDesc) {
- This->lpVtbl->GetDesc(This,pDesc);
- }
- /*** ID3D11BlendState1 methods ***/
- static FORCEINLINE void ID3D11BlendState1_GetDesc1(ID3D11BlendState1* This,D3D11_BLEND_DESC1 *pDesc) {
- This->lpVtbl->GetDesc1(This,pDesc);
- }
- #endif
- #endif
- #endif
- #endif /* __ID3D11BlendState1_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * ID3DDeviceContextState interface
- */
- #ifndef __ID3DDeviceContextState_INTERFACE_DEFINED__
- #define __ID3DDeviceContextState_INTERFACE_DEFINED__
- DEFINE_GUID(IID_ID3DDeviceContextState, 0x5c1e0d8a, 0x7c23, 0x48f9, 0x8c,0x59, 0xa9,0x29,0x58,0xce,0xff,0x11);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("5c1e0d8a-7c23-48f9-8c59-a92958ceff11")
- ID3DDeviceContextState : public ID3D11DeviceChild
- {
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(ID3DDeviceContextState, 0x5c1e0d8a, 0x7c23, 0x48f9, 0x8c,0x59, 0xa9,0x29,0x58,0xce,0xff,0x11)
- #endif
- #else
- typedef struct ID3DDeviceContextStateVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- ID3DDeviceContextState *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- ID3DDeviceContextState *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- ID3DDeviceContextState *This);
- /*** ID3D11DeviceChild methods ***/
- void (STDMETHODCALLTYPE *GetDevice)(
- ID3DDeviceContextState *This,
- ID3D11Device **ppDevice);
- HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
- ID3DDeviceContextState *This,
- REFGUID guid,
- UINT *pDataSize,
- void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
- ID3DDeviceContextState *This,
- REFGUID guid,
- UINT DataSize,
- const void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
- ID3DDeviceContextState *This,
- REFGUID guid,
- const IUnknown *pData);
- END_INTERFACE
- } ID3DDeviceContextStateVtbl;
- interface ID3DDeviceContextState {
- CONST_VTBL ID3DDeviceContextStateVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define ID3DDeviceContextState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define ID3DDeviceContextState_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define ID3DDeviceContextState_Release(This) (This)->lpVtbl->Release(This)
- /*** ID3D11DeviceChild methods ***/
- #define ID3DDeviceContextState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
- #define ID3DDeviceContextState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
- #define ID3DDeviceContextState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
- #define ID3DDeviceContextState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT ID3DDeviceContextState_QueryInterface(ID3DDeviceContextState* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG ID3DDeviceContextState_AddRef(ID3DDeviceContextState* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG ID3DDeviceContextState_Release(ID3DDeviceContextState* This) {
- return This->lpVtbl->Release(This);
- }
- /*** ID3D11DeviceChild methods ***/
- static FORCEINLINE void ID3DDeviceContextState_GetDevice(ID3DDeviceContextState* This,ID3D11Device **ppDevice) {
- This->lpVtbl->GetDevice(This,ppDevice);
- }
- static FORCEINLINE HRESULT ID3DDeviceContextState_GetPrivateData(ID3DDeviceContextState* This,REFGUID guid,UINT *pDataSize,void *pData) {
- return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
- }
- static FORCEINLINE HRESULT ID3DDeviceContextState_SetPrivateData(ID3DDeviceContextState* This,REFGUID guid,UINT DataSize,const void *pData) {
- return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
- }
- static FORCEINLINE HRESULT ID3DDeviceContextState_SetPrivateDataInterface(ID3DDeviceContextState* This,REFGUID guid,const IUnknown *pData) {
- return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
- }
- #endif
- #endif
- #endif
- #endif /* __ID3DDeviceContextState_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * ID3D11DeviceContext1 interface
- */
- #ifndef __ID3D11DeviceContext1_INTERFACE_DEFINED__
- #define __ID3D11DeviceContext1_INTERFACE_DEFINED__
- DEFINE_GUID(IID_ID3D11DeviceContext1, 0xbb2c6faa, 0xb5fb, 0x4082, 0x8e,0x6b, 0x38,0x8b,0x8c,0xfa,0x90,0xe1);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("bb2c6faa-b5fb-4082-8e6b-388b8cfa90e1")
- ID3D11DeviceContext1 : public ID3D11DeviceContext
- {
- virtual void STDMETHODCALLTYPE CopySubresourceRegion1(
- ID3D11Resource *pDstResource,
- UINT DstSubresource,
- UINT DstX,
- UINT DstY,
- UINT DstZ,
- ID3D11Resource *pSrcResource,
- UINT SrcSubresource,
- const D3D11_BOX *pSrcBox,
- UINT CopyFlags) = 0;
- virtual void STDMETHODCALLTYPE UpdateSubresource1(
- ID3D11Resource *pDstResource,
- UINT DstSubresource,
- const D3D11_BOX *pDstBox,
- const void *pSrcData,
- UINT SrcRowPitch,
- UINT SrcDepthPitch,
- UINT CopyFlags) = 0;
- virtual void STDMETHODCALLTYPE DiscardResource(
- ID3D11Resource *pResource) = 0;
- virtual void STDMETHODCALLTYPE DiscardView(
- ID3D11View *pResourceView) = 0;
- virtual void STDMETHODCALLTYPE VSSetConstantBuffers1(
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers,
- const UINT *pFirstConstant,
- const UINT *pNumConstants) = 0;
- virtual void STDMETHODCALLTYPE HSSetConstantBuffers1(
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers,
- const UINT *pFirstConstant,
- const UINT *pNumConstants) = 0;
- virtual void STDMETHODCALLTYPE DSSetConstantBuffers1(
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers,
- const UINT *pFirstConstant,
- const UINT *pNumConstants) = 0;
- virtual void STDMETHODCALLTYPE GSSetConstantBuffers1(
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers,
- const UINT *pFirstConstant,
- const UINT *pNumConstants) = 0;
- virtual void STDMETHODCALLTYPE PSSetConstantBuffers1(
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers,
- const UINT *pFirstConstant,
- const UINT *pNumConstants) = 0;
- virtual void STDMETHODCALLTYPE CSSetConstantBuffers1(
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers,
- const UINT *pFirstConstant,
- const UINT *pNumConstants) = 0;
- virtual void STDMETHODCALLTYPE VSGetConstantBuffers1(
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers,
- UINT *pFirstConstant,
- UINT *pNumConstants) = 0;
- virtual void STDMETHODCALLTYPE HSGetConstantBuffers1(
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers,
- UINT *pFirstConstant,
- UINT *pNumConstants) = 0;
- virtual void STDMETHODCALLTYPE DSGetConstantBuffers1(
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers,
- UINT *pFirstConstant,
- UINT *pNumConstants) = 0;
- virtual void STDMETHODCALLTYPE GSGetConstantBuffers1(
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers,
- UINT *pFirstConstant,
- UINT *pNumConstants) = 0;
- virtual void STDMETHODCALLTYPE PSGetConstantBuffers1(
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers,
- UINT *pFirstConstant,
- UINT *pNumConstants) = 0;
- virtual void STDMETHODCALLTYPE CSGetConstantBuffers1(
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers,
- UINT *pFirstConstant,
- UINT *pNumConstants) = 0;
- virtual void STDMETHODCALLTYPE SwapDeviceContextState(
- ID3DDeviceContextState *pState,
- ID3DDeviceContextState **ppPreviousState) = 0;
- virtual void STDMETHODCALLTYPE ClearView(
- ID3D11View *pView,
- const FLOAT Color[4],
- const D3D11_RECT *pRect,
- UINT NumRects) = 0;
- virtual void STDMETHODCALLTYPE DiscardView1(
- ID3D11View *pResourceView,
- const D3D11_RECT *pRects,
- UINT NumRects) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(ID3D11DeviceContext1, 0xbb2c6faa, 0xb5fb, 0x4082, 0x8e,0x6b, 0x38,0x8b,0x8c,0xfa,0x90,0xe1)
- #endif
- #else
- typedef struct ID3D11DeviceContext1Vtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- ID3D11DeviceContext1 *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- ID3D11DeviceContext1 *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- ID3D11DeviceContext1 *This);
- /*** ID3D11DeviceChild methods ***/
- void (STDMETHODCALLTYPE *GetDevice)(
- ID3D11DeviceContext1 *This,
- ID3D11Device **ppDevice);
- HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
- ID3D11DeviceContext1 *This,
- REFGUID guid,
- UINT *pDataSize,
- void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
- ID3D11DeviceContext1 *This,
- REFGUID guid,
- UINT DataSize,
- const void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
- ID3D11DeviceContext1 *This,
- REFGUID guid,
- const IUnknown *pData);
- /*** ID3D11DeviceContext methods ***/
- void (STDMETHODCALLTYPE *VSSetConstantBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers);
- void (STDMETHODCALLTYPE *PSSetShaderResources)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumViews,
- ID3D11ShaderResourceView *const *ppShaderResourceViews);
- void (STDMETHODCALLTYPE *PSSetShader)(
- ID3D11DeviceContext1 *This,
- ID3D11PixelShader *pPixelShader,
- ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances);
- void (STDMETHODCALLTYPE *PSSetSamplers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumSamplers,
- ID3D11SamplerState *const *ppSamplers);
- void (STDMETHODCALLTYPE *VSSetShader)(
- ID3D11DeviceContext1 *This,
- ID3D11VertexShader *pVertexShader,
- ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances);
- void (STDMETHODCALLTYPE *DrawIndexed)(
- ID3D11DeviceContext1 *This,
- UINT IndexCount,
- UINT StartIndexLocation,
- INT BaseVertexLocation);
- void (STDMETHODCALLTYPE *Draw)(
- ID3D11DeviceContext1 *This,
- UINT VertexCount,
- UINT StartVertexLocation);
- HRESULT (STDMETHODCALLTYPE *Map)(
- ID3D11DeviceContext1 *This,
- ID3D11Resource *pResource,
- UINT Subresource,
- D3D11_MAP MapType,
- UINT MapFlags,
- D3D11_MAPPED_SUBRESOURCE *pMappedResource);
- void (STDMETHODCALLTYPE *Unmap)(
- ID3D11DeviceContext1 *This,
- ID3D11Resource *pResource,
- UINT Subresource);
- void (STDMETHODCALLTYPE *PSSetConstantBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers);
- void (STDMETHODCALLTYPE *IASetInputLayout)(
- ID3D11DeviceContext1 *This,
- ID3D11InputLayout *pInputLayout);
- void (STDMETHODCALLTYPE *IASetVertexBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppVertexBuffers,
- const UINT *pStrides,
- const UINT *pOffsets);
- void (STDMETHODCALLTYPE *IASetIndexBuffer)(
- ID3D11DeviceContext1 *This,
- ID3D11Buffer *pIndexBuffer,
- DXGI_FORMAT Format,
- UINT Offset);
- void (STDMETHODCALLTYPE *DrawIndexedInstanced)(
- ID3D11DeviceContext1 *This,
- UINT IndexCountPerInstance,
- UINT InstanceCount,
- UINT StartIndexLocation,
- INT BaseVertexLocation,
- UINT StartInstanceLocation);
- void (STDMETHODCALLTYPE *DrawInstanced)(
- ID3D11DeviceContext1 *This,
- UINT VertexCountPerInstance,
- UINT InstanceCount,
- UINT StartVertexLocation,
- UINT StartInstanceLocation);
- void (STDMETHODCALLTYPE *GSSetConstantBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers);
- void (STDMETHODCALLTYPE *GSSetShader)(
- ID3D11DeviceContext1 *This,
- ID3D11GeometryShader *pShader,
- ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances);
- void (STDMETHODCALLTYPE *IASetPrimitiveTopology)(
- ID3D11DeviceContext1 *This,
- D3D11_PRIMITIVE_TOPOLOGY Topology);
- void (STDMETHODCALLTYPE *VSSetShaderResources)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumViews,
- ID3D11ShaderResourceView *const *ppShaderResourceViews);
- void (STDMETHODCALLTYPE *VSSetSamplers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumSamplers,
- ID3D11SamplerState *const *ppSamplers);
- void (STDMETHODCALLTYPE *Begin)(
- ID3D11DeviceContext1 *This,
- ID3D11Asynchronous *pAsync);
- void (STDMETHODCALLTYPE *End)(
- ID3D11DeviceContext1 *This,
- ID3D11Asynchronous *pAsync);
- HRESULT (STDMETHODCALLTYPE *GetData)(
- ID3D11DeviceContext1 *This,
- ID3D11Asynchronous *pAsync,
- void *pData,
- UINT DataSize,
- UINT GetDataFlags);
- void (STDMETHODCALLTYPE *SetPredication)(
- ID3D11DeviceContext1 *This,
- ID3D11Predicate *pPredicate,
- WINBOOL PredicateValue);
- void (STDMETHODCALLTYPE *GSSetShaderResources)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumViews,
- ID3D11ShaderResourceView *const *ppShaderResourceViews);
- void (STDMETHODCALLTYPE *GSSetSamplers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumSamplers,
- ID3D11SamplerState *const *ppSamplers);
- void (STDMETHODCALLTYPE *OMSetRenderTargets)(
- ID3D11DeviceContext1 *This,
- UINT NumViews,
- ID3D11RenderTargetView *const *ppRenderTargetViews,
- ID3D11DepthStencilView *pDepthStencilView);
- void (STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews)(
- ID3D11DeviceContext1 *This,
- UINT NumRTVs,
- ID3D11RenderTargetView *const *ppRenderTargetViews,
- ID3D11DepthStencilView *pDepthStencilView,
- UINT UAVStartSlot,
- UINT NumUAVs,
- ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
- const UINT *pUAVInitialCounts);
- void (STDMETHODCALLTYPE *OMSetBlendState)(
- ID3D11DeviceContext1 *This,
- ID3D11BlendState *pBlendState,
- const FLOAT BlendFactor[4],
- UINT SampleMask);
- void (STDMETHODCALLTYPE *OMSetDepthStencilState)(
- ID3D11DeviceContext1 *This,
- ID3D11DepthStencilState *pDepthStencilState,
- UINT StencilRef);
- void (STDMETHODCALLTYPE *SOSetTargets)(
- ID3D11DeviceContext1 *This,
- UINT NumBuffers,
- ID3D11Buffer *const *ppSOTargets,
- const UINT *pOffsets);
- void (STDMETHODCALLTYPE *DrawAuto)(
- ID3D11DeviceContext1 *This);
- void (STDMETHODCALLTYPE *DrawIndexedInstancedIndirect)(
- ID3D11DeviceContext1 *This,
- ID3D11Buffer *pBufferForArgs,
- UINT AlignedByteOffsetForArgs);
- void (STDMETHODCALLTYPE *DrawInstancedIndirect)(
- ID3D11DeviceContext1 *This,
- ID3D11Buffer *pBufferForArgs,
- UINT AlignedByteOffsetForArgs);
- void (STDMETHODCALLTYPE *Dispatch)(
- ID3D11DeviceContext1 *This,
- UINT ThreadGroupCountX,
- UINT ThreadGroupCountY,
- UINT ThreadGroupCountZ);
- void (STDMETHODCALLTYPE *DispatchIndirect)(
- ID3D11DeviceContext1 *This,
- ID3D11Buffer *pBufferForArgs,
- UINT AlignedByteOffsetForArgs);
- void (STDMETHODCALLTYPE *RSSetState)(
- ID3D11DeviceContext1 *This,
- ID3D11RasterizerState *pRasterizerState);
- void (STDMETHODCALLTYPE *RSSetViewports)(
- ID3D11DeviceContext1 *This,
- UINT NumViewports,
- const D3D11_VIEWPORT *pViewports);
- void (STDMETHODCALLTYPE *RSSetScissorRects)(
- ID3D11DeviceContext1 *This,
- UINT NumRects,
- const D3D11_RECT *pRects);
- void (STDMETHODCALLTYPE *CopySubresourceRegion)(
- ID3D11DeviceContext1 *This,
- ID3D11Resource *pDstResource,
- UINT DstSubresource,
- UINT DstX,
- UINT DstY,
- UINT DstZ,
- ID3D11Resource *pSrcResource,
- UINT SrcSubresource,
- const D3D11_BOX *pSrcBox);
- void (STDMETHODCALLTYPE *CopyResource)(
- ID3D11DeviceContext1 *This,
- ID3D11Resource *pDstResource,
- ID3D11Resource *pSrcResource);
- void (STDMETHODCALLTYPE *UpdateSubresource)(
- ID3D11DeviceContext1 *This,
- ID3D11Resource *pDstResource,
- UINT DstSubresource,
- const D3D11_BOX *pDstBox,
- const void *pSrcData,
- UINT SrcRowPitch,
- UINT SrcDepthPitch);
- void (STDMETHODCALLTYPE *CopyStructureCount)(
- ID3D11DeviceContext1 *This,
- ID3D11Buffer *pDstBuffer,
- UINT DstAlignedByteOffset,
- ID3D11UnorderedAccessView *pSrcView);
- void (STDMETHODCALLTYPE *ClearRenderTargetView)(
- ID3D11DeviceContext1 *This,
- ID3D11RenderTargetView *pRenderTargetView,
- const FLOAT ColorRGBA[4]);
- void (STDMETHODCALLTYPE *ClearUnorderedAccessViewUint)(
- ID3D11DeviceContext1 *This,
- ID3D11UnorderedAccessView *pUnorderedAccessView,
- const UINT Values[4]);
- void (STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat)(
- ID3D11DeviceContext1 *This,
- ID3D11UnorderedAccessView *pUnorderedAccessView,
- const FLOAT Values[4]);
- void (STDMETHODCALLTYPE *ClearDepthStencilView)(
- ID3D11DeviceContext1 *This,
- ID3D11DepthStencilView *pDepthStencilView,
- UINT ClearFlags,
- FLOAT Depth,
- UINT8 Stencil);
- void (STDMETHODCALLTYPE *GenerateMips)(
- ID3D11DeviceContext1 *This,
- ID3D11ShaderResourceView *pShaderResourceView);
- void (STDMETHODCALLTYPE *SetResourceMinLOD)(
- ID3D11DeviceContext1 *This,
- ID3D11Resource *pResource,
- FLOAT MinLOD);
- FLOAT (STDMETHODCALLTYPE *GetResourceMinLOD)(
- ID3D11DeviceContext1 *This,
- ID3D11Resource *pResource);
- void (STDMETHODCALLTYPE *ResolveSubresource)(
- ID3D11DeviceContext1 *This,
- ID3D11Resource *pDstResource,
- UINT DstSubresource,
- ID3D11Resource *pSrcResource,
- UINT SrcSubresource,
- DXGI_FORMAT Format);
- void (STDMETHODCALLTYPE *ExecuteCommandList)(
- ID3D11DeviceContext1 *This,
- ID3D11CommandList *pCommandList,
- WINBOOL RestoreContextState);
- void (STDMETHODCALLTYPE *HSSetShaderResources)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumViews,
- ID3D11ShaderResourceView *const *ppShaderResourceViews);
- void (STDMETHODCALLTYPE *HSSetShader)(
- ID3D11DeviceContext1 *This,
- ID3D11HullShader *pHullShader,
- ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances);
- void (STDMETHODCALLTYPE *HSSetSamplers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumSamplers,
- ID3D11SamplerState *const *ppSamplers);
- void (STDMETHODCALLTYPE *HSSetConstantBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers);
- void (STDMETHODCALLTYPE *DSSetShaderResources)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumViews,
- ID3D11ShaderResourceView *const *ppShaderResourceViews);
- void (STDMETHODCALLTYPE *DSSetShader)(
- ID3D11DeviceContext1 *This,
- ID3D11DomainShader *pDomainShader,
- ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances);
- void (STDMETHODCALLTYPE *DSSetSamplers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumSamplers,
- ID3D11SamplerState *const *ppSamplers);
- void (STDMETHODCALLTYPE *DSSetConstantBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers);
- void (STDMETHODCALLTYPE *CSSetShaderResources)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumViews,
- ID3D11ShaderResourceView *const *ppShaderResourceViews);
- void (STDMETHODCALLTYPE *CSSetUnorderedAccessViews)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumUAVs,
- ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
- const UINT *pUAVInitialCounts);
- void (STDMETHODCALLTYPE *CSSetShader)(
- ID3D11DeviceContext1 *This,
- ID3D11ComputeShader *pComputeShader,
- ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances);
- void (STDMETHODCALLTYPE *CSSetSamplers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumSamplers,
- ID3D11SamplerState *const *ppSamplers);
- void (STDMETHODCALLTYPE *CSSetConstantBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers);
- void (STDMETHODCALLTYPE *VSGetConstantBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers);
- void (STDMETHODCALLTYPE *PSGetShaderResources)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumViews,
- ID3D11ShaderResourceView **ppShaderResourceViews);
- void (STDMETHODCALLTYPE *PSGetShader)(
- ID3D11DeviceContext1 *This,
- ID3D11PixelShader **ppPixelShader,
- ID3D11ClassInstance **ppClassInstances,
- UINT *pNumClassInstances);
- void (STDMETHODCALLTYPE *PSGetSamplers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumSamplers,
- ID3D11SamplerState **ppSamplers);
- void (STDMETHODCALLTYPE *VSGetShader)(
- ID3D11DeviceContext1 *This,
- ID3D11VertexShader **ppVertexShader,
- ID3D11ClassInstance **ppClassInstances,
- UINT *pNumClassInstances);
- void (STDMETHODCALLTYPE *PSGetConstantBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers);
- void (STDMETHODCALLTYPE *IAGetInputLayout)(
- ID3D11DeviceContext1 *This,
- ID3D11InputLayout **ppInputLayout);
- void (STDMETHODCALLTYPE *IAGetVertexBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppVertexBuffers,
- UINT *pStrides,
- UINT *pOffsets);
- void (STDMETHODCALLTYPE *IAGetIndexBuffer)(
- ID3D11DeviceContext1 *This,
- ID3D11Buffer **pIndexBuffer,
- DXGI_FORMAT *Format,
- UINT *Offset);
- void (STDMETHODCALLTYPE *GSGetConstantBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers);
- void (STDMETHODCALLTYPE *GSGetShader)(
- ID3D11DeviceContext1 *This,
- ID3D11GeometryShader **ppGeometryShader,
- ID3D11ClassInstance **ppClassInstances,
- UINT *pNumClassInstances);
- void (STDMETHODCALLTYPE *IAGetPrimitiveTopology)(
- ID3D11DeviceContext1 *This,
- D3D11_PRIMITIVE_TOPOLOGY *pTopology);
- void (STDMETHODCALLTYPE *VSGetShaderResources)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumViews,
- ID3D11ShaderResourceView **ppShaderResourceViews);
- void (STDMETHODCALLTYPE *VSGetSamplers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumSamplers,
- ID3D11SamplerState **ppSamplers);
- void (STDMETHODCALLTYPE *GetPredication)(
- ID3D11DeviceContext1 *This,
- ID3D11Predicate **ppPredicate,
- WINBOOL *pPredicateValue);
- void (STDMETHODCALLTYPE *GSGetShaderResources)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumViews,
- ID3D11ShaderResourceView **ppShaderResourceViews);
- void (STDMETHODCALLTYPE *GSGetSamplers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumSamplers,
- ID3D11SamplerState **ppSamplers);
- void (STDMETHODCALLTYPE *OMGetRenderTargets)(
- ID3D11DeviceContext1 *This,
- UINT NumViews,
- ID3D11RenderTargetView **ppRenderTargetViews,
- ID3D11DepthStencilView **ppDepthStencilView);
- void (STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews)(
- ID3D11DeviceContext1 *This,
- UINT NumRTVs,
- ID3D11RenderTargetView **ppRenderTargetViews,
- ID3D11DepthStencilView **ppDepthStencilView,
- UINT UAVStartSlot,
- UINT NumUAVs,
- ID3D11UnorderedAccessView **ppUnorderedAccessViews);
- void (STDMETHODCALLTYPE *OMGetBlendState)(
- ID3D11DeviceContext1 *This,
- ID3D11BlendState **ppBlendState,
- FLOAT BlendFactor[4],
- UINT *pSampleMask);
- void (STDMETHODCALLTYPE *OMGetDepthStencilState)(
- ID3D11DeviceContext1 *This,
- ID3D11DepthStencilState **ppDepthStencilState,
- UINT *pStencilRef);
- void (STDMETHODCALLTYPE *SOGetTargets)(
- ID3D11DeviceContext1 *This,
- UINT NumBuffers,
- ID3D11Buffer **ppSOTargets);
- void (STDMETHODCALLTYPE *RSGetState)(
- ID3D11DeviceContext1 *This,
- ID3D11RasterizerState **ppRasterizerState);
- void (STDMETHODCALLTYPE *RSGetViewports)(
- ID3D11DeviceContext1 *This,
- UINT *pNumViewports,
- D3D11_VIEWPORT *pViewports);
- void (STDMETHODCALLTYPE *RSGetScissorRects)(
- ID3D11DeviceContext1 *This,
- UINT *pNumRects,
- D3D11_RECT *pRects);
- void (STDMETHODCALLTYPE *HSGetShaderResources)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumViews,
- ID3D11ShaderResourceView **ppShaderResourceViews);
- void (STDMETHODCALLTYPE *HSGetShader)(
- ID3D11DeviceContext1 *This,
- ID3D11HullShader **ppHullShader,
- ID3D11ClassInstance **ppClassInstances,
- UINT *pNumClassInstances);
- void (STDMETHODCALLTYPE *HSGetSamplers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumSamplers,
- ID3D11SamplerState **ppSamplers);
- void (STDMETHODCALLTYPE *HSGetConstantBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers);
- void (STDMETHODCALLTYPE *DSGetShaderResources)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumViews,
- ID3D11ShaderResourceView **ppShaderResourceViews);
- void (STDMETHODCALLTYPE *DSGetShader)(
- ID3D11DeviceContext1 *This,
- ID3D11DomainShader **ppDomainShader,
- ID3D11ClassInstance **ppClassInstances,
- UINT *pNumClassInstances);
- void (STDMETHODCALLTYPE *DSGetSamplers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumSamplers,
- ID3D11SamplerState **ppSamplers);
- void (STDMETHODCALLTYPE *DSGetConstantBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers);
- void (STDMETHODCALLTYPE *CSGetShaderResources)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumViews,
- ID3D11ShaderResourceView **ppShaderResourceViews);
- void (STDMETHODCALLTYPE *CSGetUnorderedAccessViews)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumUAVs,
- ID3D11UnorderedAccessView **ppUnorderedAccessViews);
- void (STDMETHODCALLTYPE *CSGetShader)(
- ID3D11DeviceContext1 *This,
- ID3D11ComputeShader **ppComputeShader,
- ID3D11ClassInstance **ppClassInstances,
- UINT *pNumClassInstances);
- void (STDMETHODCALLTYPE *CSGetSamplers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumSamplers,
- ID3D11SamplerState **ppSamplers);
- void (STDMETHODCALLTYPE *CSGetConstantBuffers)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers);
- void (STDMETHODCALLTYPE *ClearState)(
- ID3D11DeviceContext1 *This);
- void (STDMETHODCALLTYPE *Flush)(
- ID3D11DeviceContext1 *This);
- D3D11_DEVICE_CONTEXT_TYPE (STDMETHODCALLTYPE *GetType)(
- ID3D11DeviceContext1 *This);
- UINT (STDMETHODCALLTYPE *GetContextFlags)(
- ID3D11DeviceContext1 *This);
- HRESULT (STDMETHODCALLTYPE *FinishCommandList)(
- ID3D11DeviceContext1 *This,
- WINBOOL RestoreDeferredContextState,
- ID3D11CommandList **ppCommandList);
- /*** ID3D11DeviceContext1 methods ***/
- void (STDMETHODCALLTYPE *CopySubresourceRegion1)(
- ID3D11DeviceContext1 *This,
- ID3D11Resource *pDstResource,
- UINT DstSubresource,
- UINT DstX,
- UINT DstY,
- UINT DstZ,
- ID3D11Resource *pSrcResource,
- UINT SrcSubresource,
- const D3D11_BOX *pSrcBox,
- UINT CopyFlags);
- void (STDMETHODCALLTYPE *UpdateSubresource1)(
- ID3D11DeviceContext1 *This,
- ID3D11Resource *pDstResource,
- UINT DstSubresource,
- const D3D11_BOX *pDstBox,
- const void *pSrcData,
- UINT SrcRowPitch,
- UINT SrcDepthPitch,
- UINT CopyFlags);
- void (STDMETHODCALLTYPE *DiscardResource)(
- ID3D11DeviceContext1 *This,
- ID3D11Resource *pResource);
- void (STDMETHODCALLTYPE *DiscardView)(
- ID3D11DeviceContext1 *This,
- ID3D11View *pResourceView);
- void (STDMETHODCALLTYPE *VSSetConstantBuffers1)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers,
- const UINT *pFirstConstant,
- const UINT *pNumConstants);
- void (STDMETHODCALLTYPE *HSSetConstantBuffers1)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers,
- const UINT *pFirstConstant,
- const UINT *pNumConstants);
- void (STDMETHODCALLTYPE *DSSetConstantBuffers1)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers,
- const UINT *pFirstConstant,
- const UINT *pNumConstants);
- void (STDMETHODCALLTYPE *GSSetConstantBuffers1)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers,
- const UINT *pFirstConstant,
- const UINT *pNumConstants);
- void (STDMETHODCALLTYPE *PSSetConstantBuffers1)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers,
- const UINT *pFirstConstant,
- const UINT *pNumConstants);
- void (STDMETHODCALLTYPE *CSSetConstantBuffers1)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer *const *ppConstantBuffers,
- const UINT *pFirstConstant,
- const UINT *pNumConstants);
- void (STDMETHODCALLTYPE *VSGetConstantBuffers1)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers,
- UINT *pFirstConstant,
- UINT *pNumConstants);
- void (STDMETHODCALLTYPE *HSGetConstantBuffers1)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers,
- UINT *pFirstConstant,
- UINT *pNumConstants);
- void (STDMETHODCALLTYPE *DSGetConstantBuffers1)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers,
- UINT *pFirstConstant,
- UINT *pNumConstants);
- void (STDMETHODCALLTYPE *GSGetConstantBuffers1)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers,
- UINT *pFirstConstant,
- UINT *pNumConstants);
- void (STDMETHODCALLTYPE *PSGetConstantBuffers1)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers,
- UINT *pFirstConstant,
- UINT *pNumConstants);
- void (STDMETHODCALLTYPE *CSGetConstantBuffers1)(
- ID3D11DeviceContext1 *This,
- UINT StartSlot,
- UINT NumBuffers,
- ID3D11Buffer **ppConstantBuffers,
- UINT *pFirstConstant,
- UINT *pNumConstants);
- void (STDMETHODCALLTYPE *SwapDeviceContextState)(
- ID3D11DeviceContext1 *This,
- ID3DDeviceContextState *pState,
- ID3DDeviceContextState **ppPreviousState);
- void (STDMETHODCALLTYPE *ClearView)(
- ID3D11DeviceContext1 *This,
- ID3D11View *pView,
- const FLOAT Color[4],
- const D3D11_RECT *pRect,
- UINT NumRects);
- void (STDMETHODCALLTYPE *DiscardView1)(
- ID3D11DeviceContext1 *This,
- ID3D11View *pResourceView,
- const D3D11_RECT *pRects,
- UINT NumRects);
- END_INTERFACE
- } ID3D11DeviceContext1Vtbl;
- interface ID3D11DeviceContext1 {
- CONST_VTBL ID3D11DeviceContext1Vtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define ID3D11DeviceContext1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define ID3D11DeviceContext1_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define ID3D11DeviceContext1_Release(This) (This)->lpVtbl->Release(This)
- /*** ID3D11DeviceChild methods ***/
- #define ID3D11DeviceContext1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
- #define ID3D11DeviceContext1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
- #define ID3D11DeviceContext1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
- #define ID3D11DeviceContext1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
- /*** ID3D11DeviceContext methods ***/
- #define ID3D11DeviceContext1_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
- #define ID3D11DeviceContext1_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
- #define ID3D11DeviceContext1_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances)
- #define ID3D11DeviceContext1_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
- #define ID3D11DeviceContext1_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances)
- #define ID3D11DeviceContext1_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) (This)->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation)
- #define ID3D11DeviceContext1_Draw(This,VertexCount,StartVertexLocation) (This)->lpVtbl->Draw(This,VertexCount,StartVertexLocation)
- #define ID3D11DeviceContext1_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) (This)->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource)
- #define ID3D11DeviceContext1_Unmap(This,pResource,Subresource) (This)->lpVtbl->Unmap(This,pResource,Subresource)
- #define ID3D11DeviceContext1_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
- #define ID3D11DeviceContext1_IASetInputLayout(This,pInputLayout) (This)->lpVtbl->IASetInputLayout(This,pInputLayout)
- #define ID3D11DeviceContext1_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets)
- #define ID3D11DeviceContext1_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset)
- #define ID3D11DeviceContext1_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation)
- #define ID3D11DeviceContext1_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation)
- #define ID3D11DeviceContext1_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
- #define ID3D11DeviceContext1_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances)
- #define ID3D11DeviceContext1_IASetPrimitiveTopology(This,Topology) (This)->lpVtbl->IASetPrimitiveTopology(This,Topology)
- #define ID3D11DeviceContext1_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
- #define ID3D11DeviceContext1_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
- #define ID3D11DeviceContext1_Begin(This,pAsync) (This)->lpVtbl->Begin(This,pAsync)
- #define ID3D11DeviceContext1_End(This,pAsync) (This)->lpVtbl->End(This,pAsync)
- #define ID3D11DeviceContext1_GetData(This,pAsync,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags)
- #define ID3D11DeviceContext1_SetPredication(This,pPredicate,PredicateValue) (This)->lpVtbl->SetPredication(This,pPredicate,PredicateValue)
- #define ID3D11DeviceContext1_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
- #define ID3D11DeviceContext1_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
- #define ID3D11DeviceContext1_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) (This)->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView)
- #define ID3D11DeviceContext1_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts)
- #define ID3D11DeviceContext1_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) (This)->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask)
- #define ID3D11DeviceContext1_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) (This)->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef)
- #define ID3D11DeviceContext1_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets)
- #define ID3D11DeviceContext1_DrawAuto(This) (This)->lpVtbl->DrawAuto(This)
- #define ID3D11DeviceContext1_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs)
- #define ID3D11DeviceContext1_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs)
- #define ID3D11DeviceContext1_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) (This)->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ)
- #define ID3D11DeviceContext1_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs)
- #define ID3D11DeviceContext1_RSSetState(This,pRasterizerState) (This)->lpVtbl->RSSetState(This,pRasterizerState)
- #define ID3D11DeviceContext1_RSSetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSSetViewports(This,NumViewports,pViewports)
- #define ID3D11DeviceContext1_RSSetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSSetScissorRects(This,NumRects,pRects)
- #define ID3D11DeviceContext1_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) (This)->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox)
- #define ID3D11DeviceContext1_CopyResource(This,pDstResource,pSrcResource) (This)->lpVtbl->CopyResource(This,pDstResource,pSrcResource)
- #define ID3D11DeviceContext1_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) (This)->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch)
- #define ID3D11DeviceContext1_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) (This)->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView)
- #define ID3D11DeviceContext1_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) (This)->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA)
- #define ID3D11DeviceContext1_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values)
- #define ID3D11DeviceContext1_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values)
- #define ID3D11DeviceContext1_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) (This)->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil)
- #define ID3D11DeviceContext1_GenerateMips(This,pShaderResourceView) (This)->lpVtbl->GenerateMips(This,pShaderResourceView)
- #define ID3D11DeviceContext1_SetResourceMinLOD(This,pResource,MinLOD) (This)->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD)
- #define ID3D11DeviceContext1_GetResourceMinLOD(This,pResource) (This)->lpVtbl->GetResourceMinLOD(This,pResource)
- #define ID3D11DeviceContext1_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) (This)->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format)
- #define ID3D11DeviceContext1_ExecuteCommandList(This,pCommandList,RestoreContextState) (This)->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState)
- #define ID3D11DeviceContext1_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
- #define ID3D11DeviceContext1_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances)
- #define ID3D11DeviceContext1_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
- #define ID3D11DeviceContext1_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
- #define ID3D11DeviceContext1_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
- #define ID3D11DeviceContext1_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances)
- #define ID3D11DeviceContext1_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
- #define ID3D11DeviceContext1_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
- #define ID3D11DeviceContext1_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
- #define ID3D11DeviceContext1_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts)
- #define ID3D11DeviceContext1_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances)
- #define ID3D11DeviceContext1_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
- #define ID3D11DeviceContext1_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
- #define ID3D11DeviceContext1_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
- #define ID3D11DeviceContext1_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
- #define ID3D11DeviceContext1_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances)
- #define ID3D11DeviceContext1_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
- #define ID3D11DeviceContext1_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances)
- #define ID3D11DeviceContext1_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
- #define ID3D11DeviceContext1_IAGetInputLayout(This,ppInputLayout) (This)->lpVtbl->IAGetInputLayout(This,ppInputLayout)
- #define ID3D11DeviceContext1_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets)
- #define ID3D11DeviceContext1_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset)
- #define ID3D11DeviceContext1_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
- #define ID3D11DeviceContext1_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances)
- #define ID3D11DeviceContext1_IAGetPrimitiveTopology(This,pTopology) (This)->lpVtbl->IAGetPrimitiveTopology(This,pTopology)
- #define ID3D11DeviceContext1_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
- #define ID3D11DeviceContext1_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
- #define ID3D11DeviceContext1_GetPredication(This,ppPredicate,pPredicateValue) (This)->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue)
- #define ID3D11DeviceContext1_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
- #define ID3D11DeviceContext1_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
- #define ID3D11DeviceContext1_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) (This)->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView)
- #define ID3D11DeviceContext1_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews)
- #define ID3D11DeviceContext1_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) (This)->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask)
- #define ID3D11DeviceContext1_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) (This)->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef)
- #define ID3D11DeviceContext1_SOGetTargets(This,NumBuffers,ppSOTargets) (This)->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets)
- #define ID3D11DeviceContext1_RSGetState(This,ppRasterizerState) (This)->lpVtbl->RSGetState(This,ppRasterizerState)
- #define ID3D11DeviceContext1_RSGetViewports(This,pNumViewports,pViewports) (This)->lpVtbl->RSGetViewports(This,pNumViewports,pViewports)
- #define ID3D11DeviceContext1_RSGetScissorRects(This,pNumRects,pRects) (This)->lpVtbl->RSGetScissorRects(This,pNumRects,pRects)
- #define ID3D11DeviceContext1_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
- #define ID3D11DeviceContext1_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances)
- #define ID3D11DeviceContext1_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
- #define ID3D11DeviceContext1_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
- #define ID3D11DeviceContext1_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
- #define ID3D11DeviceContext1_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances)
- #define ID3D11DeviceContext1_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
- #define ID3D11DeviceContext1_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
- #define ID3D11DeviceContext1_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
- #define ID3D11DeviceContext1_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews)
- #define ID3D11DeviceContext1_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances)
- #define ID3D11DeviceContext1_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
- #define ID3D11DeviceContext1_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
- #define ID3D11DeviceContext1_ClearState(This) (This)->lpVtbl->ClearState(This)
- #define ID3D11DeviceContext1_Flush(This) (This)->lpVtbl->Flush(This)
- #define ID3D11DeviceContext1_GetType(This) (This)->lpVtbl->GetType(This)
- #define ID3D11DeviceContext1_GetContextFlags(This) (This)->lpVtbl->GetContextFlags(This)
- #define ID3D11DeviceContext1_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) (This)->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList)
- /*** ID3D11DeviceContext1 methods ***/
- #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)
- #define ID3D11DeviceContext1_UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) (This)->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags)
- #define ID3D11DeviceContext1_DiscardResource(This,pResource) (This)->lpVtbl->DiscardResource(This,pResource)
- #define ID3D11DeviceContext1_DiscardView(This,pResourceView) (This)->lpVtbl->DiscardView(This,pResourceView)
- #define ID3D11DeviceContext1_VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
- #define ID3D11DeviceContext1_HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
- #define ID3D11DeviceContext1_DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
- #define ID3D11DeviceContext1_GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
- #define ID3D11DeviceContext1_PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
- #define ID3D11DeviceContext1_CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
- #define ID3D11DeviceContext1_VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
- #define ID3D11DeviceContext1_HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
- #define ID3D11DeviceContext1_DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
- #define ID3D11DeviceContext1_GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
- #define ID3D11DeviceContext1_PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
- #define ID3D11DeviceContext1_CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants)
- #define ID3D11DeviceContext1_SwapDeviceContextState(This,pState,ppPreviousState) (This)->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState)
- #define ID3D11DeviceContext1_ClearView(This,pView,Color,pRect,NumRects) (This)->lpVtbl->ClearView(This,pView,Color,pRect,NumRects)
- #define ID3D11DeviceContext1_DiscardView1(This,pResourceView,pRects,NumRects) (This)->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT ID3D11DeviceContext1_QueryInterface(ID3D11DeviceContext1* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG ID3D11DeviceContext1_AddRef(ID3D11DeviceContext1* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG ID3D11DeviceContext1_Release(ID3D11DeviceContext1* This) {
- return This->lpVtbl->Release(This);
- }
- /*** ID3D11DeviceChild methods ***/
- static FORCEINLINE void ID3D11DeviceContext1_GetDevice(ID3D11DeviceContext1* This,ID3D11Device **ppDevice) {
- This->lpVtbl->GetDevice(This,ppDevice);
- }
- static FORCEINLINE HRESULT ID3D11DeviceContext1_GetPrivateData(ID3D11DeviceContext1* This,REFGUID guid,UINT *pDataSize,void *pData) {
- return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11DeviceContext1_SetPrivateData(ID3D11DeviceContext1* This,REFGUID guid,UINT DataSize,const void *pData) {
- return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11DeviceContext1_SetPrivateDataInterface(ID3D11DeviceContext1* This,REFGUID guid,const IUnknown *pData) {
- return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
- }
- /*** ID3D11DeviceContext methods ***/
- static FORCEINLINE void ID3D11DeviceContext1_VSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
- This->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_PSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
- This->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_PSSetShader(ID3D11DeviceContext1* This,ID3D11PixelShader *pPixelShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
- This->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances);
- }
- static FORCEINLINE void ID3D11DeviceContext1_PSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
- This->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_VSSetShader(ID3D11DeviceContext1* This,ID3D11VertexShader *pVertexShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
- This->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DrawIndexed(ID3D11DeviceContext1* This,UINT IndexCount,UINT StartIndexLocation,INT BaseVertexLocation) {
- This->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation);
- }
- static FORCEINLINE void ID3D11DeviceContext1_Draw(ID3D11DeviceContext1* This,UINT VertexCount,UINT StartVertexLocation) {
- This->lpVtbl->Draw(This,VertexCount,StartVertexLocation);
- }
- static FORCEINLINE HRESULT ID3D11DeviceContext1_Map(ID3D11DeviceContext1* This,ID3D11Resource *pResource,UINT Subresource,D3D11_MAP MapType,UINT MapFlags,D3D11_MAPPED_SUBRESOURCE *pMappedResource) {
- return This->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource);
- }
- static FORCEINLINE void ID3D11DeviceContext1_Unmap(ID3D11DeviceContext1* This,ID3D11Resource *pResource,UINT Subresource) {
- This->lpVtbl->Unmap(This,pResource,Subresource);
- }
- static FORCEINLINE void ID3D11DeviceContext1_PSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
- This->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_IASetInputLayout(ID3D11DeviceContext1* This,ID3D11InputLayout *pInputLayout) {
- This->lpVtbl->IASetInputLayout(This,pInputLayout);
- }
- static FORCEINLINE void ID3D11DeviceContext1_IASetVertexBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppVertexBuffers,const UINT *pStrides,const UINT *pOffsets) {
- This->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets);
- }
- static FORCEINLINE void ID3D11DeviceContext1_IASetIndexBuffer(ID3D11DeviceContext1* This,ID3D11Buffer *pIndexBuffer,DXGI_FORMAT Format,UINT Offset) {
- This->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DrawIndexedInstanced(ID3D11DeviceContext1* This,UINT IndexCountPerInstance,UINT InstanceCount,UINT StartIndexLocation,INT BaseVertexLocation,UINT StartInstanceLocation) {
- This->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DrawInstanced(ID3D11DeviceContext1* This,UINT VertexCountPerInstance,UINT InstanceCount,UINT StartVertexLocation,UINT StartInstanceLocation) {
- This->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation);
- }
- static FORCEINLINE void ID3D11DeviceContext1_GSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
- This->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_GSSetShader(ID3D11DeviceContext1* This,ID3D11GeometryShader *pShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
- This->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances);
- }
- static FORCEINLINE void ID3D11DeviceContext1_IASetPrimitiveTopology(ID3D11DeviceContext1* This,D3D11_PRIMITIVE_TOPOLOGY Topology) {
- This->lpVtbl->IASetPrimitiveTopology(This,Topology);
- }
- static FORCEINLINE void ID3D11DeviceContext1_VSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
- This->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_VSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
- This->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_Begin(ID3D11DeviceContext1* This,ID3D11Asynchronous *pAsync) {
- This->lpVtbl->Begin(This,pAsync);
- }
- static FORCEINLINE void ID3D11DeviceContext1_End(ID3D11DeviceContext1* This,ID3D11Asynchronous *pAsync) {
- This->lpVtbl->End(This,pAsync);
- }
- static FORCEINLINE HRESULT ID3D11DeviceContext1_GetData(ID3D11DeviceContext1* This,ID3D11Asynchronous *pAsync,void *pData,UINT DataSize,UINT GetDataFlags) {
- return This->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags);
- }
- static FORCEINLINE void ID3D11DeviceContext1_SetPredication(ID3D11DeviceContext1* This,ID3D11Predicate *pPredicate,WINBOOL PredicateValue) {
- This->lpVtbl->SetPredication(This,pPredicate,PredicateValue);
- }
- static FORCEINLINE void ID3D11DeviceContext1_GSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
- This->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_GSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
- This->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_OMSetRenderTargets(ID3D11DeviceContext1* This,UINT NumViews,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView) {
- This->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView);
- }
- static FORCEINLINE void ID3D11DeviceContext1_OMSetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext1* This,UINT NumRTVs,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) {
- This->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts);
- }
- static FORCEINLINE void ID3D11DeviceContext1_OMSetBlendState(ID3D11DeviceContext1* This,ID3D11BlendState *pBlendState,const FLOAT BlendFactor[4],UINT SampleMask) {
- This->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask);
- }
- static FORCEINLINE void ID3D11DeviceContext1_OMSetDepthStencilState(ID3D11DeviceContext1* This,ID3D11DepthStencilState *pDepthStencilState,UINT StencilRef) {
- This->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef);
- }
- static FORCEINLINE void ID3D11DeviceContext1_SOSetTargets(ID3D11DeviceContext1* This,UINT NumBuffers,ID3D11Buffer *const *ppSOTargets,const UINT *pOffsets) {
- This->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DrawAuto(ID3D11DeviceContext1* This) {
- This->lpVtbl->DrawAuto(This);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DrawIndexedInstancedIndirect(ID3D11DeviceContext1* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) {
- This->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DrawInstancedIndirect(ID3D11DeviceContext1* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) {
- This->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs);
- }
- static FORCEINLINE void ID3D11DeviceContext1_Dispatch(ID3D11DeviceContext1* This,UINT ThreadGroupCountX,UINT ThreadGroupCountY,UINT ThreadGroupCountZ) {
- This->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DispatchIndirect(ID3D11DeviceContext1* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) {
- This->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs);
- }
- static FORCEINLINE void ID3D11DeviceContext1_RSSetState(ID3D11DeviceContext1* This,ID3D11RasterizerState *pRasterizerState) {
- This->lpVtbl->RSSetState(This,pRasterizerState);
- }
- static FORCEINLINE void ID3D11DeviceContext1_RSSetViewports(ID3D11DeviceContext1* This,UINT NumViewports,const D3D11_VIEWPORT *pViewports) {
- This->lpVtbl->RSSetViewports(This,NumViewports,pViewports);
- }
- static FORCEINLINE void ID3D11DeviceContext1_RSSetScissorRects(ID3D11DeviceContext1* This,UINT NumRects,const D3D11_RECT *pRects) {
- This->lpVtbl->RSSetScissorRects(This,NumRects,pRects);
- }
- 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) {
- This->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CopyResource(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,ID3D11Resource *pSrcResource) {
- This->lpVtbl->CopyResource(This,pDstResource,pSrcResource);
- }
- static FORCEINLINE void ID3D11DeviceContext1_UpdateSubresource(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch) {
- This->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CopyStructureCount(ID3D11DeviceContext1* This,ID3D11Buffer *pDstBuffer,UINT DstAlignedByteOffset,ID3D11UnorderedAccessView *pSrcView) {
- This->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView);
- }
- static FORCEINLINE void ID3D11DeviceContext1_ClearRenderTargetView(ID3D11DeviceContext1* This,ID3D11RenderTargetView *pRenderTargetView,const FLOAT ColorRGBA[4]) {
- This->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA);
- }
- static FORCEINLINE void ID3D11DeviceContext1_ClearUnorderedAccessViewUint(ID3D11DeviceContext1* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const UINT Values[4]) {
- This->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values);
- }
- static FORCEINLINE void ID3D11DeviceContext1_ClearUnorderedAccessViewFloat(ID3D11DeviceContext1* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const FLOAT Values[4]) {
- This->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values);
- }
- static FORCEINLINE void ID3D11DeviceContext1_ClearDepthStencilView(ID3D11DeviceContext1* This,ID3D11DepthStencilView *pDepthStencilView,UINT ClearFlags,FLOAT Depth,UINT8 Stencil) {
- This->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil);
- }
- static FORCEINLINE void ID3D11DeviceContext1_GenerateMips(ID3D11DeviceContext1* This,ID3D11ShaderResourceView *pShaderResourceView) {
- This->lpVtbl->GenerateMips(This,pShaderResourceView);
- }
- static FORCEINLINE void ID3D11DeviceContext1_SetResourceMinLOD(ID3D11DeviceContext1* This,ID3D11Resource *pResource,FLOAT MinLOD) {
- This->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD);
- }
- static FORCEINLINE FLOAT ID3D11DeviceContext1_GetResourceMinLOD(ID3D11DeviceContext1* This,ID3D11Resource *pResource) {
- return This->lpVtbl->GetResourceMinLOD(This,pResource);
- }
- static FORCEINLINE void ID3D11DeviceContext1_ResolveSubresource(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,ID3D11Resource *pSrcResource,UINT SrcSubresource,DXGI_FORMAT Format) {
- This->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format);
- }
- static FORCEINLINE void ID3D11DeviceContext1_ExecuteCommandList(ID3D11DeviceContext1* This,ID3D11CommandList *pCommandList,WINBOOL RestoreContextState) {
- This->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState);
- }
- static FORCEINLINE void ID3D11DeviceContext1_HSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
- This->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_HSSetShader(ID3D11DeviceContext1* This,ID3D11HullShader *pHullShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
- This->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances);
- }
- static FORCEINLINE void ID3D11DeviceContext1_HSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
- This->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_HSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
- This->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
- This->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DSSetShader(ID3D11DeviceContext1* This,ID3D11DomainShader *pDomainShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
- This->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
- This->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
- This->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
- This->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CSSetUnorderedAccessViews(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) {
- This->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CSSetShader(ID3D11DeviceContext1* This,ID3D11ComputeShader *pComputeShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
- This->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
- This->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
- This->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_VSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
- This->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_PSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
- This->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_PSGetShader(ID3D11DeviceContext1* This,ID3D11PixelShader **ppPixelShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
- This->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances);
- }
- static FORCEINLINE void ID3D11DeviceContext1_PSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
- This->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_VSGetShader(ID3D11DeviceContext1* This,ID3D11VertexShader **ppVertexShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
- This->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances);
- }
- static FORCEINLINE void ID3D11DeviceContext1_PSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
- This->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_IAGetInputLayout(ID3D11DeviceContext1* This,ID3D11InputLayout **ppInputLayout) {
- This->lpVtbl->IAGetInputLayout(This,ppInputLayout);
- }
- static FORCEINLINE void ID3D11DeviceContext1_IAGetVertexBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppVertexBuffers,UINT *pStrides,UINT *pOffsets) {
- This->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets);
- }
- static FORCEINLINE void ID3D11DeviceContext1_IAGetIndexBuffer(ID3D11DeviceContext1* This,ID3D11Buffer **pIndexBuffer,DXGI_FORMAT *Format,UINT *Offset) {
- This->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset);
- }
- static FORCEINLINE void ID3D11DeviceContext1_GSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
- This->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_GSGetShader(ID3D11DeviceContext1* This,ID3D11GeometryShader **ppGeometryShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
- This->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances);
- }
- static FORCEINLINE void ID3D11DeviceContext1_IAGetPrimitiveTopology(ID3D11DeviceContext1* This,D3D11_PRIMITIVE_TOPOLOGY *pTopology) {
- This->lpVtbl->IAGetPrimitiveTopology(This,pTopology);
- }
- static FORCEINLINE void ID3D11DeviceContext1_VSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
- This->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_VSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
- This->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_GetPredication(ID3D11DeviceContext1* This,ID3D11Predicate **ppPredicate,WINBOOL *pPredicateValue) {
- This->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue);
- }
- static FORCEINLINE void ID3D11DeviceContext1_GSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
- This->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_GSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
- This->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_OMGetRenderTargets(ID3D11DeviceContext1* This,UINT NumViews,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView) {
- This->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView);
- }
- static FORCEINLINE void ID3D11DeviceContext1_OMGetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext1* This,UINT NumRTVs,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) {
- This->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_OMGetBlendState(ID3D11DeviceContext1* This,ID3D11BlendState **ppBlendState,FLOAT BlendFactor[4],UINT *pSampleMask) {
- This->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask);
- }
- static FORCEINLINE void ID3D11DeviceContext1_OMGetDepthStencilState(ID3D11DeviceContext1* This,ID3D11DepthStencilState **ppDepthStencilState,UINT *pStencilRef) {
- This->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef);
- }
- static FORCEINLINE void ID3D11DeviceContext1_SOGetTargets(ID3D11DeviceContext1* This,UINT NumBuffers,ID3D11Buffer **ppSOTargets) {
- This->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets);
- }
- static FORCEINLINE void ID3D11DeviceContext1_RSGetState(ID3D11DeviceContext1* This,ID3D11RasterizerState **ppRasterizerState) {
- This->lpVtbl->RSGetState(This,ppRasterizerState);
- }
- static FORCEINLINE void ID3D11DeviceContext1_RSGetViewports(ID3D11DeviceContext1* This,UINT *pNumViewports,D3D11_VIEWPORT *pViewports) {
- This->lpVtbl->RSGetViewports(This,pNumViewports,pViewports);
- }
- static FORCEINLINE void ID3D11DeviceContext1_RSGetScissorRects(ID3D11DeviceContext1* This,UINT *pNumRects,D3D11_RECT *pRects) {
- This->lpVtbl->RSGetScissorRects(This,pNumRects,pRects);
- }
- static FORCEINLINE void ID3D11DeviceContext1_HSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
- This->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_HSGetShader(ID3D11DeviceContext1* This,ID3D11HullShader **ppHullShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
- This->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances);
- }
- static FORCEINLINE void ID3D11DeviceContext1_HSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
- This->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_HSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
- This->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
- This->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DSGetShader(ID3D11DeviceContext1* This,ID3D11DomainShader **ppDomainShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
- This->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
- This->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
- This->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
- This->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CSGetUnorderedAccessViews(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) {
- This->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CSGetShader(ID3D11DeviceContext1* This,ID3D11ComputeShader **ppComputeShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
- This->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
- This->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
- This->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
- }
- static FORCEINLINE void ID3D11DeviceContext1_ClearState(ID3D11DeviceContext1* This) {
- This->lpVtbl->ClearState(This);
- }
- static FORCEINLINE void ID3D11DeviceContext1_Flush(ID3D11DeviceContext1* This) {
- This->lpVtbl->Flush(This);
- }
- static FORCEINLINE D3D11_DEVICE_CONTEXT_TYPE ID3D11DeviceContext1_GetType(ID3D11DeviceContext1* This) {
- return This->lpVtbl->GetType(This);
- }
- static FORCEINLINE UINT ID3D11DeviceContext1_GetContextFlags(ID3D11DeviceContext1* This) {
- return This->lpVtbl->GetContextFlags(This);
- }
- static FORCEINLINE HRESULT ID3D11DeviceContext1_FinishCommandList(ID3D11DeviceContext1* This,WINBOOL RestoreDeferredContextState,ID3D11CommandList **ppCommandList) {
- return This->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList);
- }
- /*** ID3D11DeviceContext1 methods ***/
- 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) {
- This->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags);
- }
- static FORCEINLINE void ID3D11DeviceContext1_UpdateSubresource1(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch,UINT CopyFlags) {
- This->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DiscardResource(ID3D11DeviceContext1* This,ID3D11Resource *pResource) {
- This->lpVtbl->DiscardResource(This,pResource);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DiscardView(ID3D11DeviceContext1* This,ID3D11View *pResourceView) {
- This->lpVtbl->DiscardView(This,pResourceView);
- }
- static FORCEINLINE void ID3D11DeviceContext1_VSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) {
- This->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
- }
- static FORCEINLINE void ID3D11DeviceContext1_HSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) {
- This->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) {
- This->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
- }
- static FORCEINLINE void ID3D11DeviceContext1_GSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) {
- This->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
- }
- static FORCEINLINE void ID3D11DeviceContext1_PSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) {
- This->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) {
- This->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
- }
- static FORCEINLINE void ID3D11DeviceContext1_VSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) {
- This->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
- }
- static FORCEINLINE void ID3D11DeviceContext1_HSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) {
- This->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) {
- This->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
- }
- static FORCEINLINE void ID3D11DeviceContext1_GSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) {
- This->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
- }
- static FORCEINLINE void ID3D11DeviceContext1_PSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) {
- This->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
- }
- static FORCEINLINE void ID3D11DeviceContext1_CSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) {
- This->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants);
- }
- static FORCEINLINE void ID3D11DeviceContext1_SwapDeviceContextState(ID3D11DeviceContext1* This,ID3DDeviceContextState *pState,ID3DDeviceContextState **ppPreviousState) {
- This->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState);
- }
- static FORCEINLINE void ID3D11DeviceContext1_ClearView(ID3D11DeviceContext1* This,ID3D11View *pView,const FLOAT Color[4],const D3D11_RECT *pRect,UINT NumRects) {
- This->lpVtbl->ClearView(This,pView,Color,pRect,NumRects);
- }
- static FORCEINLINE void ID3D11DeviceContext1_DiscardView1(ID3D11DeviceContext1* This,ID3D11View *pResourceView,const D3D11_RECT *pRects,UINT NumRects) {
- This->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects);
- }
- #endif
- #endif
- #endif
- #endif /* __ID3D11DeviceContext1_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * ID3D11VideoContext1 interface
- */
- #ifndef __ID3D11VideoContext1_INTERFACE_DEFINED__
- #define __ID3D11VideoContext1_INTERFACE_DEFINED__
- DEFINE_GUID(IID_ID3D11VideoContext1, 0xa7f026da, 0xa5f8, 0x4487, 0xa5,0x64, 0x15,0xe3,0x43,0x57,0x65,0x1e);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("a7f026da-a5f8-4487-a564-15e34357651e")
- ID3D11VideoContext1 : public ID3D11VideoContext
- {
- virtual HRESULT STDMETHODCALLTYPE SubmitDecoderBuffers1(
- ID3D11VideoDecoder *decoder,
- UINT buffer_count,
- const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetDataForNewHardwareKey(
- ID3D11CryptoSession *session,
- UINT input_size,
- const void *input_data,
- UINT64 *output_data) = 0;
- virtual HRESULT STDMETHODCALLTYPE CheckCryptoSessionStatus(
- ID3D11CryptoSession *session,
- D3D11_CRYPTO_SESSION_STATUS *status) = 0;
- virtual HRESULT STDMETHODCALLTYPE DecoderEnableDownsampling(
- ID3D11VideoDecoder *decoder,
- DXGI_COLOR_SPACE_TYPE colour_space,
- const D3D11_VIDEO_SAMPLE_DESC *output_desc,
- UINT reference_frame_count) = 0;
- virtual HRESULT STDMETHODCALLTYPE DecoderUpdateDownsampling(
- ID3D11VideoDecoder *decoder,
- const D3D11_VIDEO_SAMPLE_DESC *output_desc) = 0;
- virtual void STDMETHODCALLTYPE VideoProcessorSetOutputColorSpace1(
- ID3D11VideoProcessor *processor,
- DXGI_COLOR_SPACE_TYPE colour_space) = 0;
- virtual void STDMETHODCALLTYPE VideoProcessorSetOutputShaderUsage(
- ID3D11VideoProcessor *processor,
- WINBOOL shader_usage) = 0;
- virtual void STDMETHODCALLTYPE VideoProcessorGetOutputColorSpace1(
- ID3D11VideoProcessor *processor,
- DXGI_COLOR_SPACE_TYPE *colour_space) = 0;
- virtual void STDMETHODCALLTYPE VideoProcessorGetOutputShaderUsage(
- ID3D11VideoProcessor *processor,
- WINBOOL *shader_usage) = 0;
- virtual void STDMETHODCALLTYPE VideoProcessorSetStreamColorSpace1(
- ID3D11VideoProcessor *processor,
- UINT stream_index,
- DXGI_COLOR_SPACE_TYPE colour_space) = 0;
- virtual void STDMETHODCALLTYPE VideoProcessorSetStreamMirror(
- ID3D11VideoProcessor *processor,
- UINT stream_index,
- WINBOOL enable,
- WINBOOL flip_horizontal,
- WINBOOL flip_vertical) = 0;
- virtual void STDMETHODCALLTYPE VideoProcessorGetStreamColorSpace1(
- ID3D11VideoProcessor *processor,
- UINT stream_index,
- DXGI_COLOR_SPACE_TYPE *colour_space) = 0;
- virtual void STDMETHODCALLTYPE VideoProcessorGetStreamMirror(
- ID3D11VideoProcessor *processor,
- UINT stream_index,
- WINBOOL *enable,
- WINBOOL *flip_horizontal,
- WINBOOL *flip_vertical) = 0;
- virtual HRESULT STDMETHODCALLTYPE VideoProcessorGetBehaviorHints(
- 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) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(ID3D11VideoContext1, 0xa7f026da, 0xa5f8, 0x4487, 0xa5,0x64, 0x15,0xe3,0x43,0x57,0x65,0x1e)
- #endif
- #else
- typedef struct ID3D11VideoContext1Vtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- ID3D11VideoContext1 *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- ID3D11VideoContext1 *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- ID3D11VideoContext1 *This);
- /*** ID3D11DeviceChild methods ***/
- void (STDMETHODCALLTYPE *GetDevice)(
- ID3D11VideoContext1 *This,
- ID3D11Device **ppDevice);
- HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
- ID3D11VideoContext1 *This,
- REFGUID guid,
- UINT *pDataSize,
- void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
- ID3D11VideoContext1 *This,
- REFGUID guid,
- UINT DataSize,
- const void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
- ID3D11VideoContext1 *This,
- REFGUID guid,
- const IUnknown *pData);
- /*** ID3D11VideoContext methods ***/
- HRESULT (STDMETHODCALLTYPE *GetDecoderBuffer)(
- ID3D11VideoContext1 *This,
- ID3D11VideoDecoder *decoder,
- D3D11_VIDEO_DECODER_BUFFER_TYPE type,
- UINT *buffer_size,
- void **buffer);
- HRESULT (STDMETHODCALLTYPE *ReleaseDecoderBuffer)(
- ID3D11VideoContext1 *This,
- ID3D11VideoDecoder *decoder,
- D3D11_VIDEO_DECODER_BUFFER_TYPE type);
- HRESULT (STDMETHODCALLTYPE *DecoderBeginFrame)(
- ID3D11VideoContext1 *This,
- ID3D11VideoDecoder *decoder,
- ID3D11VideoDecoderOutputView *view,
- UINT key_size,
- const void *key);
- HRESULT (STDMETHODCALLTYPE *DecoderEndFrame)(
- ID3D11VideoContext1 *This,
- ID3D11VideoDecoder *decoder);
- HRESULT (STDMETHODCALLTYPE *SubmitDecoderBuffers)(
- ID3D11VideoContext1 *This,
- ID3D11VideoDecoder *decoder,
- UINT buffers_count,
- const D3D11_VIDEO_DECODER_BUFFER_DESC *buffer_desc);
- HRESULT (STDMETHODCALLTYPE *DecoderExtension)(
- ID3D11VideoContext1 *This,
- ID3D11VideoDecoder *decoder,
- const D3D11_VIDEO_DECODER_EXTENSION *extension);
- void (STDMETHODCALLTYPE *VideoProcessorSetOutputTargetRect)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- WINBOOL enable,
- const RECT *rect);
- void (STDMETHODCALLTYPE *VideoProcessorSetOutputBackgroundColor)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- WINBOOL y_cb_cr,
- const D3D11_VIDEO_COLOR *color);
- void (STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space);
- void (STDMETHODCALLTYPE *VideoProcessorSetOutputAlphaFillMode)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE alpha_fill_mode,
- UINT stream_idx);
- void (STDMETHODCALLTYPE *VideoProcessorSetOutputConstriction)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- WINBOOL enable,
- SIZE size);
- void (STDMETHODCALLTYPE *VideoProcessorSetOutputStereoMode)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- WINBOOL enable);
- HRESULT (STDMETHODCALLTYPE *VideoProcessorSetOutputExtension)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- const GUID *guid,
- UINT data_size,
- void *data);
- void (STDMETHODCALLTYPE *VideoProcessorGetOutputTargetRect)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- WINBOOL *enabled,
- RECT *rect);
- void (STDMETHODCALLTYPE *VideoProcessorGetOutputBackgroundColor)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- WINBOOL *y_cb_cr,
- D3D11_VIDEO_COLOR *color);
- void (STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space);
- void (STDMETHODCALLTYPE *VideoProcessorGetOutputAlphaFillMode)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *alpha_fill_mode,
- UINT *stream_idx);
- void (STDMETHODCALLTYPE *VideoProcessorGetOutputConstriction)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- WINBOOL *enabled,
- SIZE *size);
- void (STDMETHODCALLTYPE *VideoProcessorGetOutputStereoMode)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- WINBOOL *enabled);
- HRESULT (STDMETHODCALLTYPE *VideoProcessorGetOutputExtension)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- const GUID *guid,
- UINT data_size,
- void *data);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamFrameFormat)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- D3D11_VIDEO_FRAME_FORMAT format);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamOutputRate)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- D3D11_VIDEO_PROCESSOR_OUTPUT_RATE rate,
- WINBOOL repeat,
- const DXGI_RATIONAL *custom_rate);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamSourceRect)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL enable,
- const RECT *rect);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamDestRect)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL enable,
- const RECT *rect);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamAlpha)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL enable,
- float alpha);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamPalette)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- UINT entry_count,
- const UINT *entries);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamPixelAspectRatio)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL enable,
- const DXGI_RATIONAL *src_aspect_ratio,
- const DXGI_RATIONAL *dst_aspect_ratio);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamLumaKey)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL enable,
- float lower,
- float upper);
- void (STDMETHODCALLTYPE *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);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamAutoProcessingMode)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL enable);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamFilter)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- D3D11_VIDEO_PROCESSOR_FILTER filter,
- WINBOOL enable,
- int level);
- HRESULT (STDMETHODCALLTYPE *VideoProcessorSetStreamExtension)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- const GUID *guid,
- UINT data_size,
- void *data);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamFrameFormat)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- D3D11_VIDEO_FRAME_FORMAT *format);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamOutputRate)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *rate,
- WINBOOL *repeat,
- DXGI_RATIONAL *custom_rate);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamSourceRect)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL *enabled,
- RECT *rect);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamDestRect)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL *enabled,
- RECT *rect);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamAlpha)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL *enabled,
- float *alpha);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamPalette)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- UINT entry_count,
- UINT *entries);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamPixelAspectRatio)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL *enabled,
- DXGI_RATIONAL *src_aspect_ratio,
- DXGI_RATIONAL *dst_aspect_ratio);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamLumaKey)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL *enabled,
- float *lower,
- float *upper);
- void (STDMETHODCALLTYPE *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);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamAutoProcessingMode)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL *enabled);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamFilter)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- D3D11_VIDEO_PROCESSOR_FILTER filter,
- WINBOOL *enabled,
- int *level);
- HRESULT (STDMETHODCALLTYPE *VideoProcessorGetStreamExtension)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- const GUID *guid,
- UINT data_size,
- void *data);
- HRESULT (STDMETHODCALLTYPE *VideoProcessorBlt)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- ID3D11VideoProcessorOutputView *view,
- UINT frame_idx,
- UINT stream_count,
- const D3D11_VIDEO_PROCESSOR_STREAM *streams);
- HRESULT (STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchange)(
- ID3D11VideoContext1 *This,
- ID3D11CryptoSession *session,
- UINT data_size,
- void *data);
- void (STDMETHODCALLTYPE *EncryptionBlt)(
- ID3D11VideoContext1 *This,
- ID3D11CryptoSession *session,
- ID3D11Texture2D *src_surface,
- ID3D11Texture2D *dst_surface,
- UINT iv_size,
- void *iv);
- void (STDMETHODCALLTYPE *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);
- void (STDMETHODCALLTYPE *StartSessionKeyRefresh)(
- ID3D11VideoContext1 *This,
- ID3D11CryptoSession *session,
- UINT random_number_size,
- void *random_number);
- void (STDMETHODCALLTYPE *FinishSessionKeyRefresh)(
- ID3D11VideoContext1 *This,
- ID3D11CryptoSession *session);
- HRESULT (STDMETHODCALLTYPE *GetEncryptionBltKey)(
- ID3D11VideoContext1 *This,
- ID3D11CryptoSession *session,
- UINT key_size,
- void *key);
- HRESULT (STDMETHODCALLTYPE *NegotiateAuthenticatedChannelKeyExchange)(
- ID3D11VideoContext1 *This,
- ID3D11AuthenticatedChannel *channel,
- UINT data_size,
- void *data);
- HRESULT (STDMETHODCALLTYPE *QueryAuthenticatedChannel)(
- ID3D11VideoContext1 *This,
- ID3D11AuthenticatedChannel *channel,
- UINT input_size,
- const void *input,
- UINT output_size,
- void *output);
- HRESULT (STDMETHODCALLTYPE *ConfigureAuthenticatedChannel)(
- ID3D11VideoContext1 *This,
- ID3D11AuthenticatedChannel *channel,
- UINT input_size,
- const void *input,
- D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *output);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamRotation)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL enable,
- D3D11_VIDEO_PROCESSOR_ROTATION rotation);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamRotation)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_idx,
- WINBOOL *enable,
- D3D11_VIDEO_PROCESSOR_ROTATION *rotation);
- /*** ID3D11VideoContext1 methods ***/
- HRESULT (STDMETHODCALLTYPE *SubmitDecoderBuffers1)(
- ID3D11VideoContext1 *This,
- ID3D11VideoDecoder *decoder,
- UINT buffer_count,
- const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc);
- HRESULT (STDMETHODCALLTYPE *GetDataForNewHardwareKey)(
- ID3D11VideoContext1 *This,
- ID3D11CryptoSession *session,
- UINT input_size,
- const void *input_data,
- UINT64 *output_data);
- HRESULT (STDMETHODCALLTYPE *CheckCryptoSessionStatus)(
- ID3D11VideoContext1 *This,
- ID3D11CryptoSession *session,
- D3D11_CRYPTO_SESSION_STATUS *status);
- HRESULT (STDMETHODCALLTYPE *DecoderEnableDownsampling)(
- ID3D11VideoContext1 *This,
- ID3D11VideoDecoder *decoder,
- DXGI_COLOR_SPACE_TYPE colour_space,
- const D3D11_VIDEO_SAMPLE_DESC *output_desc,
- UINT reference_frame_count);
- HRESULT (STDMETHODCALLTYPE *DecoderUpdateDownsampling)(
- ID3D11VideoContext1 *This,
- ID3D11VideoDecoder *decoder,
- const D3D11_VIDEO_SAMPLE_DESC *output_desc);
- void (STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace1)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- DXGI_COLOR_SPACE_TYPE colour_space);
- void (STDMETHODCALLTYPE *VideoProcessorSetOutputShaderUsage)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- WINBOOL shader_usage);
- void (STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace1)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- DXGI_COLOR_SPACE_TYPE *colour_space);
- void (STDMETHODCALLTYPE *VideoProcessorGetOutputShaderUsage)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- WINBOOL *shader_usage);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace1)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_index,
- DXGI_COLOR_SPACE_TYPE colour_space);
- void (STDMETHODCALLTYPE *VideoProcessorSetStreamMirror)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_index,
- WINBOOL enable,
- WINBOOL flip_horizontal,
- WINBOOL flip_vertical);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace1)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_index,
- DXGI_COLOR_SPACE_TYPE *colour_space);
- void (STDMETHODCALLTYPE *VideoProcessorGetStreamMirror)(
- ID3D11VideoContext1 *This,
- ID3D11VideoProcessor *processor,
- UINT stream_index,
- WINBOOL *enable,
- WINBOOL *flip_horizontal,
- WINBOOL *flip_vertical);
- HRESULT (STDMETHODCALLTYPE *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);
- END_INTERFACE
- } ID3D11VideoContext1Vtbl;
- interface ID3D11VideoContext1 {
- CONST_VTBL ID3D11VideoContext1Vtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define ID3D11VideoContext1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define ID3D11VideoContext1_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define ID3D11VideoContext1_Release(This) (This)->lpVtbl->Release(This)
- /*** ID3D11DeviceChild methods ***/
- #define ID3D11VideoContext1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
- #define ID3D11VideoContext1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
- #define ID3D11VideoContext1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
- #define ID3D11VideoContext1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
- /*** ID3D11VideoContext methods ***/
- #define ID3D11VideoContext1_GetDecoderBuffer(This,decoder,type,buffer_size,buffer) (This)->lpVtbl->GetDecoderBuffer(This,decoder,type,buffer_size,buffer)
- #define ID3D11VideoContext1_ReleaseDecoderBuffer(This,decoder,type) (This)->lpVtbl->ReleaseDecoderBuffer(This,decoder,type)
- #define ID3D11VideoContext1_DecoderBeginFrame(This,decoder,view,key_size,key) (This)->lpVtbl->DecoderBeginFrame(This,decoder,view,key_size,key)
- #define ID3D11VideoContext1_DecoderEndFrame(This,decoder) (This)->lpVtbl->DecoderEndFrame(This,decoder)
- #define ID3D11VideoContext1_SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc) (This)->lpVtbl->SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc)
- #define ID3D11VideoContext1_DecoderExtension(This,decoder,extension) (This)->lpVtbl->DecoderExtension(This,decoder,extension)
- #define ID3D11VideoContext1_VideoProcessorSetOutputTargetRect(This,processor,enable,rect) (This)->lpVtbl->VideoProcessorSetOutputTargetRect(This,processor,enable,rect)
- #define ID3D11VideoContext1_VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color) (This)->lpVtbl->VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color)
- #define ID3D11VideoContext1_VideoProcessorSetOutputColorSpace(This,processor,color_space) (This)->lpVtbl->VideoProcessorSetOutputColorSpace(This,processor,color_space)
- #define ID3D11VideoContext1_VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) (This)->lpVtbl->VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx)
- #define ID3D11VideoContext1_VideoProcessorSetOutputConstriction(This,processor,enable,size) (This)->lpVtbl->VideoProcessorSetOutputConstriction(This,processor,enable,size)
- #define ID3D11VideoContext1_VideoProcessorSetOutputStereoMode(This,processor,enable) (This)->lpVtbl->VideoProcessorSetOutputStereoMode(This,processor,enable)
- #define ID3D11VideoContext1_VideoProcessorSetOutputExtension(This,processor,guid,data_size,data) (This)->lpVtbl->VideoProcessorSetOutputExtension(This,processor,guid,data_size,data)
- #define ID3D11VideoContext1_VideoProcessorGetOutputTargetRect(This,processor,enabled,rect) (This)->lpVtbl->VideoProcessorGetOutputTargetRect(This,processor,enabled,rect)
- #define ID3D11VideoContext1_VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color) (This)->lpVtbl->VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color)
- #define ID3D11VideoContext1_VideoProcessorGetOutputColorSpace(This,processor,color_space) (This)->lpVtbl->VideoProcessorGetOutputColorSpace(This,processor,color_space)
- #define ID3D11VideoContext1_VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx) (This)->lpVtbl->VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx)
- #define ID3D11VideoContext1_VideoProcessorGetOutputConstriction(This,processor,enabled,size) (This)->lpVtbl->VideoProcessorGetOutputConstriction(This,processor,enabled,size)
- #define ID3D11VideoContext1_VideoProcessorGetOutputStereoMode(This,processor,enabled) (This)->lpVtbl->VideoProcessorGetOutputStereoMode(This,processor,enabled)
- #define ID3D11VideoContext1_VideoProcessorGetOutputExtension(This,processor,guid,data_size,data) (This)->lpVtbl->VideoProcessorGetOutputExtension(This,processor,guid,data_size,data)
- #define ID3D11VideoContext1_VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format) (This)->lpVtbl->VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format)
- #define ID3D11VideoContext1_VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space) (This)->lpVtbl->VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space)
- #define ID3D11VideoContext1_VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) (This)->lpVtbl->VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate)
- #define ID3D11VideoContext1_VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect) (This)->lpVtbl->VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect)
- #define ID3D11VideoContext1_VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect) (This)->lpVtbl->VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect)
- #define ID3D11VideoContext1_VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha) (This)->lpVtbl->VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha)
- #define ID3D11VideoContext1_VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries) (This)->lpVtbl->VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries)
- #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)
- #define ID3D11VideoContext1_VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper) (This)->lpVtbl->VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper)
- #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)
- #define ID3D11VideoContext1_VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable) (This)->lpVtbl->VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable)
- #define ID3D11VideoContext1_VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level) (This)->lpVtbl->VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level)
- #define ID3D11VideoContext1_VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data) (This)->lpVtbl->VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data)
- #define ID3D11VideoContext1_VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format) (This)->lpVtbl->VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format)
- #define ID3D11VideoContext1_VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space) (This)->lpVtbl->VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space)
- #define ID3D11VideoContext1_VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate) (This)->lpVtbl->VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate)
- #define ID3D11VideoContext1_VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect) (This)->lpVtbl->VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect)
- #define ID3D11VideoContext1_VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect) (This)->lpVtbl->VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect)
- #define ID3D11VideoContext1_VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha) (This)->lpVtbl->VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha)
- #define ID3D11VideoContext1_VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries) (This)->lpVtbl->VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries)
- #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)
- #define ID3D11VideoContext1_VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper) (This)->lpVtbl->VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper)
- #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)
- #define ID3D11VideoContext1_VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled) (This)->lpVtbl->VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled)
- #define ID3D11VideoContext1_VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level) (This)->lpVtbl->VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level)
- #define ID3D11VideoContext1_VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data) (This)->lpVtbl->VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data)
- #define ID3D11VideoContext1_VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams) (This)->lpVtbl->VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams)
- #define ID3D11VideoContext1_NegotiateCryptoSessionKeyExchange(This,session,data_size,data) (This)->lpVtbl->NegotiateCryptoSessionKeyExchange(This,session,data_size,data)
- #define ID3D11VideoContext1_EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv) (This)->lpVtbl->EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv)
- #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)
- #define ID3D11VideoContext1_StartSessionKeyRefresh(This,session,random_number_size,random_number) (This)->lpVtbl->StartSessionKeyRefresh(This,session,random_number_size,random_number)
- #define ID3D11VideoContext1_FinishSessionKeyRefresh(This,session) (This)->lpVtbl->FinishSessionKeyRefresh(This,session)
- #define ID3D11VideoContext1_GetEncryptionBltKey(This,session,key_size,key) (This)->lpVtbl->GetEncryptionBltKey(This,session,key_size,key)
- #define ID3D11VideoContext1_NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data) (This)->lpVtbl->NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data)
- #define ID3D11VideoContext1_QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output) (This)->lpVtbl->QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output)
- #define ID3D11VideoContext1_ConfigureAuthenticatedChannel(This,channel,input_size,input,output) (This)->lpVtbl->ConfigureAuthenticatedChannel(This,channel,input_size,input,output)
- #define ID3D11VideoContext1_VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation) (This)->lpVtbl->VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation)
- #define ID3D11VideoContext1_VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation) (This)->lpVtbl->VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation)
- /*** ID3D11VideoContext1 methods ***/
- #define ID3D11VideoContext1_SubmitDecoderBuffers1(This,decoder,buffer_count,buffer_desc) (This)->lpVtbl->SubmitDecoderBuffers1(This,decoder,buffer_count,buffer_desc)
- #define ID3D11VideoContext1_GetDataForNewHardwareKey(This,session,input_size,input_data,output_data) (This)->lpVtbl->GetDataForNewHardwareKey(This,session,input_size,input_data,output_data)
- #define ID3D11VideoContext1_CheckCryptoSessionStatus(This,session,status) (This)->lpVtbl->CheckCryptoSessionStatus(This,session,status)
- #define ID3D11VideoContext1_DecoderEnableDownsampling(This,decoder,colour_space,output_desc,reference_frame_count) (This)->lpVtbl->DecoderEnableDownsampling(This,decoder,colour_space,output_desc,reference_frame_count)
- #define ID3D11VideoContext1_DecoderUpdateDownsampling(This,decoder,output_desc) (This)->lpVtbl->DecoderUpdateDownsampling(This,decoder,output_desc)
- #define ID3D11VideoContext1_VideoProcessorSetOutputColorSpace1(This,processor,colour_space) (This)->lpVtbl->VideoProcessorSetOutputColorSpace1(This,processor,colour_space)
- #define ID3D11VideoContext1_VideoProcessorSetOutputShaderUsage(This,processor,shader_usage) (This)->lpVtbl->VideoProcessorSetOutputShaderUsage(This,processor,shader_usage)
- #define ID3D11VideoContext1_VideoProcessorGetOutputColorSpace1(This,processor,colour_space) (This)->lpVtbl->VideoProcessorGetOutputColorSpace1(This,processor,colour_space)
- #define ID3D11VideoContext1_VideoProcessorGetOutputShaderUsage(This,processor,shader_usage) (This)->lpVtbl->VideoProcessorGetOutputShaderUsage(This,processor,shader_usage)
- #define ID3D11VideoContext1_VideoProcessorSetStreamColorSpace1(This,processor,stream_index,colour_space) (This)->lpVtbl->VideoProcessorSetStreamColorSpace1(This,processor,stream_index,colour_space)
- #define ID3D11VideoContext1_VideoProcessorSetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical) (This)->lpVtbl->VideoProcessorSetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical)
- #define ID3D11VideoContext1_VideoProcessorGetStreamColorSpace1(This,processor,stream_index,colour_space) (This)->lpVtbl->VideoProcessorGetStreamColorSpace1(This,processor,stream_index,colour_space)
- #define ID3D11VideoContext1_VideoProcessorGetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical) (This)->lpVtbl->VideoProcessorGetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical)
- #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)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT ID3D11VideoContext1_QueryInterface(ID3D11VideoContext1* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG ID3D11VideoContext1_AddRef(ID3D11VideoContext1* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG ID3D11VideoContext1_Release(ID3D11VideoContext1* This) {
- return This->lpVtbl->Release(This);
- }
- /*** ID3D11DeviceChild methods ***/
- static FORCEINLINE void ID3D11VideoContext1_GetDevice(ID3D11VideoContext1* This,ID3D11Device **ppDevice) {
- This->lpVtbl->GetDevice(This,ppDevice);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_GetPrivateData(ID3D11VideoContext1* This,REFGUID guid,UINT *pDataSize,void *pData) {
- return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_SetPrivateData(ID3D11VideoContext1* This,REFGUID guid,UINT DataSize,const void *pData) {
- return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_SetPrivateDataInterface(ID3D11VideoContext1* This,REFGUID guid,const IUnknown *pData) {
- return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
- }
- /*** ID3D11VideoContext methods ***/
- static FORCEINLINE HRESULT ID3D11VideoContext1_GetDecoderBuffer(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,D3D11_VIDEO_DECODER_BUFFER_TYPE type,UINT *buffer_size,void **buffer) {
- return This->lpVtbl->GetDecoderBuffer(This,decoder,type,buffer_size,buffer);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_ReleaseDecoderBuffer(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,D3D11_VIDEO_DECODER_BUFFER_TYPE type) {
- return This->lpVtbl->ReleaseDecoderBuffer(This,decoder,type);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderBeginFrame(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,ID3D11VideoDecoderOutputView *view,UINT key_size,const void *key) {
- return This->lpVtbl->DecoderBeginFrame(This,decoder,view,key_size,key);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderEndFrame(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder) {
- return This->lpVtbl->DecoderEndFrame(This,decoder);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_SubmitDecoderBuffers(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,UINT buffers_count,const D3D11_VIDEO_DECODER_BUFFER_DESC *buffer_desc) {
- return This->lpVtbl->SubmitDecoderBuffers(This,decoder,buffers_count,buffer_desc);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderExtension(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,const D3D11_VIDEO_DECODER_EXTENSION *extension) {
- return This->lpVtbl->DecoderExtension(This,decoder,extension);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputTargetRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL enable,const RECT *rect) {
- This->lpVtbl->VideoProcessorSetOutputTargetRect(This,processor,enable,rect);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputBackgroundColor(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL y_cb_cr,const D3D11_VIDEO_COLOR *color) {
- This->lpVtbl->VideoProcessorSetOutputBackgroundColor(This,processor,y_cb_cr,color);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputColorSpace(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) {
- This->lpVtbl->VideoProcessorSetOutputColorSpace(This,processor,color_space);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputAlphaFillMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE alpha_fill_mode,UINT stream_idx) {
- This->lpVtbl->VideoProcessorSetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputConstriction(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL enable,SIZE size) {
- This->lpVtbl->VideoProcessorSetOutputConstriction(This,processor,enable,size);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputStereoMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL enable) {
- This->lpVtbl->VideoProcessorSetOutputStereoMode(This,processor,enable);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorSetOutputExtension(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,const GUID *guid,UINT data_size,void *data) {
- return This->lpVtbl->VideoProcessorSetOutputExtension(This,processor,guid,data_size,data);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputTargetRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL *enabled,RECT *rect) {
- This->lpVtbl->VideoProcessorGetOutputTargetRect(This,processor,enabled,rect);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputBackgroundColor(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL *y_cb_cr,D3D11_VIDEO_COLOR *color) {
- This->lpVtbl->VideoProcessorGetOutputBackgroundColor(This,processor,y_cb_cr,color);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputColorSpace(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) {
- This->lpVtbl->VideoProcessorGetOutputColorSpace(This,processor,color_space);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputAlphaFillMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *alpha_fill_mode,UINT *stream_idx) {
- This->lpVtbl->VideoProcessorGetOutputAlphaFillMode(This,processor,alpha_fill_mode,stream_idx);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputConstriction(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL *enabled,SIZE *size) {
- This->lpVtbl->VideoProcessorGetOutputConstriction(This,processor,enabled,size);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputStereoMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL *enabled) {
- This->lpVtbl->VideoProcessorGetOutputStereoMode(This,processor,enabled);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorGetOutputExtension(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,const GUID *guid,UINT data_size,void *data) {
- return This->lpVtbl->VideoProcessorGetOutputExtension(This,processor,guid,data_size,data);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamFrameFormat(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_FRAME_FORMAT format) {
- This->lpVtbl->VideoProcessorSetStreamFrameFormat(This,processor,stream_idx,format);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamColorSpace(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) {
- This->lpVtbl->VideoProcessorSetStreamColorSpace(This,processor,stream_idx,color_space);
- }
- 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) {
- This->lpVtbl->VideoProcessorSetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamSourceRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable,const RECT *rect) {
- This->lpVtbl->VideoProcessorSetStreamSourceRect(This,processor,stream_idx,enable,rect);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamDestRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable,const RECT *rect) {
- This->lpVtbl->VideoProcessorSetStreamDestRect(This,processor,stream_idx,enable,rect);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamAlpha(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable,float alpha) {
- This->lpVtbl->VideoProcessorSetStreamAlpha(This,processor,stream_idx,enable,alpha);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamPalette(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,UINT entry_count,const UINT *entries) {
- This->lpVtbl->VideoProcessorSetStreamPalette(This,processor,stream_idx,entry_count,entries);
- }
- 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) {
- This->lpVtbl->VideoProcessorSetStreamPixelAspectRatio(This,processor,stream_idx,enable,src_aspect_ratio,dst_aspect_ratio);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamLumaKey(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable,float lower,float upper) {
- This->lpVtbl->VideoProcessorSetStreamLumaKey(This,processor,stream_idx,enable,lower,upper);
- }
- 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) {
- This->lpVtbl->VideoProcessorSetStreamStereoFormat(This,processor,stream_idx,enable,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable) {
- This->lpVtbl->VideoProcessorSetStreamAutoProcessingMode(This,processor,stream_idx,enable);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamFilter(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_FILTER filter,WINBOOL enable,int level) {
- This->lpVtbl->VideoProcessorSetStreamFilter(This,processor,stream_idx,filter,enable,level);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorSetStreamExtension(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,const GUID *guid,UINT data_size,void *data) {
- return This->lpVtbl->VideoProcessorSetStreamExtension(This,processor,stream_idx,guid,data_size,data);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamFrameFormat(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_FRAME_FORMAT *format) {
- This->lpVtbl->VideoProcessorGetStreamFrameFormat(This,processor,stream_idx,format);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamColorSpace(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_COLOR_SPACE *color_space) {
- This->lpVtbl->VideoProcessorGetStreamColorSpace(This,processor,stream_idx,color_space);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamOutputRate(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *rate,WINBOOL *repeat,DXGI_RATIONAL *custom_rate) {
- This->lpVtbl->VideoProcessorGetStreamOutputRate(This,processor,stream_idx,rate,repeat,custom_rate);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamSourceRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled,RECT *rect) {
- This->lpVtbl->VideoProcessorGetStreamSourceRect(This,processor,stream_idx,enabled,rect);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamDestRect(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled,RECT *rect) {
- This->lpVtbl->VideoProcessorGetStreamDestRect(This,processor,stream_idx,enabled,rect);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamAlpha(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled,float *alpha) {
- This->lpVtbl->VideoProcessorGetStreamAlpha(This,processor,stream_idx,enabled,alpha);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamPalette(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,UINT entry_count,UINT *entries) {
- This->lpVtbl->VideoProcessorGetStreamPalette(This,processor,stream_idx,entry_count,entries);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled,DXGI_RATIONAL *src_aspect_ratio,DXGI_RATIONAL *dst_aspect_ratio) {
- This->lpVtbl->VideoProcessorGetStreamPixelAspectRatio(This,processor,stream_idx,enabled,src_aspect_ratio,dst_aspect_ratio);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamLumaKey(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled,float *lower,float *upper) {
- This->lpVtbl->VideoProcessorGetStreamLumaKey(This,processor,stream_idx,enabled,lower,upper);
- }
- 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) {
- This->lpVtbl->VideoProcessorGetStreamStereoFormat(This,processor,stream_idx,enabled,format,left_view_frame0,base_view_frame0,flip_mode,mono_offset);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enabled) {
- This->lpVtbl->VideoProcessorGetStreamAutoProcessingMode(This,processor,stream_idx,enabled);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamFilter(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,D3D11_VIDEO_PROCESSOR_FILTER filter,WINBOOL *enabled,int *level) {
- This->lpVtbl->VideoProcessorGetStreamFilter(This,processor,stream_idx,filter,enabled,level);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorGetStreamExtension(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,const GUID *guid,UINT data_size,void *data) {
- return This->lpVtbl->VideoProcessorGetStreamExtension(This,processor,stream_idx,guid,data_size,data);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_VideoProcessorBlt(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,ID3D11VideoProcessorOutputView *view,UINT frame_idx,UINT stream_count,const D3D11_VIDEO_PROCESSOR_STREAM *streams) {
- return This->lpVtbl->VideoProcessorBlt(This,processor,view,frame_idx,stream_count,streams);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_NegotiateCryptoSessionKeyExchange(ID3D11VideoContext1* This,ID3D11CryptoSession *session,UINT data_size,void *data) {
- return This->lpVtbl->NegotiateCryptoSessionKeyExchange(This,session,data_size,data);
- }
- static FORCEINLINE void ID3D11VideoContext1_EncryptionBlt(ID3D11VideoContext1* This,ID3D11CryptoSession *session,ID3D11Texture2D *src_surface,ID3D11Texture2D *dst_surface,UINT iv_size,void *iv) {
- This->lpVtbl->EncryptionBlt(This,session,src_surface,dst_surface,iv_size,iv);
- }
- 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) {
- This->lpVtbl->DecryptionBlt(This,session,src_surface,dst_surface,block_info,key_size,key,iv_size,iv);
- }
- static FORCEINLINE void ID3D11VideoContext1_StartSessionKeyRefresh(ID3D11VideoContext1* This,ID3D11CryptoSession *session,UINT random_number_size,void *random_number) {
- This->lpVtbl->StartSessionKeyRefresh(This,session,random_number_size,random_number);
- }
- static FORCEINLINE void ID3D11VideoContext1_FinishSessionKeyRefresh(ID3D11VideoContext1* This,ID3D11CryptoSession *session) {
- This->lpVtbl->FinishSessionKeyRefresh(This,session);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_GetEncryptionBltKey(ID3D11VideoContext1* This,ID3D11CryptoSession *session,UINT key_size,void *key) {
- return This->lpVtbl->GetEncryptionBltKey(This,session,key_size,key);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_NegotiateAuthenticatedChannelKeyExchange(ID3D11VideoContext1* This,ID3D11AuthenticatedChannel *channel,UINT data_size,void *data) {
- return This->lpVtbl->NegotiateAuthenticatedChannelKeyExchange(This,channel,data_size,data);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_QueryAuthenticatedChannel(ID3D11VideoContext1* This,ID3D11AuthenticatedChannel *channel,UINT input_size,const void *input,UINT output_size,void *output) {
- return This->lpVtbl->QueryAuthenticatedChannel(This,channel,input_size,input,output_size,output);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_ConfigureAuthenticatedChannel(ID3D11VideoContext1* This,ID3D11AuthenticatedChannel *channel,UINT input_size,const void *input,D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *output) {
- return This->lpVtbl->ConfigureAuthenticatedChannel(This,channel,input_size,input,output);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamRotation(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL enable,D3D11_VIDEO_PROCESSOR_ROTATION rotation) {
- This->lpVtbl->VideoProcessorSetStreamRotation(This,processor,stream_idx,enable,rotation);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamRotation(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_idx,WINBOOL *enable,D3D11_VIDEO_PROCESSOR_ROTATION *rotation) {
- This->lpVtbl->VideoProcessorGetStreamRotation(This,processor,stream_idx,enable,rotation);
- }
- /*** ID3D11VideoContext1 methods ***/
- static FORCEINLINE HRESULT ID3D11VideoContext1_SubmitDecoderBuffers1(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,UINT buffer_count,const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc) {
- return This->lpVtbl->SubmitDecoderBuffers1(This,decoder,buffer_count,buffer_desc);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_GetDataForNewHardwareKey(ID3D11VideoContext1* This,ID3D11CryptoSession *session,UINT input_size,const void *input_data,UINT64 *output_data) {
- return This->lpVtbl->GetDataForNewHardwareKey(This,session,input_size,input_data,output_data);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_CheckCryptoSessionStatus(ID3D11VideoContext1* This,ID3D11CryptoSession *session,D3D11_CRYPTO_SESSION_STATUS *status) {
- return This->lpVtbl->CheckCryptoSessionStatus(This,session,status);
- }
- 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) {
- return This->lpVtbl->DecoderEnableDownsampling(This,decoder,colour_space,output_desc,reference_frame_count);
- }
- static FORCEINLINE HRESULT ID3D11VideoContext1_DecoderUpdateDownsampling(ID3D11VideoContext1* This,ID3D11VideoDecoder *decoder,const D3D11_VIDEO_SAMPLE_DESC *output_desc) {
- return This->lpVtbl->DecoderUpdateDownsampling(This,decoder,output_desc);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputColorSpace1(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,DXGI_COLOR_SPACE_TYPE colour_space) {
- This->lpVtbl->VideoProcessorSetOutputColorSpace1(This,processor,colour_space);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetOutputShaderUsage(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL shader_usage) {
- This->lpVtbl->VideoProcessorSetOutputShaderUsage(This,processor,shader_usage);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputColorSpace1(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,DXGI_COLOR_SPACE_TYPE *colour_space) {
- This->lpVtbl->VideoProcessorGetOutputColorSpace1(This,processor,colour_space);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetOutputShaderUsage(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,WINBOOL *shader_usage) {
- This->lpVtbl->VideoProcessorGetOutputShaderUsage(This,processor,shader_usage);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamColorSpace1(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_index,DXGI_COLOR_SPACE_TYPE colour_space) {
- This->lpVtbl->VideoProcessorSetStreamColorSpace1(This,processor,stream_index,colour_space);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorSetStreamMirror(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_index,WINBOOL enable,WINBOOL flip_horizontal,WINBOOL flip_vertical) {
- This->lpVtbl->VideoProcessorSetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamColorSpace1(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_index,DXGI_COLOR_SPACE_TYPE *colour_space) {
- This->lpVtbl->VideoProcessorGetStreamColorSpace1(This,processor,stream_index,colour_space);
- }
- static FORCEINLINE void ID3D11VideoContext1_VideoProcessorGetStreamMirror(ID3D11VideoContext1* This,ID3D11VideoProcessor *processor,UINT stream_index,WINBOOL *enable,WINBOOL *flip_horizontal,WINBOOL *flip_vertical) {
- This->lpVtbl->VideoProcessorGetStreamMirror(This,processor,stream_index,enable,flip_horizontal,flip_vertical);
- }
- 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) {
- return This->lpVtbl->VideoProcessorGetBehaviorHints(This,processor,output_width,output_height,output_format,stream_count,streams,behaviour_hints);
- }
- #endif
- #endif
- #endif
- #endif /* __ID3D11VideoContext1_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * ID3D11VideoDevice1 interface
- */
- #ifndef __ID3D11VideoDevice1_INTERFACE_DEFINED__
- #define __ID3D11VideoDevice1_INTERFACE_DEFINED__
- DEFINE_GUID(IID_ID3D11VideoDevice1, 0x29da1d51, 0x1321, 0x4454, 0x80,0x4b, 0xf5,0xfc,0x9f,0x86,0x1f,0x0f);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("29da1d51-1321-4454-804b-f5fc9f861f0f")
- ID3D11VideoDevice1 : public ID3D11VideoDevice
- {
- virtual HRESULT STDMETHODCALLTYPE GetCryptoSessionPrivateDataSize(
- const GUID *crypto_type,
- const GUID *decoder_profile,
- const GUID *key_exchange_type,
- UINT *input_size,
- UINT *output_size) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetVideoDecoderCaps(
- const GUID *decoder_profile,
- UINT sample_width,
- UINT sample_height,
- const DXGI_RATIONAL *framerate,
- UINT bitrate,
- const GUID *crypto_type,
- UINT *decoder_caps) = 0;
- virtual HRESULT STDMETHODCALLTYPE CheckVideoDecoderDownsampling(
- 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) = 0;
- virtual HRESULT STDMETHODCALLTYPE RecommendVideoDecoderDownsampleParameters(
- 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) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(ID3D11VideoDevice1, 0x29da1d51, 0x1321, 0x4454, 0x80,0x4b, 0xf5,0xfc,0x9f,0x86,0x1f,0x0f)
- #endif
- #else
- typedef struct ID3D11VideoDevice1Vtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- ID3D11VideoDevice1 *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- ID3D11VideoDevice1 *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- ID3D11VideoDevice1 *This);
- /*** ID3D11VideoDevice methods ***/
- HRESULT (STDMETHODCALLTYPE *CreateVideoDecoder)(
- ID3D11VideoDevice1 *This,
- const D3D11_VIDEO_DECODER_DESC *pVideoDesc,
- const D3D11_VIDEO_DECODER_CONFIG *pConfig,
- ID3D11VideoDecoder **ppDecoder);
- HRESULT (STDMETHODCALLTYPE *CreateVideoProcessor)(
- ID3D11VideoDevice1 *This,
- ID3D11VideoProcessorEnumerator *pEnum,
- UINT RateConversionIndex,
- ID3D11VideoProcessor **ppVideoProcessor);
- HRESULT (STDMETHODCALLTYPE *CreateAuthenticatedChannel)(
- ID3D11VideoDevice1 *This,
- D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,
- ID3D11AuthenticatedChannel **ppAuthenticatedChannel);
- HRESULT (STDMETHODCALLTYPE *CreateCryptoSession)(
- ID3D11VideoDevice1 *This,
- const GUID *pCryptoType,
- const GUID *pDecoderProfile,
- const GUID *pKeyExchangeType,
- ID3D11CryptoSession **ppCryptoSession);
- HRESULT (STDMETHODCALLTYPE *CreateVideoDecoderOutputView)(
- ID3D11VideoDevice1 *This,
- ID3D11Resource *pResource,
- const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc,
- ID3D11VideoDecoderOutputView **ppVDOVView);
- HRESULT (STDMETHODCALLTYPE *CreateVideoProcessorInputView)(
- ID3D11VideoDevice1 *This,
- ID3D11Resource *pResource,
- ID3D11VideoProcessorEnumerator *pEnum,
- const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc,
- ID3D11VideoProcessorInputView **ppVPIView);
- HRESULT (STDMETHODCALLTYPE *CreateVideoProcessorOutputView)(
- ID3D11VideoDevice1 *This,
- ID3D11Resource *pResource,
- ID3D11VideoProcessorEnumerator *pEnum,
- const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc,
- ID3D11VideoProcessorOutputView **ppVPOView);
- HRESULT (STDMETHODCALLTYPE *CreateVideoProcessorEnumerator)(
- ID3D11VideoDevice1 *This,
- const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc,
- ID3D11VideoProcessorEnumerator **ppEnum);
- UINT (STDMETHODCALLTYPE *GetVideoDecoderProfileCount)(
- ID3D11VideoDevice1 *This);
- HRESULT (STDMETHODCALLTYPE *GetVideoDecoderProfile)(
- ID3D11VideoDevice1 *This,
- UINT Index,
- GUID *pDecoderProfile);
- HRESULT (STDMETHODCALLTYPE *CheckVideoDecoderFormat)(
- ID3D11VideoDevice1 *This,
- const GUID *pDecoderProfile,
- DXGI_FORMAT Format,
- WINBOOL *pSupported);
- HRESULT (STDMETHODCALLTYPE *GetVideoDecoderConfigCount)(
- ID3D11VideoDevice1 *This,
- const D3D11_VIDEO_DECODER_DESC *pDesc,
- UINT *pCount);
- HRESULT (STDMETHODCALLTYPE *GetVideoDecoderConfig)(
- ID3D11VideoDevice1 *This,
- const D3D11_VIDEO_DECODER_DESC *pDesc,
- UINT Index,
- D3D11_VIDEO_DECODER_CONFIG *pConfig);
- HRESULT (STDMETHODCALLTYPE *GetContentProtectionCaps)(
- ID3D11VideoDevice1 *This,
- const GUID *pCryptoType,
- const GUID *pDecoderProfile,
- D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps);
- HRESULT (STDMETHODCALLTYPE *CheckCryptoKeyExchange)(
- ID3D11VideoDevice1 *This,
- const GUID *pCryptoType,
- const GUID *pDecoderProfile,
- UINT Index,
- GUID *pKeyExchangeType);
- HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
- ID3D11VideoDevice1 *This,
- REFGUID guid,
- UINT DataSize,
- const void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
- ID3D11VideoDevice1 *This,
- REFGUID guid,
- const IUnknown *pData);
- /*** ID3D11VideoDevice1 methods ***/
- HRESULT (STDMETHODCALLTYPE *GetCryptoSessionPrivateDataSize)(
- ID3D11VideoDevice1 *This,
- const GUID *crypto_type,
- const GUID *decoder_profile,
- const GUID *key_exchange_type,
- UINT *input_size,
- UINT *output_size);
- HRESULT (STDMETHODCALLTYPE *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);
- HRESULT (STDMETHODCALLTYPE *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);
- HRESULT (STDMETHODCALLTYPE *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);
- END_INTERFACE
- } ID3D11VideoDevice1Vtbl;
- interface ID3D11VideoDevice1 {
- CONST_VTBL ID3D11VideoDevice1Vtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define ID3D11VideoDevice1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define ID3D11VideoDevice1_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define ID3D11VideoDevice1_Release(This) (This)->lpVtbl->Release(This)
- /*** ID3D11VideoDevice methods ***/
- #define ID3D11VideoDevice1_CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder) (This)->lpVtbl->CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder)
- #define ID3D11VideoDevice1_CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor) (This)->lpVtbl->CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor)
- #define ID3D11VideoDevice1_CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel) (This)->lpVtbl->CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel)
- #define ID3D11VideoDevice1_CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession) (This)->lpVtbl->CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession)
- #define ID3D11VideoDevice1_CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView) (This)->lpVtbl->CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView)
- #define ID3D11VideoDevice1_CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView) (This)->lpVtbl->CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView)
- #define ID3D11VideoDevice1_CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView) (This)->lpVtbl->CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView)
- #define ID3D11VideoDevice1_CreateVideoProcessorEnumerator(This,pDesc,ppEnum) (This)->lpVtbl->CreateVideoProcessorEnumerator(This,pDesc,ppEnum)
- #define ID3D11VideoDevice1_GetVideoDecoderProfileCount(This) (This)->lpVtbl->GetVideoDecoderProfileCount(This)
- #define ID3D11VideoDevice1_GetVideoDecoderProfile(This,Index,pDecoderProfile) (This)->lpVtbl->GetVideoDecoderProfile(This,Index,pDecoderProfile)
- #define ID3D11VideoDevice1_CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported) (This)->lpVtbl->CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported)
- #define ID3D11VideoDevice1_GetVideoDecoderConfigCount(This,pDesc,pCount) (This)->lpVtbl->GetVideoDecoderConfigCount(This,pDesc,pCount)
- #define ID3D11VideoDevice1_GetVideoDecoderConfig(This,pDesc,Index,pConfig) (This)->lpVtbl->GetVideoDecoderConfig(This,pDesc,Index,pConfig)
- #define ID3D11VideoDevice1_GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps) (This)->lpVtbl->GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps)
- #define ID3D11VideoDevice1_CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType) (This)->lpVtbl->CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType)
- #define ID3D11VideoDevice1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
- #define ID3D11VideoDevice1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
- /*** ID3D11VideoDevice1 methods ***/
- #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)
- #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)
- #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)
- #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)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT ID3D11VideoDevice1_QueryInterface(ID3D11VideoDevice1* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG ID3D11VideoDevice1_AddRef(ID3D11VideoDevice1* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG ID3D11VideoDevice1_Release(ID3D11VideoDevice1* This) {
- return This->lpVtbl->Release(This);
- }
- /*** ID3D11VideoDevice methods ***/
- static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoDecoder(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *pVideoDesc,const D3D11_VIDEO_DECODER_CONFIG *pConfig,ID3D11VideoDecoder **ppDecoder) {
- return This->lpVtbl->CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoProcessor(ID3D11VideoDevice1* This,ID3D11VideoProcessorEnumerator *pEnum,UINT RateConversionIndex,ID3D11VideoProcessor **ppVideoProcessor) {
- return This->lpVtbl->CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateAuthenticatedChannel(ID3D11VideoDevice1* This,D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,ID3D11AuthenticatedChannel **ppAuthenticatedChannel) {
- return This->lpVtbl->CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateCryptoSession(ID3D11VideoDevice1* This,const GUID *pCryptoType,const GUID *pDecoderProfile,const GUID *pKeyExchangeType,ID3D11CryptoSession **ppCryptoSession) {
- return This->lpVtbl->CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoDecoderOutputView(ID3D11VideoDevice1* This,ID3D11Resource *pResource,const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc,ID3D11VideoDecoderOutputView **ppVDOVView) {
- return This->lpVtbl->CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoProcessorInputView(ID3D11VideoDevice1* This,ID3D11Resource *pResource,ID3D11VideoProcessorEnumerator *pEnum,const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc,ID3D11VideoProcessorInputView **ppVPIView) {
- return This->lpVtbl->CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoProcessorOutputView(ID3D11VideoDevice1* This,ID3D11Resource *pResource,ID3D11VideoProcessorEnumerator *pEnum,const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc,ID3D11VideoProcessorOutputView **ppVPOView) {
- return This->lpVtbl->CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_CreateVideoProcessorEnumerator(ID3D11VideoDevice1* This,const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc,ID3D11VideoProcessorEnumerator **ppEnum) {
- return This->lpVtbl->CreateVideoProcessorEnumerator(This,pDesc,ppEnum);
- }
- static FORCEINLINE UINT ID3D11VideoDevice1_GetVideoDecoderProfileCount(ID3D11VideoDevice1* This) {
- return This->lpVtbl->GetVideoDecoderProfileCount(This);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_GetVideoDecoderProfile(ID3D11VideoDevice1* This,UINT Index,GUID *pDecoderProfile) {
- return This->lpVtbl->GetVideoDecoderProfile(This,Index,pDecoderProfile);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_CheckVideoDecoderFormat(ID3D11VideoDevice1* This,const GUID *pDecoderProfile,DXGI_FORMAT Format,WINBOOL *pSupported) {
- return This->lpVtbl->CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_GetVideoDecoderConfigCount(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *pDesc,UINT *pCount) {
- return This->lpVtbl->GetVideoDecoderConfigCount(This,pDesc,pCount);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_GetVideoDecoderConfig(ID3D11VideoDevice1* This,const D3D11_VIDEO_DECODER_DESC *pDesc,UINT Index,D3D11_VIDEO_DECODER_CONFIG *pConfig) {
- return This->lpVtbl->GetVideoDecoderConfig(This,pDesc,Index,pConfig);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_GetContentProtectionCaps(ID3D11VideoDevice1* This,const GUID *pCryptoType,const GUID *pDecoderProfile,D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps) {
- return This->lpVtbl->GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_CheckCryptoKeyExchange(ID3D11VideoDevice1* This,const GUID *pCryptoType,const GUID *pDecoderProfile,UINT Index,GUID *pKeyExchangeType) {
- return This->lpVtbl->CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_SetPrivateData(ID3D11VideoDevice1* This,REFGUID guid,UINT DataSize,const void *pData) {
- return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11VideoDevice1_SetPrivateDataInterface(ID3D11VideoDevice1* This,REFGUID guid,const IUnknown *pData) {
- return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
- }
- /*** ID3D11VideoDevice1 methods ***/
- 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) {
- return This->lpVtbl->GetCryptoSessionPrivateDataSize(This,crypto_type,decoder_profile,key_exchange_type,input_size,output_size);
- }
- 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) {
- return This->lpVtbl->GetVideoDecoderCaps(This,decoder_profile,sample_width,sample_height,framerate,bitrate,crypto_type,decoder_caps);
- }
- 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) {
- return This->lpVtbl->CheckVideoDecoderDownsampling(This,input_desc,input_colour_space,input_config,framerate,output_desc,supported,real_time_hint);
- }
- 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) {
- return This->lpVtbl->RecommendVideoDecoderDownsampleParameters(This,input_desc,input_colour_space,input_config,framerate,recommended_output_desc);
- }
- #endif
- #endif
- #endif
- #endif /* __ID3D11VideoDevice1_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * ID3D11VideoProcessorEnumerator1 interface
- */
- #ifndef __ID3D11VideoProcessorEnumerator1_INTERFACE_DEFINED__
- #define __ID3D11VideoProcessorEnumerator1_INTERFACE_DEFINED__
- DEFINE_GUID(IID_ID3D11VideoProcessorEnumerator1, 0x465217f2, 0x5568, 0x43cf, 0xb5,0xb9, 0xf6,0x1d,0x54,0x53,0x1c,0xa1);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("465217f2-5568-43cf-b5b9-f61d54531ca1")
- ID3D11VideoProcessorEnumerator1 : public ID3D11VideoProcessorEnumerator
- {
- virtual HRESULT STDMETHODCALLTYPE CheckVideoProcessorFormatConversion(
- DXGI_FORMAT input_format,
- DXGI_COLOR_SPACE_TYPE input_colour_space,
- DXGI_FORMAT output_format,
- DXGI_COLOR_SPACE_TYPE output_colour_space,
- WINBOOL *supported) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(ID3D11VideoProcessorEnumerator1, 0x465217f2, 0x5568, 0x43cf, 0xb5,0xb9, 0xf6,0x1d,0x54,0x53,0x1c,0xa1)
- #endif
- #else
- typedef struct ID3D11VideoProcessorEnumerator1Vtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- ID3D11VideoProcessorEnumerator1 *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- ID3D11VideoProcessorEnumerator1 *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- ID3D11VideoProcessorEnumerator1 *This);
- /*** ID3D11DeviceChild methods ***/
- void (STDMETHODCALLTYPE *GetDevice)(
- ID3D11VideoProcessorEnumerator1 *This,
- ID3D11Device **ppDevice);
- HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
- ID3D11VideoProcessorEnumerator1 *This,
- REFGUID guid,
- UINT *pDataSize,
- void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
- ID3D11VideoProcessorEnumerator1 *This,
- REFGUID guid,
- UINT DataSize,
- const void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
- ID3D11VideoProcessorEnumerator1 *This,
- REFGUID guid,
- const IUnknown *pData);
- /*** ID3D11VideoProcessorEnumerator methods ***/
- HRESULT (STDMETHODCALLTYPE *GetVideoProcessorContentDesc)(
- ID3D11VideoProcessorEnumerator1 *This,
- D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc);
- HRESULT (STDMETHODCALLTYPE *CheckVideoProcessorFormat)(
- ID3D11VideoProcessorEnumerator1 *This,
- DXGI_FORMAT Format,
- UINT *pFlags);
- HRESULT (STDMETHODCALLTYPE *GetVideoProcessorCaps)(
- ID3D11VideoProcessorEnumerator1 *This,
- D3D11_VIDEO_PROCESSOR_CAPS *pCaps);
- HRESULT (STDMETHODCALLTYPE *GetVideoProcessorRateConversionCaps)(
- ID3D11VideoProcessorEnumerator1 *This,
- UINT TypeIndex,
- D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps);
- HRESULT (STDMETHODCALLTYPE *GetVideoProcessorCustomRate)(
- ID3D11VideoProcessorEnumerator1 *This,
- UINT TypeIndex,
- UINT CustomRateIndex,
- D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate);
- HRESULT (STDMETHODCALLTYPE *GetVideoProcessorFilterRange)(
- ID3D11VideoProcessorEnumerator1 *This,
- D3D11_VIDEO_PROCESSOR_FILTER Filter,
- D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange);
- /*** ID3D11VideoProcessorEnumerator1 methods ***/
- HRESULT (STDMETHODCALLTYPE *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);
- END_INTERFACE
- } ID3D11VideoProcessorEnumerator1Vtbl;
- interface ID3D11VideoProcessorEnumerator1 {
- CONST_VTBL ID3D11VideoProcessorEnumerator1Vtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define ID3D11VideoProcessorEnumerator1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define ID3D11VideoProcessorEnumerator1_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define ID3D11VideoProcessorEnumerator1_Release(This) (This)->lpVtbl->Release(This)
- /*** ID3D11DeviceChild methods ***/
- #define ID3D11VideoProcessorEnumerator1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
- #define ID3D11VideoProcessorEnumerator1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
- #define ID3D11VideoProcessorEnumerator1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
- #define ID3D11VideoProcessorEnumerator1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
- /*** ID3D11VideoProcessorEnumerator methods ***/
- #define ID3D11VideoProcessorEnumerator1_GetVideoProcessorContentDesc(This,pContentDesc) (This)->lpVtbl->GetVideoProcessorContentDesc(This,pContentDesc)
- #define ID3D11VideoProcessorEnumerator1_CheckVideoProcessorFormat(This,Format,pFlags) (This)->lpVtbl->CheckVideoProcessorFormat(This,Format,pFlags)
- #define ID3D11VideoProcessorEnumerator1_GetVideoProcessorCaps(This,pCaps) (This)->lpVtbl->GetVideoProcessorCaps(This,pCaps)
- #define ID3D11VideoProcessorEnumerator1_GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps) (This)->lpVtbl->GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps)
- #define ID3D11VideoProcessorEnumerator1_GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate) (This)->lpVtbl->GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate)
- #define ID3D11VideoProcessorEnumerator1_GetVideoProcessorFilterRange(This,Filter,pRange) (This)->lpVtbl->GetVideoProcessorFilterRange(This,Filter,pRange)
- /*** ID3D11VideoProcessorEnumerator1 methods ***/
- #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)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_QueryInterface(ID3D11VideoProcessorEnumerator1* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG ID3D11VideoProcessorEnumerator1_AddRef(ID3D11VideoProcessorEnumerator1* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG ID3D11VideoProcessorEnumerator1_Release(ID3D11VideoProcessorEnumerator1* This) {
- return This->lpVtbl->Release(This);
- }
- /*** ID3D11DeviceChild methods ***/
- static FORCEINLINE void ID3D11VideoProcessorEnumerator1_GetDevice(ID3D11VideoProcessorEnumerator1* This,ID3D11Device **ppDevice) {
- This->lpVtbl->GetDevice(This,ppDevice);
- }
- static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetPrivateData(ID3D11VideoProcessorEnumerator1* This,REFGUID guid,UINT *pDataSize,void *pData) {
- return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_SetPrivateData(ID3D11VideoProcessorEnumerator1* This,REFGUID guid,UINT DataSize,const void *pData) {
- return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_SetPrivateDataInterface(ID3D11VideoProcessorEnumerator1* This,REFGUID guid,const IUnknown *pData) {
- return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
- }
- /*** ID3D11VideoProcessorEnumerator methods ***/
- static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorContentDesc(ID3D11VideoProcessorEnumerator1* This,D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc) {
- return This->lpVtbl->GetVideoProcessorContentDesc(This,pContentDesc);
- }
- static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_CheckVideoProcessorFormat(ID3D11VideoProcessorEnumerator1* This,DXGI_FORMAT Format,UINT *pFlags) {
- return This->lpVtbl->CheckVideoProcessorFormat(This,Format,pFlags);
- }
- static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorCaps(ID3D11VideoProcessorEnumerator1* This,D3D11_VIDEO_PROCESSOR_CAPS *pCaps) {
- return This->lpVtbl->GetVideoProcessorCaps(This,pCaps);
- }
- static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorRateConversionCaps(ID3D11VideoProcessorEnumerator1* This,UINT TypeIndex,D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps) {
- return This->lpVtbl->GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps);
- }
- static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorCustomRate(ID3D11VideoProcessorEnumerator1* This,UINT TypeIndex,UINT CustomRateIndex,D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate) {
- return This->lpVtbl->GetVideoProcessorCustomRate(This,TypeIndex,CustomRateIndex,pRate);
- }
- static FORCEINLINE HRESULT ID3D11VideoProcessorEnumerator1_GetVideoProcessorFilterRange(ID3D11VideoProcessorEnumerator1* This,D3D11_VIDEO_PROCESSOR_FILTER Filter,D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange) {
- return This->lpVtbl->GetVideoProcessorFilterRange(This,Filter,pRange);
- }
- /*** ID3D11VideoProcessorEnumerator1 methods ***/
- 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) {
- return This->lpVtbl->CheckVideoProcessorFormatConversion(This,input_format,input_colour_space,output_format,output_colour_space,supported);
- }
- #endif
- #endif
- #endif
- #endif /* __ID3D11VideoProcessorEnumerator1_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * ID3DUserDefinedAnnotation interface
- */
- #ifndef __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__
- #define __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__
- DEFINE_GUID(IID_ID3DUserDefinedAnnotation, 0xb2daad8b, 0x03d4, 0x4dbf, 0x95,0xeb, 0x32,0xab,0x4b,0x63,0xd0,0xab);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("b2daad8b-03d4-4dbf-95eb-32ab4b63d0ab")
- ID3DUserDefinedAnnotation : public IUnknown
- {
- virtual INT STDMETHODCALLTYPE BeginEvent(
- LPCWSTR Name) = 0;
- virtual INT STDMETHODCALLTYPE EndEvent(
- ) = 0;
- virtual void STDMETHODCALLTYPE SetMarker(
- LPCWSTR Name) = 0;
- virtual WINBOOL STDMETHODCALLTYPE GetStatus(
- ) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(ID3DUserDefinedAnnotation, 0xb2daad8b, 0x03d4, 0x4dbf, 0x95,0xeb, 0x32,0xab,0x4b,0x63,0xd0,0xab)
- #endif
- #else
- typedef struct ID3DUserDefinedAnnotationVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- ID3DUserDefinedAnnotation *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- ID3DUserDefinedAnnotation *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- ID3DUserDefinedAnnotation *This);
- /*** ID3DUserDefinedAnnotation methods ***/
- INT (STDMETHODCALLTYPE *BeginEvent)(
- ID3DUserDefinedAnnotation *This,
- LPCWSTR Name);
- INT (STDMETHODCALLTYPE *EndEvent)(
- ID3DUserDefinedAnnotation *This);
- void (STDMETHODCALLTYPE *SetMarker)(
- ID3DUserDefinedAnnotation *This,
- LPCWSTR Name);
- WINBOOL (STDMETHODCALLTYPE *GetStatus)(
- ID3DUserDefinedAnnotation *This);
- END_INTERFACE
- } ID3DUserDefinedAnnotationVtbl;
- interface ID3DUserDefinedAnnotation {
- CONST_VTBL ID3DUserDefinedAnnotationVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define ID3DUserDefinedAnnotation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define ID3DUserDefinedAnnotation_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define ID3DUserDefinedAnnotation_Release(This) (This)->lpVtbl->Release(This)
- /*** ID3DUserDefinedAnnotation methods ***/
- #define ID3DUserDefinedAnnotation_BeginEvent(This,Name) (This)->lpVtbl->BeginEvent(This,Name)
- #define ID3DUserDefinedAnnotation_EndEvent(This) (This)->lpVtbl->EndEvent(This)
- #define ID3DUserDefinedAnnotation_SetMarker(This,Name) (This)->lpVtbl->SetMarker(This,Name)
- #define ID3DUserDefinedAnnotation_GetStatus(This) (This)->lpVtbl->GetStatus(This)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT ID3DUserDefinedAnnotation_QueryInterface(ID3DUserDefinedAnnotation* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG ID3DUserDefinedAnnotation_AddRef(ID3DUserDefinedAnnotation* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG ID3DUserDefinedAnnotation_Release(ID3DUserDefinedAnnotation* This) {
- return This->lpVtbl->Release(This);
- }
- /*** ID3DUserDefinedAnnotation methods ***/
- static FORCEINLINE INT ID3DUserDefinedAnnotation_BeginEvent(ID3DUserDefinedAnnotation* This,LPCWSTR Name) {
- return This->lpVtbl->BeginEvent(This,Name);
- }
- static FORCEINLINE INT ID3DUserDefinedAnnotation_EndEvent(ID3DUserDefinedAnnotation* This) {
- return This->lpVtbl->EndEvent(This);
- }
- static FORCEINLINE void ID3DUserDefinedAnnotation_SetMarker(ID3DUserDefinedAnnotation* This,LPCWSTR Name) {
- This->lpVtbl->SetMarker(This,Name);
- }
- static FORCEINLINE WINBOOL ID3DUserDefinedAnnotation_GetStatus(ID3DUserDefinedAnnotation* This) {
- return This->lpVtbl->GetStatus(This);
- }
- #endif
- #endif
- #endif
- #endif /* __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * ID3D11RasterizerState1 interface
- */
- #ifndef __ID3D11RasterizerState1_INTERFACE_DEFINED__
- #define __ID3D11RasterizerState1_INTERFACE_DEFINED__
- DEFINE_GUID(IID_ID3D11RasterizerState1, 0x1217d7a6, 0x5039, 0x418c, 0xb0,0x42, 0x9c,0xbe,0x25,0x6a,0xfd,0x6e);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("1217d7a6-5039-418c-b042-9cbe256afd6e")
- ID3D11RasterizerState1 : public ID3D11RasterizerState
- {
- virtual void STDMETHODCALLTYPE GetDesc1(
- D3D11_RASTERIZER_DESC1 *pDesc) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(ID3D11RasterizerState1, 0x1217d7a6, 0x5039, 0x418c, 0xb0,0x42, 0x9c,0xbe,0x25,0x6a,0xfd,0x6e)
- #endif
- #else
- typedef struct ID3D11RasterizerState1Vtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- ID3D11RasterizerState1 *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- ID3D11RasterizerState1 *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- ID3D11RasterizerState1 *This);
- /*** ID3D11DeviceChild methods ***/
- void (STDMETHODCALLTYPE *GetDevice)(
- ID3D11RasterizerState1 *This,
- ID3D11Device **ppDevice);
- HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
- ID3D11RasterizerState1 *This,
- REFGUID guid,
- UINT *pDataSize,
- void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
- ID3D11RasterizerState1 *This,
- REFGUID guid,
- UINT DataSize,
- const void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
- ID3D11RasterizerState1 *This,
- REFGUID guid,
- const IUnknown *pData);
- /*** ID3D11RasterizerState methods ***/
- void (STDMETHODCALLTYPE *GetDesc)(
- ID3D11RasterizerState1 *This,
- D3D11_RASTERIZER_DESC *pDesc);
- /*** ID3D11RasterizerState1 methods ***/
- void (STDMETHODCALLTYPE *GetDesc1)(
- ID3D11RasterizerState1 *This,
- D3D11_RASTERIZER_DESC1 *pDesc);
- END_INTERFACE
- } ID3D11RasterizerState1Vtbl;
- interface ID3D11RasterizerState1 {
- CONST_VTBL ID3D11RasterizerState1Vtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define ID3D11RasterizerState1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define ID3D11RasterizerState1_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define ID3D11RasterizerState1_Release(This) (This)->lpVtbl->Release(This)
- /*** ID3D11DeviceChild methods ***/
- #define ID3D11RasterizerState1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
- #define ID3D11RasterizerState1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
- #define ID3D11RasterizerState1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
- #define ID3D11RasterizerState1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
- /*** ID3D11RasterizerState methods ***/
- #define ID3D11RasterizerState1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
- /*** ID3D11RasterizerState1 methods ***/
- #define ID3D11RasterizerState1_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT ID3D11RasterizerState1_QueryInterface(ID3D11RasterizerState1* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG ID3D11RasterizerState1_AddRef(ID3D11RasterizerState1* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG ID3D11RasterizerState1_Release(ID3D11RasterizerState1* This) {
- return This->lpVtbl->Release(This);
- }
- /*** ID3D11DeviceChild methods ***/
- static FORCEINLINE void ID3D11RasterizerState1_GetDevice(ID3D11RasterizerState1* This,ID3D11Device **ppDevice) {
- This->lpVtbl->GetDevice(This,ppDevice);
- }
- static FORCEINLINE HRESULT ID3D11RasterizerState1_GetPrivateData(ID3D11RasterizerState1* This,REFGUID guid,UINT *pDataSize,void *pData) {
- return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11RasterizerState1_SetPrivateData(ID3D11RasterizerState1* This,REFGUID guid,UINT DataSize,const void *pData) {
- return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11RasterizerState1_SetPrivateDataInterface(ID3D11RasterizerState1* This,REFGUID guid,const IUnknown *pData) {
- return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
- }
- /*** ID3D11RasterizerState methods ***/
- static FORCEINLINE void ID3D11RasterizerState1_GetDesc(ID3D11RasterizerState1* This,D3D11_RASTERIZER_DESC *pDesc) {
- This->lpVtbl->GetDesc(This,pDesc);
- }
- /*** ID3D11RasterizerState1 methods ***/
- static FORCEINLINE void ID3D11RasterizerState1_GetDesc1(ID3D11RasterizerState1* This,D3D11_RASTERIZER_DESC1 *pDesc) {
- This->lpVtbl->GetDesc1(This,pDesc);
- }
- #endif
- #endif
- #endif
- #endif /* __ID3D11RasterizerState1_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * ID3D11Device1 interface
- */
- #ifndef __ID3D11Device1_INTERFACE_DEFINED__
- #define __ID3D11Device1_INTERFACE_DEFINED__
- DEFINE_GUID(IID_ID3D11Device1, 0xa04bfb29, 0x08ef, 0x43d6, 0xa4,0x9c, 0xa9,0xbd,0xbd,0xcb,0xe6,0x86);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("a04bfb29-08ef-43d6-a49c-a9bdbdcbe686")
- ID3D11Device1 : public ID3D11Device
- {
- virtual void STDMETHODCALLTYPE GetImmediateContext1(
- ID3D11DeviceContext1 **ppImmediateContext) = 0;
- virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext1(
- UINT ContextFlags,
- ID3D11DeviceContext1 **ppDeferredContext) = 0;
- virtual HRESULT STDMETHODCALLTYPE CreateBlendState1(
- const D3D11_BLEND_DESC1 *pBlendStateDesc,
- ID3D11BlendState1 **ppBlendState) = 0;
- virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState1(
- const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
- ID3D11RasterizerState1 **ppRasterizerState) = 0;
- virtual HRESULT STDMETHODCALLTYPE CreateDeviceContextState(
- UINT Flags,
- const D3D_FEATURE_LEVEL *pFeatureLevels,
- UINT FeatureLevels,
- UINT SDKVersion,
- REFIID EmulatedInterface,
- D3D_FEATURE_LEVEL *pChosenFeatureLevel,
- ID3DDeviceContextState **ppContextState) = 0;
- virtual HRESULT STDMETHODCALLTYPE OpenSharedResource1(
- HANDLE hResource,
- REFIID returnedInterface,
- void **ppResource) = 0;
- virtual HRESULT STDMETHODCALLTYPE OpenSharedResourceByName(
- LPCWSTR lpName,
- DWORD dwDesiredAccess,
- REFIID returnedInterface,
- void **ppResource) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(ID3D11Device1, 0xa04bfb29, 0x08ef, 0x43d6, 0xa4,0x9c, 0xa9,0xbd,0xbd,0xcb,0xe6,0x86)
- #endif
- #else
- typedef struct ID3D11Device1Vtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- ID3D11Device1 *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- ID3D11Device1 *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- ID3D11Device1 *This);
- /*** ID3D11Device methods ***/
- HRESULT (STDMETHODCALLTYPE *CreateBuffer)(
- ID3D11Device1 *This,
- const D3D11_BUFFER_DESC *pDesc,
- const D3D11_SUBRESOURCE_DATA *pInitialData,
- ID3D11Buffer **ppBuffer);
- HRESULT (STDMETHODCALLTYPE *CreateTexture1D)(
- ID3D11Device1 *This,
- const D3D11_TEXTURE1D_DESC *pDesc,
- const D3D11_SUBRESOURCE_DATA *pInitialData,
- ID3D11Texture1D **ppTexture1D);
- HRESULT (STDMETHODCALLTYPE *CreateTexture2D)(
- ID3D11Device1 *This,
- const D3D11_TEXTURE2D_DESC *pDesc,
- const D3D11_SUBRESOURCE_DATA *pInitialData,
- ID3D11Texture2D **ppTexture2D);
- HRESULT (STDMETHODCALLTYPE *CreateTexture3D)(
- ID3D11Device1 *This,
- const D3D11_TEXTURE3D_DESC *pDesc,
- const D3D11_SUBRESOURCE_DATA *pInitialData,
- ID3D11Texture3D **ppTexture3D);
- HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)(
- ID3D11Device1 *This,
- ID3D11Resource *pResource,
- const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
- ID3D11ShaderResourceView **ppSRView);
- HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView)(
- ID3D11Device1 *This,
- ID3D11Resource *pResource,
- const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
- ID3D11UnorderedAccessView **ppUAView);
- HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)(
- ID3D11Device1 *This,
- ID3D11Resource *pResource,
- const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
- ID3D11RenderTargetView **ppRTView);
- HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)(
- ID3D11Device1 *This,
- ID3D11Resource *pResource,
- const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
- ID3D11DepthStencilView **ppDepthStencilView);
- HRESULT (STDMETHODCALLTYPE *CreateInputLayout)(
- ID3D11Device1 *This,
- const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
- UINT NumElements,
- const void *pShaderBytecodeWithInputSignature,
- SIZE_T BytecodeLength,
- ID3D11InputLayout **ppInputLayout);
- HRESULT (STDMETHODCALLTYPE *CreateVertexShader)(
- ID3D11Device1 *This,
- const void *pShaderBytecode,
- SIZE_T BytecodeLength,
- ID3D11ClassLinkage *pClassLinkage,
- ID3D11VertexShader **ppVertexShader);
- HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)(
- ID3D11Device1 *This,
- const void *pShaderBytecode,
- SIZE_T BytecodeLength,
- ID3D11ClassLinkage *pClassLinkage,
- ID3D11GeometryShader **ppGeometryShader);
- HRESULT (STDMETHODCALLTYPE *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);
- HRESULT (STDMETHODCALLTYPE *CreatePixelShader)(
- ID3D11Device1 *This,
- const void *pShaderBytecode,
- SIZE_T BytecodeLength,
- ID3D11ClassLinkage *pClassLinkage,
- ID3D11PixelShader **ppPixelShader);
- HRESULT (STDMETHODCALLTYPE *CreateHullShader)(
- ID3D11Device1 *This,
- const void *pShaderBytecode,
- SIZE_T BytecodeLength,
- ID3D11ClassLinkage *pClassLinkage,
- ID3D11HullShader **ppHullShader);
- HRESULT (STDMETHODCALLTYPE *CreateDomainShader)(
- ID3D11Device1 *This,
- const void *pShaderBytecode,
- SIZE_T BytecodeLength,
- ID3D11ClassLinkage *pClassLinkage,
- ID3D11DomainShader **ppDomainShader);
- HRESULT (STDMETHODCALLTYPE *CreateComputeShader)(
- ID3D11Device1 *This,
- const void *pShaderBytecode,
- SIZE_T BytecodeLength,
- ID3D11ClassLinkage *pClassLinkage,
- ID3D11ComputeShader **ppComputeShader);
- HRESULT (STDMETHODCALLTYPE *CreateClassLinkage)(
- ID3D11Device1 *This,
- ID3D11ClassLinkage **ppLinkage);
- HRESULT (STDMETHODCALLTYPE *CreateBlendState)(
- ID3D11Device1 *This,
- const D3D11_BLEND_DESC *pBlendStateDesc,
- ID3D11BlendState **ppBlendState);
- HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)(
- ID3D11Device1 *This,
- const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
- ID3D11DepthStencilState **ppDepthStencilState);
- HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)(
- ID3D11Device1 *This,
- const D3D11_RASTERIZER_DESC *pRasterizerDesc,
- ID3D11RasterizerState **ppRasterizerState);
- HRESULT (STDMETHODCALLTYPE *CreateSamplerState)(
- ID3D11Device1 *This,
- const D3D11_SAMPLER_DESC *pSamplerDesc,
- ID3D11SamplerState **ppSamplerState);
- HRESULT (STDMETHODCALLTYPE *CreateQuery)(
- ID3D11Device1 *This,
- const D3D11_QUERY_DESC *pQueryDesc,
- ID3D11Query **ppQuery);
- HRESULT (STDMETHODCALLTYPE *CreatePredicate)(
- ID3D11Device1 *This,
- const D3D11_QUERY_DESC *pPredicateDesc,
- ID3D11Predicate **ppPredicate);
- HRESULT (STDMETHODCALLTYPE *CreateCounter)(
- ID3D11Device1 *This,
- const D3D11_COUNTER_DESC *pCounterDesc,
- ID3D11Counter **ppCounter);
- HRESULT (STDMETHODCALLTYPE *CreateDeferredContext)(
- ID3D11Device1 *This,
- UINT ContextFlags,
- ID3D11DeviceContext **ppDeferredContext);
- HRESULT (STDMETHODCALLTYPE *OpenSharedResource)(
- ID3D11Device1 *This,
- HANDLE hResource,
- REFIID ReturnedInterface,
- void **ppResource);
- HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)(
- ID3D11Device1 *This,
- DXGI_FORMAT Format,
- UINT *pFormatSupport);
- HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)(
- ID3D11Device1 *This,
- DXGI_FORMAT Format,
- UINT SampleCount,
- UINT *pNumQualityLevels);
- void (STDMETHODCALLTYPE *CheckCounterInfo)(
- ID3D11Device1 *This,
- D3D11_COUNTER_INFO *pCounterInfo);
- HRESULT (STDMETHODCALLTYPE *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);
- HRESULT (STDMETHODCALLTYPE *CheckFeatureSupport)(
- ID3D11Device1 *This,
- D3D11_FEATURE Feature,
- void *pFeatureSupportData,
- UINT FeatureSupportDataSize);
- HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
- ID3D11Device1 *This,
- REFGUID guid,
- UINT *pDataSize,
- void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
- ID3D11Device1 *This,
- REFGUID guid,
- UINT DataSize,
- const void *pData);
- HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
- ID3D11Device1 *This,
- REFGUID guid,
- const IUnknown *pData);
- D3D_FEATURE_LEVEL (STDMETHODCALLTYPE *GetFeatureLevel)(
- ID3D11Device1 *This);
- UINT (STDMETHODCALLTYPE *GetCreationFlags)(
- ID3D11Device1 *This);
- HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)(
- ID3D11Device1 *This);
- void (STDMETHODCALLTYPE *GetImmediateContext)(
- ID3D11Device1 *This,
- ID3D11DeviceContext **ppImmediateContext);
- HRESULT (STDMETHODCALLTYPE *SetExceptionMode)(
- ID3D11Device1 *This,
- UINT RaiseFlags);
- UINT (STDMETHODCALLTYPE *GetExceptionMode)(
- ID3D11Device1 *This);
- /*** ID3D11Device1 methods ***/
- void (STDMETHODCALLTYPE *GetImmediateContext1)(
- ID3D11Device1 *This,
- ID3D11DeviceContext1 **ppImmediateContext);
- HRESULT (STDMETHODCALLTYPE *CreateDeferredContext1)(
- ID3D11Device1 *This,
- UINT ContextFlags,
- ID3D11DeviceContext1 **ppDeferredContext);
- HRESULT (STDMETHODCALLTYPE *CreateBlendState1)(
- ID3D11Device1 *This,
- const D3D11_BLEND_DESC1 *pBlendStateDesc,
- ID3D11BlendState1 **ppBlendState);
- HRESULT (STDMETHODCALLTYPE *CreateRasterizerState1)(
- ID3D11Device1 *This,
- const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
- ID3D11RasterizerState1 **ppRasterizerState);
- HRESULT (STDMETHODCALLTYPE *CreateDeviceContextState)(
- ID3D11Device1 *This,
- UINT Flags,
- const D3D_FEATURE_LEVEL *pFeatureLevels,
- UINT FeatureLevels,
- UINT SDKVersion,
- REFIID EmulatedInterface,
- D3D_FEATURE_LEVEL *pChosenFeatureLevel,
- ID3DDeviceContextState **ppContextState);
- HRESULT (STDMETHODCALLTYPE *OpenSharedResource1)(
- ID3D11Device1 *This,
- HANDLE hResource,
- REFIID returnedInterface,
- void **ppResource);
- HRESULT (STDMETHODCALLTYPE *OpenSharedResourceByName)(
- ID3D11Device1 *This,
- LPCWSTR lpName,
- DWORD dwDesiredAccess,
- REFIID returnedInterface,
- void **ppResource);
- END_INTERFACE
- } ID3D11Device1Vtbl;
- interface ID3D11Device1 {
- CONST_VTBL ID3D11Device1Vtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define ID3D11Device1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define ID3D11Device1_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define ID3D11Device1_Release(This) (This)->lpVtbl->Release(This)
- /*** ID3D11Device methods ***/
- #define ID3D11Device1_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer)
- #define ID3D11Device1_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D)
- #define ID3D11Device1_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D)
- #define ID3D11Device1_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D)
- #define ID3D11Device1_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView)
- #define ID3D11Device1_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) (This)->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView)
- #define ID3D11Device1_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView)
- #define ID3D11Device1_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView)
- #define ID3D11Device1_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout)
- #define ID3D11Device1_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader)
- #define ID3D11Device1_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader)
- #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)
- #define ID3D11Device1_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader)
- #define ID3D11Device1_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) (This)->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader)
- #define ID3D11Device1_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) (This)->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader)
- #define ID3D11Device1_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) (This)->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader)
- #define ID3D11Device1_CreateClassLinkage(This,ppLinkage) (This)->lpVtbl->CreateClassLinkage(This,ppLinkage)
- #define ID3D11Device1_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState)
- #define ID3D11Device1_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState)
- #define ID3D11Device1_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState)
- #define ID3D11Device1_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState)
- #define ID3D11Device1_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery)
- #define ID3D11Device1_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate)
- #define ID3D11Device1_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter)
- #define ID3D11Device1_CreateDeferredContext(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext)
- #define ID3D11Device1_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource)
- #define ID3D11Device1_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport)
- #define ID3D11Device1_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels)
- #define ID3D11Device1_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo)
- #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)
- #define ID3D11Device1_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) (This)->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize)
- #define ID3D11Device1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
- #define ID3D11Device1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
- #define ID3D11Device1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
- #define ID3D11Device1_GetFeatureLevel(This) (This)->lpVtbl->GetFeatureLevel(This)
- #define ID3D11Device1_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This)
- #define ID3D11Device1_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This)
- #define ID3D11Device1_GetImmediateContext(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext(This,ppImmediateContext)
- #define ID3D11Device1_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags)
- #define ID3D11Device1_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This)
- /*** ID3D11Device1 methods ***/
- #define ID3D11Device1_GetImmediateContext1(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext1(This,ppImmediateContext)
- #define ID3D11Device1_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext)
- #define ID3D11Device1_CreateBlendState1(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState)
- #define ID3D11Device1_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState)
- #define ID3D11Device1_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) (This)->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState)
- #define ID3D11Device1_OpenSharedResource1(This,hResource,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource)
- #define ID3D11Device1_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT ID3D11Device1_QueryInterface(ID3D11Device1* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG ID3D11Device1_AddRef(ID3D11Device1* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG ID3D11Device1_Release(ID3D11Device1* This) {
- return This->lpVtbl->Release(This);
- }
- /*** ID3D11Device methods ***/
- static FORCEINLINE HRESULT ID3D11Device1_CreateBuffer(ID3D11Device1* This,const D3D11_BUFFER_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Buffer **ppBuffer) {
- return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateTexture1D(ID3D11Device1* This,const D3D11_TEXTURE1D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture1D **ppTexture1D) {
- return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateTexture2D(ID3D11Device1* This,const D3D11_TEXTURE2D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture2D **ppTexture2D) {
- return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateTexture3D(ID3D11Device1* This,const D3D11_TEXTURE3D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture3D **ppTexture3D) {
- return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateShaderResourceView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D11ShaderResourceView **ppSRView) {
- return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateUnorderedAccessView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,ID3D11UnorderedAccessView **ppUAView) {
- return This->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateRenderTargetView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,ID3D11RenderTargetView **ppRTView) {
- return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateDepthStencilView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D11DepthStencilView **ppDepthStencilView) {
- return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateInputLayout(ID3D11Device1* This,const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D11InputLayout **ppInputLayout) {
- return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateVertexShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11VertexShader **ppVertexShader) {
- return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateGeometryShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) {
- return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader);
- }
- 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) {
- return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreatePixelShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11PixelShader **ppPixelShader) {
- return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateHullShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11HullShader **ppHullShader) {
- return This->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateDomainShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11DomainShader **ppDomainShader) {
- return This->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateComputeShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11ComputeShader **ppComputeShader) {
- return This->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateClassLinkage(ID3D11Device1* This,ID3D11ClassLinkage **ppLinkage) {
- return This->lpVtbl->CreateClassLinkage(This,ppLinkage);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateBlendState(ID3D11Device1* This,const D3D11_BLEND_DESC *pBlendStateDesc,ID3D11BlendState **ppBlendState) {
- return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateDepthStencilState(ID3D11Device1* This,const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D11DepthStencilState **ppDepthStencilState) {
- return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateRasterizerState(ID3D11Device1* This,const D3D11_RASTERIZER_DESC *pRasterizerDesc,ID3D11RasterizerState **ppRasterizerState) {
- return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateSamplerState(ID3D11Device1* This,const D3D11_SAMPLER_DESC *pSamplerDesc,ID3D11SamplerState **ppSamplerState) {
- return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateQuery(ID3D11Device1* This,const D3D11_QUERY_DESC *pQueryDesc,ID3D11Query **ppQuery) {
- return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreatePredicate(ID3D11Device1* This,const D3D11_QUERY_DESC *pPredicateDesc,ID3D11Predicate **ppPredicate) {
- return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateCounter(ID3D11Device1* This,const D3D11_COUNTER_DESC *pCounterDesc,ID3D11Counter **ppCounter) {
- return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateDeferredContext(ID3D11Device1* This,UINT ContextFlags,ID3D11DeviceContext **ppDeferredContext) {
- return This->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext);
- }
- static FORCEINLINE HRESULT ID3D11Device1_OpenSharedResource(ID3D11Device1* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) {
- return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CheckFormatSupport(ID3D11Device1* This,DXGI_FORMAT Format,UINT *pFormatSupport) {
- return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CheckMultisampleQualityLevels(ID3D11Device1* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) {
- return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels);
- }
- static FORCEINLINE void ID3D11Device1_CheckCounterInfo(ID3D11Device1* This,D3D11_COUNTER_INFO *pCounterInfo) {
- This->lpVtbl->CheckCounterInfo(This,pCounterInfo);
- }
- 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) {
- return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CheckFeatureSupport(ID3D11Device1* This,D3D11_FEATURE Feature,void *pFeatureSupportData,UINT FeatureSupportDataSize) {
- return This->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize);
- }
- static FORCEINLINE HRESULT ID3D11Device1_GetPrivateData(ID3D11Device1* This,REFGUID guid,UINT *pDataSize,void *pData) {
- return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11Device1_SetPrivateData(ID3D11Device1* This,REFGUID guid,UINT DataSize,const void *pData) {
- return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
- }
- static FORCEINLINE HRESULT ID3D11Device1_SetPrivateDataInterface(ID3D11Device1* This,REFGUID guid,const IUnknown *pData) {
- return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
- }
- static FORCEINLINE D3D_FEATURE_LEVEL ID3D11Device1_GetFeatureLevel(ID3D11Device1* This) {
- return This->lpVtbl->GetFeatureLevel(This);
- }
- static FORCEINLINE UINT ID3D11Device1_GetCreationFlags(ID3D11Device1* This) {
- return This->lpVtbl->GetCreationFlags(This);
- }
- static FORCEINLINE HRESULT ID3D11Device1_GetDeviceRemovedReason(ID3D11Device1* This) {
- return This->lpVtbl->GetDeviceRemovedReason(This);
- }
- static FORCEINLINE void ID3D11Device1_GetImmediateContext(ID3D11Device1* This,ID3D11DeviceContext **ppImmediateContext) {
- This->lpVtbl->GetImmediateContext(This,ppImmediateContext);
- }
- static FORCEINLINE HRESULT ID3D11Device1_SetExceptionMode(ID3D11Device1* This,UINT RaiseFlags) {
- return This->lpVtbl->SetExceptionMode(This,RaiseFlags);
- }
- static FORCEINLINE UINT ID3D11Device1_GetExceptionMode(ID3D11Device1* This) {
- return This->lpVtbl->GetExceptionMode(This);
- }
- /*** ID3D11Device1 methods ***/
- static FORCEINLINE void ID3D11Device1_GetImmediateContext1(ID3D11Device1* This,ID3D11DeviceContext1 **ppImmediateContext) {
- This->lpVtbl->GetImmediateContext1(This,ppImmediateContext);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateDeferredContext1(ID3D11Device1* This,UINT ContextFlags,ID3D11DeviceContext1 **ppDeferredContext) {
- return This->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateBlendState1(ID3D11Device1* This,const D3D11_BLEND_DESC1 *pBlendStateDesc,ID3D11BlendState1 **ppBlendState) {
- return This->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState);
- }
- static FORCEINLINE HRESULT ID3D11Device1_CreateRasterizerState1(ID3D11Device1* This,const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,ID3D11RasterizerState1 **ppRasterizerState) {
- return This->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState);
- }
- 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) {
- return This->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState);
- }
- static FORCEINLINE HRESULT ID3D11Device1_OpenSharedResource1(ID3D11Device1* This,HANDLE hResource,REFIID returnedInterface,void **ppResource) {
- return This->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource);
- }
- static FORCEINLINE HRESULT ID3D11Device1_OpenSharedResourceByName(ID3D11Device1* This,LPCWSTR lpName,DWORD dwDesiredAccess,REFIID returnedInterface,void **ppResource) {
- return This->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource);
- }
- #endif
- #endif
- #endif
- #endif /* __ID3D11Device1_INTERFACE_DEFINED__ */
- /* Begin additional prototypes for all interfaces */
- /* End additional prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif /* __d3d11_1_h__ */
|