| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097 |
- /*-------------------------------------------------------------------------------------
- *
- * Copyright (c) Microsoft Corporation
- *
- *-------------------------------------------------------------------------------------*/
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 8.01.0622 */
- /* @@MIDL_FILE_HEADING( ) */
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 500
- #endif
- /* verify that the <rpcsal.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCSAL_H_VERSION__
- #define __REQUIRED_RPCSAL_H_VERSION__ 100
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif /* __RPCNDR_H_VERSION__ */
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __d3d11_4_h__
- #define __d3d11_4_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __ID3D11Device4_FWD_DEFINED__
- #define __ID3D11Device4_FWD_DEFINED__
- typedef interface ID3D11Device4 ID3D11Device4;
- #endif /* __ID3D11Device4_FWD_DEFINED__ */
- #ifndef __ID3D11Device5_FWD_DEFINED__
- #define __ID3D11Device5_FWD_DEFINED__
- typedef interface ID3D11Device5 ID3D11Device5;
- #endif /* __ID3D11Device5_FWD_DEFINED__ */
- #ifndef __ID3D11Multithread_FWD_DEFINED__
- #define __ID3D11Multithread_FWD_DEFINED__
- typedef interface ID3D11Multithread ID3D11Multithread;
- #endif /* __ID3D11Multithread_FWD_DEFINED__ */
- #ifndef __ID3D11VideoContext2_FWD_DEFINED__
- #define __ID3D11VideoContext2_FWD_DEFINED__
- typedef interface ID3D11VideoContext2 ID3D11VideoContext2;
- #endif /* __ID3D11VideoContext2_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "ocidl.h"
- #include "dxgi1_5.h"
- #include "d3dcommon.h"
- #include "d3d11_3.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- /* interface __MIDL_itf_d3d11_4_0000_0000 */
- /* [local] */
- #ifdef __cplusplus
- }
- #endif
- #include "d3d11_3.h" //
- #ifdef __cplusplus
- extern "C"{
- #endif
- #pragma region App Family
- #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0000_v0_0_s_ifspec;
- #ifndef __ID3D11Device4_INTERFACE_DEFINED__
- #define __ID3D11Device4_INTERFACE_DEFINED__
- /* interface ID3D11Device4 */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Device4;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8992ab71-02e6-4b8d-ba48-b056dcda42c4")
- ID3D11Device4 : public ID3D11Device3
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE RegisterDeviceRemovedEvent(
- /* [annotation] */
- _In_ HANDLE hEvent,
- /* [annotation] */
- _Out_ DWORD *pdwCookie) = 0;
-
- virtual void STDMETHODCALLTYPE UnregisterDeviceRemoved(
- /* [annotation] */
- _In_ DWORD dwCookie) = 0;
-
- };
-
-
- #else /* C style interface */
- typedef struct ID3D11Device4Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Device4 * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- _COM_Outptr_ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Device4 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Device4 * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBuffer )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_BUFFER_DESC *pDesc,
- /* [annotation] */
- _In_opt_ const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Buffer **ppBuffer);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE1D_DESC *pDesc,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture1D **ppTexture1D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE2D_DESC *pDesc,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture2D **ppTexture2D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE3D_DESC *pDesc,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture3D **ppTexture3D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11ShaderResourceView **ppSRView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11UnorderedAccessView **ppUAView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RenderTargetView **ppRTView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DepthStencilView **ppDepthStencilView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
- /* [annotation] */
- _In_range_( 0, D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecodeWithInputSignature,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11InputLayout **ppInputLayout);
-
- HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11VertexShader **ppVertexShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_reads_opt_(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
- /* [annotation] */
- _In_range_( 0, D3D11_SO_STREAM_COUNT * D3D11_SO_OUTPUT_COMPONENT_COUNT ) UINT NumEntries,
- /* [annotation] */
- _In_reads_opt_(NumStrides) const UINT *pBufferStrides,
- /* [annotation] */
- _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides,
- /* [annotation] */
- _In_ UINT RasterizedStream,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11PixelShader **ppPixelShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateHullShader )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11HullShader **ppHullShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDomainShader )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DomainShader **ppDomainShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateComputeShader )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11ComputeShader **ppComputeShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateClassLinkage )(
- ID3D11Device4 * This,
- /* [annotation] */
- _COM_Outptr_ ID3D11ClassLinkage **ppLinkage);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBlendState )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_BLEND_DESC *pBlendStateDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11BlendState **ppBlendState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DepthStencilState **ppDepthStencilState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_RASTERIZER_DESC *pRasterizerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RasterizerState **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_SAMPLER_DESC *pSamplerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11SamplerState **ppSamplerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateQuery )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_QUERY_DESC *pQueryDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Query **ppQuery);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePredicate )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_QUERY_DESC *pPredicateDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Predicate **ppPredicate);
-
- HRESULT ( STDMETHODCALLTYPE *CreateCounter )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_COUNTER_DESC *pCounterDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Counter **ppCounter);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext )(
- ID3D11Device4 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext **ppDeferredContext);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ HANDLE hResource,
- /* [annotation] */
- _In_ REFIID ReturnedInterface,
- /* [annotation] */
- _COM_Outptr_opt_ void **ppResource);
-
- HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _Out_ UINT *pFormatSupport);
-
- HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _In_ UINT SampleCount,
- /* [annotation] */
- _Out_ UINT *pNumQualityLevels);
-
- void ( STDMETHODCALLTYPE *CheckCounterInfo )(
- ID3D11Device4 * This,
- /* [annotation] */
- _Out_ D3D11_COUNTER_INFO *pCounterInfo);
-
- HRESULT ( STDMETHODCALLTYPE *CheckCounter )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_COUNTER_DESC *pDesc,
- /* [annotation] */
- _Out_ D3D11_COUNTER_TYPE *pType,
- /* [annotation] */
- _Out_ UINT *pActiveCounters,
- /* [annotation] */
- _Out_writes_opt_(*pNameLength) LPSTR szName,
- /* [annotation] */
- _Inout_opt_ UINT *pNameLength,
- /* [annotation] */
- _Out_writes_opt_(*pUnitsLength) LPSTR szUnits,
- /* [annotation] */
- _Inout_opt_ UINT *pUnitsLength,
- /* [annotation] */
- _Out_writes_opt_(*pDescriptionLength) LPSTR szDescription,
- /* [annotation] */
- _Inout_opt_ UINT *pDescriptionLength);
-
- HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )(
- ID3D11Device4 * This,
- D3D11_FEATURE Feature,
- /* [annotation] */
- _Out_writes_bytes_(FeatureSupportDataSize) void *pFeatureSupportData,
- UINT FeatureSupportDataSize);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _Inout_ UINT *pDataSize,
- /* [annotation] */
- _Out_writes_bytes_opt_(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_reads_bytes_opt_(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_opt_ const IUnknown *pData);
-
- D3D_FEATURE_LEVEL ( STDMETHODCALLTYPE *GetFeatureLevel )(
- ID3D11Device4 * This);
-
- UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
- ID3D11Device4 * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )(
- ID3D11Device4 * This);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext )(
- ID3D11Device4 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )(
- ID3D11Device4 * This,
- UINT RaiseFlags);
-
- UINT ( STDMETHODCALLTYPE *GetExceptionMode )(
- ID3D11Device4 * This);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext1 **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext1 )(
- ID3D11Device4 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext1 **ppDeferredContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBlendState1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_BLEND_DESC1 *pBlendStateDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11BlendState1 **ppBlendState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RasterizerState1 **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeviceContextState )(
- ID3D11Device4 * This,
- UINT Flags,
- /* [annotation] */
- _In_reads_( FeatureLevels ) const D3D_FEATURE_LEVEL *pFeatureLevels,
- UINT FeatureLevels,
- UINT SDKVersion,
- REFIID EmulatedInterface,
- /* [annotation] */
- _Out_opt_ D3D_FEATURE_LEVEL *pChosenFeatureLevel,
- /* [annotation] */
- _Out_opt_ ID3DDeviceContextState **ppContextState);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResource1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ HANDLE hResource,
- /* [annotation] */
- _In_ REFIID returnedInterface,
- /* [annotation] */
- _COM_Outptr_ void **ppResource);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResourceByName )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ LPCWSTR lpName,
- /* [annotation] */
- _In_ DWORD dwDesiredAccess,
- /* [annotation] */
- _In_ REFIID returnedInterface,
- /* [annotation] */
- _COM_Outptr_ void **ppResource);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext2 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext2 **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext2 )(
- ID3D11Device4 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext2 **ppDeferredContext);
-
- void ( STDMETHODCALLTYPE *GetResourceTiling )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pTiledResource,
- /* [annotation] */
- _Out_opt_ UINT *pNumTilesForEntireResource,
- /* [annotation] */
- _Out_opt_ D3D11_PACKED_MIP_DESC *pPackedMipDesc,
- /* [annotation] */
- _Out_opt_ D3D11_TILE_SHAPE *pStandardTileShapeForNonPackedMips,
- /* [annotation] */
- _Inout_opt_ UINT *pNumSubresourceTilings,
- /* [annotation] */
- _In_ UINT FirstSubresourceTilingToGet,
- /* [annotation] */
- _Out_writes_(*pNumSubresourceTilings) D3D11_SUBRESOURCE_TILING *pSubresourceTilingsForNonPackedMips);
-
- HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _In_ UINT SampleCount,
- /* [annotation] */
- _In_ UINT Flags,
- /* [annotation] */
- _Out_ UINT *pNumQualityLevels);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture2D1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE2D_DESC1 *pDesc1,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc1->MipLevels * pDesc1->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture2D1 **ppTexture2D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture3D1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE3D_DESC1 *pDesc1,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc1->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture3D1 **ppTexture3D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState2 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_RASTERIZER_DESC2 *pRasterizerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RasterizerState2 **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC1 *pDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11ShaderResourceView1 **ppSRView1);
-
- HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *pDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11UnorderedAccessView1 **ppUAView1);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC1 *pDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RenderTargetView1 **ppRTView1);
-
- HRESULT ( STDMETHODCALLTYPE *CreateQuery1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_QUERY_DESC1 *pQueryDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Query1 **ppQuery1);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext3 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext3 **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext3 )(
- ID3D11Device4 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext3 **ppDeferredContext);
-
- void ( STDMETHODCALLTYPE *WriteToSubresource )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pDstResource,
- /* [annotation] */
- _In_ UINT DstSubresource,
- /* [annotation] */
- _In_opt_ const D3D11_BOX *pDstBox,
- /* [annotation] */
- _In_ const void *pSrcData,
- /* [annotation] */
- _In_ UINT SrcRowPitch,
- /* [annotation] */
- _In_ UINT SrcDepthPitch);
-
- void ( STDMETHODCALLTYPE *ReadFromSubresource )(
- ID3D11Device4 * This,
- /* [annotation] */
- _Out_ void *pDstData,
- /* [annotation] */
- _In_ UINT DstRowPitch,
- /* [annotation] */
- _In_ UINT DstDepthPitch,
- /* [annotation] */
- _In_ ID3D11Resource *pSrcResource,
- /* [annotation] */
- _In_ UINT SrcSubresource,
- /* [annotation] */
- _In_opt_ const D3D11_BOX *pSrcBox);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterDeviceRemovedEvent )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ HANDLE hEvent,
- /* [annotation] */
- _Out_ DWORD *pdwCookie);
-
- void ( STDMETHODCALLTYPE *UnregisterDeviceRemoved )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ DWORD dwCookie);
-
- END_INTERFACE
- } ID3D11Device4Vtbl;
- interface ID3D11Device4
- {
- CONST_VTBL struct ID3D11Device4Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Device4_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Device4_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Device4_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Device4_CreateBuffer(This,pDesc,pInitialData,ppBuffer) \
- ( (This)->lpVtbl -> CreateBuffer(This,pDesc,pInitialData,ppBuffer) )
- #define ID3D11Device4_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) \
- ( (This)->lpVtbl -> CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) )
- #define ID3D11Device4_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) \
- ( (This)->lpVtbl -> CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) )
- #define ID3D11Device4_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) \
- ( (This)->lpVtbl -> CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) )
- #define ID3D11Device4_CreateShaderResourceView(This,pResource,pDesc,ppSRView) \
- ( (This)->lpVtbl -> CreateShaderResourceView(This,pResource,pDesc,ppSRView) )
- #define ID3D11Device4_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) \
- ( (This)->lpVtbl -> CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) )
- #define ID3D11Device4_CreateRenderTargetView(This,pResource,pDesc,ppRTView) \
- ( (This)->lpVtbl -> CreateRenderTargetView(This,pResource,pDesc,ppRTView) )
- #define ID3D11Device4_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) \
- ( (This)->lpVtbl -> CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) )
- #define ID3D11Device4_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) \
- ( (This)->lpVtbl -> CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) )
- #define ID3D11Device4_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) \
- ( (This)->lpVtbl -> CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) )
- #define ID3D11Device4_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) \
- ( (This)->lpVtbl -> CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) )
- #define ID3D11Device4_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 ID3D11Device4_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) \
- ( (This)->lpVtbl -> CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) )
- #define ID3D11Device4_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) \
- ( (This)->lpVtbl -> CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) )
- #define ID3D11Device4_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) \
- ( (This)->lpVtbl -> CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) )
- #define ID3D11Device4_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) \
- ( (This)->lpVtbl -> CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) )
- #define ID3D11Device4_CreateClassLinkage(This,ppLinkage) \
- ( (This)->lpVtbl -> CreateClassLinkage(This,ppLinkage) )
- #define ID3D11Device4_CreateBlendState(This,pBlendStateDesc,ppBlendState) \
- ( (This)->lpVtbl -> CreateBlendState(This,pBlendStateDesc,ppBlendState) )
- #define ID3D11Device4_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) \
- ( (This)->lpVtbl -> CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) )
- #define ID3D11Device4_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device4_CreateSamplerState(This,pSamplerDesc,ppSamplerState) \
- ( (This)->lpVtbl -> CreateSamplerState(This,pSamplerDesc,ppSamplerState) )
- #define ID3D11Device4_CreateQuery(This,pQueryDesc,ppQuery) \
- ( (This)->lpVtbl -> CreateQuery(This,pQueryDesc,ppQuery) )
- #define ID3D11Device4_CreatePredicate(This,pPredicateDesc,ppPredicate) \
- ( (This)->lpVtbl -> CreatePredicate(This,pPredicateDesc,ppPredicate) )
- #define ID3D11Device4_CreateCounter(This,pCounterDesc,ppCounter) \
- ( (This)->lpVtbl -> CreateCounter(This,pCounterDesc,ppCounter) )
- #define ID3D11Device4_CreateDeferredContext(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device4_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResource(This,hResource,ReturnedInterface,ppResource) )
- #define ID3D11Device4_CheckFormatSupport(This,Format,pFormatSupport) \
- ( (This)->lpVtbl -> CheckFormatSupport(This,Format,pFormatSupport) )
- #define ID3D11Device4_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) \
- ( (This)->lpVtbl -> CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) )
- #define ID3D11Device4_CheckCounterInfo(This,pCounterInfo) \
- ( (This)->lpVtbl -> CheckCounterInfo(This,pCounterInfo) )
- #define ID3D11Device4_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 ID3D11Device4_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) \
- ( (This)->lpVtbl -> CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) )
- #define ID3D11Device4_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Device4_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Device4_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Device4_GetFeatureLevel(This) \
- ( (This)->lpVtbl -> GetFeatureLevel(This) )
- #define ID3D11Device4_GetCreationFlags(This) \
- ( (This)->lpVtbl -> GetCreationFlags(This) )
- #define ID3D11Device4_GetDeviceRemovedReason(This) \
- ( (This)->lpVtbl -> GetDeviceRemovedReason(This) )
- #define ID3D11Device4_GetImmediateContext(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext(This,ppImmediateContext) )
- #define ID3D11Device4_SetExceptionMode(This,RaiseFlags) \
- ( (This)->lpVtbl -> SetExceptionMode(This,RaiseFlags) )
- #define ID3D11Device4_GetExceptionMode(This) \
- ( (This)->lpVtbl -> GetExceptionMode(This) )
- #define ID3D11Device4_GetImmediateContext1(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext1(This,ppImmediateContext) )
- #define ID3D11Device4_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext1(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device4_CreateBlendState1(This,pBlendStateDesc,ppBlendState) \
- ( (This)->lpVtbl -> CreateBlendState1(This,pBlendStateDesc,ppBlendState) )
- #define ID3D11Device4_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device4_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) \
- ( (This)->lpVtbl -> CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) )
- #define ID3D11Device4_OpenSharedResource1(This,hResource,returnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResource1(This,hResource,returnedInterface,ppResource) )
- #define ID3D11Device4_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) )
- #define ID3D11Device4_GetImmediateContext2(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext2(This,ppImmediateContext) )
- #define ID3D11Device4_CreateDeferredContext2(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext2(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device4_GetResourceTiling(This,pTiledResource,pNumTilesForEntireResource,pPackedMipDesc,pStandardTileShapeForNonPackedMips,pNumSubresourceTilings,FirstSubresourceTilingToGet,pSubresourceTilingsForNonPackedMips) \
- ( (This)->lpVtbl -> GetResourceTiling(This,pTiledResource,pNumTilesForEntireResource,pPackedMipDesc,pStandardTileShapeForNonPackedMips,pNumSubresourceTilings,FirstSubresourceTilingToGet,pSubresourceTilingsForNonPackedMips) )
- #define ID3D11Device4_CheckMultisampleQualityLevels1(This,Format,SampleCount,Flags,pNumQualityLevels) \
- ( (This)->lpVtbl -> CheckMultisampleQualityLevels1(This,Format,SampleCount,Flags,pNumQualityLevels) )
- #define ID3D11Device4_CreateTexture2D1(This,pDesc1,pInitialData,ppTexture2D) \
- ( (This)->lpVtbl -> CreateTexture2D1(This,pDesc1,pInitialData,ppTexture2D) )
- #define ID3D11Device4_CreateTexture3D1(This,pDesc1,pInitialData,ppTexture3D) \
- ( (This)->lpVtbl -> CreateTexture3D1(This,pDesc1,pInitialData,ppTexture3D) )
- #define ID3D11Device4_CreateRasterizerState2(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState2(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device4_CreateShaderResourceView1(This,pResource,pDesc1,ppSRView1) \
- ( (This)->lpVtbl -> CreateShaderResourceView1(This,pResource,pDesc1,ppSRView1) )
- #define ID3D11Device4_CreateUnorderedAccessView1(This,pResource,pDesc1,ppUAView1) \
- ( (This)->lpVtbl -> CreateUnorderedAccessView1(This,pResource,pDesc1,ppUAView1) )
- #define ID3D11Device4_CreateRenderTargetView1(This,pResource,pDesc1,ppRTView1) \
- ( (This)->lpVtbl -> CreateRenderTargetView1(This,pResource,pDesc1,ppRTView1) )
- #define ID3D11Device4_CreateQuery1(This,pQueryDesc1,ppQuery1) \
- ( (This)->lpVtbl -> CreateQuery1(This,pQueryDesc1,ppQuery1) )
- #define ID3D11Device4_GetImmediateContext3(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext3(This,ppImmediateContext) )
- #define ID3D11Device4_CreateDeferredContext3(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext3(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device4_WriteToSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) \
- ( (This)->lpVtbl -> WriteToSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) )
- #define ID3D11Device4_ReadFromSubresource(This,pDstData,DstRowPitch,DstDepthPitch,pSrcResource,SrcSubresource,pSrcBox) \
- ( (This)->lpVtbl -> ReadFromSubresource(This,pDstData,DstRowPitch,DstDepthPitch,pSrcResource,SrcSubresource,pSrcBox) )
- #define ID3D11Device4_RegisterDeviceRemovedEvent(This,hEvent,pdwCookie) \
- ( (This)->lpVtbl -> RegisterDeviceRemovedEvent(This,hEvent,pdwCookie) )
- #define ID3D11Device4_UnregisterDeviceRemoved(This,dwCookie) \
- ( (This)->lpVtbl -> UnregisterDeviceRemoved(This,dwCookie) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Device4_INTERFACE_DEFINED__ */
- #ifndef __ID3D11Device5_INTERFACE_DEFINED__
- #define __ID3D11Device5_INTERFACE_DEFINED__
- /* interface ID3D11Device5 */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Device5;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8ffde202-a0e7-45df-9e01-e837801b5ea0")
- ID3D11Device5 : public ID3D11Device4
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OpenSharedFence(
- /* [annotation] */
- _In_ HANDLE hFence,
- /* [annotation] */
- _In_ REFIID ReturnedInterface,
- /* [annotation] */
- _COM_Outptr_opt_ void **ppFence) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateFence(
- /* [annotation] */
- _In_ UINT64 InitialValue,
- /* [annotation] */
- _In_ D3D11_FENCE_FLAG Flags,
- /* [annotation] */
- _In_ REFIID ReturnedInterface,
- /* [annotation] */
- _COM_Outptr_opt_ void **ppFence) = 0;
-
- };
-
-
- #else /* C style interface */
- typedef struct ID3D11Device5Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Device5 * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- _COM_Outptr_ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Device5 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Device5 * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBuffer )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_BUFFER_DESC *pDesc,
- /* [annotation] */
- _In_opt_ const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Buffer **ppBuffer);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE1D_DESC *pDesc,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture1D **ppTexture1D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE2D_DESC *pDesc,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture2D **ppTexture2D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE3D_DESC *pDesc,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture3D **ppTexture3D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11ShaderResourceView **ppSRView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11UnorderedAccessView **ppUAView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RenderTargetView **ppRTView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DepthStencilView **ppDepthStencilView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
- /* [annotation] */
- _In_range_( 0, D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecodeWithInputSignature,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11InputLayout **ppInputLayout);
-
- HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11VertexShader **ppVertexShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_reads_opt_(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
- /* [annotation] */
- _In_range_( 0, D3D11_SO_STREAM_COUNT * D3D11_SO_OUTPUT_COMPONENT_COUNT ) UINT NumEntries,
- /* [annotation] */
- _In_reads_opt_(NumStrides) const UINT *pBufferStrides,
- /* [annotation] */
- _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides,
- /* [annotation] */
- _In_ UINT RasterizedStream,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11PixelShader **ppPixelShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateHullShader )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11HullShader **ppHullShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDomainShader )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DomainShader **ppDomainShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateComputeShader )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11ComputeShader **ppComputeShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateClassLinkage )(
- ID3D11Device5 * This,
- /* [annotation] */
- _COM_Outptr_ ID3D11ClassLinkage **ppLinkage);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBlendState )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_BLEND_DESC *pBlendStateDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11BlendState **ppBlendState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DepthStencilState **ppDepthStencilState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_RASTERIZER_DESC *pRasterizerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RasterizerState **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_SAMPLER_DESC *pSamplerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11SamplerState **ppSamplerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateQuery )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_QUERY_DESC *pQueryDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Query **ppQuery);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePredicate )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_QUERY_DESC *pPredicateDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Predicate **ppPredicate);
-
- HRESULT ( STDMETHODCALLTYPE *CreateCounter )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_COUNTER_DESC *pCounterDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Counter **ppCounter);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext )(
- ID3D11Device5 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext **ppDeferredContext);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ HANDLE hResource,
- /* [annotation] */
- _In_ REFIID ReturnedInterface,
- /* [annotation] */
- _COM_Outptr_opt_ void **ppResource);
-
- HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _Out_ UINT *pFormatSupport);
-
- HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _In_ UINT SampleCount,
- /* [annotation] */
- _Out_ UINT *pNumQualityLevels);
-
- void ( STDMETHODCALLTYPE *CheckCounterInfo )(
- ID3D11Device5 * This,
- /* [annotation] */
- _Out_ D3D11_COUNTER_INFO *pCounterInfo);
-
- HRESULT ( STDMETHODCALLTYPE *CheckCounter )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_COUNTER_DESC *pDesc,
- /* [annotation] */
- _Out_ D3D11_COUNTER_TYPE *pType,
- /* [annotation] */
- _Out_ UINT *pActiveCounters,
- /* [annotation] */
- _Out_writes_opt_(*pNameLength) LPSTR szName,
- /* [annotation] */
- _Inout_opt_ UINT *pNameLength,
- /* [annotation] */
- _Out_writes_opt_(*pUnitsLength) LPSTR szUnits,
- /* [annotation] */
- _Inout_opt_ UINT *pUnitsLength,
- /* [annotation] */
- _Out_writes_opt_(*pDescriptionLength) LPSTR szDescription,
- /* [annotation] */
- _Inout_opt_ UINT *pDescriptionLength);
-
- HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )(
- ID3D11Device5 * This,
- D3D11_FEATURE Feature,
- /* [annotation] */
- _Out_writes_bytes_(FeatureSupportDataSize) void *pFeatureSupportData,
- UINT FeatureSupportDataSize);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _Inout_ UINT *pDataSize,
- /* [annotation] */
- _Out_writes_bytes_opt_(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_reads_bytes_opt_(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_opt_ const IUnknown *pData);
-
- D3D_FEATURE_LEVEL ( STDMETHODCALLTYPE *GetFeatureLevel )(
- ID3D11Device5 * This);
-
- UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
- ID3D11Device5 * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )(
- ID3D11Device5 * This);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext )(
- ID3D11Device5 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )(
- ID3D11Device5 * This,
- UINT RaiseFlags);
-
- UINT ( STDMETHODCALLTYPE *GetExceptionMode )(
- ID3D11Device5 * This);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext1 **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext1 )(
- ID3D11Device5 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext1 **ppDeferredContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBlendState1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_BLEND_DESC1 *pBlendStateDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11BlendState1 **ppBlendState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RasterizerState1 **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeviceContextState )(
- ID3D11Device5 * This,
- UINT Flags,
- /* [annotation] */
- _In_reads_( FeatureLevels ) const D3D_FEATURE_LEVEL *pFeatureLevels,
- UINT FeatureLevels,
- UINT SDKVersion,
- REFIID EmulatedInterface,
- /* [annotation] */
- _Out_opt_ D3D_FEATURE_LEVEL *pChosenFeatureLevel,
- /* [annotation] */
- _Out_opt_ ID3DDeviceContextState **ppContextState);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResource1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ HANDLE hResource,
- /* [annotation] */
- _In_ REFIID returnedInterface,
- /* [annotation] */
- _COM_Outptr_ void **ppResource);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResourceByName )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ LPCWSTR lpName,
- /* [annotation] */
- _In_ DWORD dwDesiredAccess,
- /* [annotation] */
- _In_ REFIID returnedInterface,
- /* [annotation] */
- _COM_Outptr_ void **ppResource);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext2 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext2 **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext2 )(
- ID3D11Device5 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext2 **ppDeferredContext);
-
- void ( STDMETHODCALLTYPE *GetResourceTiling )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pTiledResource,
- /* [annotation] */
- _Out_opt_ UINT *pNumTilesForEntireResource,
- /* [annotation] */
- _Out_opt_ D3D11_PACKED_MIP_DESC *pPackedMipDesc,
- /* [annotation] */
- _Out_opt_ D3D11_TILE_SHAPE *pStandardTileShapeForNonPackedMips,
- /* [annotation] */
- _Inout_opt_ UINT *pNumSubresourceTilings,
- /* [annotation] */
- _In_ UINT FirstSubresourceTilingToGet,
- /* [annotation] */
- _Out_writes_(*pNumSubresourceTilings) D3D11_SUBRESOURCE_TILING *pSubresourceTilingsForNonPackedMips);
-
- HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _In_ UINT SampleCount,
- /* [annotation] */
- _In_ UINT Flags,
- /* [annotation] */
- _Out_ UINT *pNumQualityLevels);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture2D1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE2D_DESC1 *pDesc1,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc1->MipLevels * pDesc1->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture2D1 **ppTexture2D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture3D1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE3D_DESC1 *pDesc1,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc1->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture3D1 **ppTexture3D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState2 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_RASTERIZER_DESC2 *pRasterizerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RasterizerState2 **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC1 *pDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11ShaderResourceView1 **ppSRView1);
-
- HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *pDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11UnorderedAccessView1 **ppUAView1);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC1 *pDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RenderTargetView1 **ppRTView1);
-
- HRESULT ( STDMETHODCALLTYPE *CreateQuery1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_QUERY_DESC1 *pQueryDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Query1 **ppQuery1);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext3 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext3 **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext3 )(
- ID3D11Device5 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext3 **ppDeferredContext);
-
- void ( STDMETHODCALLTYPE *WriteToSubresource )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pDstResource,
- /* [annotation] */
- _In_ UINT DstSubresource,
- /* [annotation] */
- _In_opt_ const D3D11_BOX *pDstBox,
- /* [annotation] */
- _In_ const void *pSrcData,
- /* [annotation] */
- _In_ UINT SrcRowPitch,
- /* [annotation] */
- _In_ UINT SrcDepthPitch);
-
- void ( STDMETHODCALLTYPE *ReadFromSubresource )(
- ID3D11Device5 * This,
- /* [annotation] */
- _Out_ void *pDstData,
- /* [annotation] */
- _In_ UINT DstRowPitch,
- /* [annotation] */
- _In_ UINT DstDepthPitch,
- /* [annotation] */
- _In_ ID3D11Resource *pSrcResource,
- /* [annotation] */
- _In_ UINT SrcSubresource,
- /* [annotation] */
- _In_opt_ const D3D11_BOX *pSrcBox);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterDeviceRemovedEvent )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ HANDLE hEvent,
- /* [annotation] */
- _Out_ DWORD *pdwCookie);
-
- void ( STDMETHODCALLTYPE *UnregisterDeviceRemoved )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ DWORD dwCookie);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedFence )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ HANDLE hFence,
- /* [annotation] */
- _In_ REFIID ReturnedInterface,
- /* [annotation] */
- _COM_Outptr_opt_ void **ppFence);
-
- HRESULT ( STDMETHODCALLTYPE *CreateFence )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ UINT64 InitialValue,
- /* [annotation] */
- _In_ D3D11_FENCE_FLAG Flags,
- /* [annotation] */
- _In_ REFIID ReturnedInterface,
- /* [annotation] */
- _COM_Outptr_opt_ void **ppFence);
-
- END_INTERFACE
- } ID3D11Device5Vtbl;
- interface ID3D11Device5
- {
- CONST_VTBL struct ID3D11Device5Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Device5_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Device5_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Device5_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Device5_CreateBuffer(This,pDesc,pInitialData,ppBuffer) \
- ( (This)->lpVtbl -> CreateBuffer(This,pDesc,pInitialData,ppBuffer) )
- #define ID3D11Device5_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) \
- ( (This)->lpVtbl -> CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) )
- #define ID3D11Device5_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) \
- ( (This)->lpVtbl -> CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) )
- #define ID3D11Device5_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) \
- ( (This)->lpVtbl -> CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) )
- #define ID3D11Device5_CreateShaderResourceView(This,pResource,pDesc,ppSRView) \
- ( (This)->lpVtbl -> CreateShaderResourceView(This,pResource,pDesc,ppSRView) )
- #define ID3D11Device5_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) \
- ( (This)->lpVtbl -> CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) )
- #define ID3D11Device5_CreateRenderTargetView(This,pResource,pDesc,ppRTView) \
- ( (This)->lpVtbl -> CreateRenderTargetView(This,pResource,pDesc,ppRTView) )
- #define ID3D11Device5_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) \
- ( (This)->lpVtbl -> CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) )
- #define ID3D11Device5_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) \
- ( (This)->lpVtbl -> CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) )
- #define ID3D11Device5_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) \
- ( (This)->lpVtbl -> CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) )
- #define ID3D11Device5_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) \
- ( (This)->lpVtbl -> CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) )
- #define ID3D11Device5_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 ID3D11Device5_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) \
- ( (This)->lpVtbl -> CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) )
- #define ID3D11Device5_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) \
- ( (This)->lpVtbl -> CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) )
- #define ID3D11Device5_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) \
- ( (This)->lpVtbl -> CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) )
- #define ID3D11Device5_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) \
- ( (This)->lpVtbl -> CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) )
- #define ID3D11Device5_CreateClassLinkage(This,ppLinkage) \
- ( (This)->lpVtbl -> CreateClassLinkage(This,ppLinkage) )
- #define ID3D11Device5_CreateBlendState(This,pBlendStateDesc,ppBlendState) \
- ( (This)->lpVtbl -> CreateBlendState(This,pBlendStateDesc,ppBlendState) )
- #define ID3D11Device5_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) \
- ( (This)->lpVtbl -> CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) )
- #define ID3D11Device5_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device5_CreateSamplerState(This,pSamplerDesc,ppSamplerState) \
- ( (This)->lpVtbl -> CreateSamplerState(This,pSamplerDesc,ppSamplerState) )
- #define ID3D11Device5_CreateQuery(This,pQueryDesc,ppQuery) \
- ( (This)->lpVtbl -> CreateQuery(This,pQueryDesc,ppQuery) )
- #define ID3D11Device5_CreatePredicate(This,pPredicateDesc,ppPredicate) \
- ( (This)->lpVtbl -> CreatePredicate(This,pPredicateDesc,ppPredicate) )
- #define ID3D11Device5_CreateCounter(This,pCounterDesc,ppCounter) \
- ( (This)->lpVtbl -> CreateCounter(This,pCounterDesc,ppCounter) )
- #define ID3D11Device5_CreateDeferredContext(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device5_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResource(This,hResource,ReturnedInterface,ppResource) )
- #define ID3D11Device5_CheckFormatSupport(This,Format,pFormatSupport) \
- ( (This)->lpVtbl -> CheckFormatSupport(This,Format,pFormatSupport) )
- #define ID3D11Device5_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) \
- ( (This)->lpVtbl -> CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) )
- #define ID3D11Device5_CheckCounterInfo(This,pCounterInfo) \
- ( (This)->lpVtbl -> CheckCounterInfo(This,pCounterInfo) )
- #define ID3D11Device5_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 ID3D11Device5_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) \
- ( (This)->lpVtbl -> CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) )
- #define ID3D11Device5_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Device5_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Device5_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Device5_GetFeatureLevel(This) \
- ( (This)->lpVtbl -> GetFeatureLevel(This) )
- #define ID3D11Device5_GetCreationFlags(This) \
- ( (This)->lpVtbl -> GetCreationFlags(This) )
- #define ID3D11Device5_GetDeviceRemovedReason(This) \
- ( (This)->lpVtbl -> GetDeviceRemovedReason(This) )
- #define ID3D11Device5_GetImmediateContext(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext(This,ppImmediateContext) )
- #define ID3D11Device5_SetExceptionMode(This,RaiseFlags) \
- ( (This)->lpVtbl -> SetExceptionMode(This,RaiseFlags) )
- #define ID3D11Device5_GetExceptionMode(This) \
- ( (This)->lpVtbl -> GetExceptionMode(This) )
- #define ID3D11Device5_GetImmediateContext1(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext1(This,ppImmediateContext) )
- #define ID3D11Device5_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext1(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device5_CreateBlendState1(This,pBlendStateDesc,ppBlendState) \
- ( (This)->lpVtbl -> CreateBlendState1(This,pBlendStateDesc,ppBlendState) )
- #define ID3D11Device5_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device5_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) \
- ( (This)->lpVtbl -> CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) )
- #define ID3D11Device5_OpenSharedResource1(This,hResource,returnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResource1(This,hResource,returnedInterface,ppResource) )
- #define ID3D11Device5_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) )
- #define ID3D11Device5_GetImmediateContext2(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext2(This,ppImmediateContext) )
- #define ID3D11Device5_CreateDeferredContext2(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext2(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device5_GetResourceTiling(This,pTiledResource,pNumTilesForEntireResource,pPackedMipDesc,pStandardTileShapeForNonPackedMips,pNumSubresourceTilings,FirstSubresourceTilingToGet,pSubresourceTilingsForNonPackedMips) \
- ( (This)->lpVtbl -> GetResourceTiling(This,pTiledResource,pNumTilesForEntireResource,pPackedMipDesc,pStandardTileShapeForNonPackedMips,pNumSubresourceTilings,FirstSubresourceTilingToGet,pSubresourceTilingsForNonPackedMips) )
- #define ID3D11Device5_CheckMultisampleQualityLevels1(This,Format,SampleCount,Flags,pNumQualityLevels) \
- ( (This)->lpVtbl -> CheckMultisampleQualityLevels1(This,Format,SampleCount,Flags,pNumQualityLevels) )
- #define ID3D11Device5_CreateTexture2D1(This,pDesc1,pInitialData,ppTexture2D) \
- ( (This)->lpVtbl -> CreateTexture2D1(This,pDesc1,pInitialData,ppTexture2D) )
- #define ID3D11Device5_CreateTexture3D1(This,pDesc1,pInitialData,ppTexture3D) \
- ( (This)->lpVtbl -> CreateTexture3D1(This,pDesc1,pInitialData,ppTexture3D) )
- #define ID3D11Device5_CreateRasterizerState2(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState2(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device5_CreateShaderResourceView1(This,pResource,pDesc1,ppSRView1) \
- ( (This)->lpVtbl -> CreateShaderResourceView1(This,pResource,pDesc1,ppSRView1) )
- #define ID3D11Device5_CreateUnorderedAccessView1(This,pResource,pDesc1,ppUAView1) \
- ( (This)->lpVtbl -> CreateUnorderedAccessView1(This,pResource,pDesc1,ppUAView1) )
- #define ID3D11Device5_CreateRenderTargetView1(This,pResource,pDesc1,ppRTView1) \
- ( (This)->lpVtbl -> CreateRenderTargetView1(This,pResource,pDesc1,ppRTView1) )
- #define ID3D11Device5_CreateQuery1(This,pQueryDesc1,ppQuery1) \
- ( (This)->lpVtbl -> CreateQuery1(This,pQueryDesc1,ppQuery1) )
- #define ID3D11Device5_GetImmediateContext3(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext3(This,ppImmediateContext) )
- #define ID3D11Device5_CreateDeferredContext3(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext3(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device5_WriteToSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) \
- ( (This)->lpVtbl -> WriteToSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) )
- #define ID3D11Device5_ReadFromSubresource(This,pDstData,DstRowPitch,DstDepthPitch,pSrcResource,SrcSubresource,pSrcBox) \
- ( (This)->lpVtbl -> ReadFromSubresource(This,pDstData,DstRowPitch,DstDepthPitch,pSrcResource,SrcSubresource,pSrcBox) )
- #define ID3D11Device5_RegisterDeviceRemovedEvent(This,hEvent,pdwCookie) \
- ( (This)->lpVtbl -> RegisterDeviceRemovedEvent(This,hEvent,pdwCookie) )
- #define ID3D11Device5_UnregisterDeviceRemoved(This,dwCookie) \
- ( (This)->lpVtbl -> UnregisterDeviceRemoved(This,dwCookie) )
- #define ID3D11Device5_OpenSharedFence(This,hFence,ReturnedInterface,ppFence) \
- ( (This)->lpVtbl -> OpenSharedFence(This,hFence,ReturnedInterface,ppFence) )
- #define ID3D11Device5_CreateFence(This,InitialValue,Flags,ReturnedInterface,ppFence) \
- ( (This)->lpVtbl -> CreateFence(This,InitialValue,Flags,ReturnedInterface,ppFence) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Device5_INTERFACE_DEFINED__ */
- #ifndef __ID3D11Multithread_INTERFACE_DEFINED__
- #define __ID3D11Multithread_INTERFACE_DEFINED__
- /* interface ID3D11Multithread */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Multithread;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4E00-342C-4106-A19F-4F2704F689F0")
- ID3D11Multithread : public IUnknown
- {
- public:
- virtual void STDMETHODCALLTYPE Enter( void) = 0;
-
- virtual void STDMETHODCALLTYPE Leave( void) = 0;
-
- virtual BOOL STDMETHODCALLTYPE SetMultithreadProtected(
- /* [annotation] */
- _In_ BOOL bMTProtect) = 0;
-
- virtual BOOL STDMETHODCALLTYPE GetMultithreadProtected( void) = 0;
-
- };
-
-
- #else /* C style interface */
- typedef struct ID3D11MultithreadVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Multithread * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- _COM_Outptr_ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Multithread * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Multithread * This);
-
- void ( STDMETHODCALLTYPE *Enter )(
- ID3D11Multithread * This);
-
- void ( STDMETHODCALLTYPE *Leave )(
- ID3D11Multithread * This);
-
- BOOL ( STDMETHODCALLTYPE *SetMultithreadProtected )(
- ID3D11Multithread * This,
- /* [annotation] */
- _In_ BOOL bMTProtect);
-
- BOOL ( STDMETHODCALLTYPE *GetMultithreadProtected )(
- ID3D11Multithread * This);
-
- END_INTERFACE
- } ID3D11MultithreadVtbl;
- interface ID3D11Multithread
- {
- CONST_VTBL struct ID3D11MultithreadVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Multithread_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Multithread_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Multithread_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Multithread_Enter(This) \
- ( (This)->lpVtbl -> Enter(This) )
- #define ID3D11Multithread_Leave(This) \
- ( (This)->lpVtbl -> Leave(This) )
- #define ID3D11Multithread_SetMultithreadProtected(This,bMTProtect) \
- ( (This)->lpVtbl -> SetMultithreadProtected(This,bMTProtect) )
- #define ID3D11Multithread_GetMultithreadProtected(This) \
- ( (This)->lpVtbl -> GetMultithreadProtected(This) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Multithread_INTERFACE_DEFINED__ */
- #ifndef __ID3D11VideoContext2_INTERFACE_DEFINED__
- #define __ID3D11VideoContext2_INTERFACE_DEFINED__
- /* interface ID3D11VideoContext2 */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11VideoContext2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C4E7374C-6243-4D1B-AE87-52B4F740E261")
- ID3D11VideoContext2 : public ID3D11VideoContext1
- {
- public:
- virtual void STDMETHODCALLTYPE VideoProcessorSetOutputHDRMetaData(
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ DXGI_HDR_METADATA_TYPE Type,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _In_reads_bytes_opt_(Size) const void *pHDRMetaData) = 0;
-
- virtual void STDMETHODCALLTYPE VideoProcessorGetOutputHDRMetaData(
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ DXGI_HDR_METADATA_TYPE *pType,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _Out_writes_bytes_opt_(Size) void *pMetaData) = 0;
-
- virtual void STDMETHODCALLTYPE VideoProcessorSetStreamHDRMetaData(
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ DXGI_HDR_METADATA_TYPE Type,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _In_reads_bytes_opt_(Size) const void *pHDRMetaData) = 0;
-
- virtual void STDMETHODCALLTYPE VideoProcessorGetStreamHDRMetaData(
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ DXGI_HDR_METADATA_TYPE *pType,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _Out_writes_bytes_opt_(Size) void *pMetaData) = 0;
-
- };
-
-
- #else /* C style interface */
- typedef struct ID3D11VideoContext2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11VideoContext2 * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- _COM_Outptr_ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11VideoContext2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11VideoContext2 * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _Outptr_ ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _Inout_ UINT *pDataSize,
- /* [annotation] */
- _Out_writes_bytes_opt_( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_reads_bytes_opt_( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_opt_ const IUnknown *pData);
-
- HRESULT ( STDMETHODCALLTYPE *GetDecoderBuffer )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- D3D11_VIDEO_DECODER_BUFFER_TYPE Type,
- /* [annotation] */
- _Out_ UINT *pBufferSize,
- /* [annotation] */
- _Outptr_result_bytebuffer_(*pBufferSize) void **ppBuffer);
-
- HRESULT ( STDMETHODCALLTYPE *ReleaseDecoderBuffer )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ D3D11_VIDEO_DECODER_BUFFER_TYPE Type);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderBeginFrame )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ ID3D11VideoDecoderOutputView *pView,
- UINT ContentKeySize,
- /* [annotation] */
- _In_reads_bytes_opt_(ContentKeySize) const void *pContentKey);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderEndFrame )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder);
-
- HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ UINT NumBuffers,
- /* [annotation] */
- _In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC *pBufferDesc);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *DecoderExtension )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ const D3D11_VIDEO_DECODER_EXTENSION *pExtensionData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputTargetRect )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_opt_ const RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputBackgroundColor )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL YCbCr,
- /* [annotation] */
- _In_ const D3D11_VIDEO_COLOR *pColor);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputAlphaFillMode )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE AlphaFillMode,
- /* [annotation] */
- _In_ UINT StreamIndex);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputConstriction )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ SIZE Size);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputStereoMode )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL Enable);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorSetOutputExtension )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ const GUID *pExtensionGuid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_ void *pData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputTargetRect )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *Enabled,
- /* [annotation] */
- _Out_ RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputBackgroundColor )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *pYCbCr,
- /* [annotation] */
- _Out_ D3D11_VIDEO_COLOR *pColor);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputAlphaFillMode )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *pAlphaFillMode,
- /* [annotation] */
- _Out_ UINT *pStreamIndex);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputConstriction )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ SIZE *pSize);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputStereoMode )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *pEnabled);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetOutputExtension )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ const GUID *pExtensionGuid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Out_writes_bytes_(DataSize) void *pData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamFrameFormat )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ D3D11_VIDEO_FRAME_FORMAT FrameFormat);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamOutputRate )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_OUTPUT_RATE OutputRate,
- /* [annotation] */
- _In_ BOOL RepeatFrame,
- /* [annotation] */
- _In_opt_ const DXGI_RATIONAL *pCustomRate);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamSourceRect )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_opt_ const RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamDestRect )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_opt_ const RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamAlpha )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ FLOAT Alpha);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamPalette )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ UINT Count,
- /* [annotation] */
- _In_reads_opt_(Count) const UINT *pEntries);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamPixelAspectRatio )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_opt_ const DXGI_RATIONAL *pSourceAspectRatio,
- /* [annotation] */
- _In_opt_ const DXGI_RATIONAL *pDestinationAspectRatio);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamLumaKey )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ FLOAT Lower,
- /* [annotation] */
- _In_ FLOAT Upper);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamStereoFormat )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_STEREO_FORMAT Format,
- /* [annotation] */
- _In_ BOOL LeftViewFrame0,
- /* [annotation] */
- _In_ BOOL BaseViewFrame0,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE FlipMode,
- /* [annotation] */
- _In_ int MonoOffset);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamAutoProcessingMode )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamFilter )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ int Level);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorSetStreamExtension )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ const GUID *pExtensionGuid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_ void *pData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamFrameFormat )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ D3D11_VIDEO_FRAME_FORMAT *pFrameFormat);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamOutputRate )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *pOutputRate,
- /* [annotation] */
- _Out_ BOOL *pRepeatFrame,
- /* [annotation] */
- _Out_ DXGI_RATIONAL *pCustomRate);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamSourceRect )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamDestRect )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamAlpha )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ FLOAT *pAlpha);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamPalette )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ UINT Count,
- /* [annotation] */
- _Out_writes_(Count) UINT *pEntries);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamPixelAspectRatio )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ DXGI_RATIONAL *pSourceAspectRatio,
- /* [annotation] */
- _Out_ DXGI_RATIONAL *pDestinationAspectRatio);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamLumaKey )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ FLOAT *pLower,
- /* [annotation] */
- _Out_ FLOAT *pUpper);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamStereoFormat )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnable,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *pFormat,
- /* [annotation] */
- _Out_ BOOL *pLeftViewFrame0,
- /* [annotation] */
- _Out_ BOOL *pBaseViewFrame0,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *pFlipMode,
- /* [annotation] */
- _Out_ int *MonoOffset);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamAutoProcessingMode )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamFilter )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ int *pLevel);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetStreamExtension )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ const GUID *pExtensionGuid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Out_writes_bytes_(DataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *VideoProcessorBlt )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ ID3D11VideoProcessorOutputView *pView,
- /* [annotation] */
- _In_ UINT OutputFrame,
- /* [annotation] */
- _In_ UINT StreamCount,
- /* [annotation] */
- _In_reads_(StreamCount) const D3D11_VIDEO_PROCESSOR_STREAM *pStreams);
-
- HRESULT ( STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchange )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Inout_updates_bytes_(DataSize) void *pData);
-
- void ( STDMETHODCALLTYPE *EncryptionBlt )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ ID3D11Texture2D *pSrcSurface,
- /* [annotation] */
- _In_ ID3D11Texture2D *pDstSurface,
- /* [annotation] */
- _In_ UINT IVSize,
- /* [annotation] */
- _Inout_opt_bytecount_(IVSize) void *pIV);
-
- void ( STDMETHODCALLTYPE *DecryptionBlt )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ ID3D11Texture2D *pSrcSurface,
- /* [annotation] */
- _In_ ID3D11Texture2D *pDstSurface,
- /* [annotation] */
- _In_opt_ D3D11_ENCRYPTED_BLOCK_INFO *pEncryptedBlockInfo,
- /* [annotation] */
- _In_ UINT ContentKeySize,
- /* [annotation] */
- _In_reads_bytes_opt_(ContentKeySize) const void *pContentKey,
- /* [annotation] */
- _In_ UINT IVSize,
- /* [annotation] */
- _Inout_opt_bytecount_(IVSize) void *pIV);
-
- void ( STDMETHODCALLTYPE *StartSessionKeyRefresh )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ UINT RandomNumberSize,
- /* [annotation] */
- _Out_writes_bytes_(RandomNumberSize) void *pRandomNumber);
-
- void ( STDMETHODCALLTYPE *FinishSessionKeyRefresh )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession);
-
- HRESULT ( STDMETHODCALLTYPE *GetEncryptionBltKey )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ UINT KeySize,
- /* [annotation] */
- _Out_writes_bytes_(KeySize) void *pReadbackKey);
-
- HRESULT ( STDMETHODCALLTYPE *NegotiateAuthenticatedChannelKeyExchange )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11AuthenticatedChannel *pChannel,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Inout_updates_bytes_(DataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *QueryAuthenticatedChannel )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11AuthenticatedChannel *pChannel,
- /* [annotation] */
- _In_ UINT InputSize,
- /* [annotation] */
- _In_reads_bytes_(InputSize) const void *pInput,
- /* [annotation] */
- _In_ UINT OutputSize,
- /* [annotation] */
- _Out_writes_bytes_(OutputSize) void *pOutput);
-
- HRESULT ( STDMETHODCALLTYPE *ConfigureAuthenticatedChannel )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11AuthenticatedChannel *pChannel,
- /* [annotation] */
- _In_ UINT InputSize,
- /* [annotation] */
- _In_reads_bytes_(InputSize) const void *pInput,
- /* [annotation] */
- _Out_ D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *pOutput);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamRotation )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_ROTATION Rotation);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamRotation )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnable,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_ROTATION *pRotation);
-
- HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers1 )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ UINT NumBuffers,
- /* [annotation] */
- _In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC1 *pBufferDesc);
-
- HRESULT ( STDMETHODCALLTYPE *GetDataForNewHardwareKey )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ UINT PrivateInputSize,
- /* [annotation] */
- _In_reads_(PrivateInputSize) const void *pPrivatInputData,
- /* [annotation] */
- _Out_ UINT64 *pPrivateOutputData);
-
- HRESULT ( STDMETHODCALLTYPE *CheckCryptoSessionStatus )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _Out_ D3D11_CRYPTO_SESSION_STATUS *pStatus);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderEnableDownsampling )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
- /* [annotation] */
- _In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc,
- /* [annotation] */
- _In_ UINT ReferenceFrameCount);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderUpdateDownsampling )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace1 )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ DXGI_COLOR_SPACE_TYPE ColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputShaderUsage )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL ShaderUsage);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace1 )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ DXGI_COLOR_SPACE_TYPE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputShaderUsage )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *pShaderUsage);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace1 )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ DXGI_COLOR_SPACE_TYPE ColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamMirror )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ BOOL FlipHorizontal,
- /* [annotation] */
- _In_ BOOL FlipVertical);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace1 )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ DXGI_COLOR_SPACE_TYPE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamMirror )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnable,
- /* [annotation] */
- _Out_ BOOL *pFlipHorizontal,
- /* [annotation] */
- _Out_ BOOL *pFlipVertical);
-
- HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetBehaviorHints )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT OutputWidth,
- /* [annotation] */
- _In_ UINT OutputHeight,
- /* [annotation] */
- _In_ DXGI_FORMAT OutputFormat,
- /* [annotation] */
- _In_ UINT StreamCount,
- /* [annotation] */
- _In_reads_(StreamCount) const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *pStreams,
- /* [annotation] */
- _Out_ UINT *pBehaviorHints);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputHDRMetaData )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ DXGI_HDR_METADATA_TYPE Type,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _In_reads_bytes_opt_(Size) const void *pHDRMetaData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputHDRMetaData )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ DXGI_HDR_METADATA_TYPE *pType,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _Out_writes_bytes_opt_(Size) void *pMetaData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamHDRMetaData )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ DXGI_HDR_METADATA_TYPE Type,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _In_reads_bytes_opt_(Size) const void *pHDRMetaData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamHDRMetaData )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ DXGI_HDR_METADATA_TYPE *pType,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _Out_writes_bytes_opt_(Size) void *pMetaData);
-
- END_INTERFACE
- } ID3D11VideoContext2Vtbl;
- interface ID3D11VideoContext2
- {
- CONST_VTBL struct ID3D11VideoContext2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11VideoContext2_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11VideoContext2_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11VideoContext2_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11VideoContext2_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11VideoContext2_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11VideoContext2_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11VideoContext2_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11VideoContext2_GetDecoderBuffer(This,pDecoder,Type,pBufferSize,ppBuffer) \
- ( (This)->lpVtbl -> GetDecoderBuffer(This,pDecoder,Type,pBufferSize,ppBuffer) )
- #define ID3D11VideoContext2_ReleaseDecoderBuffer(This,pDecoder,Type) \
- ( (This)->lpVtbl -> ReleaseDecoderBuffer(This,pDecoder,Type) )
- #define ID3D11VideoContext2_DecoderBeginFrame(This,pDecoder,pView,ContentKeySize,pContentKey) \
- ( (This)->lpVtbl -> DecoderBeginFrame(This,pDecoder,pView,ContentKeySize,pContentKey) )
- #define ID3D11VideoContext2_DecoderEndFrame(This,pDecoder) \
- ( (This)->lpVtbl -> DecoderEndFrame(This,pDecoder) )
- #define ID3D11VideoContext2_SubmitDecoderBuffers(This,pDecoder,NumBuffers,pBufferDesc) \
- ( (This)->lpVtbl -> SubmitDecoderBuffers(This,pDecoder,NumBuffers,pBufferDesc) )
- #define ID3D11VideoContext2_DecoderExtension(This,pDecoder,pExtensionData) \
- ( (This)->lpVtbl -> DecoderExtension(This,pDecoder,pExtensionData) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputTargetRect(This,pVideoProcessor,Enable,pRect) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputTargetRect(This,pVideoProcessor,Enable,pRect) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputBackgroundColor(This,pVideoProcessor,YCbCr,pColor) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputBackgroundColor(This,pVideoProcessor,YCbCr,pColor) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputColorSpace(This,pVideoProcessor,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputColorSpace(This,pVideoProcessor,pColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputAlphaFillMode(This,pVideoProcessor,AlphaFillMode,StreamIndex) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputAlphaFillMode(This,pVideoProcessor,AlphaFillMode,StreamIndex) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputConstriction(This,pVideoProcessor,Enable,Size) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputConstriction(This,pVideoProcessor,Enable,Size) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputStereoMode(This,pVideoProcessor,Enable) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputStereoMode(This,pVideoProcessor,Enable) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputTargetRect(This,pVideoProcessor,Enabled,pRect) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputTargetRect(This,pVideoProcessor,Enabled,pRect) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputBackgroundColor(This,pVideoProcessor,pYCbCr,pColor) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputBackgroundColor(This,pVideoProcessor,pYCbCr,pColor) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputColorSpace(This,pVideoProcessor,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputColorSpace(This,pVideoProcessor,pColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputAlphaFillMode(This,pVideoProcessor,pAlphaFillMode,pStreamIndex) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputAlphaFillMode(This,pVideoProcessor,pAlphaFillMode,pStreamIndex) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputConstriction(This,pVideoProcessor,pEnabled,pSize) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputConstriction(This,pVideoProcessor,pEnabled,pSize) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputStereoMode(This,pVideoProcessor,pEnabled) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputStereoMode(This,pVideoProcessor,pEnabled) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamFrameFormat(This,pVideoProcessor,StreamIndex,FrameFormat) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamFrameFormat(This,pVideoProcessor,StreamIndex,FrameFormat) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamOutputRate(This,pVideoProcessor,StreamIndex,OutputRate,RepeatFrame,pCustomRate) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamOutputRate(This,pVideoProcessor,StreamIndex,OutputRate,RepeatFrame,pCustomRate) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamSourceRect(This,pVideoProcessor,StreamIndex,Enable,pRect) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamSourceRect(This,pVideoProcessor,StreamIndex,Enable,pRect) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamDestRect(This,pVideoProcessor,StreamIndex,Enable,pRect) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamDestRect(This,pVideoProcessor,StreamIndex,Enable,pRect) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamAlpha(This,pVideoProcessor,StreamIndex,Enable,Alpha) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamAlpha(This,pVideoProcessor,StreamIndex,Enable,Alpha) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,Enable,pSourceAspectRatio,pDestinationAspectRatio) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,Enable,pSourceAspectRatio,pDestinationAspectRatio) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamLumaKey(This,pVideoProcessor,StreamIndex,Enable,Lower,Upper) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamLumaKey(This,pVideoProcessor,StreamIndex,Enable,Lower,Upper) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamStereoFormat(This,pVideoProcessor,StreamIndex,Enable,Format,LeftViewFrame0,BaseViewFrame0,FlipMode,MonoOffset) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamStereoFormat(This,pVideoProcessor,StreamIndex,Enable,Format,LeftViewFrame0,BaseViewFrame0,FlipMode,MonoOffset) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,Enable) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,Enable) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,Enable,Level) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,Enable,Level) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamFrameFormat(This,pVideoProcessor,StreamIndex,pFrameFormat) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamFrameFormat(This,pVideoProcessor,StreamIndex,pFrameFormat) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamOutputRate(This,pVideoProcessor,StreamIndex,pOutputRate,pRepeatFrame,pCustomRate) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamOutputRate(This,pVideoProcessor,StreamIndex,pOutputRate,pRepeatFrame,pCustomRate) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamSourceRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamSourceRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamDestRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamDestRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamAlpha(This,pVideoProcessor,StreamIndex,pEnabled,pAlpha) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamAlpha(This,pVideoProcessor,StreamIndex,pEnabled,pAlpha) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,pEnabled,pSourceAspectRatio,pDestinationAspectRatio) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,pEnabled,pSourceAspectRatio,pDestinationAspectRatio) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamLumaKey(This,pVideoProcessor,StreamIndex,pEnabled,pLower,pUpper) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamLumaKey(This,pVideoProcessor,StreamIndex,pEnabled,pLower,pUpper) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamStereoFormat(This,pVideoProcessor,StreamIndex,pEnable,pFormat,pLeftViewFrame0,pBaseViewFrame0,pFlipMode,MonoOffset) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamStereoFormat(This,pVideoProcessor,StreamIndex,pEnable,pFormat,pLeftViewFrame0,pBaseViewFrame0,pFlipMode,MonoOffset) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,pEnabled) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,pEnabled) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,pEnabled,pLevel) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,pEnabled,pLevel) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) )
- #define ID3D11VideoContext2_VideoProcessorBlt(This,pVideoProcessor,pView,OutputFrame,StreamCount,pStreams) \
- ( (This)->lpVtbl -> VideoProcessorBlt(This,pVideoProcessor,pView,OutputFrame,StreamCount,pStreams) )
- #define ID3D11VideoContext2_NegotiateCryptoSessionKeyExchange(This,pCryptoSession,DataSize,pData) \
- ( (This)->lpVtbl -> NegotiateCryptoSessionKeyExchange(This,pCryptoSession,DataSize,pData) )
- #define ID3D11VideoContext2_EncryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,IVSize,pIV) \
- ( (This)->lpVtbl -> EncryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,IVSize,pIV) )
- #define ID3D11VideoContext2_DecryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,pEncryptedBlockInfo,ContentKeySize,pContentKey,IVSize,pIV) \
- ( (This)->lpVtbl -> DecryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,pEncryptedBlockInfo,ContentKeySize,pContentKey,IVSize,pIV) )
- #define ID3D11VideoContext2_StartSessionKeyRefresh(This,pCryptoSession,RandomNumberSize,pRandomNumber) \
- ( (This)->lpVtbl -> StartSessionKeyRefresh(This,pCryptoSession,RandomNumberSize,pRandomNumber) )
- #define ID3D11VideoContext2_FinishSessionKeyRefresh(This,pCryptoSession) \
- ( (This)->lpVtbl -> FinishSessionKeyRefresh(This,pCryptoSession) )
- #define ID3D11VideoContext2_GetEncryptionBltKey(This,pCryptoSession,KeySize,pReadbackKey) \
- ( (This)->lpVtbl -> GetEncryptionBltKey(This,pCryptoSession,KeySize,pReadbackKey) )
- #define ID3D11VideoContext2_NegotiateAuthenticatedChannelKeyExchange(This,pChannel,DataSize,pData) \
- ( (This)->lpVtbl -> NegotiateAuthenticatedChannelKeyExchange(This,pChannel,DataSize,pData) )
- #define ID3D11VideoContext2_QueryAuthenticatedChannel(This,pChannel,InputSize,pInput,OutputSize,pOutput) \
- ( (This)->lpVtbl -> QueryAuthenticatedChannel(This,pChannel,InputSize,pInput,OutputSize,pOutput) )
- #define ID3D11VideoContext2_ConfigureAuthenticatedChannel(This,pChannel,InputSize,pInput,pOutput) \
- ( (This)->lpVtbl -> ConfigureAuthenticatedChannel(This,pChannel,InputSize,pInput,pOutput) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamRotation(This,pVideoProcessor,StreamIndex,Enable,Rotation) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamRotation(This,pVideoProcessor,StreamIndex,Enable,Rotation) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamRotation(This,pVideoProcessor,StreamIndex,pEnable,pRotation) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamRotation(This,pVideoProcessor,StreamIndex,pEnable,pRotation) )
- #define ID3D11VideoContext2_SubmitDecoderBuffers1(This,pDecoder,NumBuffers,pBufferDesc) \
- ( (This)->lpVtbl -> SubmitDecoderBuffers1(This,pDecoder,NumBuffers,pBufferDesc) )
- #define ID3D11VideoContext2_GetDataForNewHardwareKey(This,pCryptoSession,PrivateInputSize,pPrivatInputData,pPrivateOutputData) \
- ( (This)->lpVtbl -> GetDataForNewHardwareKey(This,pCryptoSession,PrivateInputSize,pPrivatInputData,pPrivateOutputData) )
- #define ID3D11VideoContext2_CheckCryptoSessionStatus(This,pCryptoSession,pStatus) \
- ( (This)->lpVtbl -> CheckCryptoSessionStatus(This,pCryptoSession,pStatus) )
- #define ID3D11VideoContext2_DecoderEnableDownsampling(This,pDecoder,InputColorSpace,pOutputDesc,ReferenceFrameCount) \
- ( (This)->lpVtbl -> DecoderEnableDownsampling(This,pDecoder,InputColorSpace,pOutputDesc,ReferenceFrameCount) )
- #define ID3D11VideoContext2_DecoderUpdateDownsampling(This,pDecoder,pOutputDesc) \
- ( (This)->lpVtbl -> DecoderUpdateDownsampling(This,pDecoder,pOutputDesc) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputColorSpace1(This,pVideoProcessor,ColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputColorSpace1(This,pVideoProcessor,ColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputShaderUsage(This,pVideoProcessor,ShaderUsage) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputShaderUsage(This,pVideoProcessor,ShaderUsage) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputColorSpace1(This,pVideoProcessor,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputColorSpace1(This,pVideoProcessor,pColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputShaderUsage(This,pVideoProcessor,pShaderUsage) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputShaderUsage(This,pVideoProcessor,pShaderUsage) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamColorSpace1(This,pVideoProcessor,StreamIndex,ColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamColorSpace1(This,pVideoProcessor,StreamIndex,ColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamMirror(This,pVideoProcessor,StreamIndex,Enable,FlipHorizontal,FlipVertical) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamMirror(This,pVideoProcessor,StreamIndex,Enable,FlipHorizontal,FlipVertical) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamColorSpace1(This,pVideoProcessor,StreamIndex,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamColorSpace1(This,pVideoProcessor,StreamIndex,pColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamMirror(This,pVideoProcessor,StreamIndex,pEnable,pFlipHorizontal,pFlipVertical) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamMirror(This,pVideoProcessor,StreamIndex,pEnable,pFlipHorizontal,pFlipVertical) )
- #define ID3D11VideoContext2_VideoProcessorGetBehaviorHints(This,pVideoProcessor,OutputWidth,OutputHeight,OutputFormat,StreamCount,pStreams,pBehaviorHints) \
- ( (This)->lpVtbl -> VideoProcessorGetBehaviorHints(This,pVideoProcessor,OutputWidth,OutputHeight,OutputFormat,StreamCount,pStreams,pBehaviorHints) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputHDRMetaData(This,pVideoProcessor,Type,Size,pHDRMetaData) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputHDRMetaData(This,pVideoProcessor,Type,Size,pHDRMetaData) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputHDRMetaData(This,pVideoProcessor,pType,Size,pMetaData) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputHDRMetaData(This,pVideoProcessor,pType,Size,pMetaData) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,Type,Size,pHDRMetaData) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,Type,Size,pHDRMetaData) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,pType,Size,pMetaData) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,pType,Size,pMetaData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11VideoContext2_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_4_0000_0004 */
- /* [local] */
- typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS4
- {
- BOOL ExtendedNV12SharedTextureSupported;
- } D3D11_FEATURE_DATA_D3D11_OPTIONS4;
- #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
- #pragma endregion
- DEFINE_GUID(IID_ID3D11Device4,0x8992ab71,0x02e6,0x4b8d,0xba,0x48,0xb0,0x56,0xdc,0xda,0x42,0xc4);
- DEFINE_GUID(IID_ID3D11Device5,0x8ffde202,0xa0e7,0x45df,0x9e,0x01,0xe8,0x37,0x80,0x1b,0x5e,0xa0);
- DEFINE_GUID(IID_ID3D11Multithread,0x9B7E4E00,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D11VideoContext2,0xC4E7374C,0x6243,0x4D1B,0xAE,0x87,0x52,0xB4,0xF7,0x40,0xE2,0x61);
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0004_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0004_v0_0_s_ifspec;
- /* Additional Prototypes for ALL interfaces */
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif
|