RetroArch
d3d11_2.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------------------
2  *
3  * Copyright (c) Microsoft Corporation
4  *
5  *-------------------------------------------------------------------------------------*/
6 
7 
8 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
9 
10 
11  /* File created by MIDL compiler version 8.00.0613 */
12 /* @@MIDL_FILE_HEADING( ) */
13 
14 
15 
16 /* verify that the <rpcndr.h> version is high enough to compile this file*/
17 #ifndef __REQUIRED_RPCNDR_H_VERSION__
18 #define __REQUIRED_RPCNDR_H_VERSION__ 475
19 #endif
20 
21 /* verify that the <rpcsal.h> version is high enough to compile this file*/
22 #ifndef __REQUIRED_RPCSAL_H_VERSION__
23 #define __REQUIRED_RPCSAL_H_VERSION__ 100
24 #endif
25 
26 #include "rpc.h"
27 #include "rpcndr.h"
28 
29 #ifndef __RPCNDR_H_VERSION__
30 #error this stub requires an updated version of <rpcndr.h>
31 #endif /* __RPCNDR_H_VERSION__ */
32 
33 #ifndef COM_NO_WINDOWS_H
34 #include "windows.h"
35 #include "ole2.h"
36 #endif /*COM_NO_WINDOWS_H*/
37 
38 #ifndef __d3d11_2_h__
39 #define __d3d11_2_h__
40 
41 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
42 #pragma once
43 #endif
44 
45 /* Forward Declarations */
46 
47 #ifndef __ID3D11DeviceContext2_FWD_DEFINED__
48 #define __ID3D11DeviceContext2_FWD_DEFINED__
50 
51 #endif /* __ID3D11DeviceContext2_FWD_DEFINED__ */
52 
53 
54 #ifndef __ID3D11Device2_FWD_DEFINED__
55 #define __ID3D11Device2_FWD_DEFINED__
56 typedef interface ID3D11Device2 ID3D11Device2;
57 
58 #endif /* __ID3D11Device2_FWD_DEFINED__ */
59 
60 
61 /* header files for imported files */
62 #include "oaidl.h"
63 #include "ocidl.h"
64 #include "dxgi1_3.h"
65 #include "d3dcommon.h"
66 #include "d3d11_1.h"
67 
68 #ifdef __cplusplus
69 extern "C"{
70 #endif
71 
72 
73 /* interface __MIDL_itf_d3d11_2_0000_0000 */
74 /* [local] */
75 
76 #ifdef __cplusplus
77 }
78 #endif
79 #include "d3d11_1.h" //
80 #ifdef __cplusplus
81 extern "C"{
82 #endif
84  {
90 
91 typedef struct D3D11_TILE_REGION_SIZE
92  {
99 
100 typedef
102  {
105 
106 typedef
108  {
113 
115  {
121 
122 #define D3D11_PACKED_TILE ( 0xffffffff )
123 
124 typedef struct D3D11_TILE_SHAPE
125  {
130 
131 typedef struct D3D11_PACKED_MIP_DESC
132  {
138 
139 typedef
141  {
144 
145 typedef
147  {
152 
153 
154 
155 extern RPC_IF_HANDLE __MIDL_itf_d3d11_2_0000_0000_v0_0_c_ifspec;
156 extern RPC_IF_HANDLE __MIDL_itf_d3d11_2_0000_0000_v0_0_s_ifspec;
157 
158 #ifndef __ID3D11DeviceContext2_INTERFACE_DEFINED__
159 #define __ID3D11DeviceContext2_INTERFACE_DEFINED__
160 
161 /* interface ID3D11DeviceContext2 */
162 /* [unique][local][object][uuid] */
163 
164 
165 EXTERN_C const IID IID_ID3D11DeviceContext2;
166 
167 #if defined(__cplusplus) && !defined(CINTERFACE)
168 
169  MIDL_INTERFACE("420d5b32-b90c-4da4-bef0-359f6a24a83a")
171  {
172  public:
173  virtual HRESULT STDMETHODCALLTYPE UpdateTileMappings(
174  /* [annotation] */
175  _In_ ID3D11Resource *pTiledResource,
176  /* [annotation] */
177  _In_ UINT NumTiledResourceRegions,
178  /* [annotation] */
179  _In_reads_opt_(NumTiledResourceRegions) const D3D11_TILED_RESOURCE_COORDINATE *pTiledResourceRegionStartCoordinates,
180  /* [annotation] */
181  _In_reads_opt_(NumTiledResourceRegions) const D3D11_TILE_REGION_SIZE *pTiledResourceRegionSizes,
182  /* [annotation] */
183  _In_opt_ ID3D11Buffer *pTilePool,
184  /* [annotation] */
185  _In_ UINT NumRanges,
186  /* [annotation] */
187  _In_reads_opt_(NumRanges) const UINT *pRangeFlags,
188  /* [annotation] */
189  _In_reads_opt_(NumRanges) const UINT *pTilePoolStartOffsets,
190  /* [annotation] */
191  _In_reads_opt_(NumRanges) const UINT *pRangeTileCounts,
192  /* [annotation] */
193  _In_ UINT Flags) = 0;
194 
195  virtual HRESULT STDMETHODCALLTYPE CopyTileMappings(
196  /* [annotation] */
197  _In_ ID3D11Resource *pDestTiledResource,
198  /* [annotation] */
199  _In_ const D3D11_TILED_RESOURCE_COORDINATE *pDestRegionStartCoordinate,
200  /* [annotation] */
201  _In_ ID3D11Resource *pSourceTiledResource,
202  /* [annotation] */
203  _In_ const D3D11_TILED_RESOURCE_COORDINATE *pSourceRegionStartCoordinate,
204  /* [annotation] */
205  _In_ const D3D11_TILE_REGION_SIZE *pTileRegionSize,
206  /* [annotation] */
207  _In_ UINT Flags) = 0;
208 
209  virtual void STDMETHODCALLTYPE CopyTiles(
210  /* [annotation] */
211  _In_ ID3D11Resource *pTiledResource,
212  /* [annotation] */
213  _In_ const D3D11_TILED_RESOURCE_COORDINATE *pTileRegionStartCoordinate,
214  /* [annotation] */
215  _In_ const D3D11_TILE_REGION_SIZE *pTileRegionSize,
216  /* [annotation] */
217  _In_ ID3D11Buffer *pBuffer,
218  /* [annotation] */
219  _In_ UINT64 BufferStartOffsetInBytes,
220  /* [annotation] */
221  _In_ UINT Flags) = 0;
222 
223  virtual void STDMETHODCALLTYPE UpdateTiles(
224  /* [annotation] */
225  _In_ ID3D11Resource *pDestTiledResource,
226  /* [annotation] */
227  _In_ const D3D11_TILED_RESOURCE_COORDINATE *pDestTileRegionStartCoordinate,
228  /* [annotation] */
229  _In_ const D3D11_TILE_REGION_SIZE *pDestTileRegionSize,
230  /* [annotation] */
231  _In_ const void *pSourceTileData,
232  /* [annotation] */
233  _In_ UINT Flags) = 0;
234 
235  virtual HRESULT STDMETHODCALLTYPE ResizeTilePool(
236  /* [annotation] */
237  _In_ ID3D11Buffer *pTilePool,
238  /* [annotation] */
239  _In_ UINT64 NewSizeInBytes) = 0;
240 
241  virtual void STDMETHODCALLTYPE TiledResourceBarrier(
242  /* [annotation] */
243  _In_opt_ ID3D11DeviceChild *pTiledResourceOrViewAccessBeforeBarrier,
244  /* [annotation] */
245  _In_opt_ ID3D11DeviceChild *pTiledResourceOrViewAccessAfterBarrier) = 0;
246 
247  virtual BOOL STDMETHODCALLTYPE IsAnnotationEnabled( void) = 0;
248 
249  virtual void STDMETHODCALLTYPE SetMarkerInt(
250  /* [annotation] */
251  _In_ LPCWSTR pLabel,
252  INT Data) = 0;
253 
254  virtual void STDMETHODCALLTYPE BeginEventInt(
255  /* [annotation] */
256  _In_ LPCWSTR pLabel,
257  INT Data) = 0;
258 
259  virtual void STDMETHODCALLTYPE EndEvent( void) = 0;
260 
261  };
262 
263 
264 #else /* C style interface */
265 
267  {
268  BEGIN_INTERFACE
269 
270  HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
271  ID3D11DeviceContext2 * This,
272  /* [in] */ REFIID riid,
273  /* [annotation][iid_is][out] */
274  _COM_Outptr_ void **ppvObject);
275 
276  ULONG ( STDMETHODCALLTYPE *AddRef )(
277  ID3D11DeviceContext2 * This);
278 
279  ULONG ( STDMETHODCALLTYPE *Release )(
280  ID3D11DeviceContext2 * This);
281 
282  void ( STDMETHODCALLTYPE *GetDevice )(
283  ID3D11DeviceContext2 * This,
284  /* [annotation] */
285  _Outptr_ ID3D11Device **ppDevice);
286 
287  HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
288  ID3D11DeviceContext2 * This,
289  /* [annotation] */
290  _In_ REFGUID guid,
291  /* [annotation] */
292  _Inout_ UINT *pDataSize,
293  /* [annotation] */
295 
296  HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
297  ID3D11DeviceContext2 * This,
298  /* [annotation] */
299  _In_ REFGUID guid,
300  /* [annotation] */
301  _In_ UINT DataSize,
302  /* [annotation] */
303  _In_reads_bytes_opt_( DataSize ) const void *pData);
304 
305  HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
306  ID3D11DeviceContext2 * This,
307  /* [annotation] */
308  _In_ REFGUID guid,
309  /* [annotation] */
310  _In_opt_ const IUnknown *pData);
311 
312  void ( STDMETHODCALLTYPE *VSSetConstantBuffers )(
313  ID3D11DeviceContext2 * This,
314  /* [annotation] */
316  /* [annotation] */
318  /* [annotation] */
319  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
320 
321  void ( STDMETHODCALLTYPE *PSSetShaderResources )(
322  ID3D11DeviceContext2 * This,
323  /* [annotation] */
325  /* [annotation] */
327  /* [annotation] */
328  _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
329 
330  void ( STDMETHODCALLTYPE *PSSetShader )(
331  ID3D11DeviceContext2 * This,
332  /* [annotation] */
334  /* [annotation] */
337 
338  void ( STDMETHODCALLTYPE *PSSetSamplers )(
339  ID3D11DeviceContext2 * This,
340  /* [annotation] */
342  /* [annotation] */
343  _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
344  /* [annotation] */
345  _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
346 
347  void ( STDMETHODCALLTYPE *VSSetShader )(
348  ID3D11DeviceContext2 * This,
349  /* [annotation] */
351  /* [annotation] */
354 
355  void ( STDMETHODCALLTYPE *DrawIndexed )(
356  ID3D11DeviceContext2 * This,
357  /* [annotation] */
359  /* [annotation] */
361  /* [annotation] */
362  _In_ INT BaseVertexLocation);
363 
364  void ( STDMETHODCALLTYPE *Draw )(
365  ID3D11DeviceContext2 * This,
366  /* [annotation] */
368  /* [annotation] */
370 
371  HRESULT ( STDMETHODCALLTYPE *Map )(
372  ID3D11DeviceContext2 * This,
373  /* [annotation] */
375  /* [annotation] */
376  _In_ UINT Subresource,
377  /* [annotation] */
378  _In_ D3D11_MAP MapType,
379  /* [annotation] */
380  _In_ UINT MapFlags,
381  /* [annotation] */
383 
384  void ( STDMETHODCALLTYPE *Unmap )(
385  ID3D11DeviceContext2 * This,
386  /* [annotation] */
388  /* [annotation] */
389  _In_ UINT Subresource);
390 
391  void ( STDMETHODCALLTYPE *PSSetConstantBuffers )(
392  ID3D11DeviceContext2 * This,
393  /* [annotation] */
395  /* [annotation] */
397  /* [annotation] */
398  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
399 
400  void ( STDMETHODCALLTYPE *IASetInputLayout )(
401  ID3D11DeviceContext2 * This,
402  /* [annotation] */
404 
405  void ( STDMETHODCALLTYPE *IASetVertexBuffers )(
406  ID3D11DeviceContext2 * This,
407  /* [annotation] */
409  /* [annotation] */
410  _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
411  /* [annotation] */
412  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppVertexBuffers,
413  /* [annotation] */
414  _In_reads_opt_(NumBuffers) const UINT *pStrides,
415  /* [annotation] */
416  _In_reads_opt_(NumBuffers) const UINT *pOffsets);
417 
418  void ( STDMETHODCALLTYPE *IASetIndexBuffer )(
419  ID3D11DeviceContext2 * This,
420  /* [annotation] */
422  /* [annotation] */
423  _In_ DXGI_FORMAT Format,
424  /* [annotation] */
425  _In_ UINT Offset);
426 
427  void ( STDMETHODCALLTYPE *DrawIndexedInstanced )(
428  ID3D11DeviceContext2 * This,
429  /* [annotation] */
431  /* [annotation] */
432  _In_ UINT InstanceCount,
433  /* [annotation] */
435  /* [annotation] */
436  _In_ INT BaseVertexLocation,
437  /* [annotation] */
439 
440  void ( STDMETHODCALLTYPE *DrawInstanced )(
441  ID3D11DeviceContext2 * This,
442  /* [annotation] */
444  /* [annotation] */
445  _In_ UINT InstanceCount,
446  /* [annotation] */
448  /* [annotation] */
450 
451  void ( STDMETHODCALLTYPE *GSSetConstantBuffers )(
452  ID3D11DeviceContext2 * This,
453  /* [annotation] */
455  /* [annotation] */
457  /* [annotation] */
458  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
459 
460  void ( STDMETHODCALLTYPE *GSSetShader )(
461  ID3D11DeviceContext2 * This,
462  /* [annotation] */
464  /* [annotation] */
467 
468  void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )(
469  ID3D11DeviceContext2 * This,
470  /* [annotation] */
472 
473  void ( STDMETHODCALLTYPE *VSSetShaderResources )(
474  ID3D11DeviceContext2 * This,
475  /* [annotation] */
477  /* [annotation] */
479  /* [annotation] */
480  _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
481 
482  void ( STDMETHODCALLTYPE *VSSetSamplers )(
483  ID3D11DeviceContext2 * This,
484  /* [annotation] */
486  /* [annotation] */
487  _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
488  /* [annotation] */
489  _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
490 
491  void ( STDMETHODCALLTYPE *Begin )(
492  ID3D11DeviceContext2 * This,
493  /* [annotation] */
495 
496  void ( STDMETHODCALLTYPE *End )(
497  ID3D11DeviceContext2 * This,
498  /* [annotation] */
499  _In_ ID3D11Asynchronous *pAsync);
500 
501  HRESULT ( STDMETHODCALLTYPE *GetData )(
502  ID3D11DeviceContext2 * This,
503  /* [annotation] */
505  /* [annotation] */
507  /* [annotation] */
509  /* [annotation] */
510  _In_ UINT GetDataFlags);
511 
512  void ( STDMETHODCALLTYPE *SetPredication )(
513  ID3D11DeviceContext2 * This,
514  /* [annotation] */
516  /* [annotation] */
517  _In_ BOOL PredicateValue);
518 
519  void ( STDMETHODCALLTYPE *GSSetShaderResources )(
520  ID3D11DeviceContext2 * This,
521  /* [annotation] */
523  /* [annotation] */
525  /* [annotation] */
526  _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
527 
528  void ( STDMETHODCALLTYPE *GSSetSamplers )(
529  ID3D11DeviceContext2 * This,
530  /* [annotation] */
532  /* [annotation] */
533  _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
534  /* [annotation] */
535  _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
536 
537  void ( STDMETHODCALLTYPE *OMSetRenderTargets )(
538  ID3D11DeviceContext2 * This,
539  /* [annotation] */
541  /* [annotation] */
542  _In_reads_opt_(NumViews) ID3D11RenderTargetView *const *ppRenderTargetViews,
543  /* [annotation] */
545 
546  void ( STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews )(
547  ID3D11DeviceContext2 * This,
548  /* [annotation] */
549  _In_ UINT NumRTVs,
550  /* [annotation] */
551  _In_reads_opt_(NumRTVs) ID3D11RenderTargetView *const *ppRenderTargetViews,
552  /* [annotation] */
554  /* [annotation] */
555  _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT UAVStartSlot,
556  /* [annotation] */
557  _In_ UINT NumUAVs,
558  /* [annotation] */
559  _In_reads_opt_(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
560  /* [annotation] */
561  _In_reads_opt_(NumUAVs) const UINT *pUAVInitialCounts);
562 
563  void ( STDMETHODCALLTYPE *OMSetBlendState )(
564  ID3D11DeviceContext2 * This,
565  /* [annotation] */
567  /* [annotation] */
568  _In_opt_ const FLOAT BlendFactor[ 4 ],
569  /* [annotation] */
570  _In_ UINT SampleMask);
571 
572  void ( STDMETHODCALLTYPE *OMSetDepthStencilState )(
573  ID3D11DeviceContext2 * This,
574  /* [annotation] */
576  /* [annotation] */
577  _In_ UINT StencilRef);
578 
579  void ( STDMETHODCALLTYPE *SOSetTargets )(
580  ID3D11DeviceContext2 * This,
581  /* [annotation] */
583  /* [annotation] */
584  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppSOTargets,
585  /* [annotation] */
586  _In_reads_opt_(NumBuffers) const UINT *pOffsets);
587 
588  void ( STDMETHODCALLTYPE *DrawAuto )(
589  ID3D11DeviceContext2 * This);
590 
591  void ( STDMETHODCALLTYPE *DrawIndexedInstancedIndirect )(
592  ID3D11DeviceContext2 * This,
593  /* [annotation] */
595  /* [annotation] */
597 
598  void ( STDMETHODCALLTYPE *DrawInstancedIndirect )(
599  ID3D11DeviceContext2 * This,
600  /* [annotation] */
602  /* [annotation] */
604 
605  void ( STDMETHODCALLTYPE *Dispatch )(
606  ID3D11DeviceContext2 * This,
607  /* [annotation] */
609  /* [annotation] */
610  _In_ UINT ThreadGroupCountY,
611  /* [annotation] */
612  _In_ UINT ThreadGroupCountZ);
613 
614  void ( STDMETHODCALLTYPE *DispatchIndirect )(
615  ID3D11DeviceContext2 * This,
616  /* [annotation] */
618  /* [annotation] */
620 
621  void ( STDMETHODCALLTYPE *RSSetState )(
622  ID3D11DeviceContext2 * This,
623  /* [annotation] */
625 
626  void ( STDMETHODCALLTYPE *RSSetViewports )(
627  ID3D11DeviceContext2 * This,
628  /* [annotation] */
630  /* [annotation] */
632 
633  void ( STDMETHODCALLTYPE *RSSetScissorRects )(
634  ID3D11DeviceContext2 * This,
635  /* [annotation] */
637  /* [annotation] */
639 
640  void ( STDMETHODCALLTYPE *CopySubresourceRegion )(
641  ID3D11DeviceContext2 * This,
642  /* [annotation] */
644  /* [annotation] */
645  _In_ UINT DstSubresource,
646  /* [annotation] */
647  _In_ UINT DstX,
648  /* [annotation] */
649  _In_ UINT DstY,
650  /* [annotation] */
651  _In_ UINT DstZ,
652  /* [annotation] */
654  /* [annotation] */
655  _In_ UINT SrcSubresource,
656  /* [annotation] */
657  _In_opt_ const D3D11_BOX *pSrcBox);
658 
659  void ( STDMETHODCALLTYPE *CopyResource )(
660  ID3D11DeviceContext2 * This,
661  /* [annotation] */
663  /* [annotation] */
665 
666  void ( STDMETHODCALLTYPE *UpdateSubresource )(
667  ID3D11DeviceContext2 * This,
668  /* [annotation] */
670  /* [annotation] */
671  _In_ UINT DstSubresource,
672  /* [annotation] */
673  _In_opt_ const D3D11_BOX *pDstBox,
674  /* [annotation] */
675  _In_ const void *pSrcData,
676  /* [annotation] */
677  _In_ UINT SrcRowPitch,
678  /* [annotation] */
679  _In_ UINT SrcDepthPitch);
680 
681  void ( STDMETHODCALLTYPE *CopyStructureCount )(
682  ID3D11DeviceContext2 * This,
683  /* [annotation] */
685  /* [annotation] */
687  /* [annotation] */
689 
690  void ( STDMETHODCALLTYPE *ClearRenderTargetView )(
691  ID3D11DeviceContext2 * This,
692  /* [annotation] */
694  /* [annotation] */
695  _In_ const FLOAT ColorRGBA[ 4 ]);
696 
697  void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewUint )(
698  ID3D11DeviceContext2 * This,
699  /* [annotation] */
701  /* [annotation] */
702  _In_ const UINT Values[ 4 ]);
703 
704  void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat )(
705  ID3D11DeviceContext2 * This,
706  /* [annotation] */
708  /* [annotation] */
709  _In_ const FLOAT Values[ 4 ]);
710 
711  void ( STDMETHODCALLTYPE *ClearDepthStencilView )(
712  ID3D11DeviceContext2 * This,
713  /* [annotation] */
715  /* [annotation] */
716  _In_ UINT ClearFlags,
717  /* [annotation] */
718  _In_ FLOAT Depth,
719  /* [annotation] */
720  _In_ UINT8 Stencil);
721 
722  void ( STDMETHODCALLTYPE *GenerateMips )(
723  ID3D11DeviceContext2 * This,
724  /* [annotation] */
726 
727  void ( STDMETHODCALLTYPE *SetResourceMinLOD )(
728  ID3D11DeviceContext2 * This,
729  /* [annotation] */
731  FLOAT MinLOD);
732 
733  FLOAT ( STDMETHODCALLTYPE *GetResourceMinLOD )(
734  ID3D11DeviceContext2 * This,
735  /* [annotation] */
736  _In_ ID3D11Resource *pResource);
737 
738  void ( STDMETHODCALLTYPE *ResolveSubresource )(
739  ID3D11DeviceContext2 * This,
740  /* [annotation] */
742  /* [annotation] */
743  _In_ UINT DstSubresource,
744  /* [annotation] */
746  /* [annotation] */
747  _In_ UINT SrcSubresource,
748  /* [annotation] */
749  _In_ DXGI_FORMAT Format);
750 
751  void ( STDMETHODCALLTYPE *ExecuteCommandList )(
752  ID3D11DeviceContext2 * This,
753  /* [annotation] */
756 
757  void ( STDMETHODCALLTYPE *HSSetShaderResources )(
758  ID3D11DeviceContext2 * This,
759  /* [annotation] */
761  /* [annotation] */
763  /* [annotation] */
764  _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
765 
766  void ( STDMETHODCALLTYPE *HSSetShader )(
767  ID3D11DeviceContext2 * This,
768  /* [annotation] */
770  /* [annotation] */
773 
774  void ( STDMETHODCALLTYPE *HSSetSamplers )(
775  ID3D11DeviceContext2 * This,
776  /* [annotation] */
778  /* [annotation] */
779  _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
780  /* [annotation] */
781  _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
782 
783  void ( STDMETHODCALLTYPE *HSSetConstantBuffers )(
784  ID3D11DeviceContext2 * This,
785  /* [annotation] */
787  /* [annotation] */
789  /* [annotation] */
790  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
791 
792  void ( STDMETHODCALLTYPE *DSSetShaderResources )(
793  ID3D11DeviceContext2 * This,
794  /* [annotation] */
796  /* [annotation] */
798  /* [annotation] */
799  _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
800 
801  void ( STDMETHODCALLTYPE *DSSetShader )(
802  ID3D11DeviceContext2 * This,
803  /* [annotation] */
805  /* [annotation] */
808 
809  void ( STDMETHODCALLTYPE *DSSetSamplers )(
810  ID3D11DeviceContext2 * This,
811  /* [annotation] */
813  /* [annotation] */
814  _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
815  /* [annotation] */
816  _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
817 
818  void ( STDMETHODCALLTYPE *DSSetConstantBuffers )(
819  ID3D11DeviceContext2 * This,
820  /* [annotation] */
822  /* [annotation] */
824  /* [annotation] */
825  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
826 
827  void ( STDMETHODCALLTYPE *CSSetShaderResources )(
828  ID3D11DeviceContext2 * This,
829  /* [annotation] */
831  /* [annotation] */
833  /* [annotation] */
834  _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
835 
836  void ( STDMETHODCALLTYPE *CSSetUnorderedAccessViews )(
837  ID3D11DeviceContext2 * This,
838  /* [annotation] */
839  _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT StartSlot,
840  /* [annotation] */
841  _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - StartSlot ) UINT NumUAVs,
842  /* [annotation] */
843  _In_reads_opt_(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
844  /* [annotation] */
845  _In_reads_opt_(NumUAVs) const UINT *pUAVInitialCounts);
846 
847  void ( STDMETHODCALLTYPE *CSSetShader )(
848  ID3D11DeviceContext2 * This,
849  /* [annotation] */
851  /* [annotation] */
854 
855  void ( STDMETHODCALLTYPE *CSSetSamplers )(
856  ID3D11DeviceContext2 * This,
857  /* [annotation] */
859  /* [annotation] */
860  _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
861  /* [annotation] */
862  _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
863 
864  void ( STDMETHODCALLTYPE *CSSetConstantBuffers )(
865  ID3D11DeviceContext2 * This,
866  /* [annotation] */
868  /* [annotation] */
870  /* [annotation] */
871  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
872 
873  void ( STDMETHODCALLTYPE *VSGetConstantBuffers )(
874  ID3D11DeviceContext2 * This,
875  /* [annotation] */
877  /* [annotation] */
879  /* [annotation] */
880  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
881 
882  void ( STDMETHODCALLTYPE *PSGetShaderResources )(
883  ID3D11DeviceContext2 * This,
884  /* [annotation] */
886  /* [annotation] */
888  /* [annotation] */
889  _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
890 
891  void ( STDMETHODCALLTYPE *PSGetShader )(
892  ID3D11DeviceContext2 * This,
893  /* [annotation] */
894  _Outptr_result_maybenull_ ID3D11PixelShader **ppPixelShader,
895  /* [annotation] */
897  /* [annotation] */
898  _Inout_opt_ UINT *pNumClassInstances);
899 
900  void ( STDMETHODCALLTYPE *PSGetSamplers )(
901  ID3D11DeviceContext2 * This,
902  /* [annotation] */
904  /* [annotation] */
905  _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
906  /* [annotation] */
907  _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
908 
909  void ( STDMETHODCALLTYPE *VSGetShader )(
910  ID3D11DeviceContext2 * This,
911  /* [annotation] */
912  _Outptr_result_maybenull_ ID3D11VertexShader **ppVertexShader,
913  /* [annotation] */
915  /* [annotation] */
916  _Inout_opt_ UINT *pNumClassInstances);
917 
918  void ( STDMETHODCALLTYPE *PSGetConstantBuffers )(
919  ID3D11DeviceContext2 * This,
920  /* [annotation] */
922  /* [annotation] */
924  /* [annotation] */
925  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
926 
927  void ( STDMETHODCALLTYPE *IAGetInputLayout )(
928  ID3D11DeviceContext2 * This,
929  /* [annotation] */
930  _Outptr_result_maybenull_ ID3D11InputLayout **ppInputLayout);
931 
932  void ( STDMETHODCALLTYPE *IAGetVertexBuffers )(
933  ID3D11DeviceContext2 * This,
934  /* [annotation] */
936  /* [annotation] */
937  _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
938  /* [annotation] */
939  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppVertexBuffers,
940  /* [annotation] */
941  _Out_writes_opt_(NumBuffers) UINT *pStrides,
942  /* [annotation] */
943  _Out_writes_opt_(NumBuffers) UINT *pOffsets);
944 
945  void ( STDMETHODCALLTYPE *IAGetIndexBuffer )(
946  ID3D11DeviceContext2 * This,
947  /* [annotation] */
948  _Outptr_opt_result_maybenull_ ID3D11Buffer **pIndexBuffer,
949  /* [annotation] */
950  _Out_opt_ DXGI_FORMAT *Format,
951  /* [annotation] */
952  _Out_opt_ UINT *Offset);
953 
954  void ( STDMETHODCALLTYPE *GSGetConstantBuffers )(
955  ID3D11DeviceContext2 * This,
956  /* [annotation] */
958  /* [annotation] */
960  /* [annotation] */
961  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
962 
963  void ( STDMETHODCALLTYPE *GSGetShader )(
964  ID3D11DeviceContext2 * This,
965  /* [annotation] */
966  _Outptr_result_maybenull_ ID3D11GeometryShader **ppGeometryShader,
967  /* [annotation] */
969  /* [annotation] */
970  _Inout_opt_ UINT *pNumClassInstances);
971 
972  void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )(
973  ID3D11DeviceContext2 * This,
974  /* [annotation] */
976 
977  void ( STDMETHODCALLTYPE *VSGetShaderResources )(
978  ID3D11DeviceContext2 * This,
979  /* [annotation] */
981  /* [annotation] */
983  /* [annotation] */
984  _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
985 
986  void ( STDMETHODCALLTYPE *VSGetSamplers )(
987  ID3D11DeviceContext2 * This,
988  /* [annotation] */
990  /* [annotation] */
991  _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
992  /* [annotation] */
993  _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
994 
995  void ( STDMETHODCALLTYPE *GetPredication )(
996  ID3D11DeviceContext2 * This,
997  /* [annotation] */
998  _Outptr_opt_result_maybenull_ ID3D11Predicate **ppPredicate,
999  /* [annotation] */
1000  _Out_opt_ BOOL *pPredicateValue);
1001 
1002  void ( STDMETHODCALLTYPE *GSGetShaderResources )(
1003  ID3D11DeviceContext2 * This,
1004  /* [annotation] */
1006  /* [annotation] */
1008  /* [annotation] */
1009  _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
1010 
1011  void ( STDMETHODCALLTYPE *GSGetSamplers )(
1012  ID3D11DeviceContext2 * This,
1013  /* [annotation] */
1015  /* [annotation] */
1016  _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
1017  /* [annotation] */
1018  _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
1019 
1020  void ( STDMETHODCALLTYPE *OMGetRenderTargets )(
1021  ID3D11DeviceContext2 * This,
1022  /* [annotation] */
1024  /* [annotation] */
1025  _Out_writes_opt_(NumViews) ID3D11RenderTargetView **ppRenderTargetViews,
1026  /* [annotation] */
1027  _Outptr_opt_result_maybenull_ ID3D11DepthStencilView **ppDepthStencilView);
1028 
1029  void ( STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews )(
1030  ID3D11DeviceContext2 * This,
1031  /* [annotation] */
1033  /* [annotation] */
1034  _Out_writes_opt_(NumRTVs) ID3D11RenderTargetView **ppRenderTargetViews,
1035  /* [annotation] */
1036  _Outptr_opt_result_maybenull_ ID3D11DepthStencilView **ppDepthStencilView,
1037  /* [annotation] */
1038  _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSlot,
1039  /* [annotation] */
1041  /* [annotation] */
1042  _Out_writes_opt_(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccessViews);
1043 
1044  void ( STDMETHODCALLTYPE *OMGetBlendState )(
1045  ID3D11DeviceContext2 * This,
1046  /* [annotation] */
1047  _Outptr_opt_result_maybenull_ ID3D11BlendState **ppBlendState,
1048  /* [annotation] */
1049  _Out_opt_ FLOAT BlendFactor[ 4 ],
1050  /* [annotation] */
1051  _Out_opt_ UINT *pSampleMask);
1052 
1053  void ( STDMETHODCALLTYPE *OMGetDepthStencilState )(
1054  ID3D11DeviceContext2 * This,
1055  /* [annotation] */
1056  _Outptr_opt_result_maybenull_ ID3D11DepthStencilState **ppDepthStencilState,
1057  /* [annotation] */
1058  _Out_opt_ UINT *pStencilRef);
1059 
1060  void ( STDMETHODCALLTYPE *SOGetTargets )(
1061  ID3D11DeviceContext2 * This,
1062  /* [annotation] */
1063  _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
1064  /* [annotation] */
1065  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppSOTargets);
1066 
1067  void ( STDMETHODCALLTYPE *RSGetState )(
1068  ID3D11DeviceContext2 * This,
1069  /* [annotation] */
1070  _Outptr_result_maybenull_ ID3D11RasterizerState **ppRasterizerState);
1071 
1072  void ( STDMETHODCALLTYPE *RSGetViewports )(
1073  ID3D11DeviceContext2 * This,
1074  /* [annotation] */
1075  _Inout_ /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *pNumViewports,
1076  /* [annotation] */
1078 
1079  void ( STDMETHODCALLTYPE *RSGetScissorRects )(
1080  ID3D11DeviceContext2 * This,
1081  /* [annotation] */
1082  _Inout_ /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *pNumRects,
1083  /* [annotation] */
1085 
1086  void ( STDMETHODCALLTYPE *HSGetShaderResources )(
1087  ID3D11DeviceContext2 * This,
1088  /* [annotation] */
1090  /* [annotation] */
1092  /* [annotation] */
1093  _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
1094 
1095  void ( STDMETHODCALLTYPE *HSGetShader )(
1096  ID3D11DeviceContext2 * This,
1097  /* [annotation] */
1098  _Outptr_result_maybenull_ ID3D11HullShader **ppHullShader,
1099  /* [annotation] */
1101  /* [annotation] */
1102  _Inout_opt_ UINT *pNumClassInstances);
1103 
1104  void ( STDMETHODCALLTYPE *HSGetSamplers )(
1105  ID3D11DeviceContext2 * This,
1106  /* [annotation] */
1108  /* [annotation] */
1109  _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
1110  /* [annotation] */
1111  _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
1112 
1113  void ( STDMETHODCALLTYPE *HSGetConstantBuffers )(
1114  ID3D11DeviceContext2 * This,
1115  /* [annotation] */
1117  /* [annotation] */
1119  /* [annotation] */
1120  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
1121 
1122  void ( STDMETHODCALLTYPE *DSGetShaderResources )(
1123  ID3D11DeviceContext2 * This,
1124  /* [annotation] */
1126  /* [annotation] */
1128  /* [annotation] */
1129  _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
1130 
1131  void ( STDMETHODCALLTYPE *DSGetShader )(
1132  ID3D11DeviceContext2 * This,
1133  /* [annotation] */
1134  _Outptr_result_maybenull_ ID3D11DomainShader **ppDomainShader,
1135  /* [annotation] */
1137  /* [annotation] */
1138  _Inout_opt_ UINT *pNumClassInstances);
1139 
1140  void ( STDMETHODCALLTYPE *DSGetSamplers )(
1141  ID3D11DeviceContext2 * This,
1142  /* [annotation] */
1144  /* [annotation] */
1145  _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
1146  /* [annotation] */
1147  _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
1148 
1149  void ( STDMETHODCALLTYPE *DSGetConstantBuffers )(
1150  ID3D11DeviceContext2 * This,
1151  /* [annotation] */
1153  /* [annotation] */
1155  /* [annotation] */
1156  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
1157 
1158  void ( STDMETHODCALLTYPE *CSGetShaderResources )(
1159  ID3D11DeviceContext2 * This,
1160  /* [annotation] */
1162  /* [annotation] */
1164  /* [annotation] */
1165  _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
1166 
1167  void ( STDMETHODCALLTYPE *CSGetUnorderedAccessViews )(
1168  ID3D11DeviceContext2 * This,
1169  /* [annotation] */
1170  _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT StartSlot,
1171  /* [annotation] */
1172  _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - StartSlot ) UINT NumUAVs,
1173  /* [annotation] */
1174  _Out_writes_opt_(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccessViews);
1175 
1176  void ( STDMETHODCALLTYPE *CSGetShader )(
1177  ID3D11DeviceContext2 * This,
1178  /* [annotation] */
1179  _Outptr_result_maybenull_ ID3D11ComputeShader **ppComputeShader,
1180  /* [annotation] */
1182  /* [annotation] */
1183  _Inout_opt_ UINT *pNumClassInstances);
1184 
1185  void ( STDMETHODCALLTYPE *CSGetSamplers )(
1186  ID3D11DeviceContext2 * This,
1187  /* [annotation] */
1189  /* [annotation] */
1190  _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
1191  /* [annotation] */
1192  _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
1193 
1194  void ( STDMETHODCALLTYPE *CSGetConstantBuffers )(
1195  ID3D11DeviceContext2 * This,
1196  /* [annotation] */
1198  /* [annotation] */
1200  /* [annotation] */
1201  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
1202 
1203  void ( STDMETHODCALLTYPE *ClearState )(
1204  ID3D11DeviceContext2 * This);
1205 
1206  void ( STDMETHODCALLTYPE *Flush )(
1207  ID3D11DeviceContext2 * This);
1208 
1209  D3D11_DEVICE_CONTEXT_TYPE ( STDMETHODCALLTYPE *GetType )(
1210  ID3D11DeviceContext2 * This);
1211 
1212  UINT ( STDMETHODCALLTYPE *GetContextFlags )(
1213  ID3D11DeviceContext2 * This);
1214 
1215  HRESULT ( STDMETHODCALLTYPE *FinishCommandList )(
1216  ID3D11DeviceContext2 * This,
1218  /* [annotation] */
1219  _COM_Outptr_opt_ ID3D11CommandList **ppCommandList);
1220 
1221  void ( STDMETHODCALLTYPE *CopySubresourceRegion1 )(
1222  ID3D11DeviceContext2 * This,
1223  /* [annotation] */
1225  /* [annotation] */
1226  _In_ UINT DstSubresource,
1227  /* [annotation] */
1228  _In_ UINT DstX,
1229  /* [annotation] */
1230  _In_ UINT DstY,
1231  /* [annotation] */
1232  _In_ UINT DstZ,
1233  /* [annotation] */
1235  /* [annotation] */
1236  _In_ UINT SrcSubresource,
1237  /* [annotation] */
1238  _In_opt_ const D3D11_BOX *pSrcBox,
1239  /* [annotation] */
1240  _In_ UINT CopyFlags);
1241 
1242  void ( STDMETHODCALLTYPE *UpdateSubresource1 )(
1243  ID3D11DeviceContext2 * This,
1244  /* [annotation] */
1246  /* [annotation] */
1247  _In_ UINT DstSubresource,
1248  /* [annotation] */
1249  _In_opt_ const D3D11_BOX *pDstBox,
1250  /* [annotation] */
1251  _In_ const void *pSrcData,
1252  /* [annotation] */
1253  _In_ UINT SrcRowPitch,
1254  /* [annotation] */
1255  _In_ UINT SrcDepthPitch,
1256  /* [annotation] */
1257  _In_ UINT CopyFlags);
1258 
1259  void ( STDMETHODCALLTYPE *DiscardResource )(
1260  ID3D11DeviceContext2 * This,
1261  /* [annotation] */
1262  _In_ ID3D11Resource *pResource);
1263 
1264  void ( STDMETHODCALLTYPE *DiscardView )(
1265  ID3D11DeviceContext2 * This,
1266  /* [annotation] */
1268 
1269  void ( STDMETHODCALLTYPE *VSSetConstantBuffers1 )(
1270  ID3D11DeviceContext2 * This,
1271  /* [annotation] */
1273  /* [annotation] */
1275  /* [annotation] */
1276  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
1277  /* [annotation] */
1278  _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
1279  /* [annotation] */
1280  _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
1281 
1282  void ( STDMETHODCALLTYPE *HSSetConstantBuffers1 )(
1283  ID3D11DeviceContext2 * This,
1284  /* [annotation] */
1286  /* [annotation] */
1288  /* [annotation] */
1289  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
1290  /* [annotation] */
1291  _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
1292  /* [annotation] */
1293  _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
1294 
1295  void ( STDMETHODCALLTYPE *DSSetConstantBuffers1 )(
1296  ID3D11DeviceContext2 * This,
1297  /* [annotation] */
1299  /* [annotation] */
1301  /* [annotation] */
1302  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
1303  /* [annotation] */
1304  _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
1305  /* [annotation] */
1306  _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
1307 
1308  void ( STDMETHODCALLTYPE *GSSetConstantBuffers1 )(
1309  ID3D11DeviceContext2 * This,
1310  /* [annotation] */
1312  /* [annotation] */
1314  /* [annotation] */
1315  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
1316  /* [annotation] */
1317  _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
1318  /* [annotation] */
1319  _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
1320 
1321  void ( STDMETHODCALLTYPE *PSSetConstantBuffers1 )(
1322  ID3D11DeviceContext2 * This,
1323  /* [annotation] */
1325  /* [annotation] */
1327  /* [annotation] */
1328  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
1329  /* [annotation] */
1330  _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
1331  /* [annotation] */
1332  _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
1333 
1334  void ( STDMETHODCALLTYPE *CSSetConstantBuffers1 )(
1335  ID3D11DeviceContext2 * This,
1336  /* [annotation] */
1338  /* [annotation] */
1340  /* [annotation] */
1341  _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
1342  /* [annotation] */
1343  _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
1344  /* [annotation] */
1345  _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
1346 
1347  void ( STDMETHODCALLTYPE *VSGetConstantBuffers1 )(
1348  ID3D11DeviceContext2 * This,
1349  /* [annotation] */
1351  /* [annotation] */
1353  /* [annotation] */
1354  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
1355  /* [annotation] */
1356  _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
1357  /* [annotation] */
1358  _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
1359 
1360  void ( STDMETHODCALLTYPE *HSGetConstantBuffers1 )(
1361  ID3D11DeviceContext2 * This,
1362  /* [annotation] */
1364  /* [annotation] */
1366  /* [annotation] */
1367  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
1368  /* [annotation] */
1369  _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
1370  /* [annotation] */
1371  _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
1372 
1373  void ( STDMETHODCALLTYPE *DSGetConstantBuffers1 )(
1374  ID3D11DeviceContext2 * This,
1375  /* [annotation] */
1377  /* [annotation] */
1379  /* [annotation] */
1380  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
1381  /* [annotation] */
1382  _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
1383  /* [annotation] */
1384  _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
1385 
1386  void ( STDMETHODCALLTYPE *GSGetConstantBuffers1 )(
1387  ID3D11DeviceContext2 * This,
1388  /* [annotation] */
1390  /* [annotation] */
1392  /* [annotation] */
1393  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
1394  /* [annotation] */
1395  _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
1396  /* [annotation] */
1397  _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
1398 
1399  void ( STDMETHODCALLTYPE *PSGetConstantBuffers1 )(
1400  ID3D11DeviceContext2 * This,
1401  /* [annotation] */
1403  /* [annotation] */
1405  /* [annotation] */
1406  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
1407  /* [annotation] */
1408  _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
1409  /* [annotation] */
1410  _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
1411 
1412  void ( STDMETHODCALLTYPE *CSGetConstantBuffers1 )(
1413  ID3D11DeviceContext2 * This,
1414  /* [annotation] */
1416  /* [annotation] */
1418  /* [annotation] */
1419  _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
1420  /* [annotation] */
1421  _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
1422  /* [annotation] */
1423  _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
1424 
1425  void ( STDMETHODCALLTYPE *SwapDeviceContextState )(
1426  ID3D11DeviceContext2 * This,
1427  /* [annotation] */
1429  /* [annotation] */
1430  _Outptr_opt_ ID3DDeviceContextState **ppPreviousState);
1431 
1432  void ( STDMETHODCALLTYPE *ClearView )(
1433  ID3D11DeviceContext2 * This,
1434  /* [annotation] */
1436  /* [annotation] */
1437  _In_ const FLOAT Color[ 4 ],
1438  /* [annotation] */
1441 
1442  void ( STDMETHODCALLTYPE *DiscardView1 )(
1443  ID3D11DeviceContext2 * This,
1444  /* [annotation] */
1445  _In_ ID3D11View *pResourceView,
1446  /* [annotation] */
1449 
1450  HRESULT ( STDMETHODCALLTYPE *UpdateTileMappings )(
1451  ID3D11DeviceContext2 * This,
1452  /* [annotation] */
1454  /* [annotation] */
1456  /* [annotation] */
1457  _In_reads_opt_(NumTiledResourceRegions) const D3D11_TILED_RESOURCE_COORDINATE *pTiledResourceRegionStartCoordinates,
1458  /* [annotation] */
1460  /* [annotation] */
1462  /* [annotation] */
1463  _In_ UINT NumRanges,
1464  /* [annotation] */
1465  _In_reads_opt_(NumRanges) const UINT *pRangeFlags,
1466  /* [annotation] */
1467  _In_reads_opt_(NumRanges) const UINT *pTilePoolStartOffsets,
1468  /* [annotation] */
1469  _In_reads_opt_(NumRanges) const UINT *pRangeTileCounts,
1470  /* [annotation] */
1471  _In_ UINT Flags);
1472 
1473  HRESULT ( STDMETHODCALLTYPE *CopyTileMappings )(
1474  ID3D11DeviceContext2 * This,
1475  /* [annotation] */
1477  /* [annotation] */
1479  /* [annotation] */
1481  /* [annotation] */
1483  /* [annotation] */
1485  /* [annotation] */
1486  _In_ UINT Flags);
1487 
1488  void ( STDMETHODCALLTYPE *CopyTiles )(
1489  ID3D11DeviceContext2 * This,
1490  /* [annotation] */
1492  /* [annotation] */
1494  /* [annotation] */
1496  /* [annotation] */
1497  _In_ ID3D11Buffer *pBuffer,
1498  /* [annotation] */
1500  /* [annotation] */
1501  _In_ UINT Flags);
1502 
1503  void ( STDMETHODCALLTYPE *UpdateTiles )(
1504  ID3D11DeviceContext2 * This,
1505  /* [annotation] */
1507  /* [annotation] */
1509  /* [annotation] */
1511  /* [annotation] */
1512  _In_ const void *pSourceTileData,
1513  /* [annotation] */
1514  _In_ UINT Flags);
1515 
1516  HRESULT ( STDMETHODCALLTYPE *ResizeTilePool )(
1517  ID3D11DeviceContext2 * This,
1518  /* [annotation] */
1520  /* [annotation] */
1521  _In_ UINT64 NewSizeInBytes);
1522 
1523  void ( STDMETHODCALLTYPE *TiledResourceBarrier )(
1524  ID3D11DeviceContext2 * This,
1525  /* [annotation] */
1527  /* [annotation] */
1529 
1530  BOOL ( STDMETHODCALLTYPE *IsAnnotationEnabled )(
1531  ID3D11DeviceContext2 * This);
1532 
1533  void ( STDMETHODCALLTYPE *SetMarkerInt )(
1534  ID3D11DeviceContext2 * This,
1535  /* [annotation] */
1536  _In_ LPCWSTR pLabel,
1537  INT Data);
1538 
1539  void ( STDMETHODCALLTYPE *BeginEventInt )(
1540  ID3D11DeviceContext2 * This,
1541  /* [annotation] */
1542  _In_ LPCWSTR pLabel,
1543  INT Data);
1544 
1545  void ( STDMETHODCALLTYPE *EndEvent )(
1546  ID3D11DeviceContext2 * This);
1547 
1548  END_INTERFACE
1550 
1551  interface ID3D11DeviceContext2
1552  {
1553  CONST_VTBL struct ID3D11DeviceContext2Vtbl *lpVtbl;
1554  };
1555 
1556 
1557 
1558 #ifdef COBJMACROS
1559 
1560 
1561 #define ID3D11DeviceContext2_QueryInterface(This,riid,ppvObject) \
1562  ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1563 
1564 #define ID3D11DeviceContext2_AddRef(This) \
1565  ( (This)->lpVtbl -> AddRef(This) )
1566 
1567 #define ID3D11DeviceContext2_Release(This) \
1568  ( (This)->lpVtbl -> Release(This) )
1569 
1570 
1571 #define ID3D11DeviceContext2_GetDevice(This,ppDevice) \
1572  ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
1573 
1574 #define ID3D11DeviceContext2_GetPrivateData(This,guid,pDataSize,pData) \
1575  ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
1576 
1577 #define ID3D11DeviceContext2_SetPrivateData(This,guid,DataSize,pData) \
1578  ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
1579 
1580 #define ID3D11DeviceContext2_SetPrivateDataInterface(This,guid,pData) \
1581  ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
1582 
1583 
1584 #define ID3D11DeviceContext2_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
1585  ( (This)->lpVtbl -> VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
1586 
1587 #define ID3D11DeviceContext2_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
1588  ( (This)->lpVtbl -> PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
1589 
1590 #define ID3D11DeviceContext2_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) \
1591  ( (This)->lpVtbl -> PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) )
1592 
1593 #define ID3D11DeviceContext2_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
1594  ( (This)->lpVtbl -> PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
1595 
1596 #define ID3D11DeviceContext2_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) \
1597  ( (This)->lpVtbl -> VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) )
1598 
1599 #define ID3D11DeviceContext2_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) \
1600  ( (This)->lpVtbl -> DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) )
1601 
1602 #define ID3D11DeviceContext2_Draw(This,VertexCount,StartVertexLocation) \
1603  ( (This)->lpVtbl -> Draw(This,VertexCount,StartVertexLocation) )
1604 
1605 #define ID3D11DeviceContext2_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) \
1606  ( (This)->lpVtbl -> Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) )
1607 
1608 #define ID3D11DeviceContext2_Unmap(This,pResource,Subresource) \
1609  ( (This)->lpVtbl -> Unmap(This,pResource,Subresource) )
1610 
1611 #define ID3D11DeviceContext2_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
1612  ( (This)->lpVtbl -> PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
1613 
1614 #define ID3D11DeviceContext2_IASetInputLayout(This,pInputLayout) \
1615  ( (This)->lpVtbl -> IASetInputLayout(This,pInputLayout) )
1616 
1617 #define ID3D11DeviceContext2_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
1618  ( (This)->lpVtbl -> IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
1619 
1620 #define ID3D11DeviceContext2_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) \
1621  ( (This)->lpVtbl -> IASetIndexBuffer(This,pIndexBuffer,Format,Offset) )
1622 
1623 #define ID3D11DeviceContext2_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) \
1624  ( (This)->lpVtbl -> DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) )
1625 
1626 #define ID3D11DeviceContext2_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) \
1627  ( (This)->lpVtbl -> DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) )
1628 
1629 #define ID3D11DeviceContext2_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
1630  ( (This)->lpVtbl -> GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
1631 
1632 #define ID3D11DeviceContext2_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) \
1633  ( (This)->lpVtbl -> GSSetShader(This,pShader,ppClassInstances,NumClassInstances) )
1634 
1635 #define ID3D11DeviceContext2_IASetPrimitiveTopology(This,Topology) \
1636  ( (This)->lpVtbl -> IASetPrimitiveTopology(This,Topology) )
1637 
1638 #define ID3D11DeviceContext2_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
1639  ( (This)->lpVtbl -> VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
1640 
1641 #define ID3D11DeviceContext2_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
1642  ( (This)->lpVtbl -> VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
1643 
1644 #define ID3D11DeviceContext2_Begin(This,pAsync) \
1645  ( (This)->lpVtbl -> Begin(This,pAsync) )
1646 
1647 #define ID3D11DeviceContext2_End(This,pAsync) \
1648  ( (This)->lpVtbl -> End(This,pAsync) )
1649 
1650 #define ID3D11DeviceContext2_GetData(This,pAsync,pData,DataSize,GetDataFlags) \
1651  ( (This)->lpVtbl -> GetData(This,pAsync,pData,DataSize,GetDataFlags) )
1652 
1653 #define ID3D11DeviceContext2_SetPredication(This,pPredicate,PredicateValue) \
1654  ( (This)->lpVtbl -> SetPredication(This,pPredicate,PredicateValue) )
1655 
1656 #define ID3D11DeviceContext2_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
1657  ( (This)->lpVtbl -> GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
1658 
1659 #define ID3D11DeviceContext2_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
1660  ( (This)->lpVtbl -> GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
1661 
1662 #define ID3D11DeviceContext2_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) \
1663  ( (This)->lpVtbl -> OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) )
1664 
1665 #define ID3D11DeviceContext2_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) \
1666  ( (This)->lpVtbl -> OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) )
1667 
1668 #define ID3D11DeviceContext2_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) \
1669  ( (This)->lpVtbl -> OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) )
1670 
1671 #define ID3D11DeviceContext2_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) \
1672  ( (This)->lpVtbl -> OMSetDepthStencilState(This,pDepthStencilState,StencilRef) )
1673 
1674 #define ID3D11DeviceContext2_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) \
1675  ( (This)->lpVtbl -> SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) )
1676 
1677 #define ID3D11DeviceContext2_DrawAuto(This) \
1678  ( (This)->lpVtbl -> DrawAuto(This) )
1679 
1680 #define ID3D11DeviceContext2_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
1681  ( (This)->lpVtbl -> DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
1682 
1683 #define ID3D11DeviceContext2_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
1684  ( (This)->lpVtbl -> DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
1685 
1686 #define ID3D11DeviceContext2_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) \
1687  ( (This)->lpVtbl -> Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) )
1688 
1689 #define ID3D11DeviceContext2_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
1690  ( (This)->lpVtbl -> DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
1691 
1692 #define ID3D11DeviceContext2_RSSetState(This,pRasterizerState) \
1693  ( (This)->lpVtbl -> RSSetState(This,pRasterizerState) )
1694 
1695 #define ID3D11DeviceContext2_RSSetViewports(This,NumViewports,pViewports) \
1696  ( (This)->lpVtbl -> RSSetViewports(This,NumViewports,pViewports) )
1697 
1698 #define ID3D11DeviceContext2_RSSetScissorRects(This,NumRects,pRects) \
1699  ( (This)->lpVtbl -> RSSetScissorRects(This,NumRects,pRects) )
1700 
1701 #define ID3D11DeviceContext2_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) \
1702  ( (This)->lpVtbl -> CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) )
1703 
1704 #define ID3D11DeviceContext2_CopyResource(This,pDstResource,pSrcResource) \
1705  ( (This)->lpVtbl -> CopyResource(This,pDstResource,pSrcResource) )
1706 
1707 #define ID3D11DeviceContext2_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) \
1708  ( (This)->lpVtbl -> UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) )
1709 
1710 #define ID3D11DeviceContext2_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) \
1711  ( (This)->lpVtbl -> CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) )
1712 
1713 #define ID3D11DeviceContext2_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) \
1714  ( (This)->lpVtbl -> ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) )
1715 
1716 #define ID3D11DeviceContext2_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) \
1717  ( (This)->lpVtbl -> ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) )
1718 
1719 #define ID3D11DeviceContext2_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) \
1720  ( (This)->lpVtbl -> ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) )
1721 
1722 #define ID3D11DeviceContext2_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) \
1723  ( (This)->lpVtbl -> ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) )
1724 
1725 #define ID3D11DeviceContext2_GenerateMips(This,pShaderResourceView) \
1726  ( (This)->lpVtbl -> GenerateMips(This,pShaderResourceView) )
1727 
1728 #define ID3D11DeviceContext2_SetResourceMinLOD(This,pResource,MinLOD) \
1729  ( (This)->lpVtbl -> SetResourceMinLOD(This,pResource,MinLOD) )
1730 
1731 #define ID3D11DeviceContext2_GetResourceMinLOD(This,pResource) \
1732  ( (This)->lpVtbl -> GetResourceMinLOD(This,pResource) )
1733 
1734 #define ID3D11DeviceContext2_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) \
1735  ( (This)->lpVtbl -> ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) )
1736 
1737 #define ID3D11DeviceContext2_ExecuteCommandList(This,pCommandList,RestoreContextState) \
1738  ( (This)->lpVtbl -> ExecuteCommandList(This,pCommandList,RestoreContextState) )
1739 
1740 #define ID3D11DeviceContext2_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
1741  ( (This)->lpVtbl -> HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
1742 
1743 #define ID3D11DeviceContext2_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) \
1744  ( (This)->lpVtbl -> HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) )
1745 
1746 #define ID3D11DeviceContext2_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
1747  ( (This)->lpVtbl -> HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
1748 
1749 #define ID3D11DeviceContext2_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
1750  ( (This)->lpVtbl -> HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
1751 
1752 #define ID3D11DeviceContext2_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
1753  ( (This)->lpVtbl -> DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
1754 
1755 #define ID3D11DeviceContext2_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) \
1756  ( (This)->lpVtbl -> DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) )
1757 
1758 #define ID3D11DeviceContext2_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
1759  ( (This)->lpVtbl -> DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
1760 
1761 #define ID3D11DeviceContext2_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
1762  ( (This)->lpVtbl -> DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
1763 
1764 #define ID3D11DeviceContext2_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
1765  ( (This)->lpVtbl -> CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
1766 
1767 #define ID3D11DeviceContext2_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) \
1768  ( (This)->lpVtbl -> CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) )
1769 
1770 #define ID3D11DeviceContext2_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) \
1771  ( (This)->lpVtbl -> CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) )
1772 
1773 #define ID3D11DeviceContext2_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
1774  ( (This)->lpVtbl -> CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
1775 
1776 #define ID3D11DeviceContext2_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
1777  ( (This)->lpVtbl -> CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
1778 
1779 #define ID3D11DeviceContext2_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
1780  ( (This)->lpVtbl -> VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
1781 
1782 #define ID3D11DeviceContext2_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
1783  ( (This)->lpVtbl -> PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
1784 
1785 #define ID3D11DeviceContext2_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) \
1786  ( (This)->lpVtbl -> PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) )
1787 
1788 #define ID3D11DeviceContext2_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
1789  ( (This)->lpVtbl -> PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
1790 
1791 #define ID3D11DeviceContext2_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) \
1792  ( (This)->lpVtbl -> VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) )
1793 
1794 #define ID3D11DeviceContext2_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
1795  ( (This)->lpVtbl -> PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
1796 
1797 #define ID3D11DeviceContext2_IAGetInputLayout(This,ppInputLayout) \
1798  ( (This)->lpVtbl -> IAGetInputLayout(This,ppInputLayout) )
1799 
1800 #define ID3D11DeviceContext2_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
1801  ( (This)->lpVtbl -> IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
1802 
1803 #define ID3D11DeviceContext2_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) \
1804  ( (This)->lpVtbl -> IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) )
1805 
1806 #define ID3D11DeviceContext2_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
1807  ( (This)->lpVtbl -> GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
1808 
1809 #define ID3D11DeviceContext2_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) \
1810  ( (This)->lpVtbl -> GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) )
1811 
1812 #define ID3D11DeviceContext2_IAGetPrimitiveTopology(This,pTopology) \
1813  ( (This)->lpVtbl -> IAGetPrimitiveTopology(This,pTopology) )
1814 
1815 #define ID3D11DeviceContext2_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
1816  ( (This)->lpVtbl -> VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
1817 
1818 #define ID3D11DeviceContext2_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
1819  ( (This)->lpVtbl -> VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
1820 
1821 #define ID3D11DeviceContext2_GetPredication(This,ppPredicate,pPredicateValue) \
1822  ( (This)->lpVtbl -> GetPredication(This,ppPredicate,pPredicateValue) )
1823 
1824 #define ID3D11DeviceContext2_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
1825  ( (This)->lpVtbl -> GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
1826 
1827 #define ID3D11DeviceContext2_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
1828  ( (This)->lpVtbl -> GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
1829 
1830 #define ID3D11DeviceContext2_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) \
1831  ( (This)->lpVtbl -> OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) )
1832 
1833 #define ID3D11DeviceContext2_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) \
1834  ( (This)->lpVtbl -> OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) )
1835 
1836 #define ID3D11DeviceContext2_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) \
1837  ( (This)->lpVtbl -> OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) )
1838 
1839 #define ID3D11DeviceContext2_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) \
1840  ( (This)->lpVtbl -> OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) )
1841 
1842 #define ID3D11DeviceContext2_SOGetTargets(This,NumBuffers,ppSOTargets) \
1843  ( (This)->lpVtbl -> SOGetTargets(This,NumBuffers,ppSOTargets) )
1844 
1845 #define ID3D11DeviceContext2_RSGetState(This,ppRasterizerState) \
1846  ( (This)->lpVtbl -> RSGetState(This,ppRasterizerState) )
1847 
1848 #define ID3D11DeviceContext2_RSGetViewports(This,pNumViewports,pViewports) \
1849  ( (This)->lpVtbl -> RSGetViewports(This,pNumViewports,pViewports) )
1850 
1851 #define ID3D11DeviceContext2_RSGetScissorRects(This,pNumRects,pRects) \
1852  ( (This)->lpVtbl -> RSGetScissorRects(This,pNumRects,pRects) )
1853 
1854 #define ID3D11DeviceContext2_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
1855  ( (This)->lpVtbl -> HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
1856 
1857 #define ID3D11DeviceContext2_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) \
1858  ( (This)->lpVtbl -> HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) )
1859 
1860 #define ID3D11DeviceContext2_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
1861  ( (This)->lpVtbl -> HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
1862 
1863 #define ID3D11DeviceContext2_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
1864  ( (This)->lpVtbl -> HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
1865 
1866 #define ID3D11DeviceContext2_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
1867  ( (This)->lpVtbl -> DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
1868 
1869 #define ID3D11DeviceContext2_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) \
1870  ( (This)->lpVtbl -> DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) )
1871 
1872 #define ID3D11DeviceContext2_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
1873  ( (This)->lpVtbl -> DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
1874 
1875 #define ID3D11DeviceContext2_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
1876  ( (This)->lpVtbl -> DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
1877 
1878 #define ID3D11DeviceContext2_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
1879  ( (This)->lpVtbl -> CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
1880 
1881 #define ID3D11DeviceContext2_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) \
1882  ( (This)->lpVtbl -> CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) )
1883 
1884 #define ID3D11DeviceContext2_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) \
1885  ( (This)->lpVtbl -> CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) )
1886 
1887 #define ID3D11DeviceContext2_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
1888  ( (This)->lpVtbl -> CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
1889 
1890 #define ID3D11DeviceContext2_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
1891  ( (This)->lpVtbl -> CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
1892 
1893 #define ID3D11DeviceContext2_ClearState(This) \
1894  ( (This)->lpVtbl -> ClearState(This) )
1895 
1896 #define ID3D11DeviceContext2_Flush(This) \
1897  ( (This)->lpVtbl -> Flush(This) )
1898 
1899 #define ID3D11DeviceContext2_GetType(This) \
1900  ( (This)->lpVtbl -> GetType(This) )
1901 
1902 #define ID3D11DeviceContext2_GetContextFlags(This) \
1903  ( (This)->lpVtbl -> GetContextFlags(This) )
1904 
1905 #define ID3D11DeviceContext2_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) \
1906  ( (This)->lpVtbl -> FinishCommandList(This,RestoreDeferredContextState,ppCommandList) )
1907 
1908 
1909 #define ID3D11DeviceContext2_CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) \
1910  ( (This)->lpVtbl -> CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) )
1911 
1912 #define ID3D11DeviceContext2_UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) \
1913  ( (This)->lpVtbl -> UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) )
1914 
1915 #define ID3D11DeviceContext2_DiscardResource(This,pResource) \
1916  ( (This)->lpVtbl -> DiscardResource(This,pResource) )
1917 
1918 #define ID3D11DeviceContext2_DiscardView(This,pResourceView) \
1919  ( (This)->lpVtbl -> DiscardView(This,pResourceView) )
1920 
1921 #define ID3D11DeviceContext2_VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
1922  ( (This)->lpVtbl -> VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
1923 
1924 #define ID3D11DeviceContext2_HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
1925  ( (This)->lpVtbl -> HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
1926 
1927 #define ID3D11DeviceContext2_DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
1928  ( (This)->lpVtbl -> DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
1929 
1930 #define ID3D11DeviceContext2_GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
1931  ( (This)->lpVtbl -> GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
1932 
1933 #define ID3D11DeviceContext2_PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
1934  ( (This)->lpVtbl -> PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
1935 
1936 #define ID3D11DeviceContext2_CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
1937  ( (This)->lpVtbl -> CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
1938 
1939 #define ID3D11DeviceContext2_VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
1940  ( (This)->lpVtbl -> VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
1941 
1942 #define ID3D11DeviceContext2_HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
1943  ( (This)->lpVtbl -> HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
1944 
1945 #define ID3D11DeviceContext2_DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
1946  ( (This)->lpVtbl -> DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
1947 
1948 #define ID3D11DeviceContext2_GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
1949  ( (This)->lpVtbl -> GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
1950 
1951 #define ID3D11DeviceContext2_PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
1952  ( (This)->lpVtbl -> PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
1953 
1954 #define ID3D11DeviceContext2_CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
1955  ( (This)->lpVtbl -> CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
1956 
1957 #define ID3D11DeviceContext2_SwapDeviceContextState(This,pState,ppPreviousState) \
1958  ( (This)->lpVtbl -> SwapDeviceContextState(This,pState,ppPreviousState) )
1959 
1960 #define ID3D11DeviceContext2_ClearView(This,pView,Color,pRect,NumRects) \
1961  ( (This)->lpVtbl -> ClearView(This,pView,Color,pRect,NumRects) )
1962 
1963 #define ID3D11DeviceContext2_DiscardView1(This,pResourceView,pRects,NumRects) \
1964  ( (This)->lpVtbl -> DiscardView1(This,pResourceView,pRects,NumRects) )
1965 
1966 
1967 #define ID3D11DeviceContext2_UpdateTileMappings(This,pTiledResource,NumTiledResourceRegions,pTiledResourceRegionStartCoordinates,pTiledResourceRegionSizes,pTilePool,NumRanges,pRangeFlags,pTilePoolStartOffsets,pRangeTileCounts,Flags) \
1968  ( (This)->lpVtbl -> UpdateTileMappings(This,pTiledResource,NumTiledResourceRegions,pTiledResourceRegionStartCoordinates,pTiledResourceRegionSizes,pTilePool,NumRanges,pRangeFlags,pTilePoolStartOffsets,pRangeTileCounts,Flags) )
1969 
1970 #define ID3D11DeviceContext2_CopyTileMappings(This,pDestTiledResource,pDestRegionStartCoordinate,pSourceTiledResource,pSourceRegionStartCoordinate,pTileRegionSize,Flags) \
1971  ( (This)->lpVtbl -> CopyTileMappings(This,pDestTiledResource,pDestRegionStartCoordinate,pSourceTiledResource,pSourceRegionStartCoordinate,pTileRegionSize,Flags) )
1972 
1973 #define ID3D11DeviceContext2_CopyTiles(This,pTiledResource,pTileRegionStartCoordinate,pTileRegionSize,pBuffer,BufferStartOffsetInBytes,Flags) \
1974  ( (This)->lpVtbl -> CopyTiles(This,pTiledResource,pTileRegionStartCoordinate,pTileRegionSize,pBuffer,BufferStartOffsetInBytes,Flags) )
1975 
1976 #define ID3D11DeviceContext2_UpdateTiles(This,pDestTiledResource,pDestTileRegionStartCoordinate,pDestTileRegionSize,pSourceTileData,Flags) \
1977  ( (This)->lpVtbl -> UpdateTiles(This,pDestTiledResource,pDestTileRegionStartCoordinate,pDestTileRegionSize,pSourceTileData,Flags) )
1978 
1979 #define ID3D11DeviceContext2_ResizeTilePool(This,pTilePool,NewSizeInBytes) \
1980  ( (This)->lpVtbl -> ResizeTilePool(This,pTilePool,NewSizeInBytes) )
1981 
1982 #define ID3D11DeviceContext2_TiledResourceBarrier(This,pTiledResourceOrViewAccessBeforeBarrier,pTiledResourceOrViewAccessAfterBarrier) \
1983  ( (This)->lpVtbl -> TiledResourceBarrier(This,pTiledResourceOrViewAccessBeforeBarrier,pTiledResourceOrViewAccessAfterBarrier) )
1984 
1985 #define ID3D11DeviceContext2_IsAnnotationEnabled(This) \
1986  ( (This)->lpVtbl -> IsAnnotationEnabled(This) )
1987 
1988 #define ID3D11DeviceContext2_SetMarkerInt(This,pLabel,Data) \
1989  ( (This)->lpVtbl -> SetMarkerInt(This,pLabel,Data) )
1990 
1991 #define ID3D11DeviceContext2_BeginEventInt(This,pLabel,Data) \
1992  ( (This)->lpVtbl -> BeginEventInt(This,pLabel,Data) )
1993 
1994 #define ID3D11DeviceContext2_EndEvent(This) \
1995  ( (This)->lpVtbl -> EndEvent(This) )
1996 
1997 #endif /* COBJMACROS */
1998 
1999 
2000 #endif /* C style interface */
2001 
2002 
2003 
2004 
2005 #endif /* __ID3D11DeviceContext2_INTERFACE_DEFINED__ */
2006 
2007 
2008 #ifndef __ID3D11Device2_INTERFACE_DEFINED__
2009 #define __ID3D11Device2_INTERFACE_DEFINED__
2010 
2011 /* interface ID3D11Device2 */
2012 /* [unique][local][object][uuid] */
2013 
2014 
2015 EXTERN_C const IID IID_ID3D11Device2;
2016 
2017 #if defined(__cplusplus) && !defined(CINTERFACE)
2018 
2019  MIDL_INTERFACE("9d06dffa-d1e5-4d07-83a8-1bb123f2f841")
2020  ID3D11Device2 : public ID3D11Device1
2021  {
2022  public:
2023  virtual void STDMETHODCALLTYPE GetImmediateContext2(
2024  /* [annotation] */
2025  _Outptr_ ID3D11DeviceContext2 **ppImmediateContext) = 0;
2026 
2027  virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext2(
2028  UINT ContextFlags,
2029  /* [annotation] */
2030  _COM_Outptr_opt_ ID3D11DeviceContext2 **ppDeferredContext) = 0;
2031 
2032  virtual void STDMETHODCALLTYPE GetResourceTiling(
2033  /* [annotation] */
2035  /* [annotation] */
2036  _Out_opt_ UINT *pNumTilesForEntireResource,
2037  /* [annotation] */
2038  _Out_opt_ D3D11_PACKED_MIP_DESC *pPackedMipDesc,
2039  /* [annotation] */
2040  _Out_opt_ D3D11_TILE_SHAPE *pStandardTileShapeForNonPackedMips,
2041  /* [annotation] */
2042  _Inout_opt_ UINT *pNumSubresourceTilings,
2043  /* [annotation] */
2044  _In_ UINT FirstSubresourceTilingToGet,
2045  /* [annotation] */
2046  _Out_writes_(*pNumSubresourceTilings) D3D11_SUBRESOURCE_TILING *pSubresourceTilingsForNonPackedMips) = 0;
2047 
2048  virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels1(
2049  /* [annotation] */
2050  _In_ DXGI_FORMAT Format,
2051  /* [annotation] */
2052  _In_ UINT SampleCount,
2053  /* [annotation] */
2054  _In_ UINT Flags,
2055  /* [annotation] */
2056  _Out_ UINT *pNumQualityLevels) = 0;
2057 
2058  };
2059 
2060 
2061 #else /* C style interface */
2062 
2063  typedef struct ID3D11Device2Vtbl
2064  {
2065  BEGIN_INTERFACE
2066 
2067  HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2068  ID3D11Device2 * This,
2069  /* [in] */ REFIID riid,
2070  /* [annotation][iid_is][out] */
2071  _COM_Outptr_ void **ppvObject);
2072 
2073  ULONG ( STDMETHODCALLTYPE *AddRef )(
2074  ID3D11Device2 * This);
2075 
2076  ULONG ( STDMETHODCALLTYPE *Release )(
2077  ID3D11Device2 * This);
2078 
2079  HRESULT ( STDMETHODCALLTYPE *CreateBuffer )(
2080  ID3D11Device2 * This,
2081  /* [annotation] */
2082  _In_ const D3D11_BUFFER_DESC *pDesc,
2083  /* [annotation] */
2084  _In_opt_ const D3D11_SUBRESOURCE_DATA *pInitialData,
2085  /* [annotation] */
2086  _COM_Outptr_opt_ ID3D11Buffer **ppBuffer);
2087 
2088  HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )(
2089  ID3D11Device2 * This,
2090  /* [annotation] */
2092  /* [annotation] */
2093  _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
2094  /* [annotation] */
2095  _COM_Outptr_opt_ ID3D11Texture1D **ppTexture1D);
2096 
2097  HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )(
2098  ID3D11Device2 * This,
2099  /* [annotation] */
2101  /* [annotation] */
2102  _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
2103  /* [annotation] */
2104  _COM_Outptr_opt_ ID3D11Texture2D **ppTexture2D);
2105 
2106  HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )(
2107  ID3D11Device2 * This,
2108  /* [annotation] */
2110  /* [annotation] */
2111  _In_reads_opt_(_Inexpressible_(pDesc->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
2112  /* [annotation] */
2113  _COM_Outptr_opt_ ID3D11Texture3D **ppTexture3D);
2114 
2115  HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )(
2116  ID3D11Device2 * This,
2117  /* [annotation] */
2119  /* [annotation] */
2120  _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
2121  /* [annotation] */
2122  _COM_Outptr_opt_ ID3D11ShaderResourceView **ppSRView);
2123 
2124  HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView )(
2125  ID3D11Device2 * This,
2126  /* [annotation] */
2128  /* [annotation] */
2129  _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
2130  /* [annotation] */
2131  _COM_Outptr_opt_ ID3D11UnorderedAccessView **ppUAView);
2132 
2133  HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )(
2134  ID3D11Device2 * This,
2135  /* [annotation] */
2137  /* [annotation] */
2138  _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
2139  /* [annotation] */
2140  _COM_Outptr_opt_ ID3D11RenderTargetView **ppRTView);
2141 
2142  HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )(
2143  ID3D11Device2 * This,
2144  /* [annotation] */
2146  /* [annotation] */
2147  _In_opt_ const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
2148  /* [annotation] */
2149  _COM_Outptr_opt_ ID3D11DepthStencilView **ppDepthStencilView);
2150 
2151  HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )(
2152  ID3D11Device2 * This,
2153  /* [annotation] */
2154  _In_reads_(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
2155  /* [annotation] */
2157  /* [annotation] */
2158  _In_reads_(BytecodeLength) const void *pShaderBytecodeWithInputSignature,
2159  /* [annotation] */
2160  _In_ SIZE_T BytecodeLength,
2161  /* [annotation] */
2162  _COM_Outptr_opt_ ID3D11InputLayout **ppInputLayout);
2163 
2164  HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )(
2165  ID3D11Device2 * This,
2166  /* [annotation] */
2167  _In_reads_(BytecodeLength) const void *pShaderBytecode,
2168  /* [annotation] */
2169  _In_ SIZE_T BytecodeLength,
2170  /* [annotation] */
2171  _In_opt_ ID3D11ClassLinkage *pClassLinkage,
2172  /* [annotation] */
2173  _COM_Outptr_opt_ ID3D11VertexShader **ppVertexShader);
2174 
2175  HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )(
2176  ID3D11Device2 * This,
2177  /* [annotation] */
2178  _In_reads_(BytecodeLength) const void *pShaderBytecode,
2179  /* [annotation] */
2180  _In_ SIZE_T BytecodeLength,
2181  /* [annotation] */
2182  _In_opt_ ID3D11ClassLinkage *pClassLinkage,
2183  /* [annotation] */
2184  _COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
2185 
2186  HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )(
2187  ID3D11Device2 * This,
2188  /* [annotation] */
2189  _In_reads_(BytecodeLength) const void *pShaderBytecode,
2190  /* [annotation] */
2191  _In_ SIZE_T BytecodeLength,
2192  /* [annotation] */
2193  _In_reads_opt_(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
2194  /* [annotation] */
2196  /* [annotation] */
2197  _In_reads_opt_(NumStrides) const UINT *pBufferStrides,
2198  /* [annotation] */
2199  _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides,
2200  /* [annotation] */
2201  _In_ UINT RasterizedStream,
2202  /* [annotation] */
2203  _In_opt_ ID3D11ClassLinkage *pClassLinkage,
2204  /* [annotation] */
2205  _COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
2206 
2207  HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )(
2208  ID3D11Device2 * This,
2209  /* [annotation] */
2210  _In_reads_(BytecodeLength) const void *pShaderBytecode,
2211  /* [annotation] */
2212  _In_ SIZE_T BytecodeLength,
2213  /* [annotation] */
2214  _In_opt_ ID3D11ClassLinkage *pClassLinkage,
2215  /* [annotation] */
2216  _COM_Outptr_opt_ ID3D11PixelShader **ppPixelShader);
2217 
2218  HRESULT ( STDMETHODCALLTYPE *CreateHullShader )(
2219  ID3D11Device2 * This,
2220  /* [annotation] */
2221  _In_reads_(BytecodeLength) const void *pShaderBytecode,
2222  /* [annotation] */
2223  _In_ SIZE_T BytecodeLength,
2224  /* [annotation] */
2225  _In_opt_ ID3D11ClassLinkage *pClassLinkage,
2226  /* [annotation] */
2227  _COM_Outptr_opt_ ID3D11HullShader **ppHullShader);
2228 
2229  HRESULT ( STDMETHODCALLTYPE *CreateDomainShader )(
2230  ID3D11Device2 * This,
2231  /* [annotation] */
2232  _In_reads_(BytecodeLength) const void *pShaderBytecode,
2233  /* [annotation] */
2234  _In_ SIZE_T BytecodeLength,
2235  /* [annotation] */
2236  _In_opt_ ID3D11ClassLinkage *pClassLinkage,
2237  /* [annotation] */
2238  _COM_Outptr_opt_ ID3D11DomainShader **ppDomainShader);
2239 
2240  HRESULT ( STDMETHODCALLTYPE *CreateComputeShader )(
2241  ID3D11Device2 * This,
2242  /* [annotation] */
2243  _In_reads_(BytecodeLength) const void *pShaderBytecode,
2244  /* [annotation] */
2245  _In_ SIZE_T BytecodeLength,
2246  /* [annotation] */
2247  _In_opt_ ID3D11ClassLinkage *pClassLinkage,
2248  /* [annotation] */
2249  _COM_Outptr_opt_ ID3D11ComputeShader **ppComputeShader);
2250 
2251  HRESULT ( STDMETHODCALLTYPE *CreateClassLinkage )(
2252  ID3D11Device2 * This,
2253  /* [annotation] */
2254  _COM_Outptr_ ID3D11ClassLinkage **ppLinkage);
2255 
2256  HRESULT ( STDMETHODCALLTYPE *CreateBlendState )(
2257  ID3D11Device2 * This,
2258  /* [annotation] */
2259  _In_ const D3D11_BLEND_DESC *pBlendStateDesc,
2260  /* [annotation] */
2261  _COM_Outptr_opt_ ID3D11BlendState **ppBlendState);
2262 
2263  HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )(
2264  ID3D11Device2 * This,
2265  /* [annotation] */
2266  _In_ const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
2267  /* [annotation] */
2268  _COM_Outptr_opt_ ID3D11DepthStencilState **ppDepthStencilState);
2269 
2270  HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )(
2271  ID3D11Device2 * This,
2272  /* [annotation] */
2273  _In_ const D3D11_RASTERIZER_DESC *pRasterizerDesc,
2274  /* [annotation] */
2275  _COM_Outptr_opt_ ID3D11RasterizerState **ppRasterizerState);
2276 
2277  HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )(
2278  ID3D11Device2 * This,
2279  /* [annotation] */
2280  _In_ const D3D11_SAMPLER_DESC *pSamplerDesc,
2281  /* [annotation] */
2282  _COM_Outptr_opt_ ID3D11SamplerState **ppSamplerState);
2283 
2284  HRESULT ( STDMETHODCALLTYPE *CreateQuery )(
2285  ID3D11Device2 * This,
2286  /* [annotation] */
2287  _In_ const D3D11_QUERY_DESC *pQueryDesc,
2288  /* [annotation] */
2289  _COM_Outptr_opt_ ID3D11Query **ppQuery);
2290 
2291  HRESULT ( STDMETHODCALLTYPE *CreatePredicate )(
2292  ID3D11Device2 * This,
2293  /* [annotation] */
2294  _In_ const D3D11_QUERY_DESC *pPredicateDesc,
2295  /* [annotation] */
2296  _COM_Outptr_opt_ ID3D11Predicate **ppPredicate);
2297 
2298  HRESULT ( STDMETHODCALLTYPE *CreateCounter )(
2299  ID3D11Device2 * This,
2300  /* [annotation] */
2301  _In_ const D3D11_COUNTER_DESC *pCounterDesc,
2302  /* [annotation] */
2303  _COM_Outptr_opt_ ID3D11Counter **ppCounter);
2304 
2305  HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext )(
2306  ID3D11Device2 * This,
2307  UINT ContextFlags,
2308  /* [annotation] */
2309  _COM_Outptr_opt_ ID3D11DeviceContext **ppDeferredContext);
2310 
2311  HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )(
2312  ID3D11Device2 * This,
2313  /* [annotation] */
2314  _In_ HANDLE hResource,
2315  /* [annotation] */
2316  _In_ REFIID ReturnedInterface,
2317  /* [annotation] */
2318  _COM_Outptr_opt_ void **ppResource);
2319 
2320  HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )(
2321  ID3D11Device2 * This,
2322  /* [annotation] */
2324  /* [annotation] */
2325  _Out_ UINT *pFormatSupport);
2326 
2327  HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )(
2328  ID3D11Device2 * This,
2329  /* [annotation] */
2331  /* [annotation] */
2332  _In_ UINT SampleCount,
2333  /* [annotation] */
2334  _Out_ UINT *pNumQualityLevels);
2335 
2336  void ( STDMETHODCALLTYPE *CheckCounterInfo )(
2337  ID3D11Device2 * This,
2338  /* [annotation] */
2339  _Out_ D3D11_COUNTER_INFO *pCounterInfo);
2340 
2341  HRESULT ( STDMETHODCALLTYPE *CheckCounter )(
2342  ID3D11Device2 * This,
2343  /* [annotation] */
2345  /* [annotation] */
2346  _Out_ D3D11_COUNTER_TYPE *pType,
2347  /* [annotation] */
2348  _Out_ UINT *pActiveCounters,
2349  /* [annotation] */
2350  _Out_writes_opt_(*pNameLength) LPSTR szName,
2351  /* [annotation] */
2352  _Inout_opt_ UINT *pNameLength,
2353  /* [annotation] */
2354  _Out_writes_opt_(*pUnitsLength) LPSTR szUnits,
2355  /* [annotation] */
2356  _Inout_opt_ UINT *pUnitsLength,
2357  /* [annotation] */
2358  _Out_writes_opt_(*pDescriptionLength) LPSTR szDescription,
2359  /* [annotation] */
2360  _Inout_opt_ UINT *pDescriptionLength);
2361 
2362  HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )(
2363  ID3D11Device2 * This,
2364  D3D11_FEATURE Feature,
2365  /* [annotation] */
2366  _Out_writes_bytes_(FeatureSupportDataSize) void *pFeatureSupportData,
2367  UINT FeatureSupportDataSize);
2368 
2369  HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
2370  ID3D11Device2 * This,
2371  /* [annotation] */
2372  _In_ REFGUID guid,
2373  /* [annotation] */
2374  _Inout_ UINT *pDataSize,
2375  /* [annotation] */
2377 
2378  HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
2379  ID3D11Device2 * This,
2380  /* [annotation] */
2381  _In_ REFGUID guid,
2382  /* [annotation] */
2383  _In_ UINT DataSize,
2384  /* [annotation] */
2386 
2387  HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
2388  ID3D11Device2 * This,
2389  /* [annotation] */
2390  _In_ REFGUID guid,
2391  /* [annotation] */
2392  _In_opt_ const IUnknown *pData);
2393 
2394  D3D_FEATURE_LEVEL ( STDMETHODCALLTYPE *GetFeatureLevel )(
2395  ID3D11Device2 * This);
2396 
2397  UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
2398  ID3D11Device2 * This);
2399 
2400  HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )(
2401  ID3D11Device2 * This);
2402 
2403  void ( STDMETHODCALLTYPE *GetImmediateContext )(
2404  ID3D11Device2 * This,
2405  /* [annotation] */
2406  _Outptr_ ID3D11DeviceContext **ppImmediateContext);
2407 
2408  HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )(
2409  ID3D11Device2 * This,
2410  UINT RaiseFlags);
2411 
2412  UINT ( STDMETHODCALLTYPE *GetExceptionMode )(
2413  ID3D11Device2 * This);
2414 
2415  void ( STDMETHODCALLTYPE *GetImmediateContext1 )(
2416  ID3D11Device2 * This,
2417  /* [annotation] */
2418  _Outptr_ ID3D11DeviceContext1 **ppImmediateContext);
2419 
2420  HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext1 )(
2421  ID3D11Device2 * This,
2422  UINT ContextFlags,
2423  /* [annotation] */
2424  _COM_Outptr_opt_ ID3D11DeviceContext1 **ppDeferredContext);
2425 
2426  HRESULT ( STDMETHODCALLTYPE *CreateBlendState1 )(
2427  ID3D11Device2 * This,
2428  /* [annotation] */
2429  _In_ const D3D11_BLEND_DESC1 *pBlendStateDesc,
2430  /* [annotation] */
2431  _COM_Outptr_opt_ ID3D11BlendState1 **ppBlendState);
2432 
2433  HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState1 )(
2434  ID3D11Device2 * This,
2435  /* [annotation] */
2436  _In_ const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
2437  /* [annotation] */
2438  _COM_Outptr_opt_ ID3D11RasterizerState1 **ppRasterizerState);
2439 
2440  HRESULT ( STDMETHODCALLTYPE *CreateDeviceContextState )(
2441  ID3D11Device2 * This,
2443  /* [annotation] */
2444  _In_reads_( FeatureLevels ) const D3D_FEATURE_LEVEL *pFeatureLevels,
2445  UINT FeatureLevels,
2446  UINT SDKVersion,
2447  REFIID EmulatedInterface,
2448  /* [annotation] */
2449  _Out_opt_ D3D_FEATURE_LEVEL *pChosenFeatureLevel,
2450  /* [annotation] */
2451  _Out_opt_ ID3DDeviceContextState **ppContextState);
2452 
2453  HRESULT ( STDMETHODCALLTYPE *OpenSharedResource1 )(
2454  ID3D11Device2 * This,
2455  /* [annotation] */
2456  _In_ HANDLE hResource,
2457  /* [annotation] */
2458  _In_ REFIID returnedInterface,
2459  /* [annotation] */
2460  _COM_Outptr_ void **ppResource);
2461 
2462  HRESULT ( STDMETHODCALLTYPE *OpenSharedResourceByName )(
2463  ID3D11Device2 * This,
2464  /* [annotation] */
2465  _In_ LPCWSTR lpName,
2466  /* [annotation] */
2467  _In_ DWORD dwDesiredAccess,
2468  /* [annotation] */
2469  _In_ REFIID returnedInterface,
2470  /* [annotation] */
2471  _COM_Outptr_ void **ppResource);
2472 
2473  void ( STDMETHODCALLTYPE *GetImmediateContext2 )(
2474  ID3D11Device2 * This,
2475  /* [annotation] */
2476  _Outptr_ ID3D11DeviceContext2 **ppImmediateContext);
2477 
2478  HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext2 )(
2479  ID3D11Device2 * This,
2480  UINT ContextFlags,
2481  /* [annotation] */
2482  _COM_Outptr_opt_ ID3D11DeviceContext2 **ppDeferredContext);
2483 
2484  void ( STDMETHODCALLTYPE *GetResourceTiling )(
2485  ID3D11Device2 * This,
2486  /* [annotation] */
2488  /* [annotation] */
2489  _Out_opt_ UINT *pNumTilesForEntireResource,
2490  /* [annotation] */
2491  _Out_opt_ D3D11_PACKED_MIP_DESC *pPackedMipDesc,
2492  /* [annotation] */
2493  _Out_opt_ D3D11_TILE_SHAPE *pStandardTileShapeForNonPackedMips,
2494  /* [annotation] */
2495  _Inout_opt_ UINT *pNumSubresourceTilings,
2496  /* [annotation] */
2497  _In_ UINT FirstSubresourceTilingToGet,
2498  /* [annotation] */
2499  _Out_writes_(*pNumSubresourceTilings) D3D11_SUBRESOURCE_TILING *pSubresourceTilingsForNonPackedMips);
2500 
2501  HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels1 )(
2502  ID3D11Device2 * This,
2503  /* [annotation] */
2505  /* [annotation] */
2506  _In_ UINT SampleCount,
2507  /* [annotation] */
2508  _In_ UINT Flags,
2509  /* [annotation] */
2510  _Out_ UINT *pNumQualityLevels);
2511 
2512  END_INTERFACE
2514 
2515  interface ID3D11Device2
2516  {
2517  CONST_VTBL struct ID3D11Device2Vtbl *lpVtbl;
2518  };
2519 
2520 
2521 
2522 #ifdef COBJMACROS
2523 
2524 
2525 #define ID3D11Device2_QueryInterface(This,riid,ppvObject) \
2526  ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2527 
2528 #define ID3D11Device2_AddRef(This) \
2529  ( (This)->lpVtbl -> AddRef(This) )
2530 
2531 #define ID3D11Device2_Release(This) \
2532  ( (This)->lpVtbl -> Release(This) )
2533 
2534 
2535 #define ID3D11Device2_CreateBuffer(This,pDesc,pInitialData,ppBuffer) \
2536  ( (This)->lpVtbl -> CreateBuffer(This,pDesc,pInitialData,ppBuffer) )
2537 
2538 #define ID3D11Device2_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) \
2539  ( (This)->lpVtbl -> CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) )
2540 
2541 #define ID3D11Device2_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) \
2542  ( (This)->lpVtbl -> CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) )
2543 
2544 #define ID3D11Device2_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) \
2545  ( (This)->lpVtbl -> CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) )
2546 
2547 #define ID3D11Device2_CreateShaderResourceView(This,pResource,pDesc,ppSRView) \
2548  ( (This)->lpVtbl -> CreateShaderResourceView(This,pResource,pDesc,ppSRView) )
2549 
2550 #define ID3D11Device2_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) \
2551  ( (This)->lpVtbl -> CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) )
2552 
2553 #define ID3D11Device2_CreateRenderTargetView(This,pResource,pDesc,ppRTView) \
2554  ( (This)->lpVtbl -> CreateRenderTargetView(This,pResource,pDesc,ppRTView) )
2555 
2556 #define ID3D11Device2_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) \
2557  ( (This)->lpVtbl -> CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) )
2558 
2559 #define ID3D11Device2_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) \
2560  ( (This)->lpVtbl -> CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) )
2561 
2562 #define ID3D11Device2_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) \
2563  ( (This)->lpVtbl -> CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) )
2564 
2565 #define ID3D11Device2_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) \
2566  ( (This)->lpVtbl -> CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) )
2567 
2568 #define ID3D11Device2_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) \
2569  ( (This)->lpVtbl -> CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) )
2570 
2571 #define ID3D11Device2_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) \
2572  ( (This)->lpVtbl -> CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) )
2573 
2574 #define ID3D11Device2_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) \
2575  ( (This)->lpVtbl -> CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) )
2576 
2577 #define ID3D11Device2_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) \
2578  ( (This)->lpVtbl -> CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) )
2579 
2580 #define ID3D11Device2_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) \
2581  ( (This)->lpVtbl -> CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) )
2582 
2583 #define ID3D11Device2_CreateClassLinkage(This,ppLinkage) \
2584  ( (This)->lpVtbl -> CreateClassLinkage(This,ppLinkage) )
2585 
2586 #define ID3D11Device2_CreateBlendState(This,pBlendStateDesc,ppBlendState) \
2587  ( (This)->lpVtbl -> CreateBlendState(This,pBlendStateDesc,ppBlendState) )
2588 
2589 #define ID3D11Device2_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) \
2590  ( (This)->lpVtbl -> CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) )
2591 
2592 #define ID3D11Device2_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) \
2593  ( (This)->lpVtbl -> CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) )
2594 
2595 #define ID3D11Device2_CreateSamplerState(This,pSamplerDesc,ppSamplerState) \
2596  ( (This)->lpVtbl -> CreateSamplerState(This,pSamplerDesc,ppSamplerState) )
2597 
2598 #define ID3D11Device2_CreateQuery(This,pQueryDesc,ppQuery) \
2599  ( (This)->lpVtbl -> CreateQuery(This,pQueryDesc,ppQuery) )
2600 
2601 #define ID3D11Device2_CreatePredicate(This,pPredicateDesc,ppPredicate) \
2602  ( (This)->lpVtbl -> CreatePredicate(This,pPredicateDesc,ppPredicate) )
2603 
2604 #define ID3D11Device2_CreateCounter(This,pCounterDesc,ppCounter) \
2605  ( (This)->lpVtbl -> CreateCounter(This,pCounterDesc,ppCounter) )
2606 
2607 #define ID3D11Device2_CreateDeferredContext(This,ContextFlags,ppDeferredContext) \
2608  ( (This)->lpVtbl -> CreateDeferredContext(This,ContextFlags,ppDeferredContext) )
2609 
2610 #define ID3D11Device2_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) \
2611  ( (This)->lpVtbl -> OpenSharedResource(This,hResource,ReturnedInterface,ppResource) )
2612 
2613 #define ID3D11Device2_CheckFormatSupport(This,Format,pFormatSupport) \
2614  ( (This)->lpVtbl -> CheckFormatSupport(This,Format,pFormatSupport) )
2615 
2616 #define ID3D11Device2_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) \
2617  ( (This)->lpVtbl -> CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) )
2618 
2619 #define ID3D11Device2_CheckCounterInfo(This,pCounterInfo) \
2620  ( (This)->lpVtbl -> CheckCounterInfo(This,pCounterInfo) )
2621 
2622 #define ID3D11Device2_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) \
2623  ( (This)->lpVtbl -> CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) )
2624 
2625 #define ID3D11Device2_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) \
2626  ( (This)->lpVtbl -> CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) )
2627 
2628 #define ID3D11Device2_GetPrivateData(This,guid,pDataSize,pData) \
2629  ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
2630 
2631 #define ID3D11Device2_SetPrivateData(This,guid,DataSize,pData) \
2632  ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
2633 
2634 #define ID3D11Device2_SetPrivateDataInterface(This,guid,pData) \
2635  ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
2636 
2637 #define ID3D11Device2_GetFeatureLevel(This) \
2638  ( (This)->lpVtbl -> GetFeatureLevel(This) )
2639 
2640 #define ID3D11Device2_GetCreationFlags(This) \
2641  ( (This)->lpVtbl -> GetCreationFlags(This) )
2642 
2643 #define ID3D11Device2_GetDeviceRemovedReason(This) \
2644  ( (This)->lpVtbl -> GetDeviceRemovedReason(This) )
2645 
2646 #define ID3D11Device2_GetImmediateContext(This,ppImmediateContext) \
2647  ( (This)->lpVtbl -> GetImmediateContext(This,ppImmediateContext) )
2648 
2649 #define ID3D11Device2_SetExceptionMode(This,RaiseFlags) \
2650  ( (This)->lpVtbl -> SetExceptionMode(This,RaiseFlags) )
2651 
2652 #define ID3D11Device2_GetExceptionMode(This) \
2653  ( (This)->lpVtbl -> GetExceptionMode(This) )
2654 
2655 
2656 #define ID3D11Device2_GetImmediateContext1(This,ppImmediateContext) \
2657  ( (This)->lpVtbl -> GetImmediateContext1(This,ppImmediateContext) )
2658 
2659 #define ID3D11Device2_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) \
2660  ( (This)->lpVtbl -> CreateDeferredContext1(This,ContextFlags,ppDeferredContext) )
2661 
2662 #define ID3D11Device2_CreateBlendState1(This,pBlendStateDesc,ppBlendState) \
2663  ( (This)->lpVtbl -> CreateBlendState1(This,pBlendStateDesc,ppBlendState) )
2664 
2665 #define ID3D11Device2_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) \
2666  ( (This)->lpVtbl -> CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) )
2667 
2668 #define ID3D11Device2_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) \
2669  ( (This)->lpVtbl -> CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) )
2670 
2671 #define ID3D11Device2_OpenSharedResource1(This,hResource,returnedInterface,ppResource) \
2672  ( (This)->lpVtbl -> OpenSharedResource1(This,hResource,returnedInterface,ppResource) )
2673 
2674 #define ID3D11Device2_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) \
2675  ( (This)->lpVtbl -> OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) )
2676 
2677 
2678 #define ID3D11Device2_GetImmediateContext2(This,ppImmediateContext) \
2679  ( (This)->lpVtbl -> GetImmediateContext2(This,ppImmediateContext) )
2680 
2681 #define ID3D11Device2_CreateDeferredContext2(This,ContextFlags,ppDeferredContext) \
2682  ( (This)->lpVtbl -> CreateDeferredContext2(This,ContextFlags,ppDeferredContext) )
2683 
2684 #define ID3D11Device2_GetResourceTiling(This,pTiledResource,pNumTilesForEntireResource,pPackedMipDesc,pStandardTileShapeForNonPackedMips,pNumSubresourceTilings,FirstSubresourceTilingToGet,pSubresourceTilingsForNonPackedMips) \
2685  ( (This)->lpVtbl -> GetResourceTiling(This,pTiledResource,pNumTilesForEntireResource,pPackedMipDesc,pStandardTileShapeForNonPackedMips,pNumSubresourceTilings,FirstSubresourceTilingToGet,pSubresourceTilingsForNonPackedMips) )
2686 
2687 #define ID3D11Device2_CheckMultisampleQualityLevels1(This,Format,SampleCount,Flags,pNumQualityLevels) \
2688  ( (This)->lpVtbl -> CheckMultisampleQualityLevels1(This,Format,SampleCount,Flags,pNumQualityLevels) )
2689 
2690 #endif /* COBJMACROS */
2691 
2692 
2693 #endif /* C style interface */
2694 
2695 
2696 
2697 
2698 #endif /* __ID3D11Device2_INTERFACE_DEFINED__ */
2699 
2700 
2701 /* interface __MIDL_itf_d3d11_2_0000_0002 */
2702 /* [local] */
2703 
2704 DEFINE_GUID(IID_ID3D11DeviceContext2,0x420d5b32,0xb90c,0x4da4,0xbe,0xf0,0x35,0x9f,0x6a,0x24,0xa8,0x3a);
2705 DEFINE_GUID(IID_ID3D11Device2,0x9d06dffa,0xd1e5,0x4d07,0x83,0xa8,0x1b,0xb1,0x23,0xf2,0xf8,0x41);
2706 
2707 
2708 extern RPC_IF_HANDLE __MIDL_itf_d3d11_2_0000_0002_v0_0_c_ifspec;
2709 extern RPC_IF_HANDLE __MIDL_itf_d3d11_2_0000_0002_v0_0_s_ifspec;
2710 
2711 /* Additional Prototypes for ALL interfaces */
2712 
2713 /* end of Additional Prototypes */
2714 
2715 #ifdef __cplusplus
2716 }
2717 #endif
2718 
2719 #endif
2720 
2721 
UINT8 NumStandardMips
Definition: d3d11_2.h:133
_In_ ID3D11DepthStencilView _In_ UINT _In_ FLOAT _In_ UINT8 Stencil
Definition: d3d11_2.h:714
_In_ UINT _In_ UINT StartIndexLocation
Definition: d3d11_2.h:358
_In_ ID3D11View _In_ const FLOAT UINT NumRects
Definition: d3d11_2.h:1440
interface ID3D11ShaderResourceView ID3D11ShaderResourceView
Definition: d3d11.h:119
RPC_IF_HANDLE __MIDL_itf_d3d11_2_0000_0000_v0_0_c_ifspec
_In_ REFGUID _In_ UINT DataSize
Definition: d3d11_2.h:299
interface ID3D11RasterizerState ID3D11RasterizerState
Definition: d3d11.h:70
_In_ ID3D11Buffer * pDstBuffer
Definition: d3d11_2.h:684
UINT Y
Definition: d3d11_2.h:86
_In_opt_ ID3D11Buffer * pIndexBuffer
Definition: d3d11_2.h:421
_In_ LPCWSTR INT Data
Definition: d3d11_2.h:1536
_In_ REFGUID _In_ UINT _In_reads_bytes_opt_(DataSize) const void *pData)
interface ID3D11DepthStencilState ID3D11DepthStencilState
Definition: d3d11.h:56
_In_opt_ ID3D11DomainShader * pDomainShader
Definition: d3d11_2.h:804
interface ID3D11CommandList ID3D11CommandList
Definition: d3d11.h:245
_In_ UINT _In_ UINT _In_ UINT ThreadGroupCountZ
Definition: d3d11_2.h:608
Definition: d3d11_2.h:111
_In_opt_ ID3D11BlendState _In_opt_ const FLOAT BlendFactor[4]
Definition: d3d11_2.h:566
#define const
Definition: zconf.h:217
UINT Width
Definition: d3d11_2.h:95
#define D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE
Definition: d3d11.h:1015
_In_ ID3D11Resource _In_ UINT _In_opt_ const D3D11_BOX * pDstBox
Definition: d3d11_2.h:669
D3D_FEATURE_LEVEL
Definition: d3dcommon.h:79
_In_ ID3D11Resource _In_ UINT _In_ UINT _In_ UINT DstY
Definition: d3d11_2.h:643
BEGIN_INTERFACE REFIID riid
Definition: d3d11_2.h:272
_In_ ID3D11Resource _In_ UINT _In_ UINT _In_ UINT _In_ UINT _In_ ID3D11Resource _In_ UINT SrcSubresource
Definition: d3d11_2.h:643
_In_ REFGUID _Inout_ UINT _Out_writes_bytes_opt_ pDataSize void * pData
Definition: d3d11_2.h:294
_Outptr_opt_result_maybenull_ ID3D11BlendState ** ppBlendState
Definition: d3d11_2.h:1047
UINT Z
Definition: d3d11_2.h:87
interface ID3D11InputLayout ID3D11InputLayout
Definition: d3d11.h:189
_In_ ID3D11Resource _In_ UINT _In_ UINT _In_ UINT _In_ UINT _In_ ID3D11Resource * pSrcResource
Definition: d3d11_2.h:643
_In_opt_ ID3D11PixelShader * pPixelShader
Definition: d3d11_2.h:333
interface ID3D11Texture1D ID3D11Texture1D
Definition: d3d11.h:91
#define D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT
Definition: d3d11.h:400
_In_opt_ ID3D11Predicate _In_ BOOL PredicateValue
Definition: d3d11_2.h:515
_In_ ID3D11RenderTargetView * pRenderTargetView
Definition: d3d11_2.h:693
_In_ REFGUID _Inout_ UINT * pDataSize
Definition: d3d11_2.h:290
interface ID3D11Texture3D ID3D11Texture3D
Definition: d3d11.h:105
RECT D3D11_RECT
Definition: d3d11.h:1286
BOOL bUseBox
Definition: d3d11_2.h:94
_Out_ D3D11_PRIMITIVE_TOPOLOGY * pTopology
Definition: d3d11_2.h:975
#define D3D11_SO_BUFFER_SLOT_COUNT
Definition: d3d11.h:951
interface ID3D11BlendState ID3D11BlendState
Definition: d3d11.h:63
interface ID3D11DeviceContext2 ID3D11DeviceContext2
Definition: d3d11_2.h:49
#define D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT
Definition: d3d11.h:362
interface ID3D11VertexShader ID3D11VertexShader
Definition: d3d11.h:147
_In_ const D3D11_BUFFER_DESC _In_opt_ const D3D11_SUBRESOURCE_DATA _COM_Outptr_opt_ ID3D11Buffer ** ppBuffer
Definition: d3d11_2.h:2082
_In_ UINT ThreadGroupCountX
Definition: d3d11_2.h:608
interface ID3D11Resource ID3D11Resource
Definition: d3d11.h:77
_Outptr_opt_result_maybenull_ ID3D11BlendState _Out_opt_ FLOAT _Out_opt_ UINT * pSampleMask
Definition: d3d11_2.h:1047
_In_ ID3D11Resource _In_ const D3D11_TILED_RESOURCE_COORDINATE * pDestTileRegionStartCoordinate
Definition: d3d11_2.h:1506
uint64_t UINT64
Definition: coretypes.h:8
ULONG(STDMETHODCALLTYPE *AddRef)(ID3D11DeviceContext2 *This)
_In_ ID3D11Resource _In_ UINT _In_opt_ const D3D11_BOX _In_ const void _In_ UINT _In_ UINT SrcDepthPitch
Definition: d3d11_2.h:669
_In_ ID3D11Resource _In_ UINT _In_ D3D11_MAP _In_ UINT MapFlags
Definition: d3d11_2.h:374
D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG
Definition: d3d11_2.h:139
_Outptr_result_maybenull_ ID3D11PixelShader _Out_writes_opt_ pNumClassInstances ID3D11ClassInstance _Inout_opt_ UINT * pNumClassInstances
Definition: d3d11_2.h:896
interface ID3D11Device ID3D11Device
Definition: d3d11.h:329
Definition: d3d11.h:3815
struct D3D11_TILE_REGION_SIZE D3D11_TILE_REGION_SIZE
_Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers)
#define D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT
Definition: d3d11.h:787
_Outptr_opt_result_maybenull_ ID3D11Predicate ** ppPredicate
Definition: d3d11_2.h:998
void(STDMETHODCALLTYPE *GetDevice)(ID3D11DeviceContext2 *This
_In_opt_ ID3D11ComputeShader * pComputeShader
Definition: d3d11_2.h:850
interface ID3D11ComputeShader ID3D11ComputeShader
Definition: d3d11.h:182
_In_ UINT _In_ UINT ThreadGroupCountY
Definition: d3d11_2.h:608
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
UINT(STDMETHODCALLTYPE *GetContextFlags)(ID3D11DeviceContext2 *This)
BEGIN_INTERFACE REFIID _COM_Outptr_ void ** ppvObject
Definition: d3d11_2.h:272
FLOAT(STDMETHODCALLTYPE *GetResourceMinLOD)(ID3D11DeviceContext2 *This
UINT16 Depth
Definition: d3d11_2.h:97
UINT16 Height
Definition: d3d11_2.h:96
_In_ ID3D11Resource _In_ UINT _In_ D3D11_MAP _In_ UINT _Out_opt_ D3D11_MAPPED_SUBRESOURCE * pMappedResource
Definition: d3d11_2.h:374
Definition: d3d11.h:1555
#define D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT
Definition: d3d11.h:945
UINT NumTiles
Definition: d3d11_2.h:93
interface ID3D11Device1 ID3D11Device1
Definition: d3d11_1.h:98
Definition: d3d11_2.h:124
_In_ ID3D11Resource _In_ UINT _In_ UINT DstX
Definition: d3d11_2.h:643
struct D3D11_TILED_RESOURCE_COORDINATE D3D11_TILED_RESOURCE_COORDINATE
struct D3D11_SUBRESOURCE_TILING D3D11_SUBRESOURCE_TILING
_In_ REFGUID _In_opt_ const IUnknown * pData
Definition: d3d11_2.h:308
interface ID3D11SamplerState ID3D11SamplerState
Definition: d3d11.h:196
Definition: d3d11_2.h:103
D3D11_TILE_MAPPING_FLAG
Definition: d3d11_2.h:100
D3D11_FEATURE
Definition: d3d11.h:7290
_In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers)
_In_ ID3D11Buffer _In_ UINT _In_ ID3D11UnorderedAccessView * pSrcView
Definition: d3d11_2.h:684
UINT16 HeightInTiles
Definition: d3d11_2.h:117
BOOL RestoreDeferredContextState
Definition: d3d11_2.h:1217
UINT DepthInTexels
Definition: d3d11_2.h:128
_In_opt_ ID3D11DeviceChild _In_opt_ ID3D11DeviceChild * pTiledResourceOrViewAccessAfterBarrier
Definition: d3d11_2.h:1526
Definition: d3d11.h:1076
_In_ ID3D11Resource _In_ const D3D11_TILED_RESOURCE_COORDINATE _In_ ID3D11Resource * pSourceTiledResource
Definition: d3d11_2.h:1476
_In_ UINT IndexCountPerInstance
Definition: d3d11_2.h:430
interface ID3D11Texture2D ID3D11Texture2D
Definition: d3d11.h:98
_In_ UINT _In_ UINT _In_ INT BaseVertexLocation
Definition: d3d11_2.h:358
_In_range_(0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1) UINT StartSlot
Definition: d3d11.h:1982
_In_opt_ ID3D11RasterizerState * pRasterizerState
Definition: d3d11_2.h:624
_In_ ID3D11Resource * pResource
Definition: d3d11_2.h:374
EXTERN_C const IID IID_ID3D11Device2
Definition: d3d11_2.h:2015
Definition: d3d11_1.h:353
Definition: d3d11.h:2748
DXGI_FORMAT
Definition: dxgiformat.h:10
interface ID3D11ClassLinkage ID3D11ClassLinkage
Definition: d3d11.h:238
_In_ UINT _In_ UINT InstanceCount
Definition: d3d11_2.h:430
_In_opt_ ID3D11HullShader * pHullShader
Definition: d3d11_2.h:769
UINT StartTileIndexInOverallResource
Definition: d3d11_2.h:136
interface ID3D11Buffer ID3D11Buffer
Definition: d3d11.h:84
_In_ ID3D11Resource _In_ UINT _In_ UINT _In_ UINT _In_ UINT _In_ ID3D11Resource _In_ UINT _In_opt_ const D3D11_BOX _In_ UINT CopyFlags
Definition: d3d11_2.h:1224
interface ID3D11DeviceContext1 ID3D11DeviceContext1
Definition: d3d11_1.h:70
_In_ LPCWSTR pLabel
Definition: d3d11_2.h:1536
_In_ ID3DDeviceContextState _Outptr_opt_ ID3DDeviceContextState ** ppPreviousState
Definition: d3d11_2.h:1428
interface ID3D11DepthStencilView ID3D11DepthStencilView
Definition: d3d11.h:133
_In_ ID3D11Resource _In_ UINT _In_opt_ ID3D11Buffer _In_ UINT _In_ UINT Flags
Definition: d3d11_2.h:1471
BOOL _COM_Outptr_opt_ ID3D11CommandList ** ppCommandList
Definition: d3d11_2.h:1217
#define D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT
Definition: d3d11.h:410
_In_ UINT _In_ UINT _In_ UINT _In_ INT _In_ UINT StartInstanceLocation
Definition: d3d11_2.h:430
_In_ ID3D11Resource * pTiledResource
Definition: d3d11_2.h:1453
interface ID3D11BlendState1 ID3D11BlendState1
Definition: d3d11_1.h:49
Definition: d3d11.h:1320
UINT Subresource
Definition: d3d11_2.h:88
_In_opt_ ID3D11Buffer _In_ DXGI_FORMAT _In_ UINT Offset
Definition: d3d11_2.h:421
Definition: d3d11_2.h:83
Definition: d3d11.h:2352
Definition: d3d11.h:1116
_In_ ID3D11Resource _In_ const D3D11_TILED_RESOURCE_COORDINATE _In_ const D3D11_TILE_REGION_SIZE * pDestTileRegionSize
Definition: d3d11_2.h:1506
_Outptr_opt_result_maybenull_ ID3D11DepthStencilState ** ppDepthStencilState
Definition: d3d11_2.h:1056
_In_ ID3D11Resource _In_ UINT _In_ D3D11_MAP MapType
Definition: d3d11_2.h:374
Definition: d3d11_2.h:148
#define D3D11_PS_CS_UAV_REGISTER_COUNT
Definition: d3d11.h:834
_In_ UINT VertexCountPerInstance
Definition: d3d11_2.h:443
_In_ ID3D11View * pResourceView
Definition: d3d11_2.h:1267
interface ID3D11GeometryShader ID3D11GeometryShader
Definition: d3d11.h:168
Definition: d3d11.h:2957
_In_ ID3D11Buffer * pBufferForArgs
Definition: d3d11_2.h:594
Definition: d3d11.h:4653
interface ID3D11Device2 ID3D11Device2
Definition: d3d11_2.h:56
_In_ ID3D11Resource _In_ UINT _In_ UINT _In_ UINT _In_ UINT _In_ ID3D11Resource _In_ UINT _In_opt_ const D3D11_BOX * pSrcBox
Definition: d3d11_2.h:643
UINT8 NumPackedMips
Definition: d3d11_2.h:134
_In_ UINT _In_opt_ ID3D11DepthStencilView _In_ UINT NumUAVs
Definition: d3d11_2.h:557
_In_ ID3D11Resource * pDestTiledResource
Definition: d3d11_2.h:1476
Definition: d3d11_2.h:110
D3D11_TILE_COPY_FLAG
Definition: d3d11_2.h:145
Definition: d3d11_2.h:266
_In_opt_ ID3D11Predicate * pPredicate
Definition: d3d11_2.h:515
_In_opt_ ID3D11DepthStencilView * pDepthStencilView
Definition: d3d11_2.h:544
interface ID3D11RenderTargetView ID3D11RenderTargetView
Definition: d3d11.h:126
_In_ UINT NumRTVs
Definition: d3d11_2.h:549
_In_ ID3D11Buffer _In_ UINT AlignedByteOffsetForArgs
Definition: d3d11_2.h:594
BEGIN_INTERFACE REFIID riid
Definition: d3d11_2.h:2069
_In_ ID3D11Resource _In_ const D3D11_TILED_RESOURCE_COORDINATE _In_ ID3D11Resource _In_ const D3D11_TILED_RESOURCE_COORDINATE _In_ const D3D11_TILE_REGION_SIZE * pTileRegionSize
Definition: d3d11_2.h:1476
#define D3D11_1_UAV_SLOT_COUNT
Definition: d3d11.h:1046
Definition: d3d11_2.h:114
interface ID3D11UnorderedAccessView ID3D11UnorderedAccessView
Definition: d3d11.h:140
_In_ ID3D11Asynchronous _In_ UINT _In_ UINT GetDataFlags
Definition: d3d11_2.h:508
_In_ ID3D11Resource FLOAT MinLOD
Definition: d3d11_2.h:730
#define D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT
Definition: d3d11.h:791
Definition: d3d11.h:1106
_In_ ID3D11Resource _In_ const D3D11_TILED_RESOURCE_COORDINATE _In_ const D3D11_TILE_REGION_SIZE _In_ ID3D11Buffer _In_ UINT64 BufferStartOffsetInBytes
Definition: d3d11_2.h:1491
RPC_IF_HANDLE __MIDL_itf_d3d11_2_0000_0002_v0_0_s_ifspec
_Outptr_opt_result_maybenull_ ID3D11DepthStencilState _Out_opt_ UINT * pStencilRef
Definition: d3d11_2.h:1056
_In_ const D3D11_TEXTURE1D_DESC * pDesc
Definition: d3d11_2.h:2091
RPC_IF_HANDLE __MIDL_itf_d3d11_2_0000_0000_v0_0_s_ifspec
_In_ ID3D11Resource _In_ UINT _In_opt_ ID3D11Buffer _In_ UINT NumRanges
Definition: d3d11_2.h:1461
_In_ ID3D11Resource _In_ const D3D11_TILED_RESOURCE_COORDINATE * pTileRegionStartCoordinate
Definition: d3d11_2.h:1491
_In_opt_ ID3D11Buffer _In_ DXGI_FORMAT Format
Definition: d3d11_2.h:421
_In_opt_ ID3D11DepthStencilState * pDepthStencilState
Definition: d3d11_2.h:575
_In_opt_ ID3D11DepthStencilState _In_ UINT StencilRef
Definition: d3d11_2.h:575
Definition: d3d11.h:2185
_In_ ID3D11Resource _In_ UINT Subresource
Definition: d3d11_2.h:374
static INLINE ULONG Release(void *object)
Definition: dxgi_common.h:253
Definition: d3d11.h:6627
Definition: d3d11.h:3391
EXTERN_C const IID IID_ID3D11DeviceContext2
Definition: d3d11_2.h:165
RPC_IF_HANDLE __MIDL_itf_d3d11_2_0000_0002_v0_0_c_ifspec
_Inout_ UINT * pNumRects
Definition: d3d11_2.h:1082
static SRes Flush(CLzmaEnc *p, uint32_t nowPos)
Definition: LzmaEnc.c:1607
_In_opt_ ID3D11BlendState _In_opt_ const FLOAT _In_ UINT SampleMask
Definition: d3d11_2.h:566
_In_ ID3D11Resource _In_ UINT NumTiledResourceRegions
Definition: d3d11_2.h:1453
unsigned int BOOL
Definition: gctypes.h:51
Definition: d3d11.h:4323
_In_ ID3D11Asynchronous * pAsync
Definition: d3d11_2.h:494
_Inout_ UINT _Out_writes_opt_ pNumRects D3D11_RECT * pRects
Definition: d3d11_2.h:1084
_In_ ID3D11View _In_ const FLOAT Color[4]
Definition: d3d11_2.h:1435
_Outptr_result_maybenull_ ID3D11HullShader ** ppHullShader
Definition: d3d11_2.h:1098
UINT NumTilesForPackedMips
Definition: d3d11_2.h:135
Definition: d3d11.h:6289
UINT WidthInTexels
Definition: d3d11_2.h:126
Definition: d3d11_2.h:131
_In_ ID3D11Resource _In_ const D3D11_TILED_RESOURCE_COORDINATE _In_ ID3D11Resource _In_ const D3D11_TILED_RESOURCE_COORDINATE * pSourceRegionStartCoordinate
Definition: d3d11_2.h:1476
Definition: d3d11.h:5869
D3D_PRIMITIVE_TOPOLOGY
Definition: d3dcommon.h:108
#define D3D11_SO_OUTPUT_COMPONENT_COUNT
Definition: d3d11.h:957
Definition: d3d11_2.h:91
_In_ ID3D11View * pView
Definition: d3d11_2.h:1435
UINT StartTileIndexInOverallResource
Definition: d3d11_2.h:119
interface ID3D11Query ID3D11Query
Definition: d3d11.h:210
interface ID3D11DeviceContext ID3D11DeviceContext
Definition: d3d11.h:252
_In_ ID3D11Resource _In_ UINT DstSubresource
Definition: d3d11_2.h:643
interface ID3D11Asynchronous ID3D11Asynchronous
Definition: d3d11.h:203
interface ID3DDeviceContextState ID3DDeviceContextState
Definition: d3d11_1.h:63
_In_opt_ ID3D11DeviceChild * pTiledResourceOrViewAccessBeforeBarrier
Definition: d3d11_2.h:1526
Definition: d3d11.h:2547
Definition: glslang_tab.cpp:135
_In_ UINT _In_ UINT StartVertexLocation
Definition: d3d11_2.h:367
D3D11_COUNTER_TYPE
Definition: d3d11.h:6618
_In_ ID3D11UnorderedAccessView * pUnorderedAccessView
Definition: d3d11_2.h:700
static UINT SDKVersion
Definition: d3d8_common.c:42
UINT HeightInTexels
Definition: d3d11_2.h:127
_In_ ID3D11ShaderResourceView * pShaderResourceView
Definition: d3d11_2.h:725
Definition: glslang_tab.cpp:136
_In_ D3D11_PRIMITIVE_TOPOLOGY Topology
Definition: d3d11_2.h:471
uint16_t UINT16
Definition: coretypes.h:11
BEGIN_INTERFACE HRESULT(STDMETHODCALLTYPE *QueryInterface)(ID3D11DeviceContext2 *This
interface ID3D11RasterizerState1 ID3D11RasterizerState1
Definition: d3d11_1.h:56
_In_opt_ ID3D11PixelShader UINT NumClassInstances
Definition: d3d11_2.h:336
_Outptr_result_maybenull_ ID3D11VertexShader ** ppVertexShader
Definition: d3d11_2.h:912
_In_ ID3D11DepthStencilView _In_ UINT ClearFlags
Definition: d3d11_2.h:714
_Outptr_opt_result_maybenull_ ID3D11DepthStencilView ** ppDepthStencilView
Definition: d3d11_2.h:1027
interface ID3D11PixelShader ID3D11PixelShader
Definition: d3d11.h:175
_In_opt_ ID3D11GeometryShader * pShader
Definition: d3d11_2.h:463
_In_ ID3D11Resource _In_ UINT _In_opt_ const D3D11_BOX _In_ const void * pSrcData
Definition: d3d11_2.h:669
_In_ ID3D11Resource _In_ UINT _In_opt_ ID3D11Buffer * pTilePool
Definition: d3d11_2.h:1461
_Inout_ UINT _Out_writes_opt_ pNumViewports D3D11_VIEWPORT * pViewports
Definition: d3d11_2.h:1077
_In_ ID3D11UnorderedAccessView _In_ const UINT Values[4]
Definition: d3d11_2.h:700
Definition: d3d11.h:1812
_In_ ID3D11Resource * pDstResource
Definition: d3d11_2.h:643
_In_ REFGUID guid
Definition: d3d11_2.h:290
Definition: d3d11_2.h:2063
Definition: d3d11_1.h:173
struct D3D11_PACKED_MIP_DESC D3D11_PACKED_MIP_DESC
_Outptr_result_maybenull_ ID3D11ComputeShader ** ppComputeShader
Definition: d3d11_2.h:1179
_Outptr_result_maybenull_ ID3D11PixelShader _Out_writes_opt_ pNumClassInstances ID3D11ClassInstance ** ppClassInstances
Definition: d3d11_2.h:896
interface ID3D11Predicate ID3D11Predicate
Definition: d3d11.h:217
interface ID3D11ClassInstance ID3D11ClassInstance
Definition: d3d11.h:231
interface ID3D11HullShader ID3D11HullShader
Definition: d3d11.h:154
D3D11_TILE_RANGE_FLAG
Definition: d3d11_2.h:106
_In_ ID3D11CommandList BOOL RestoreContextState
Definition: d3d11_2.h:754
_Outptr_result_maybenull_ ID3D11PixelShader ** ppPixelShader
Definition: d3d11_2.h:894
D3D11_MAP
Definition: d3d11.h:1257
UINT X
Definition: d3d11_2.h:85
UINT WidthInTiles
Definition: d3d11_2.h:116
_In_opt_ ID3D11VertexShader * pVertexShader
Definition: d3d11_2.h:350
_In_ ID3D11DepthStencilView _In_ UINT _In_ FLOAT Depth
Definition: d3d11_2.h:714
#define D3D11_SO_STREAM_COUNT
Definition: d3d11.h:959
_In_ ID3DDeviceContextState * pState
Definition: d3d11_2.h:1428
_Outptr_result_maybenull_ ID3D11InputLayout ** ppInputLayout
Definition: d3d11_2.h:930
_In_ ID3D11Buffer _In_ UINT DstAlignedByteOffset
Definition: d3d11_2.h:684
_Outptr_result_maybenull_ ID3D11DomainShader ** ppDomainShader
Definition: d3d11_2.h:1134
Definition: d3d11.h:2192
_In_opt_ ID3D11InputLayout * pInputLayout
Definition: d3d11_2.h:403
Definition: d3d11.h:6654
_In_ ID3D11Resource _In_ UINT _In_opt_ const D3D11_BOX _In_ const void _In_ UINT SrcRowPitch
Definition: d3d11_2.h:669
_In_opt_ ID3D11BlendState * pBlendState
Definition: d3d11_2.h:566
DEFINE_GUID(IID_ID3D11DeviceContext2, 0x420d5b32, 0xb90c, 0x4da4, 0xbe, 0xf0, 0x35, 0x9f, 0x6a, 0x24, 0xa8, 0x3a)
interface ID3D11DeviceChild ID3D11DeviceChild
Definition: d3d11.h:49
interface ID3D11Counter ID3D11Counter
Definition: d3d11.h:224
D3D11_DEVICE_CONTEXT_TYPE
Definition: d3d11.h:6808
interface ID3D11DomainShader ID3D11DomainShader
Definition: d3d11.h:161
Definition: d3d11_2.h:109
_In_ ID3D11Buffer _In_ UINT64 NewSizeInBytes
Definition: d3d11_2.h:1519
_In_ ID3D11Resource _In_ const D3D11_TILED_RESOURCE_COORDINATE _In_ const D3D11_TILE_REGION_SIZE _In_ ID3D11Buffer * pBuffer
Definition: d3d11_2.h:1491
_In_ UINT VertexCount
Definition: d3d11_2.h:367
_In_ ID3D11RenderTargetView _In_ const FLOAT ColorRGBA[4]
Definition: d3d11_2.h:693
_Inout_ UINT * pNumViewports
Definition: d3d11_2.h:1075
interface ID3D11View ID3D11View
Definition: d3d11.h:112
struct D3D11_TILE_SHAPE D3D11_TILE_SHAPE
_Outptr_result_maybenull_ ID3D11RasterizerState ** ppRasterizerState
Definition: d3d11_2.h:1070
_Outptr_opt_result_maybenull_ ID3D11Predicate _Out_opt_ BOOL * pPredicateValue
Definition: d3d11_2.h:998
_Outptr_result_maybenull_ ID3D11GeometryShader ** ppGeometryShader
Definition: d3d11_2.h:966
_In_ ID3D11Resource _In_ const D3D11_TILED_RESOURCE_COORDINATE _In_ const D3D11_TILE_REGION_SIZE _In_ const void * pSourceTileData
Definition: d3d11_2.h:1506
UINT16 DepthInTiles
Definition: d3d11_2.h:118
_In_ ID3D11Resource _In_ UINT _In_ UINT _In_ UINT _In_ UINT DstZ
Definition: d3d11_2.h:643
_In_ ID3D11Resource _In_ const D3D11_TILED_RESOURCE_COORDINATE * pDestRegionStartCoordinate
Definition: d3d11_2.h:1476
_In_ UINT IndexCount
Definition: d3d11_2.h:358
_In_ ID3D11CommandList * pCommandList
Definition: d3d11_2.h:754
_In_ ID3D11Asynchronous _Out_writes_bytes_opt_(DataSize) void *pData
_Outptr_ ID3D11Device ** ppDevice
Definition: d3d11_2.h:285
uint8_t UINT8
Definition: coretypes.h:12