Headers diff for d3d11.dll between 6.2.9200.16570-Windows_7.0 and 6.3.9600.17415-Windows_8.1 versions



 d3d11.h (6.2.9200.16570-Windows_7.0)   d3d11.h (6.3.9600.17415-Windows_8.1) 
/*------------------------------------------------------------------------------ ------- /*------------------------------------------------------------------------------ -------
* *
* Copyright (c) Microsoft Corporation * Copyright (c) Microsoft Corporation
* *
*------------------------------------------------------------------------------ -------*/ *------------------------------------------------------------------------------ -------*/
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */ /* File created by MIDL compiler version 8.00.0603 */
/* Compiler settings for d3d11.idl:
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
/* @@MIDL_FILE_HEADING( ) */ /* @@MIDL_FILE_HEADING( ) */
#pragma warning( disable: 4049 ) /* more than 64k source lines */ #pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/ /* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__ #ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 500 #define __REQUIRED_RPCNDR_H_VERSION__ 500
#endif #endif
/* verify that the <rpcsal.h> version is high enough to compile this file*/ /* verify that the <rpcsal.h> version is high enough to compile this file*/
skipping to change at line 56 skipping to change at line 48
#if defined(_MSC_VER) && (_MSC_VER >= 1020) #if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once #pragma once
#endif #endif
/* Forward Declarations */ /* Forward Declarations */
#ifndef __ID3D11DeviceChild_FWD_DEFINED__ #ifndef __ID3D11DeviceChild_FWD_DEFINED__
#define __ID3D11DeviceChild_FWD_DEFINED__ #define __ID3D11DeviceChild_FWD_DEFINED__
typedef interface ID3D11DeviceChild ID3D11DeviceChild; typedef interface ID3D11DeviceChild ID3D11DeviceChild;
#endif /* __ID3D11DeviceChild_FWD_DEFINED__ */ #endif /* __ID3D11DeviceChild_FWD_DEFINED__ */
#ifndef __ID3D11DepthStencilState_FWD_DEFINED__ #ifndef __ID3D11DepthStencilState_FWD_DEFINED__
#define __ID3D11DepthStencilState_FWD_DEFINED__ #define __ID3D11DepthStencilState_FWD_DEFINED__
typedef interface ID3D11DepthStencilState ID3D11DepthStencilState; typedef interface ID3D11DepthStencilState ID3D11DepthStencilState;
#endif /* __ID3D11DepthStencilState_FWD_DEFINED__ */ #endif /* __ID3D11DepthStencilState_FWD_DEFINED__ */
#ifndef __ID3D11BlendState_FWD_DEFINED__ #ifndef __ID3D11BlendState_FWD_DEFINED__
#define __ID3D11BlendState_FWD_DEFINED__ #define __ID3D11BlendState_FWD_DEFINED__
typedef interface ID3D11BlendState ID3D11BlendState; typedef interface ID3D11BlendState ID3D11BlendState;
#endif /* __ID3D11BlendState_FWD_DEFINED__ */ #endif /* __ID3D11BlendState_FWD_DEFINED__ */
#ifndef __ID3D11RasterizerState_FWD_DEFINED__ #ifndef __ID3D11RasterizerState_FWD_DEFINED__
#define __ID3D11RasterizerState_FWD_DEFINED__ #define __ID3D11RasterizerState_FWD_DEFINED__
typedef interface ID3D11RasterizerState ID3D11RasterizerState; typedef interface ID3D11RasterizerState ID3D11RasterizerState;
#endif /* __ID3D11RasterizerState_FWD_DEFINED__ */ #endif /* __ID3D11RasterizerState_FWD_DEFINED__ */
#ifndef __ID3D11Resource_FWD_DEFINED__ #ifndef __ID3D11Resource_FWD_DEFINED__
#define __ID3D11Resource_FWD_DEFINED__ #define __ID3D11Resource_FWD_DEFINED__
typedef interface ID3D11Resource ID3D11Resource; typedef interface ID3D11Resource ID3D11Resource;
#endif /* __ID3D11Resource_FWD_DEFINED__ */ #endif /* __ID3D11Resource_FWD_DEFINED__ */
#ifndef __ID3D11Buffer_FWD_DEFINED__ #ifndef __ID3D11Buffer_FWD_DEFINED__
#define __ID3D11Buffer_FWD_DEFINED__ #define __ID3D11Buffer_FWD_DEFINED__
typedef interface ID3D11Buffer ID3D11Buffer; typedef interface ID3D11Buffer ID3D11Buffer;
#endif /* __ID3D11Buffer_FWD_DEFINED__ */ #endif /* __ID3D11Buffer_FWD_DEFINED__ */
#ifndef __ID3D11Texture1D_FWD_DEFINED__ #ifndef __ID3D11Texture1D_FWD_DEFINED__
#define __ID3D11Texture1D_FWD_DEFINED__ #define __ID3D11Texture1D_FWD_DEFINED__
typedef interface ID3D11Texture1D ID3D11Texture1D; typedef interface ID3D11Texture1D ID3D11Texture1D;
#endif /* __ID3D11Texture1D_FWD_DEFINED__ */ #endif /* __ID3D11Texture1D_FWD_DEFINED__ */
#ifndef __ID3D11Texture2D_FWD_DEFINED__ #ifndef __ID3D11Texture2D_FWD_DEFINED__
#define __ID3D11Texture2D_FWD_DEFINED__ #define __ID3D11Texture2D_FWD_DEFINED__
typedef interface ID3D11Texture2D ID3D11Texture2D; typedef interface ID3D11Texture2D ID3D11Texture2D;
#endif /* __ID3D11Texture2D_FWD_DEFINED__ */ #endif /* __ID3D11Texture2D_FWD_DEFINED__ */
#ifndef __ID3D11Texture3D_FWD_DEFINED__ #ifndef __ID3D11Texture3D_FWD_DEFINED__
#define __ID3D11Texture3D_FWD_DEFINED__ #define __ID3D11Texture3D_FWD_DEFINED__
typedef interface ID3D11Texture3D ID3D11Texture3D; typedef interface ID3D11Texture3D ID3D11Texture3D;
#endif /* __ID3D11Texture3D_FWD_DEFINED__ */ #endif /* __ID3D11Texture3D_FWD_DEFINED__ */
#ifndef __ID3D11View_FWD_DEFINED__ #ifndef __ID3D11View_FWD_DEFINED__
#define __ID3D11View_FWD_DEFINED__ #define __ID3D11View_FWD_DEFINED__
typedef interface ID3D11View ID3D11View; typedef interface ID3D11View ID3D11View;
#endif /* __ID3D11View_FWD_DEFINED__ */ #endif /* __ID3D11View_FWD_DEFINED__ */
#ifndef __ID3D11ShaderResourceView_FWD_DEFINED__ #ifndef __ID3D11ShaderResourceView_FWD_DEFINED__
#define __ID3D11ShaderResourceView_FWD_DEFINED__ #define __ID3D11ShaderResourceView_FWD_DEFINED__
typedef interface ID3D11ShaderResourceView ID3D11ShaderResourceView; typedef interface ID3D11ShaderResourceView ID3D11ShaderResourceView;
#endif /* __ID3D11ShaderResourceView_FWD_DEFINED__ */ #endif /* __ID3D11ShaderResourceView_FWD_DEFINED__ */
#ifndef __ID3D11RenderTargetView_FWD_DEFINED__ #ifndef __ID3D11RenderTargetView_FWD_DEFINED__
#define __ID3D11RenderTargetView_FWD_DEFINED__ #define __ID3D11RenderTargetView_FWD_DEFINED__
typedef interface ID3D11RenderTargetView ID3D11RenderTargetView; typedef interface ID3D11RenderTargetView ID3D11RenderTargetView;
#endif /* __ID3D11RenderTargetView_FWD_DEFINED__ */ #endif /* __ID3D11RenderTargetView_FWD_DEFINED__ */
#ifndef __ID3D11DepthStencilView_FWD_DEFINED__ #ifndef __ID3D11DepthStencilView_FWD_DEFINED__
#define __ID3D11DepthStencilView_FWD_DEFINED__ #define __ID3D11DepthStencilView_FWD_DEFINED__
typedef interface ID3D11DepthStencilView ID3D11DepthStencilView; typedef interface ID3D11DepthStencilView ID3D11DepthStencilView;
#endif /* __ID3D11DepthStencilView_FWD_DEFINED__ */ #endif /* __ID3D11DepthStencilView_FWD_DEFINED__ */
#ifndef __ID3D11UnorderedAccessView_FWD_DEFINED__ #ifndef __ID3D11UnorderedAccessView_FWD_DEFINED__
#define __ID3D11UnorderedAccessView_FWD_DEFINED__ #define __ID3D11UnorderedAccessView_FWD_DEFINED__
typedef interface ID3D11UnorderedAccessView ID3D11UnorderedAccessView; typedef interface ID3D11UnorderedAccessView ID3D11UnorderedAccessView;
#endif /* __ID3D11UnorderedAccessView_FWD_DEFINED__ */ #endif /* __ID3D11UnorderedAccessView_FWD_DEFINED__ */
#ifndef __ID3D11VertexShader_FWD_DEFINED__ #ifndef __ID3D11VertexShader_FWD_DEFINED__
#define __ID3D11VertexShader_FWD_DEFINED__ #define __ID3D11VertexShader_FWD_DEFINED__
typedef interface ID3D11VertexShader ID3D11VertexShader; typedef interface ID3D11VertexShader ID3D11VertexShader;
#endif /* __ID3D11VertexShader_FWD_DEFINED__ */ #endif /* __ID3D11VertexShader_FWD_DEFINED__ */
#ifndef __ID3D11HullShader_FWD_DEFINED__ #ifndef __ID3D11HullShader_FWD_DEFINED__
#define __ID3D11HullShader_FWD_DEFINED__ #define __ID3D11HullShader_FWD_DEFINED__
typedef interface ID3D11HullShader ID3D11HullShader; typedef interface ID3D11HullShader ID3D11HullShader;
#endif /* __ID3D11HullShader_FWD_DEFINED__ */ #endif /* __ID3D11HullShader_FWD_DEFINED__ */
#ifndef __ID3D11DomainShader_FWD_DEFINED__ #ifndef __ID3D11DomainShader_FWD_DEFINED__
#define __ID3D11DomainShader_FWD_DEFINED__ #define __ID3D11DomainShader_FWD_DEFINED__
typedef interface ID3D11DomainShader ID3D11DomainShader; typedef interface ID3D11DomainShader ID3D11DomainShader;
#endif /* __ID3D11DomainShader_FWD_DEFINED__ */ #endif /* __ID3D11DomainShader_FWD_DEFINED__ */
#ifndef __ID3D11GeometryShader_FWD_DEFINED__ #ifndef __ID3D11GeometryShader_FWD_DEFINED__
#define __ID3D11GeometryShader_FWD_DEFINED__ #define __ID3D11GeometryShader_FWD_DEFINED__
typedef interface ID3D11GeometryShader ID3D11GeometryShader; typedef interface ID3D11GeometryShader ID3D11GeometryShader;
#endif /* __ID3D11GeometryShader_FWD_DEFINED__ */ #endif /* __ID3D11GeometryShader_FWD_DEFINED__ */
#ifndef __ID3D11PixelShader_FWD_DEFINED__ #ifndef __ID3D11PixelShader_FWD_DEFINED__
#define __ID3D11PixelShader_FWD_DEFINED__ #define __ID3D11PixelShader_FWD_DEFINED__
typedef interface ID3D11PixelShader ID3D11PixelShader; typedef interface ID3D11PixelShader ID3D11PixelShader;
#endif /* __ID3D11PixelShader_FWD_DEFINED__ */ #endif /* __ID3D11PixelShader_FWD_DEFINED__ */
#ifndef __ID3D11ComputeShader_FWD_DEFINED__ #ifndef __ID3D11ComputeShader_FWD_DEFINED__
#define __ID3D11ComputeShader_FWD_DEFINED__ #define __ID3D11ComputeShader_FWD_DEFINED__
typedef interface ID3D11ComputeShader ID3D11ComputeShader; typedef interface ID3D11ComputeShader ID3D11ComputeShader;
#endif /* __ID3D11ComputeShader_FWD_DEFINED__ */ #endif /* __ID3D11ComputeShader_FWD_DEFINED__ */
#ifndef __ID3D11InputLayout_FWD_DEFINED__ #ifndef __ID3D11InputLayout_FWD_DEFINED__
#define __ID3D11InputLayout_FWD_DEFINED__ #define __ID3D11InputLayout_FWD_DEFINED__
typedef interface ID3D11InputLayout ID3D11InputLayout; typedef interface ID3D11InputLayout ID3D11InputLayout;
#endif /* __ID3D11InputLayout_FWD_DEFINED__ */ #endif /* __ID3D11InputLayout_FWD_DEFINED__ */
#ifndef __ID3D11SamplerState_FWD_DEFINED__ #ifndef __ID3D11SamplerState_FWD_DEFINED__
#define __ID3D11SamplerState_FWD_DEFINED__ #define __ID3D11SamplerState_FWD_DEFINED__
typedef interface ID3D11SamplerState ID3D11SamplerState; typedef interface ID3D11SamplerState ID3D11SamplerState;
#endif /* __ID3D11SamplerState_FWD_DEFINED__ */ #endif /* __ID3D11SamplerState_FWD_DEFINED__ */
#ifndef __ID3D11Asynchronous_FWD_DEFINED__ #ifndef __ID3D11Asynchronous_FWD_DEFINED__
#define __ID3D11Asynchronous_FWD_DEFINED__ #define __ID3D11Asynchronous_FWD_DEFINED__
typedef interface ID3D11Asynchronous ID3D11Asynchronous; typedef interface ID3D11Asynchronous ID3D11Asynchronous;
#endif /* __ID3D11Asynchronous_FWD_DEFINED__ */ #endif /* __ID3D11Asynchronous_FWD_DEFINED__ */
#ifndef __ID3D11Query_FWD_DEFINED__ #ifndef __ID3D11Query_FWD_DEFINED__
#define __ID3D11Query_FWD_DEFINED__ #define __ID3D11Query_FWD_DEFINED__
typedef interface ID3D11Query ID3D11Query; typedef interface ID3D11Query ID3D11Query;
#endif /* __ID3D11Query_FWD_DEFINED__ */ #endif /* __ID3D11Query_FWD_DEFINED__ */
#ifndef __ID3D11Predicate_FWD_DEFINED__ #ifndef __ID3D11Predicate_FWD_DEFINED__
#define __ID3D11Predicate_FWD_DEFINED__ #define __ID3D11Predicate_FWD_DEFINED__
typedef interface ID3D11Predicate ID3D11Predicate; typedef interface ID3D11Predicate ID3D11Predicate;
#endif /* __ID3D11Predicate_FWD_DEFINED__ */ #endif /* __ID3D11Predicate_FWD_DEFINED__ */
#ifndef __ID3D11Counter_FWD_DEFINED__ #ifndef __ID3D11Counter_FWD_DEFINED__
#define __ID3D11Counter_FWD_DEFINED__ #define __ID3D11Counter_FWD_DEFINED__
typedef interface ID3D11Counter ID3D11Counter; typedef interface ID3D11Counter ID3D11Counter;
#endif /* __ID3D11Counter_FWD_DEFINED__ */ #endif /* __ID3D11Counter_FWD_DEFINED__ */
#ifndef __ID3D11ClassInstance_FWD_DEFINED__ #ifndef __ID3D11ClassInstance_FWD_DEFINED__
#define __ID3D11ClassInstance_FWD_DEFINED__ #define __ID3D11ClassInstance_FWD_DEFINED__
typedef interface ID3D11ClassInstance ID3D11ClassInstance; typedef interface ID3D11ClassInstance ID3D11ClassInstance;
#endif /* __ID3D11ClassInstance_FWD_DEFINED__ */ #endif /* __ID3D11ClassInstance_FWD_DEFINED__ */
#ifndef __ID3D11ClassLinkage_FWD_DEFINED__ #ifndef __ID3D11ClassLinkage_FWD_DEFINED__
#define __ID3D11ClassLinkage_FWD_DEFINED__ #define __ID3D11ClassLinkage_FWD_DEFINED__
typedef interface ID3D11ClassLinkage ID3D11ClassLinkage; typedef interface ID3D11ClassLinkage ID3D11ClassLinkage;
#endif /* __ID3D11ClassLinkage_FWD_DEFINED__ */ #endif /* __ID3D11ClassLinkage_FWD_DEFINED__ */
#ifndef __ID3D11CommandList_FWD_DEFINED__ #ifndef __ID3D11CommandList_FWD_DEFINED__
#define __ID3D11CommandList_FWD_DEFINED__ #define __ID3D11CommandList_FWD_DEFINED__
typedef interface ID3D11CommandList ID3D11CommandList; typedef interface ID3D11CommandList ID3D11CommandList;
#endif /* __ID3D11CommandList_FWD_DEFINED__ */ #endif /* __ID3D11CommandList_FWD_DEFINED__ */
#ifndef __ID3D11DeviceContext_FWD_DEFINED__ #ifndef __ID3D11DeviceContext_FWD_DEFINED__
#define __ID3D11DeviceContext_FWD_DEFINED__ #define __ID3D11DeviceContext_FWD_DEFINED__
typedef interface ID3D11DeviceContext ID3D11DeviceContext; typedef interface ID3D11DeviceContext ID3D11DeviceContext;
#endif /* __ID3D11DeviceContext_FWD_DEFINED__ */ #endif /* __ID3D11DeviceContext_FWD_DEFINED__ */
#ifndef __ID3D11VideoDecoder_FWD_DEFINED__
#define __ID3D11VideoDecoder_FWD_DEFINED__
typedef interface ID3D11VideoDecoder ID3D11VideoDecoder;
#endif /* __ID3D11VideoDecoder_FWD_DEFINED__ */
#ifndef __ID3D11VideoProcessorEnumerator_FWD_DEFINED__
#define __ID3D11VideoProcessorEnumerator_FWD_DEFINED__
typedef interface ID3D11VideoProcessorEnumerator ID3D11VideoProcessorEnumerator;
#endif /* __ID3D11VideoProcessorEnumerator_FWD_DEFINED__ */
#ifndef __ID3D11VideoProcessor_FWD_DEFINED__
#define __ID3D11VideoProcessor_FWD_DEFINED__
typedef interface ID3D11VideoProcessor ID3D11VideoProcessor;
#endif /* __ID3D11VideoProcessor_FWD_DEFINED__ */
#ifndef __ID3D11AuthenticatedChannel_FWD_DEFINED__
#define __ID3D11AuthenticatedChannel_FWD_DEFINED__
typedef interface ID3D11AuthenticatedChannel ID3D11AuthenticatedChannel;
#endif /* __ID3D11AuthenticatedChannel_FWD_DEFINED__ */
#ifndef __ID3D11CryptoSession_FWD_DEFINED__
#define __ID3D11CryptoSession_FWD_DEFINED__
typedef interface ID3D11CryptoSession ID3D11CryptoSession;
#endif /* __ID3D11CryptoSession_FWD_DEFINED__ */
#ifndef __ID3D11VideoDecoderOutputView_FWD_DEFINED__
#define __ID3D11VideoDecoderOutputView_FWD_DEFINED__
typedef interface ID3D11VideoDecoderOutputView ID3D11VideoDecoderOutputView;
#endif /* __ID3D11VideoDecoderOutputView_FWD_DEFINED__ */
#ifndef __ID3D11VideoProcessorInputView_FWD_DEFINED__
#define __ID3D11VideoProcessorInputView_FWD_DEFINED__
typedef interface ID3D11VideoProcessorInputView ID3D11VideoProcessorInputView;
#endif /* __ID3D11VideoProcessorInputView_FWD_DEFINED__ */
#ifndef __ID3D11VideoProcessorOutputView_FWD_DEFINED__
#define __ID3D11VideoProcessorOutputView_FWD_DEFINED__
typedef interface ID3D11VideoProcessorOutputView ID3D11VideoProcessorOutputView;
#endif /* __ID3D11VideoProcessorOutputView_FWD_DEFINED__ */
#ifndef __ID3D11VideoContext_FWD_DEFINED__
#define __ID3D11VideoContext_FWD_DEFINED__
typedef interface ID3D11VideoContext ID3D11VideoContext;
#endif /* __ID3D11VideoContext_FWD_DEFINED__ */
#ifndef __ID3D11VideoDevice_FWD_DEFINED__
#define __ID3D11VideoDevice_FWD_DEFINED__
typedef interface ID3D11VideoDevice ID3D11VideoDevice;
#endif /* __ID3D11VideoDevice_FWD_DEFINED__ */
#ifndef __ID3D11Device_FWD_DEFINED__ #ifndef __ID3D11Device_FWD_DEFINED__
#define __ID3D11Device_FWD_DEFINED__ #define __ID3D11Device_FWD_DEFINED__
typedef interface ID3D11Device ID3D11Device; typedef interface ID3D11Device ID3D11Device;
#endif /* __ID3D11Device_FWD_DEFINED__ */ #endif /* __ID3D11Device_FWD_DEFINED__ */
/* header files for imported files */ /* header files for imported files */
#include "oaidl.h" #include "oaidl.h"
#include "ocidl.h" #include "ocidl.h"
#include "dxgi.h" #include "dxgi.h"
#include "d3dcommon.h" #include "d3dcommon.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C"{ extern "C"{
skipping to change at line 243 skipping to change at line 326
#define D3D11_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT ( 2 ) #define D3D11_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT ( 2 )
#define D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT ( 14 ) #define D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT ( 14 )
#define D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS ( 4 ) #define D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS ( 4 )
#define D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT ( 32 ) #define D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT ( 32 )
#define D3D11_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT ( 15 ) #define D3D11_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT ( 15 )
#define D3D11_COMMONSHADER_CONSTANT_BUFFER_PARTIAL_UPDATE_EXTENTS_BYTE_AL
IGNMENT ( 16 )
#define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS ( 4 ) #define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS ( 4 )
#define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT ( 15 ) #define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT ( 15 )
#define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST ( 1 ) #define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST ( 1 )
#define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS ( 1 ) #define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS ( 1 )
#define D3D11_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT ( 64 ) #define D3D11_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT ( 64 )
skipping to change at line 389 skipping to change at line 474
#define D3D11_CS_DISPATCH_MAX_THREAD_GROUPS_PER_DIMENSION ( 65535 ) #define D3D11_CS_DISPATCH_MAX_THREAD_GROUPS_PER_DIMENSION ( 65535 )
#define D3D11_CS_TGSM_REGISTER_COUNT ( 8192 ) #define D3D11_CS_TGSM_REGISTER_COUNT ( 8192 )
#define D3D11_CS_TGSM_REGISTER_READS_PER_INST ( 1 ) #define D3D11_CS_TGSM_REGISTER_READS_PER_INST ( 1 )
#define D3D11_CS_TGSM_RESOURCE_REGISTER_COMPONENTS ( 1 ) #define D3D11_CS_TGSM_RESOURCE_REGISTER_COMPONENTS ( 1 )
#define D3D11_CS_TGSM_RESOURCE_REGISTER_READ_PORTS ( 1 ) #define D3D11_CS_TGSM_RESOURCE_REGISTER_READ_PORTS ( 1 )
#define D3D11_CS_THREADGROUPID_REGISTER_COMPONENTS ( 3 )
#define D3D11_CS_THREADGROUPID_REGISTER_COUNT ( 1 )
#define D3D11_CS_THREADIDINGROUPFLATTENED_REGISTER_COMPONENTS ( 1 )
#define D3D11_CS_THREADIDINGROUPFLATTENED_REGISTER_COUNT ( 1 )
#define D3D11_CS_THREADIDINGROUP_REGISTER_COMPONENTS ( 3 )
#define D3D11_CS_THREADIDINGROUP_REGISTER_COUNT ( 1 )
#define D3D11_CS_THREADID_REGISTER_COMPONENTS ( 3 )
#define D3D11_CS_THREADID_REGISTER_COUNT ( 1 )
#define D3D11_CS_THREAD_GROUP_MAX_THREADS_PER_GROUP ( 1024 ) #define D3D11_CS_THREAD_GROUP_MAX_THREADS_PER_GROUP ( 1024 )
#define D3D11_CS_THREAD_GROUP_MAX_X ( 1024 ) #define D3D11_CS_THREAD_GROUP_MAX_X ( 1024 )
#define D3D11_CS_THREAD_GROUP_MAX_Y ( 1024 ) #define D3D11_CS_THREAD_GROUP_MAX_Y ( 1024 )
#define D3D11_CS_THREAD_GROUP_MAX_Z ( 64 ) #define D3D11_CS_THREAD_GROUP_MAX_Z ( 64 )
#define D3D11_CS_THREAD_GROUP_MIN_X ( 1 ) #define D3D11_CS_THREAD_GROUP_MIN_X ( 1 )
skipping to change at line 413 skipping to change at line 514
#define D3D11_CS_THREAD_LOCAL_TEMP_REGISTER_POOL ( 16384 ) #define D3D11_CS_THREAD_LOCAL_TEMP_REGISTER_POOL ( 16384 )
#define D3D11_DEFAULT_BLEND_FACTOR_ALPHA ( 1.0f ) #define D3D11_DEFAULT_BLEND_FACTOR_ALPHA ( 1.0f )
#define D3D11_DEFAULT_BLEND_FACTOR_BLUE ( 1.0f ) #define D3D11_DEFAULT_BLEND_FACTOR_BLUE ( 1.0f )
#define D3D11_DEFAULT_BLEND_FACTOR_GREEN ( 1.0f ) #define D3D11_DEFAULT_BLEND_FACTOR_GREEN ( 1.0f )
#define D3D11_DEFAULT_BLEND_FACTOR_RED ( 1.0f ) #define D3D11_DEFAULT_BLEND_FACTOR_RED ( 1.0f )
#define D3D11_DEFAULT_BORDER_COLOR_COMPONENT ( 0.0f ) #define D3D11_DEFAULT_BORDER_COLOR_COMPONENT ( 0.0f )
#define D3D11_DEFAULT_DEPTH_BIAS ( 0 ) #define D3D11_DEFAULT_DEPTH_BIAS ( 0 )
#define D3D11_DEFAULT_DEPTH_BIAS_CLAMP ( 0.0f ) #define D3D11_DEFAULT_DEPTH_BIAS_CLAMP ( 0.0f )
#define D3D11_DEFAULT_MAX_ANISOTROPY ( 16.0f ) #define D3D11_DEFAULT_MAX_ANISOTROPY ( 16 )
#define D3D11_DEFAULT_MIP_LOD_BIAS ( 0.0f ) #define D3D11_DEFAULT_MIP_LOD_BIAS ( 0.0f )
#define D3D11_DEFAULT_RENDER_TARGET_ARRAY_INDEX ( 0 ) #define D3D11_DEFAULT_RENDER_TARGET_ARRAY_INDEX ( 0 )
#define D3D11_DEFAULT_SAMPLE_MASK ( 0xffffffff ) #define D3D11_DEFAULT_SAMPLE_MASK ( 0xffffffff )
#define D3D11_DEFAULT_SCISSOR_ENDX ( 0 ) #define D3D11_DEFAULT_SCISSOR_ENDX ( 0 )
#define D3D11_DEFAULT_SCISSOR_ENDY ( 0 ) #define D3D11_DEFAULT_SCISSOR_ENDY ( 0 )
#define D3D11_DEFAULT_SCISSOR_STARTX ( 0 ) #define D3D11_DEFAULT_SCISSOR_STARTX ( 0 )
skipping to change at line 478 skipping to change at line 580
#define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENTS ( 4 ) #define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENTS ( 4 )
#define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT ( 32 ) #define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
#define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COUNT ( 32 ) #define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COUNT ( 32 )
#define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST ( 2 ) #define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST ( 2 )
#define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_READ_PORTS ( 1 ) #define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_READ_PORTS ( 1 )
#define D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENTS ( 1 )
#define D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENT_BIT_COUNT (
32 )
#define D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_COUNT ( 1 )
#define D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_READS_PER_INST ( 2 )
#define D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_READ_PORTS ( 1 )
#define D3D11_DS_OUTPUT_REGISTER_COMPONENTS ( 4 ) #define D3D11_DS_OUTPUT_REGISTER_COMPONENTS ( 4 )
#define D3D11_DS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 ) #define D3D11_DS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
#define D3D11_DS_OUTPUT_REGISTER_COUNT ( 32 ) #define D3D11_DS_OUTPUT_REGISTER_COUNT ( 32 )
#define D3D11_FLOAT16_FUSED_TOLERANCE_IN_ULP ( 0.6 ) #define D3D11_FLOAT16_FUSED_TOLERANCE_IN_ULP ( 0.6 )
#define D3D11_FLOAT32_MAX ( 3.402823466e+38f ) #define D3D11_FLOAT32_MAX ( 3.402823466e+38f )
#define D3D11_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP ( 0.6f ) #define D3D11_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP ( 0.6f )
#define D3D11_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR ( 2.4f ) #define D3D11_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR ( 2.4f )
skipping to change at line 611 skipping to change at line 723
#define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENTS ( 4 ) #define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENTS ( 4 )
#define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT ( 32 ) #define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
#define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COUNT ( 32 ) #define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COUNT ( 32 )
#define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST ( 2 ) #define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST ( 2 )
#define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READ_PORTS ( 1 ) #define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READ_PORTS ( 1 )
#define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_SCALAR_COMPONENTS (
128 )
#define D3D11_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES ( 0 ) #define D3D11_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES ( 0 )
#define D3D11_IA_DEFAULT_PRIMITIVE_TOPOLOGY ( 0 ) #define D3D11_IA_DEFAULT_PRIMITIVE_TOPOLOGY ( 0 )
#define D3D11_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES ( 0 ) #define D3D11_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES ( 0 )
#define D3D11_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT ( 1 ) #define D3D11_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT ( 1 )
#define D3D11_IA_INSTANCE_ID_BIT_COUNT ( 32 ) #define D3D11_IA_INSTANCE_ID_BIT_COUNT ( 32 )
skipping to change at line 751 skipping to change at line 865
#define D3D11_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES ( 2048 ) #define D3D11_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES ( 2048 )
#define D3D11_REQ_RASTERIZER_OBJECT_COUNT_PER_DEVICE ( 4096 ) #define D3D11_REQ_RASTERIZER_OBJECT_COUNT_PER_DEVICE ( 4096 )
#define D3D11_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH ( 16384 ) #define D3D11_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH ( 16384 )
#define D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_A_TERM ( 128 ) #define D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_A_TERM ( 128 )
#define D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_B_TERM ( 0.25f ) #define D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_B_TERM ( 0.25f )
#define D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_C_TERM ( 2048 )
#define D3D11_REQ_RESOURCE_VIEW_COUNT_PER_DEVICE_2_TO_EXP ( 20 ) #define D3D11_REQ_RESOURCE_VIEW_COUNT_PER_DEVICE_2_TO_EXP ( 20 )
#define D3D11_REQ_SAMPLER_OBJECT_COUNT_PER_DEVICE ( 4096 ) #define D3D11_REQ_SAMPLER_OBJECT_COUNT_PER_DEVICE ( 4096 )
#define D3D11_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION ( 2048 ) #define D3D11_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION ( 2048 )
#define D3D11_REQ_TEXTURE1D_U_DIMENSION ( 16384 ) #define D3D11_REQ_TEXTURE1D_U_DIMENSION ( 16384 )
#define D3D11_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION ( 2048 ) #define D3D11_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION ( 2048 )
skipping to change at line 773 skipping to change at line 889
#define D3D11_REQ_TEXTURE3D_U_V_OR_W_DIMENSION ( 2048 ) #define D3D11_REQ_TEXTURE3D_U_V_OR_W_DIMENSION ( 2048 )
#define D3D11_REQ_TEXTURECUBE_DIMENSION ( 16384 ) #define D3D11_REQ_TEXTURECUBE_DIMENSION ( 16384 )
#define D3D11_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL ( 0 ) #define D3D11_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL ( 0 )
#define D3D11_SHADER_MAJOR_VERSION ( 5 ) #define D3D11_SHADER_MAJOR_VERSION ( 5 )
#define D3D11_SHADER_MAX_INSTANCES ( 65535 ) #define D3D11_SHADER_MAX_INSTANCES ( 65535 )
#define D3D11_SHADER_MAX_INTERFACES ( 256 ) #define D3D11_SHADER_MAX_INTERFACES ( 253 )
#define D3D11_SHADER_MAX_INTERFACE_CALL_SITES ( 4096 ) #define D3D11_SHADER_MAX_INTERFACE_CALL_SITES ( 4096 )
#define D3D11_SHADER_MAX_TYPES ( 65535 ) #define D3D11_SHADER_MAX_TYPES ( 65535 )
#define D3D11_SHADER_MINOR_VERSION ( 0 ) #define D3D11_SHADER_MINOR_VERSION ( 0 )
#define D3D11_SHIFT_INSTRUCTION_PAD_VALUE ( 0 ) #define D3D11_SHIFT_INSTRUCTION_PAD_VALUE ( 0 )
#define D3D11_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT ( 5 ) #define D3D11_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT ( 5 )
skipping to change at line 801 skipping to change at line 917
#define D3D11_SO_BUFFER_SLOT_COUNT ( 4 ) #define D3D11_SO_BUFFER_SLOT_COUNT ( 4 )
#define D3D11_SO_DDI_REGISTER_INDEX_DENOTING_GAP ( 0xffffffff ) #define D3D11_SO_DDI_REGISTER_INDEX_DENOTING_GAP ( 0xffffffff )
#define D3D11_SO_NO_RASTERIZED_STREAM ( 0xffffffff ) #define D3D11_SO_NO_RASTERIZED_STREAM ( 0xffffffff )
#define D3D11_SO_OUTPUT_COMPONENT_COUNT ( 128 ) #define D3D11_SO_OUTPUT_COMPONENT_COUNT ( 128 )
#define D3D11_SO_STREAM_COUNT ( 4 ) #define D3D11_SO_STREAM_COUNT ( 4 )
#define D3D11_SPEC_DATE_DAY ( 19 ) #define D3D11_SPEC_DATE_DAY ( 16 )
#define D3D11_SPEC_DATE_MONTH ( 02 ) #define D3D11_SPEC_DATE_MONTH ( 05 )
#define D3D11_SPEC_DATE_YEAR ( 2009 ) #define D3D11_SPEC_DATE_YEAR ( 2011 )
#define D3D11_SPEC_VERSION ( 0.01 ) #define D3D11_SPEC_VERSION ( 1.07 )
#define D3D11_SRGB_GAMMA ( 2.2f ) #define D3D11_SRGB_GAMMA ( 2.2f )
#define D3D11_SRGB_TO_FLOAT_DENOMINATOR_1 ( 12.92f ) #define D3D11_SRGB_TO_FLOAT_DENOMINATOR_1 ( 12.92f )
#define D3D11_SRGB_TO_FLOAT_DENOMINATOR_2 ( 1.055f ) #define D3D11_SRGB_TO_FLOAT_DENOMINATOR_2 ( 1.055f )
#define D3D11_SRGB_TO_FLOAT_EXPONENT ( 2.4f ) #define D3D11_SRGB_TO_FLOAT_EXPONENT ( 2.4f )
#define D3D11_SRGB_TO_FLOAT_OFFSET ( 0.055f ) #define D3D11_SRGB_TO_FLOAT_OFFSET ( 0.055f )
#define D3D11_SRGB_TO_FLOAT_THRESHOLD ( 0.04045f ) #define D3D11_SRGB_TO_FLOAT_THRESHOLD ( 0.04045f )
#define D3D11_SRGB_TO_FLOAT_TOLERANCE_IN_ULP ( 0.5f ) #define D3D11_SRGB_TO_FLOAT_TOLERANCE_IN_ULP ( 0.5f )
#define D3D11_STANDARD_COMPONENT_BIT_COUNT ( 32 ) #define D3D11_STANDARD_COMPONENT_BIT_COUNT ( 32 )
#define D3D11_STANDARD_COMPONENT_BIT_COUNT_DOUBLED ( 64 ) #define D3D11_STANDARD_COMPONENT_BIT_COUNT_DOUBLED ( 64 )
skipping to change at line 884 skipping to change at line 1000
#define D3D11_VS_OUTPUT_REGISTER_COUNT ( 32 ) #define D3D11_VS_OUTPUT_REGISTER_COUNT ( 32 )
#define D3D11_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT ( 10 ) #define D3D11_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT ( 10 )
#define D3D11_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP ( 25 ) #define D3D11_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP ( 25 )
#define D3D11_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP ( 25 ) #define D3D11_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP ( 25 )
#endif #endif
#ifndef _D3D11_1_CONSTANTS
#define _D3D11_1_CONSTANTS
#define D3D11_1_UAV_SLOT_COUNT ( 64 )
#endif
#ifndef _D3D11_2_CONSTANTS
#define _D3D11_2_CONSTANTS
#define D3D11_2_TILED_RESOURCE_TILE_SIZE_IN_BYTES ( 65536 )
#endif
#define _FACD3D11 ( 0x87c ) #define _FACD3D11 ( 0x87c )
#define _FACD3D11DEBUG ( ( _FACD3D11 + 1 ) ) #define _FACD3D11DEBUG ( ( _FACD3D11 + 1 ) )
/* Direct3D errors are now found in winerror.h */
#define MAKE_D3D11_HRESULT( code ) MAKE_HRESULT( 1, _FACD3D11, code ) #define MAKE_D3D11_HRESULT( code ) MAKE_HRESULT( 1, _FACD3D11, code )
#define MAKE_D3D11_STATUS( code ) MAKE_HRESULT( 0, _FACD3D11, code ) #define MAKE_D3D11_STATUS( code ) MAKE_HRESULT( 0, _FACD3D11, code )
#define D3D11_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS MAKE_D3D11_HRESULT(1)
#define D3D11_ERROR_FILE_NOT_FOUND MAKE_D3D11_HRESULT(2)
#define D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS MAKE_D3D11_HRESULT(3)
#define D3D11_ERROR_DEFERRED_CONTEXT_MAP_WITHOUT_INITIAL_DISCARD MAKE_D3D11_HRE
SULT(4)
#if __SAL_H_FULL_VER < 140050727
#undef __in_range
#undef __in_xcount_opt
#define __in_range(x, y)
#define __in_xcount_opt(x)
#endif
#if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus ) #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
} }
struct CD3D11_DEFAULT {}; struct CD3D11_DEFAULT {};
extern const DECLSPEC_SELECTANY CD3D11_DEFAULT D3D11_DEFAULT; extern const DECLSPEC_SELECTANY CD3D11_DEFAULT D3D11_DEFAULT;
extern "C"{ extern "C"{
#endif #endif
typedef typedef
enum D3D11_INPUT_CLASSIFICATION enum D3D11_INPUT_CLASSIFICATION
{ D3D11_INPUT_PER_VERTEX_DATA = 0, {
D3D11_INPUT_PER_INSTANCE_DATA = 1 D3D11_INPUT_PER_VERTEX_DATA = 0,
D3D11_INPUT_PER_INSTANCE_DATA = 1
} D3D11_INPUT_CLASSIFICATION; } D3D11_INPUT_CLASSIFICATION;
#define D3D11_APPEND_ALIGNED_ELEMENT ( 0xffffffff ) #define D3D11_APPEND_ALIGNED_ELEMENT ( 0xffffffff )
typedef struct D3D11_INPUT_ELEMENT_DESC typedef struct D3D11_INPUT_ELEMENT_DESC
{ {
LPCSTR SemanticName; LPCSTR SemanticName;
UINT SemanticIndex; UINT SemanticIndex;
DXGI_FORMAT Format; DXGI_FORMAT Format;
UINT InputSlot; UINT InputSlot;
UINT AlignedByteOffset; UINT AlignedByteOffset;
D3D11_INPUT_CLASSIFICATION InputSlotClass; D3D11_INPUT_CLASSIFICATION InputSlotClass;
UINT InstanceDataStepRate; UINT InstanceDataStepRate;
} D3D11_INPUT_ELEMENT_DESC; } D3D11_INPUT_ELEMENT_DESC;
typedef typedef
enum D3D11_FILL_MODE enum D3D11_FILL_MODE
{ D3D11_FILL_WIREFRAME = 2, {
D3D11_FILL_SOLID = 3 D3D11_FILL_WIREFRAME = 2,
D3D11_FILL_SOLID = 3
} D3D11_FILL_MODE; } D3D11_FILL_MODE;
typedef typedef D3D_PRIMITIVE_TOPOLOGY D3D11_PRIMITIVE_TOPOLOGY;
enum D3D11_PRIMITIVE_TOPOLOGY
{ D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED = 0,
D3D11_PRIMITIVE_TOPOLOGY_POINTLIST = 1,
D3D11_PRIMITIVE_TOPOLOGY_LINELIST = 2,
D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP = 3,
D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4,
D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5,
D3D11_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10,
D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11,
D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12,
D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13,
D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33,
D3D11_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST = 34,
D3D11_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST = 35,
D3D11_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST = 36,
D3D11_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST = 37,
D3D11_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST = 38,
D3D11_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST = 39,
D3D11_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST = 40,
D3D11_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST = 41,
D3D11_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST = 42,
D3D11_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST = 43,
D3D11_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST = 44,
D3D11_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST = 45,
D3D11_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST = 46,
D3D11_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST = 47,
D3D11_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST = 48,
D3D11_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST = 49,
D3D11_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST = 50,
D3D11_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST = 51,
D3D11_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST = 52,
D3D11_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST = 53,
D3D11_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST = 54,
D3D11_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST = 55,
D3D11_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST = 56,
D3D11_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST = 57,
D3D11_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST = 58,
D3D11_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST = 59,
D3D11_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST = 60,
D3D11_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST = 61,
D3D11_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST = 62,
D3D11_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST = 63,
D3D11_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST = 64
} D3D11_PRIMITIVE_TOPOLOGY;
typedef typedef D3D_PRIMITIVE D3D11_PRIMITIVE;
enum D3D11_PRIMITIVE
{ D3D11_PRIMITIVE_UNDEFINED = 0,
D3D11_PRIMITIVE_POINT = 1,
D3D11_PRIMITIVE_LINE = 2,
D3D11_PRIMITIVE_TRIANGLE = 3,
D3D11_PRIMITIVE_LINE_ADJ = 6,
D3D11_PRIMITIVE_TRIANGLE_ADJ = 7,
D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH = 8,
D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH = 9,
D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH = 10,
D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH = 11,
D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH = 12,
D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH = 13,
D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH = 14,
D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH = 15,
D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH = 16,
D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH = 17,
D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH = 18,
D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH = 19,
D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH = 20,
D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH = 21,
D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH = 22,
D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH = 23,
D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH = 24,
D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH = 25,
D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH = 26,
D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH = 27,
D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH = 28,
D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH = 29,
D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH = 30,
D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH = 31,
D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH = 32,
D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH = 33,
D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH = 34,
D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH = 35,
D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH = 36,
D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH = 37,
D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH = 38,
D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH = 39
} D3D11_PRIMITIVE;
typedef typedef
enum D3D11_CULL_MODE enum D3D11_CULL_MODE
{ D3D11_CULL_NONE = 1, {
D3D11_CULL_FRONT = 2, D3D11_CULL_NONE = 1,
D3D11_CULL_BACK = 3 D3D11_CULL_FRONT = 2,
D3D11_CULL_BACK = 3
} D3D11_CULL_MODE; } D3D11_CULL_MODE;
typedef struct D3D11_SO_DECLARATION_ENTRY typedef struct D3D11_SO_DECLARATION_ENTRY
{ {
UINT Stream; UINT Stream;
LPCSTR SemanticName; LPCSTR SemanticName;
UINT SemanticIndex; UINT SemanticIndex;
BYTE StartComponent; BYTE StartComponent;
BYTE ComponentCount; BYTE ComponentCount;
BYTE OutputSlot; BYTE OutputSlot;
skipping to change at line 1059 skipping to change at line 1095
{ {
return l.TopLeftX == r.TopLeftX && l.TopLeftY == r.TopLeftY && l.Width == r. Width && return l.TopLeftX == r.TopLeftX && l.TopLeftY == r.TopLeftY && l.Width == r. Width &&
l.Height == r.Height && l.MinDepth == r.MinDepth && l.MaxDepth == r.MaxD epth; l.Height == r.Height && l.MinDepth == r.MinDepth && l.MaxDepth == r.MaxD epth;
} }
inline bool operator!=( const D3D11_VIEWPORT& l, const D3D11_VIEWPORT& r ) inline bool operator!=( const D3D11_VIEWPORT& l, const D3D11_VIEWPORT& r )
{ return !( l == r ); } { return !( l == r ); }
extern "C"{ extern "C"{
#endif #endif
typedef typedef
enum D3D11_RESOURCE_DIMENSION enum D3D11_RESOURCE_DIMENSION
{ D3D11_RESOURCE_DIMENSION_UNKNOWN = 0, {
D3D11_RESOURCE_DIMENSION_BUFFER = 1, D3D11_RESOURCE_DIMENSION_UNKNOWN = 0,
D3D11_RESOURCE_DIMENSION_TEXTURE1D = 2, D3D11_RESOURCE_DIMENSION_BUFFER = 1,
D3D11_RESOURCE_DIMENSION_TEXTURE2D = 3, D3D11_RESOURCE_DIMENSION_TEXTURE1D = 2,
D3D11_RESOURCE_DIMENSION_TEXTURE3D = 4 D3D11_RESOURCE_DIMENSION_TEXTURE2D = 3,
D3D11_RESOURCE_DIMENSION_TEXTURE3D = 4
} D3D11_RESOURCE_DIMENSION; } D3D11_RESOURCE_DIMENSION;
typedef typedef D3D_SRV_DIMENSION D3D11_SRV_DIMENSION;
enum D3D11_SRV_DIMENSION
{ D3D11_SRV_DIMENSION_UNKNOWN = 0,
D3D11_SRV_DIMENSION_BUFFER = 1,
D3D11_SRV_DIMENSION_TEXTURE1D = 2,
D3D11_SRV_DIMENSION_TEXTURE1DARRAY = 3,
D3D11_SRV_DIMENSION_TEXTURE2D = 4,
D3D11_SRV_DIMENSION_TEXTURE2DARRAY = 5,
D3D11_SRV_DIMENSION_TEXTURE2DMS = 6,
D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY = 7,
D3D11_SRV_DIMENSION_TEXTURE3D = 8,
D3D11_SRV_DIMENSION_TEXTURECUBE = 9,
D3D11_SRV_DIMENSION_TEXTURECUBEARRAY = 10,
D3D11_SRV_DIMENSION_BUFFEREX = 11
} D3D11_SRV_DIMENSION;
typedef typedef
enum D3D11_DSV_DIMENSION enum D3D11_DSV_DIMENSION
{ D3D11_DSV_DIMENSION_UNKNOWN = 0, {
D3D11_DSV_DIMENSION_TEXTURE1D = 1, D3D11_DSV_DIMENSION_UNKNOWN = 0,
D3D11_DSV_DIMENSION_TEXTURE1DARRAY = 2, D3D11_DSV_DIMENSION_TEXTURE1D = 1,
D3D11_DSV_DIMENSION_TEXTURE2D = 3, D3D11_DSV_DIMENSION_TEXTURE1DARRAY = 2,
D3D11_DSV_DIMENSION_TEXTURE2DARRAY = 4, D3D11_DSV_DIMENSION_TEXTURE2D = 3,
D3D11_DSV_DIMENSION_TEXTURE2DMS = 5, D3D11_DSV_DIMENSION_TEXTURE2DARRAY = 4,
D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY = 6 D3D11_DSV_DIMENSION_TEXTURE2DMS = 5,
D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY = 6
} D3D11_DSV_DIMENSION; } D3D11_DSV_DIMENSION;
typedef typedef
enum D3D11_RTV_DIMENSION enum D3D11_RTV_DIMENSION
{ D3D11_RTV_DIMENSION_UNKNOWN = 0, {
D3D11_RTV_DIMENSION_BUFFER = 1, D3D11_RTV_DIMENSION_UNKNOWN = 0,
D3D11_RTV_DIMENSION_TEXTURE1D = 2, D3D11_RTV_DIMENSION_BUFFER = 1,
D3D11_RTV_DIMENSION_TEXTURE1DARRAY = 3, D3D11_RTV_DIMENSION_TEXTURE1D = 2,
D3D11_RTV_DIMENSION_TEXTURE2D = 4, D3D11_RTV_DIMENSION_TEXTURE1DARRAY = 3,
D3D11_RTV_DIMENSION_TEXTURE2DARRAY = 5, D3D11_RTV_DIMENSION_TEXTURE2D = 4,
D3D11_RTV_DIMENSION_TEXTURE2DMS = 6, D3D11_RTV_DIMENSION_TEXTURE2DARRAY = 5,
D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY = 7, D3D11_RTV_DIMENSION_TEXTURE2DMS = 6,
D3D11_RTV_DIMENSION_TEXTURE3D = 8 D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY = 7,
D3D11_RTV_DIMENSION_TEXTURE3D = 8
} D3D11_RTV_DIMENSION; } D3D11_RTV_DIMENSION;
typedef typedef
enum D3D11_UAV_DIMENSION enum D3D11_UAV_DIMENSION
{ D3D11_UAV_DIMENSION_UNKNOWN = 0, {
D3D11_UAV_DIMENSION_BUFFER = 1, D3D11_UAV_DIMENSION_UNKNOWN = 0,
D3D11_UAV_DIMENSION_TEXTURE1D = 2, D3D11_UAV_DIMENSION_BUFFER = 1,
D3D11_UAV_DIMENSION_TEXTURE1DARRAY = 3, D3D11_UAV_DIMENSION_TEXTURE1D = 2,
D3D11_UAV_DIMENSION_TEXTURE2D = 4, D3D11_UAV_DIMENSION_TEXTURE1DARRAY = 3,
D3D11_UAV_DIMENSION_TEXTURE2DARRAY = 5, D3D11_UAV_DIMENSION_TEXTURE2D = 4,
D3D11_UAV_DIMENSION_TEXTURE3D = 8 D3D11_UAV_DIMENSION_TEXTURE2DARRAY = 5,
D3D11_UAV_DIMENSION_TEXTURE3D = 8
} D3D11_UAV_DIMENSION; } D3D11_UAV_DIMENSION;
typedef typedef
enum D3D11_USAGE enum D3D11_USAGE
{ D3D11_USAGE_DEFAULT = 0, {
D3D11_USAGE_IMMUTABLE = 1, D3D11_USAGE_DEFAULT = 0,
D3D11_USAGE_DYNAMIC = 2, D3D11_USAGE_IMMUTABLE = 1,
D3D11_USAGE_STAGING = 3 D3D11_USAGE_DYNAMIC = 2,
D3D11_USAGE_STAGING = 3
} D3D11_USAGE; } D3D11_USAGE;
typedef typedef
enum D3D11_BIND_FLAG enum D3D11_BIND_FLAG
{ D3D11_BIND_VERTEX_BUFFER = 0x1L, {
D3D11_BIND_INDEX_BUFFER = 0x2L, D3D11_BIND_VERTEX_BUFFER = 0x1L,
D3D11_BIND_CONSTANT_BUFFER = 0x4L, D3D11_BIND_INDEX_BUFFER = 0x2L,
D3D11_BIND_SHADER_RESOURCE = 0x8L, D3D11_BIND_CONSTANT_BUFFER = 0x4L,
D3D11_BIND_STREAM_OUTPUT = 0x10L, D3D11_BIND_SHADER_RESOURCE = 0x8L,
D3D11_BIND_RENDER_TARGET = 0x20L, D3D11_BIND_STREAM_OUTPUT = 0x10L,
D3D11_BIND_DEPTH_STENCIL = 0x40L, D3D11_BIND_RENDER_TARGET = 0x20L,
D3D11_BIND_UNORDERED_ACCESS = 0x80L D3D11_BIND_DEPTH_STENCIL = 0x40L,
D3D11_BIND_UNORDERED_ACCESS = 0x80L,
D3D11_BIND_DECODER = 0x200L,
D3D11_BIND_VIDEO_ENCODER = 0x400L
} D3D11_BIND_FLAG; } D3D11_BIND_FLAG;
typedef typedef
enum D3D11_CPU_ACCESS_FLAG enum D3D11_CPU_ACCESS_FLAG
{ D3D11_CPU_ACCESS_WRITE = 0x10000L, {
D3D11_CPU_ACCESS_READ = 0x20000L D3D11_CPU_ACCESS_WRITE = 0x10000L,
D3D11_CPU_ACCESS_READ = 0x20000L
} D3D11_CPU_ACCESS_FLAG; } D3D11_CPU_ACCESS_FLAG;
typedef typedef
enum D3D11_RESOURCE_MISC_FLAG enum D3D11_RESOURCE_MISC_FLAG
{ D3D11_RESOURCE_MISC_GENERATE_MIPS = 0x1L, {
D3D11_RESOURCE_MISC_SHARED = 0x2L, D3D11_RESOURCE_MISC_GENERATE_MIPS = 0x1L,
D3D11_RESOURCE_MISC_TEXTURECUBE = 0x4L, D3D11_RESOURCE_MISC_SHARED = 0x2L,
D3D11_RESOURCE_MISC_DRAWINDIRECT_ARGS = 0x10L, D3D11_RESOURCE_MISC_TEXTURECUBE = 0x4L,
D3D11_RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS = 0x20L, D3D11_RESOURCE_MISC_DRAWINDIRECT_ARGS = 0x10L,
D3D11_RESOURCE_MISC_BUFFER_STRUCTURED = 0x40L, D3D11_RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS = 0x20L,
D3D11_RESOURCE_MISC_RESOURCE_CLAMP = 0x80L, D3D11_RESOURCE_MISC_BUFFER_STRUCTURED = 0x40L,
D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX = 0x100L, D3D11_RESOURCE_MISC_RESOURCE_CLAMP = 0x80L,
D3D11_RESOURCE_MISC_GDI_COMPATIBLE = 0x200L D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX = 0x100L,
D3D11_RESOURCE_MISC_GDI_COMPATIBLE = 0x200L,
D3D11_RESOURCE_MISC_SHARED_NTHANDLE = 0x800L,
D3D11_RESOURCE_MISC_RESTRICTED_CONTENT = 0x1000L,
D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE = 0x2000L,
D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE_DRIVER = 0x4000L,
D3D11_RESOURCE_MISC_GUARDED = 0x8000L,
D3D11_RESOURCE_MISC_TILE_POOL = 0x20000L,
D3D11_RESOURCE_MISC_TILED = 0x40000L
} D3D11_RESOURCE_MISC_FLAG; } D3D11_RESOURCE_MISC_FLAG;
typedef typedef
enum D3D11_MAP enum D3D11_MAP
{ D3D11_MAP_READ = 1, {
D3D11_MAP_WRITE = 2, D3D11_MAP_READ = 1,
D3D11_MAP_READ_WRITE = 3, D3D11_MAP_WRITE = 2,
D3D11_MAP_WRITE_DISCARD = 4, D3D11_MAP_READ_WRITE = 3,
D3D11_MAP_WRITE_NO_OVERWRITE = 5 D3D11_MAP_WRITE_DISCARD = 4,
D3D11_MAP_WRITE_NO_OVERWRITE = 5
} D3D11_MAP; } D3D11_MAP;
typedef typedef
enum D3D11_MAP_FLAG enum D3D11_MAP_FLAG
{ D3D11_MAP_FLAG_DO_NOT_WAIT = 0x100000L {
D3D11_MAP_FLAG_DO_NOT_WAIT = 0x100000L
} D3D11_MAP_FLAG; } D3D11_MAP_FLAG;
typedef typedef
enum D3D11_RAISE_FLAG enum D3D11_RAISE_FLAG
{ D3D11_RAISE_FLAG_DRIVER_INTERNAL_ERROR = 0x1L {
D3D11_RAISE_FLAG_DRIVER_INTERNAL_ERROR = 0x1L
} D3D11_RAISE_FLAG; } D3D11_RAISE_FLAG;
typedef typedef
enum D3D11_CLEAR_FLAG enum D3D11_CLEAR_FLAG
{ D3D11_CLEAR_DEPTH = 0x1L, {
D3D11_CLEAR_STENCIL = 0x2L D3D11_CLEAR_DEPTH = 0x1L,
D3D11_CLEAR_STENCIL = 0x2L
} D3D11_CLEAR_FLAG; } D3D11_CLEAR_FLAG;
typedef RECT D3D11_RECT; typedef RECT D3D11_RECT;
#if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus ) #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
} }
struct CD3D11_RECT : public D3D11_RECT struct CD3D11_RECT : public D3D11_RECT
{ {
CD3D11_RECT() CD3D11_RECT()
{} {}
skipping to change at line 1281 skipping to change at line 1324
EXTERN_C const IID IID_ID3D11DeviceChild; EXTERN_C const IID IID_ID3D11DeviceChild;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1841e5c8-16b0-489b-bcc8-44cfb0d5deae") MIDL_INTERFACE("1841e5c8-16b0-489b-bcc8-44cfb0d5deae")
ID3D11DeviceChild : public IUnknown ID3D11DeviceChild : public IUnknown
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDevice( virtual void STDMETHODCALLTYPE GetDevice(
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice) = 0; _Out_ ID3D11Device **ppDevice) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPrivateData( virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData) = 0; _Out_writes_bytes_opt_( *pDataSize ) void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateData( virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData) = 0; _In_reads_bytes_opt_( DataSize ) const void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface( virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData) = 0; _In_opt_ const IUnknown *pData) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11DeviceChildVtbl typedef struct ID3D11DeviceChildVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11DeviceChild * This, ID3D11DeviceChild * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11DeviceChild * This); ID3D11DeviceChild * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11DeviceChild * This); ID3D11DeviceChild * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11DeviceChild * This, ID3D11DeviceChild * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11DeviceChild * This, ID3D11DeviceChild * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11DeviceChild * This, ID3D11DeviceChild * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11DeviceChild * This, ID3D11DeviceChild * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D11DeviceChildVtbl; } ID3D11DeviceChildVtbl;
interface ID3D11DeviceChild interface ID3D11DeviceChild
{ {
CONST_VTBL struct ID3D11DeviceChildVtbl *lpVtbl; CONST_VTBL struct ID3D11DeviceChildVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 1397 skipping to change at line 1440
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D11DeviceChild_INTERFACE_DEFINED__ */ #endif /* __ID3D11DeviceChild_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0001 */ /* interface __MIDL_itf_d3d11_0000_0001 */
/* [local] */ /* [local] */
typedef typedef
enum D3D11_COMPARISON_FUNC enum D3D11_COMPARISON_FUNC
{ D3D11_COMPARISON_NEVER = 1, {
D3D11_COMPARISON_LESS = 2, D3D11_COMPARISON_NEVER = 1,
D3D11_COMPARISON_EQUAL = 3, D3D11_COMPARISON_LESS = 2,
D3D11_COMPARISON_LESS_EQUAL = 4, D3D11_COMPARISON_EQUAL = 3,
D3D11_COMPARISON_GREATER = 5, D3D11_COMPARISON_LESS_EQUAL = 4,
D3D11_COMPARISON_NOT_EQUAL = 6, D3D11_COMPARISON_GREATER = 5,
D3D11_COMPARISON_GREATER_EQUAL = 7, D3D11_COMPARISON_NOT_EQUAL = 6,
D3D11_COMPARISON_ALWAYS = 8 D3D11_COMPARISON_GREATER_EQUAL = 7,
D3D11_COMPARISON_ALWAYS = 8
} D3D11_COMPARISON_FUNC; } D3D11_COMPARISON_FUNC;
typedef typedef
enum D3D11_DEPTH_WRITE_MASK enum D3D11_DEPTH_WRITE_MASK
{ D3D11_DEPTH_WRITE_MASK_ZERO = 0, {
D3D11_DEPTH_WRITE_MASK_ALL = 1 D3D11_DEPTH_WRITE_MASK_ZERO = 0,
D3D11_DEPTH_WRITE_MASK_ALL = 1
} D3D11_DEPTH_WRITE_MASK; } D3D11_DEPTH_WRITE_MASK;
typedef typedef
enum D3D11_STENCIL_OP enum D3D11_STENCIL_OP
{ D3D11_STENCIL_OP_KEEP = 1, {
D3D11_STENCIL_OP_ZERO = 2, D3D11_STENCIL_OP_KEEP = 1,
D3D11_STENCIL_OP_REPLACE = 3, D3D11_STENCIL_OP_ZERO = 2,
D3D11_STENCIL_OP_INCR_SAT = 4, D3D11_STENCIL_OP_REPLACE = 3,
D3D11_STENCIL_OP_DECR_SAT = 5, D3D11_STENCIL_OP_INCR_SAT = 4,
D3D11_STENCIL_OP_INVERT = 6, D3D11_STENCIL_OP_DECR_SAT = 5,
D3D11_STENCIL_OP_INCR = 7, D3D11_STENCIL_OP_INVERT = 6,
D3D11_STENCIL_OP_DECR = 8 D3D11_STENCIL_OP_INCR = 7,
D3D11_STENCIL_OP_DECR = 8
} D3D11_STENCIL_OP; } D3D11_STENCIL_OP;
typedef struct D3D11_DEPTH_STENCILOP_DESC typedef struct D3D11_DEPTH_STENCILOP_DESC
{ {
D3D11_STENCIL_OP StencilFailOp; D3D11_STENCIL_OP StencilFailOp;
D3D11_STENCIL_OP StencilDepthFailOp; D3D11_STENCIL_OP StencilDepthFailOp;
D3D11_STENCIL_OP StencilPassOp; D3D11_STENCIL_OP StencilPassOp;
D3D11_COMPARISON_FUNC StencilFunc; D3D11_COMPARISON_FUNC StencilFunc;
} D3D11_DEPTH_STENCILOP_DESC; } D3D11_DEPTH_STENCILOP_DESC;
skipping to change at line 1523 skipping to change at line 1569
EXTERN_C const IID IID_ID3D11DepthStencilState; EXTERN_C const IID IID_ID3D11DepthStencilState;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("03823efb-8d8f-4e1c-9aa2-f64bb2cbfdf1") MIDL_INTERFACE("03823efb-8d8f-4e1c-9aa2-f64bb2cbfdf1")
ID3D11DepthStencilState : public ID3D11DeviceChild ID3D11DepthStencilState : public ID3D11DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_DEPTH_STENCIL_DESC *pDesc) = 0; _Out_ D3D11_DEPTH_STENCIL_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11DepthStencilStateVtbl typedef struct ID3D11DepthStencilStateVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11DepthStencilState * This, ID3D11DepthStencilState * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11DepthStencilState * This); ID3D11DepthStencilState * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11DepthStencilState * This); ID3D11DepthStencilState * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11DepthStencilState * This, ID3D11DepthStencilState * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11DepthStencilState * This, ID3D11DepthStencilState * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11DepthStencilState * This, ID3D11DepthStencilState * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11DepthStencilState * This, ID3D11DepthStencilState * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11DepthStencilState * This, ID3D11DepthStencilState * This,
/* [annotation] */ /* [annotation] */
__out D3D11_DEPTH_STENCIL_DESC *pDesc); _Out_ D3D11_DEPTH_STENCIL_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11DepthStencilStateVtbl; } ID3D11DepthStencilStateVtbl;
interface ID3D11DepthStencilState interface ID3D11DepthStencilState
{ {
CONST_VTBL struct ID3D11DepthStencilStateVtbl *lpVtbl; CONST_VTBL struct ID3D11DepthStencilStateVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 1625 skipping to change at line 1671
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D11DepthStencilState_INTERFACE_DEFINED__ */ #endif /* __ID3D11DepthStencilState_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0002 */ /* interface __MIDL_itf_d3d11_0000_0002 */
/* [local] */ /* [local] */
typedef typedef
enum D3D11_BLEND enum D3D11_BLEND
{ D3D11_BLEND_ZERO = 1, {
D3D11_BLEND_ONE = 2, D3D11_BLEND_ZERO = 1,
D3D11_BLEND_SRC_COLOR = 3, D3D11_BLEND_ONE = 2,
D3D11_BLEND_INV_SRC_COLOR = 4, D3D11_BLEND_SRC_COLOR = 3,
D3D11_BLEND_SRC_ALPHA = 5, D3D11_BLEND_INV_SRC_COLOR = 4,
D3D11_BLEND_INV_SRC_ALPHA = 6, D3D11_BLEND_SRC_ALPHA = 5,
D3D11_BLEND_DEST_ALPHA = 7, D3D11_BLEND_INV_SRC_ALPHA = 6,
D3D11_BLEND_INV_DEST_ALPHA = 8, D3D11_BLEND_DEST_ALPHA = 7,
D3D11_BLEND_DEST_COLOR = 9, D3D11_BLEND_INV_DEST_ALPHA = 8,
D3D11_BLEND_INV_DEST_COLOR = 10, D3D11_BLEND_DEST_COLOR = 9,
D3D11_BLEND_SRC_ALPHA_SAT = 11, D3D11_BLEND_INV_DEST_COLOR = 10,
D3D11_BLEND_BLEND_FACTOR = 14, D3D11_BLEND_SRC_ALPHA_SAT = 11,
D3D11_BLEND_INV_BLEND_FACTOR = 15, D3D11_BLEND_BLEND_FACTOR = 14,
D3D11_BLEND_SRC1_COLOR = 16, D3D11_BLEND_INV_BLEND_FACTOR = 15,
D3D11_BLEND_INV_SRC1_COLOR = 17, D3D11_BLEND_SRC1_COLOR = 16,
D3D11_BLEND_SRC1_ALPHA = 18, D3D11_BLEND_INV_SRC1_COLOR = 17,
D3D11_BLEND_INV_SRC1_ALPHA = 19 D3D11_BLEND_SRC1_ALPHA = 18,
D3D11_BLEND_INV_SRC1_ALPHA = 19
} D3D11_BLEND; } D3D11_BLEND;
typedef typedef
enum D3D11_BLEND_OP enum D3D11_BLEND_OP
{ D3D11_BLEND_OP_ADD = 1, {
D3D11_BLEND_OP_SUBTRACT = 2, D3D11_BLEND_OP_ADD = 1,
D3D11_BLEND_OP_REV_SUBTRACT = 3, D3D11_BLEND_OP_SUBTRACT = 2,
D3D11_BLEND_OP_MIN = 4, D3D11_BLEND_OP_REV_SUBTRACT = 3,
D3D11_BLEND_OP_MAX = 5 D3D11_BLEND_OP_MIN = 4,
D3D11_BLEND_OP_MAX = 5
} D3D11_BLEND_OP; } D3D11_BLEND_OP;
typedef typedef
enum D3D11_COLOR_WRITE_ENABLE enum D3D11_COLOR_WRITE_ENABLE
{ D3D11_COLOR_WRITE_ENABLE_RED = 1, {
D3D11_COLOR_WRITE_ENABLE_GREEN = 2, D3D11_COLOR_WRITE_ENABLE_RED = 1,
D3D11_COLOR_WRITE_ENABLE_BLUE = 4, D3D11_COLOR_WRITE_ENABLE_GREEN = 2,
D3D11_COLOR_WRITE_ENABLE_ALPHA = 8, D3D11_COLOR_WRITE_ENABLE_BLUE = 4,
D3D11_COLOR_WRITE_ENABLE_ALL = ( ( ( D3D11_COLOR_WRITE_ENABLE_RED | D3 D3D11_COLOR_WRITE_ENABLE_ALPHA = 8,
D11_COLOR_WRITE_ENABLE_GREEN ) | D3D11_COLOR_WRITE_ENABLE_BLUE ) | D3D11_COLOR D3D11_COLOR_WRITE_ENABLE_ALL = ( ( ( D3D11_COLOR_WRITE_ENABLE_RED | D3
_WRITE_ENABLE_ALPHA ) D11_COLOR_WRITE_ENABLE_GREEN ) | D3D11_COLOR_WRITE_ENABLE_BLUE ) | D3D11_COLOR
_WRITE_ENABLE_ALPHA )
} D3D11_COLOR_WRITE_ENABLE; } D3D11_COLOR_WRITE_ENABLE;
typedef struct D3D11_RENDER_TARGET_BLEND_DESC typedef struct D3D11_RENDER_TARGET_BLEND_DESC
{ {
BOOL BlendEnable; BOOL BlendEnable;
D3D11_BLEND SrcBlend; D3D11_BLEND SrcBlend;
D3D11_BLEND DestBlend; D3D11_BLEND DestBlend;
D3D11_BLEND_OP BlendOp; D3D11_BLEND_OP BlendOp;
D3D11_BLEND SrcBlendAlpha; D3D11_BLEND SrcBlendAlpha;
D3D11_BLEND DestBlendAlpha; D3D11_BLEND DestBlendAlpha;
skipping to change at line 1731 skipping to change at line 1780
EXTERN_C const IID IID_ID3D11BlendState; EXTERN_C const IID IID_ID3D11BlendState;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("75b68faa-347d-4159-8f45-a0640f01cd9a") MIDL_INTERFACE("75b68faa-347d-4159-8f45-a0640f01cd9a")
ID3D11BlendState : public ID3D11DeviceChild ID3D11BlendState : public ID3D11DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_BLEND_DESC *pDesc) = 0; _Out_ D3D11_BLEND_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11BlendStateVtbl typedef struct ID3D11BlendStateVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11BlendState * This, ID3D11BlendState * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11BlendState * This); ID3D11BlendState * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11BlendState * This); ID3D11BlendState * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11BlendState * This, ID3D11BlendState * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11BlendState * This, ID3D11BlendState * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11BlendState * This, ID3D11BlendState * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11BlendState * This, ID3D11BlendState * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11BlendState * This, ID3D11BlendState * This,
/* [annotation] */ /* [annotation] */
__out D3D11_BLEND_DESC *pDesc); _Out_ D3D11_BLEND_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11BlendStateVtbl; } ID3D11BlendStateVtbl;
interface ID3D11BlendState interface ID3D11BlendState
{ {
CONST_VTBL struct ID3D11BlendStateVtbl *lpVtbl; CONST_VTBL struct ID3D11BlendStateVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 1915 skipping to change at line 1964
EXTERN_C const IID IID_ID3D11RasterizerState; EXTERN_C const IID IID_ID3D11RasterizerState;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9bb4ab81-ab1a-4d8f-b506-fc04200b6ee7") MIDL_INTERFACE("9bb4ab81-ab1a-4d8f-b506-fc04200b6ee7")
ID3D11RasterizerState : public ID3D11DeviceChild ID3D11RasterizerState : public ID3D11DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_RASTERIZER_DESC *pDesc) = 0; _Out_ D3D11_RASTERIZER_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11RasterizerStateVtbl typedef struct ID3D11RasterizerStateVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11RasterizerState * This, ID3D11RasterizerState * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11RasterizerState * This); ID3D11RasterizerState * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11RasterizerState * This); ID3D11RasterizerState * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11RasterizerState * This, ID3D11RasterizerState * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11RasterizerState * This, ID3D11RasterizerState * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11RasterizerState * This, ID3D11RasterizerState * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11RasterizerState * This, ID3D11RasterizerState * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11RasterizerState * This, ID3D11RasterizerState * This,
/* [annotation] */ /* [annotation] */
__out D3D11_RASTERIZER_DESC *pDesc); _Out_ D3D11_RASTERIZER_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11RasterizerStateVtbl; } ID3D11RasterizerStateVtbl;
interface ID3D11RasterizerState interface ID3D11RasterizerState
{ {
CONST_VTBL struct ID3D11RasterizerStateVtbl *lpVtbl; CONST_VTBL struct ID3D11RasterizerStateVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 2054 skipping to change at line 2103
EXTERN_C const IID IID_ID3D11Resource; EXTERN_C const IID IID_ID3D11Resource;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("dc8e63f3-d12b-4952-b47b-5e45026a862d") MIDL_INTERFACE("dc8e63f3-d12b-4952-b47b-5e45026a862d")
ID3D11Resource : public ID3D11DeviceChild ID3D11Resource : public ID3D11DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetType( virtual void STDMETHODCALLTYPE GetType(
/* [annotation] */ /* [annotation] */
__out D3D11_RESOURCE_DIMENSION *pResourceDimension) = 0; _Out_ D3D11_RESOURCE_DIMENSION *pResourceDimension) = 0;
virtual void STDMETHODCALLTYPE SetEvictionPriority( virtual void STDMETHODCALLTYPE SetEvictionPriority(
/* [annotation] */ /* [annotation] */
__in UINT EvictionPriority) = 0; _In_ UINT EvictionPriority) = 0;
virtual UINT STDMETHODCALLTYPE GetEvictionPriority( void) = 0; virtual UINT STDMETHODCALLTYPE GetEvictionPriority( void) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11ResourceVtbl typedef struct ID3D11ResourceVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11Resource * This, ID3D11Resource * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11Resource * This); ID3D11Resource * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11Resource * This); ID3D11Resource * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11Resource * This, ID3D11Resource * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11Resource * This, ID3D11Resource * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11Resource * This, ID3D11Resource * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11Resource * This, ID3D11Resource * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )( void ( STDMETHODCALLTYPE *GetType )(
ID3D11Resource * This, ID3D11Resource * This,
/* [annotation] */ /* [annotation] */
__out D3D11_RESOURCE_DIMENSION *pResourceDimension); _Out_ D3D11_RESOURCE_DIMENSION *pResourceDimension);
void ( STDMETHODCALLTYPE *SetEvictionPriority )( void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D11Resource * This, ID3D11Resource * This,
/* [annotation] */ /* [annotation] */
__in UINT EvictionPriority); _In_ UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )( UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D11Resource * This); ID3D11Resource * This);
END_INTERFACE END_INTERFACE
} ID3D11ResourceVtbl; } ID3D11ResourceVtbl;
interface ID3D11Resource interface ID3D11Resource
{ {
CONST_VTBL struct ID3D11ResourceVtbl *lpVtbl; CONST_VTBL struct ID3D11ResourceVtbl *lpVtbl;
skipping to change at line 2233 skipping to change at line 2282
EXTERN_C const IID IID_ID3D11Buffer; EXTERN_C const IID IID_ID3D11Buffer;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("48570b85-d1ee-4fcd-a250-eb350722b037") MIDL_INTERFACE("48570b85-d1ee-4fcd-a250-eb350722b037")
ID3D11Buffer : public ID3D11Resource ID3D11Buffer : public ID3D11Resource
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_BUFFER_DESC *pDesc) = 0; _Out_ D3D11_BUFFER_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11BufferVtbl typedef struct ID3D11BufferVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11Buffer * This, ID3D11Buffer * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11Buffer * This); ID3D11Buffer * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11Buffer * This); ID3D11Buffer * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11Buffer * This, ID3D11Buffer * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11Buffer * This, ID3D11Buffer * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11Buffer * This, ID3D11Buffer * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11Buffer * This, ID3D11Buffer * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )( void ( STDMETHODCALLTYPE *GetType )(
ID3D11Buffer * This, ID3D11Buffer * This,
/* [annotation] */ /* [annotation] */
__out D3D11_RESOURCE_DIMENSION *pResourceDimension); _Out_ D3D11_RESOURCE_DIMENSION *pResourceDimension);
void ( STDMETHODCALLTYPE *SetEvictionPriority )( void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D11Buffer * This, ID3D11Buffer * This,
/* [annotation] */ /* [annotation] */
__in UINT EvictionPriority); _In_ UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )( UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D11Buffer * This); ID3D11Buffer * This);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11Buffer * This, ID3D11Buffer * This,
/* [annotation] */ /* [annotation] */
__out D3D11_BUFFER_DESC *pDesc); _Out_ D3D11_BUFFER_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11BufferVtbl; } ID3D11BufferVtbl;
interface ID3D11Buffer interface ID3D11Buffer
{ {
CONST_VTBL struct ID3D11BufferVtbl *lpVtbl; CONST_VTBL struct ID3D11BufferVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 2420 skipping to change at line 2469
EXTERN_C const IID IID_ID3D11Texture1D; EXTERN_C const IID IID_ID3D11Texture1D;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("f8fb5c27-c6b3-4f75-a4c8-439af2ef564c") MIDL_INTERFACE("f8fb5c27-c6b3-4f75-a4c8-439af2ef564c")
ID3D11Texture1D : public ID3D11Resource ID3D11Texture1D : public ID3D11Resource
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_TEXTURE1D_DESC *pDesc) = 0; _Out_ D3D11_TEXTURE1D_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11Texture1DVtbl typedef struct ID3D11Texture1DVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11Texture1D * This, ID3D11Texture1D * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11Texture1D * This); ID3D11Texture1D * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11Texture1D * This); ID3D11Texture1D * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11Texture1D * This, ID3D11Texture1D * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11Texture1D * This, ID3D11Texture1D * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11Texture1D * This, ID3D11Texture1D * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11Texture1D * This, ID3D11Texture1D * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )( void ( STDMETHODCALLTYPE *GetType )(
ID3D11Texture1D * This, ID3D11Texture1D * This,
/* [annotation] */ /* [annotation] */
__out D3D11_RESOURCE_DIMENSION *pResourceDimension); _Out_ D3D11_RESOURCE_DIMENSION *pResourceDimension);
void ( STDMETHODCALLTYPE *SetEvictionPriority )( void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D11Texture1D * This, ID3D11Texture1D * This,
/* [annotation] */ /* [annotation] */
__in UINT EvictionPriority); _In_ UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )( UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D11Texture1D * This); ID3D11Texture1D * This);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11Texture1D * This, ID3D11Texture1D * This,
/* [annotation] */ /* [annotation] */
__out D3D11_TEXTURE1D_DESC *pDesc); _Out_ D3D11_TEXTURE1D_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11Texture1DVtbl; } ID3D11Texture1DVtbl;
interface ID3D11Texture1D interface ID3D11Texture1D
{ {
CONST_VTBL struct ID3D11Texture1DVtbl *lpVtbl; CONST_VTBL struct ID3D11Texture1DVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 2615 skipping to change at line 2664
EXTERN_C const IID IID_ID3D11Texture2D; EXTERN_C const IID IID_ID3D11Texture2D;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("6f15aaf2-d208-4e89-9ab4-489535d34f9c") MIDL_INTERFACE("6f15aaf2-d208-4e89-9ab4-489535d34f9c")
ID3D11Texture2D : public ID3D11Resource ID3D11Texture2D : public ID3D11Resource
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_TEXTURE2D_DESC *pDesc) = 0; _Out_ D3D11_TEXTURE2D_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11Texture2DVtbl typedef struct ID3D11Texture2DVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11Texture2D * This, ID3D11Texture2D * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11Texture2D * This); ID3D11Texture2D * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11Texture2D * This); ID3D11Texture2D * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11Texture2D * This, ID3D11Texture2D * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11Texture2D * This, ID3D11Texture2D * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11Texture2D * This, ID3D11Texture2D * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11Texture2D * This, ID3D11Texture2D * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )( void ( STDMETHODCALLTYPE *GetType )(
ID3D11Texture2D * This, ID3D11Texture2D * This,
/* [annotation] */ /* [annotation] */
__out D3D11_RESOURCE_DIMENSION *pResourceDimension); _Out_ D3D11_RESOURCE_DIMENSION *pResourceDimension);
void ( STDMETHODCALLTYPE *SetEvictionPriority )( void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D11Texture2D * This, ID3D11Texture2D * This,
/* [annotation] */ /* [annotation] */
__in UINT EvictionPriority); _In_ UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )( UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D11Texture2D * This); ID3D11Texture2D * This);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11Texture2D * This, ID3D11Texture2D * This,
/* [annotation] */ /* [annotation] */
__out D3D11_TEXTURE2D_DESC *pDesc); _Out_ D3D11_TEXTURE2D_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11Texture2DVtbl; } ID3D11Texture2DVtbl;
interface ID3D11Texture2D interface ID3D11Texture2D
{ {
CONST_VTBL struct ID3D11Texture2DVtbl *lpVtbl; CONST_VTBL struct ID3D11Texture2DVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 2805 skipping to change at line 2854
EXTERN_C const IID IID_ID3D11Texture3D; EXTERN_C const IID IID_ID3D11Texture3D;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("037e866e-f56d-4357-a8af-9dabbe6e250e") MIDL_INTERFACE("037e866e-f56d-4357-a8af-9dabbe6e250e")
ID3D11Texture3D : public ID3D11Resource ID3D11Texture3D : public ID3D11Resource
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_TEXTURE3D_DESC *pDesc) = 0; _Out_ D3D11_TEXTURE3D_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11Texture3DVtbl typedef struct ID3D11Texture3DVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11Texture3D * This, ID3D11Texture3D * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11Texture3D * This); ID3D11Texture3D * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11Texture3D * This); ID3D11Texture3D * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11Texture3D * This, ID3D11Texture3D * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11Texture3D * This, ID3D11Texture3D * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11Texture3D * This, ID3D11Texture3D * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11Texture3D * This, ID3D11Texture3D * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )( void ( STDMETHODCALLTYPE *GetType )(
ID3D11Texture3D * This, ID3D11Texture3D * This,
/* [annotation] */ /* [annotation] */
__out D3D11_RESOURCE_DIMENSION *pResourceDimension); _Out_ D3D11_RESOURCE_DIMENSION *pResourceDimension);
void ( STDMETHODCALLTYPE *SetEvictionPriority )( void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D11Texture3D * This, ID3D11Texture3D * This,
/* [annotation] */ /* [annotation] */
__in UINT EvictionPriority); _In_ UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )( UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D11Texture3D * This); ID3D11Texture3D * This);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11Texture3D * This, ID3D11Texture3D * This,
/* [annotation] */ /* [annotation] */
__out D3D11_TEXTURE3D_DESC *pDesc); _Out_ D3D11_TEXTURE3D_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11Texture3DVtbl; } ID3D11Texture3DVtbl;
interface ID3D11Texture3D interface ID3D11Texture3D
{ {
CONST_VTBL struct ID3D11Texture3DVtbl *lpVtbl; CONST_VTBL struct ID3D11Texture3DVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 2929 skipping to change at line 2978
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D11Texture3D_INTERFACE_DEFINED__ */ #endif /* __ID3D11Texture3D_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0009 */ /* interface __MIDL_itf_d3d11_0000_0009 */
/* [local] */ /* [local] */
typedef typedef
enum D3D11_TEXTURECUBE_FACE enum D3D11_TEXTURECUBE_FACE
{ D3D11_TEXTURECUBE_FACE_POSITIVE_X = 0, {
D3D11_TEXTURECUBE_FACE_NEGATIVE_X = 1, D3D11_TEXTURECUBE_FACE_POSITIVE_X = 0,
D3D11_TEXTURECUBE_FACE_POSITIVE_Y = 2, D3D11_TEXTURECUBE_FACE_NEGATIVE_X = 1,
D3D11_TEXTURECUBE_FACE_NEGATIVE_Y = 3, D3D11_TEXTURECUBE_FACE_POSITIVE_Y = 2,
D3D11_TEXTURECUBE_FACE_POSITIVE_Z = 4, D3D11_TEXTURECUBE_FACE_NEGATIVE_Y = 3,
D3D11_TEXTURECUBE_FACE_NEGATIVE_Z = 5 D3D11_TEXTURECUBE_FACE_POSITIVE_Z = 4,
D3D11_TEXTURECUBE_FACE_NEGATIVE_Z = 5
} D3D11_TEXTURECUBE_FACE; } D3D11_TEXTURECUBE_FACE;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0009_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0009_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0009_v0_0_s_ifspec; extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0009_v0_0_s_ifspec;
#ifndef __ID3D11View_INTERFACE_DEFINED__ #ifndef __ID3D11View_INTERFACE_DEFINED__
#define __ID3D11View_INTERFACE_DEFINED__ #define __ID3D11View_INTERFACE_DEFINED__
/* interface ID3D11View */ /* interface ID3D11View */
/* [unique][local][object][uuid] */ /* [unique][local][object][uuid] */
skipping to change at line 2956 skipping to change at line 3006
EXTERN_C const IID IID_ID3D11View; EXTERN_C const IID IID_ID3D11View;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("839d1216-bb2e-412b-b7f4-a9dbebe08ed1") MIDL_INTERFACE("839d1216-bb2e-412b-b7f4-a9dbebe08ed1")
ID3D11View : public ID3D11DeviceChild ID3D11View : public ID3D11DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetResource( virtual void STDMETHODCALLTYPE GetResource(
/* [annotation] */ /* [annotation] */
__out ID3D11Resource **ppResource) = 0; _Out_ ID3D11Resource **ppResource) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11ViewVtbl typedef struct ID3D11ViewVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11View * This, ID3D11View * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11View * This); ID3D11View * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11View * This); ID3D11View * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11View * This, ID3D11View * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11View * This, ID3D11View * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11View * This, ID3D11View * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11View * This, ID3D11View * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )( void ( STDMETHODCALLTYPE *GetResource )(
ID3D11View * This, ID3D11View * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Resource **ppResource); _Out_ ID3D11Resource **ppResource);
END_INTERFACE END_INTERFACE
} ID3D11ViewVtbl; } ID3D11ViewVtbl;
interface ID3D11View interface ID3D11View
{ {
CONST_VTBL struct ID3D11ViewVtbl *lpVtbl; CONST_VTBL struct ID3D11ViewVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 3072 skipping to change at line 3122
} ; } ;
union union
{ {
UINT NumElements; UINT NumElements;
UINT ElementWidth; UINT ElementWidth;
} ; } ;
} D3D11_BUFFER_SRV; } D3D11_BUFFER_SRV;
typedef typedef
enum D3D11_BUFFEREX_SRV_FLAG enum D3D11_BUFFEREX_SRV_FLAG
{ D3D11_BUFFEREX_SRV_FLAG_RAW = 0x1 {
D3D11_BUFFEREX_SRV_FLAG_RAW = 0x1
} D3D11_BUFFEREX_SRV_FLAG; } D3D11_BUFFEREX_SRV_FLAG;
typedef struct D3D11_BUFFEREX_SRV typedef struct D3D11_BUFFEREX_SRV
{ {
UINT FirstElement; UINT FirstElement;
UINT NumElements; UINT NumElements;
UINT Flags; UINT Flags;
} D3D11_BUFFEREX_SRV; } D3D11_BUFFEREX_SRV;
typedef struct D3D11_TEX1D_SRV typedef struct D3D11_TEX1D_SRV
skipping to change at line 3236 skipping to change at line 3287
break; break;
case D3D11_SRV_DIMENSION_BUFFEREX: case D3D11_SRV_DIMENSION_BUFFEREX:
BufferEx.FirstElement = mostDetailedMip; BufferEx.FirstElement = mostDetailedMip;
BufferEx.NumElements = mipLevels; BufferEx.NumElements = mipLevels;
BufferEx.Flags = flags; BufferEx.Flags = flags;
break; break;
default: break; default: break;
} }
} }
explicit CD3D11_SHADER_RESOURCE_VIEW_DESC( explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(
__in ID3D11Buffer*, _In_ ID3D11Buffer*,
DXGI_FORMAT format, DXGI_FORMAT format,
UINT firstElement, UINT firstElement,
UINT numElements, UINT numElements,
UINT flags = 0 ) UINT flags = 0 )
{ {
Format = format; Format = format;
ViewDimension = D3D11_SRV_DIMENSION_BUFFEREX; ViewDimension = D3D11_SRV_DIMENSION_BUFFEREX;
BufferEx.FirstElement = firstElement; BufferEx.FirstElement = firstElement;
BufferEx.NumElements = numElements; BufferEx.NumElements = numElements;
BufferEx.Flags = flags; BufferEx.Flags = flags;
} }
explicit CD3D11_SHADER_RESOURCE_VIEW_DESC( explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(
__in ID3D11Texture1D* pTex1D, _In_ ID3D11Texture1D* pTex1D,
D3D11_SRV_DIMENSION viewDimension, D3D11_SRV_DIMENSION viewDimension,
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
UINT mostDetailedMip = 0, UINT mostDetailedMip = 0,
UINT mipLevels = -1, UINT mipLevels = -1,
UINT firstArraySlice = 0, UINT firstArraySlice = 0,
UINT arraySize = -1 ) UINT arraySize = -1 )
{ {
ViewDimension = viewDimension; ViewDimension = viewDimension;
if (DXGI_FORMAT_UNKNOWN == format || -1 == mipLevels || if (DXGI_FORMAT_UNKNOWN == format || -1 == mipLevels ||
(-1 == arraySize && D3D11_SRV_DIMENSION_TEXTURE1DARRAY == viewDimens ion)) (-1 == arraySize && D3D11_SRV_DIMENSION_TEXTURE1DARRAY == viewDimens ion))
skipping to change at line 3284 skipping to change at line 3335
case D3D11_SRV_DIMENSION_TEXTURE1DARRAY: case D3D11_SRV_DIMENSION_TEXTURE1DARRAY:
Texture1DArray.MostDetailedMip = mostDetailedMip; Texture1DArray.MostDetailedMip = mostDetailedMip;
Texture1DArray.MipLevels = mipLevels; Texture1DArray.MipLevels = mipLevels;
Texture1DArray.FirstArraySlice = firstArraySlice; Texture1DArray.FirstArraySlice = firstArraySlice;
Texture1DArray.ArraySize = arraySize; Texture1DArray.ArraySize = arraySize;
break; break;
default: break; default: break;
} }
} }
explicit CD3D11_SHADER_RESOURCE_VIEW_DESC( explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(
__in ID3D11Texture2D* pTex2D, _In_ ID3D11Texture2D* pTex2D,
D3D11_SRV_DIMENSION viewDimension, D3D11_SRV_DIMENSION viewDimension,
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
UINT mostDetailedMip = 0, UINT mostDetailedMip = 0,
UINT mipLevels = -1, UINT mipLevels = -1,
UINT firstArraySlice = 0, // First2DArrayFace for TEXTURECUBEARRAY UINT firstArraySlice = 0, // First2DArrayFace for TEXTURECUBEARRAY
UINT arraySize = -1 ) // NumCubes for TEXTURECUBEARRAY UINT arraySize = -1 ) // NumCubes for TEXTURECUBEARRAY
{ {
ViewDimension = viewDimension; ViewDimension = viewDimension;
if (DXGI_FORMAT_UNKNOWN == format || if (DXGI_FORMAT_UNKNOWN == format ||
(-1 == mipLevels && (-1 == mipLevels &&
skipping to change at line 3345 skipping to change at line 3396
case D3D11_SRV_DIMENSION_TEXTURECUBEARRAY: case D3D11_SRV_DIMENSION_TEXTURECUBEARRAY:
TextureCubeArray.MostDetailedMip = mostDetailedMip; TextureCubeArray.MostDetailedMip = mostDetailedMip;
TextureCubeArray.MipLevels = mipLevels; TextureCubeArray.MipLevels = mipLevels;
TextureCubeArray.First2DArrayFace = firstArraySlice; TextureCubeArray.First2DArrayFace = firstArraySlice;
TextureCubeArray.NumCubes = arraySize; TextureCubeArray.NumCubes = arraySize;
break; break;
default: break; default: break;
} }
} }
explicit CD3D11_SHADER_RESOURCE_VIEW_DESC( explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(
__in ID3D11Texture3D* pTex3D, _In_ ID3D11Texture3D* pTex3D,
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
UINT mostDetailedMip = 0, UINT mostDetailedMip = 0,
UINT mipLevels = -1 ) UINT mipLevels = -1 )
{ {
ViewDimension = D3D11_SRV_DIMENSION_TEXTURE3D; ViewDimension = D3D11_SRV_DIMENSION_TEXTURE3D;
if (DXGI_FORMAT_UNKNOWN == format || -1 == mipLevels) if (DXGI_FORMAT_UNKNOWN == format || -1 == mipLevels)
{ {
D3D11_TEXTURE3D_DESC TexDesc; D3D11_TEXTURE3D_DESC TexDesc;
pTex3D->GetDesc( &TexDesc ); pTex3D->GetDesc( &TexDesc );
if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format; if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
skipping to change at line 3387 skipping to change at line 3438
EXTERN_C const IID IID_ID3D11ShaderResourceView; EXTERN_C const IID IID_ID3D11ShaderResourceView;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("b0e06fe0-8192-4e1a-b1ca-36d7414710b2") MIDL_INTERFACE("b0e06fe0-8192-4e1a-b1ca-36d7414710b2")
ID3D11ShaderResourceView : public ID3D11View ID3D11ShaderResourceView : public ID3D11View
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc) = 0; _Out_ D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11ShaderResourceViewVtbl typedef struct ID3D11ShaderResourceViewVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11ShaderResourceView * This, ID3D11ShaderResourceView * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11ShaderResourceView * This); ID3D11ShaderResourceView * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11ShaderResourceView * This); ID3D11ShaderResourceView * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11ShaderResourceView * This, ID3D11ShaderResourceView * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11ShaderResourceView * This, ID3D11ShaderResourceView * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11ShaderResourceView * This, ID3D11ShaderResourceView * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11ShaderResourceView * This, ID3D11ShaderResourceView * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )( void ( STDMETHODCALLTYPE *GetResource )(
ID3D11ShaderResourceView * This, ID3D11ShaderResourceView * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Resource **ppResource); _Out_ ID3D11Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11ShaderResourceView * This, ID3D11ShaderResourceView * This,
/* [annotation] */ /* [annotation] */
__out D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc); _Out_ D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11ShaderResourceViewVtbl; } ID3D11ShaderResourceViewVtbl;
interface ID3D11ShaderResourceView interface ID3D11ShaderResourceView
{ {
CONST_VTBL struct ID3D11ShaderResourceViewVtbl *lpVtbl; CONST_VTBL struct ID3D11ShaderResourceViewVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 3623 skipping to change at line 3674
break; break;
case D3D11_RTV_DIMENSION_TEXTURE3D: case D3D11_RTV_DIMENSION_TEXTURE3D:
Texture3D.MipSlice = mipSlice; Texture3D.MipSlice = mipSlice;
Texture3D.FirstWSlice = firstArraySlice; Texture3D.FirstWSlice = firstArraySlice;
Texture3D.WSize = arraySize; Texture3D.WSize = arraySize;
break; break;
default: break; default: break;
} }
} }
explicit CD3D11_RENDER_TARGET_VIEW_DESC( explicit CD3D11_RENDER_TARGET_VIEW_DESC(
__in ID3D11Buffer*, _In_ ID3D11Buffer*,
DXGI_FORMAT format, DXGI_FORMAT format,
UINT firstElement, UINT firstElement,
UINT numElements ) UINT numElements )
{ {
Format = format; Format = format;
ViewDimension = D3D11_RTV_DIMENSION_BUFFER; ViewDimension = D3D11_RTV_DIMENSION_BUFFER;
Buffer.FirstElement = firstElement; Buffer.FirstElement = firstElement;
Buffer.NumElements = numElements; Buffer.NumElements = numElements;
} }
explicit CD3D11_RENDER_TARGET_VIEW_DESC( explicit CD3D11_RENDER_TARGET_VIEW_DESC(
__in ID3D11Texture1D* pTex1D, _In_ ID3D11Texture1D* pTex1D,
D3D11_RTV_DIMENSION viewDimension, D3D11_RTV_DIMENSION viewDimension,
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
UINT mipSlice = 0, UINT mipSlice = 0,
UINT firstArraySlice = 0, UINT firstArraySlice = 0,
UINT arraySize = -1 ) UINT arraySize = -1 )
{ {
ViewDimension = viewDimension; ViewDimension = viewDimension;
if (DXGI_FORMAT_UNKNOWN == format || if (DXGI_FORMAT_UNKNOWN == format ||
(-1 == arraySize && D3D11_RTV_DIMENSION_TEXTURE1DARRAY == viewDimens ion)) (-1 == arraySize && D3D11_RTV_DIMENSION_TEXTURE1DARRAY == viewDimens ion))
{ {
skipping to change at line 3665 skipping to change at line 3716
break; break;
case D3D11_RTV_DIMENSION_TEXTURE1DARRAY: case D3D11_RTV_DIMENSION_TEXTURE1DARRAY:
Texture1DArray.MipSlice = mipSlice; Texture1DArray.MipSlice = mipSlice;
Texture1DArray.FirstArraySlice = firstArraySlice; Texture1DArray.FirstArraySlice = firstArraySlice;
Texture1DArray.ArraySize = arraySize; Texture1DArray.ArraySize = arraySize;
break; break;
default: break; default: break;
} }
} }
explicit CD3D11_RENDER_TARGET_VIEW_DESC( explicit CD3D11_RENDER_TARGET_VIEW_DESC(
__in ID3D11Texture2D* pTex2D, _In_ ID3D11Texture2D* pTex2D,
D3D11_RTV_DIMENSION viewDimension, D3D11_RTV_DIMENSION viewDimension,
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
UINT mipSlice = 0, UINT mipSlice = 0,
UINT firstArraySlice = 0, UINT firstArraySlice = 0,
UINT arraySize = -1 ) UINT arraySize = -1 )
{ {
ViewDimension = viewDimension; ViewDimension = viewDimension;
if (DXGI_FORMAT_UNKNOWN == format || if (DXGI_FORMAT_UNKNOWN == format ||
(-1 == arraySize && (-1 == arraySize &&
(D3D11_RTV_DIMENSION_TEXTURE2DARRAY == viewDimension || (D3D11_RTV_DIMENSION_TEXTURE2DARRAY == viewDimension ||
skipping to change at line 3704 skipping to change at line 3755
case D3D11_RTV_DIMENSION_TEXTURE2DMS: case D3D11_RTV_DIMENSION_TEXTURE2DMS:
break; break;
case D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY: case D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY:
Texture2DMSArray.FirstArraySlice = firstArraySlice; Texture2DMSArray.FirstArraySlice = firstArraySlice;
Texture2DMSArray.ArraySize = arraySize; Texture2DMSArray.ArraySize = arraySize;
break; break;
default: break; default: break;
} }
} }
explicit CD3D11_RENDER_TARGET_VIEW_DESC( explicit CD3D11_RENDER_TARGET_VIEW_DESC(
__in ID3D11Texture3D* pTex3D, _In_ ID3D11Texture3D* pTex3D,
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
UINT mipSlice = 0, UINT mipSlice = 0,
UINT firstWSlice = 0, UINT firstWSlice = 0,
UINT wSize = -1 ) UINT wSize = -1 )
{ {
ViewDimension = D3D11_RTV_DIMENSION_TEXTURE3D; ViewDimension = D3D11_RTV_DIMENSION_TEXTURE3D;
if (DXGI_FORMAT_UNKNOWN == format || -1 == wSize) if (DXGI_FORMAT_UNKNOWN == format || -1 == wSize)
{ {
D3D11_TEXTURE3D_DESC TexDesc; D3D11_TEXTURE3D_DESC TexDesc;
pTex3D->GetDesc( &TexDesc ); pTex3D->GetDesc( &TexDesc );
skipping to change at line 3748 skipping to change at line 3799
EXTERN_C const IID IID_ID3D11RenderTargetView; EXTERN_C const IID IID_ID3D11RenderTargetView;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("dfdba067-0b8d-4865-875b-d7b4516cc164") MIDL_INTERFACE("dfdba067-0b8d-4865-875b-d7b4516cc164")
ID3D11RenderTargetView : public ID3D11View ID3D11RenderTargetView : public ID3D11View
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_RENDER_TARGET_VIEW_DESC *pDesc) = 0; _Out_ D3D11_RENDER_TARGET_VIEW_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11RenderTargetViewVtbl typedef struct ID3D11RenderTargetViewVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11RenderTargetView * This, ID3D11RenderTargetView * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11RenderTargetView * This); ID3D11RenderTargetView * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11RenderTargetView * This); ID3D11RenderTargetView * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11RenderTargetView * This, ID3D11RenderTargetView * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11RenderTargetView * This, ID3D11RenderTargetView * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11RenderTargetView * This, ID3D11RenderTargetView * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11RenderTargetView * This, ID3D11RenderTargetView * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )( void ( STDMETHODCALLTYPE *GetResource )(
ID3D11RenderTargetView * This, ID3D11RenderTargetView * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Resource **ppResource); _Out_ ID3D11Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11RenderTargetView * This, ID3D11RenderTargetView * This,
/* [annotation] */ /* [annotation] */
__out D3D11_RENDER_TARGET_VIEW_DESC *pDesc); _Out_ D3D11_RENDER_TARGET_VIEW_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11RenderTargetViewVtbl; } ID3D11RenderTargetViewVtbl;
interface ID3D11RenderTargetView interface ID3D11RenderTargetView
{ {
CONST_VTBL struct ID3D11RenderTargetViewVtbl *lpVtbl; CONST_VTBL struct ID3D11RenderTargetViewVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 3881 skipping to change at line 3932
FLOAT maxDepth = D3D11_MAX_DEPTH ) FLOAT maxDepth = D3D11_MAX_DEPTH )
{ {
TopLeftX = topLeftX; TopLeftX = topLeftX;
TopLeftY = topLeftY; TopLeftY = topLeftY;
Width = width; Width = width;
Height = height; Height = height;
MinDepth = minDepth; MinDepth = minDepth;
MaxDepth = maxDepth; MaxDepth = maxDepth;
} }
explicit CD3D11_VIEWPORT( explicit CD3D11_VIEWPORT(
__in ID3D11Buffer*, _In_ ID3D11Buffer*,
__in ID3D11RenderTargetView* pRTView, _In_ ID3D11RenderTargetView* pRTView,
FLOAT topLeftX = 0.0f, FLOAT topLeftX = 0.0f,
FLOAT minDepth = D3D11_MIN_DEPTH, FLOAT minDepth = D3D11_MIN_DEPTH,
FLOAT maxDepth = D3D11_MAX_DEPTH ) FLOAT maxDepth = D3D11_MAX_DEPTH )
{ {
D3D11_RENDER_TARGET_VIEW_DESC RTVDesc; D3D11_RENDER_TARGET_VIEW_DESC RTVDesc;
pRTView->GetDesc( &RTVDesc ); pRTView->GetDesc( &RTVDesc );
UINT NumElements = 0; UINT NumElements = 0;
switch (RTVDesc.ViewDimension) switch (RTVDesc.ViewDimension)
{ {
case D3D11_RTV_DIMENSION_BUFFER: case D3D11_RTV_DIMENSION_BUFFER:
skipping to change at line 3905 skipping to change at line 3956
default: break; default: break;
} }
TopLeftX = topLeftX; TopLeftX = topLeftX;
TopLeftY = 0.0f; TopLeftY = 0.0f;
Width = NumElements - topLeftX; Width = NumElements - topLeftX;
Height = 1.0f; Height = 1.0f;
MinDepth = minDepth; MinDepth = minDepth;
MaxDepth = maxDepth; MaxDepth = maxDepth;
} }
explicit CD3D11_VIEWPORT( explicit CD3D11_VIEWPORT(
__in ID3D11Texture1D* pTex1D, _In_ ID3D11Texture1D* pTex1D,
__in ID3D11RenderTargetView* pRTView, _In_ ID3D11RenderTargetView* pRTView,
FLOAT topLeftX = 0.0f, FLOAT topLeftX = 0.0f,
FLOAT minDepth = D3D11_MIN_DEPTH, FLOAT minDepth = D3D11_MIN_DEPTH,
FLOAT maxDepth = D3D11_MAX_DEPTH ) FLOAT maxDepth = D3D11_MAX_DEPTH )
{ {
D3D11_TEXTURE1D_DESC TexDesc; D3D11_TEXTURE1D_DESC TexDesc;
pTex1D->GetDesc( &TexDesc ); pTex1D->GetDesc( &TexDesc );
D3D11_RENDER_TARGET_VIEW_DESC RTVDesc; D3D11_RENDER_TARGET_VIEW_DESC RTVDesc;
pRTView->GetDesc( &RTVDesc ); pRTView->GetDesc( &RTVDesc );
UINT MipSlice = 0; UINT MipSlice = 0;
switch (RTVDesc.ViewDimension) switch (RTVDesc.ViewDimension)
skipping to change at line 3935 skipping to change at line 3986
} }
const UINT SubResourceWidth = TexDesc.Width / (UINT( 1 ) << MipSlice); const UINT SubResourceWidth = TexDesc.Width / (UINT( 1 ) << MipSlice);
TopLeftX = topLeftX; TopLeftX = topLeftX;
TopLeftY = 0.0f; TopLeftY = 0.0f;
Width = (SubResourceWidth ? SubResourceWidth : 1) - topLeftX; Width = (SubResourceWidth ? SubResourceWidth : 1) - topLeftX;
Height = 1.0f; Height = 1.0f;
MinDepth = minDepth; MinDepth = minDepth;
MaxDepth = maxDepth; MaxDepth = maxDepth;
} }
explicit CD3D11_VIEWPORT( explicit CD3D11_VIEWPORT(
__in ID3D11Texture2D* pTex2D, _In_ ID3D11Texture2D* pTex2D,
__in ID3D11RenderTargetView* pRTView, _In_ ID3D11RenderTargetView* pRTView,
FLOAT topLeftX = 0.0f, FLOAT topLeftX = 0.0f,
FLOAT topLeftY = 0.0f, FLOAT topLeftY = 0.0f,
FLOAT minDepth = D3D11_MIN_DEPTH, FLOAT minDepth = D3D11_MIN_DEPTH,
FLOAT maxDepth = D3D11_MAX_DEPTH ) FLOAT maxDepth = D3D11_MAX_DEPTH )
{ {
D3D11_TEXTURE2D_DESC TexDesc; D3D11_TEXTURE2D_DESC TexDesc;
pTex2D->GetDesc( &TexDesc ); pTex2D->GetDesc( &TexDesc );
D3D11_RENDER_TARGET_VIEW_DESC RTVDesc; D3D11_RENDER_TARGET_VIEW_DESC RTVDesc;
pRTView->GetDesc( &RTVDesc ); pRTView->GetDesc( &RTVDesc );
UINT MipSlice = 0; UINT MipSlice = 0;
skipping to change at line 3970 skipping to change at line 4021
const UINT SubResourceWidth = TexDesc.Width / (UINT( 1 ) << MipSlice); const UINT SubResourceWidth = TexDesc.Width / (UINT( 1 ) << MipSlice);
const UINT SubResourceHeight = TexDesc.Height / (UINT( 1 ) << MipSlice); const UINT SubResourceHeight = TexDesc.Height / (UINT( 1 ) << MipSlice);
TopLeftX = topLeftX; TopLeftX = topLeftX;
TopLeftY = topLeftY; TopLeftY = topLeftY;
Width = (SubResourceWidth ? SubResourceWidth : 1) - topLeftX; Width = (SubResourceWidth ? SubResourceWidth : 1) - topLeftX;
Height = (SubResourceHeight ? SubResourceHeight : 1) - topLeftY; Height = (SubResourceHeight ? SubResourceHeight : 1) - topLeftY;
MinDepth = minDepth; MinDepth = minDepth;
MaxDepth = maxDepth; MaxDepth = maxDepth;
} }
explicit CD3D11_VIEWPORT( explicit CD3D11_VIEWPORT(
__in ID3D11Texture3D* pTex3D, _In_ ID3D11Texture3D* pTex3D,
__in ID3D11RenderTargetView* pRTView, _In_ ID3D11RenderTargetView* pRTView,
FLOAT topLeftX = 0.0f, FLOAT topLeftX = 0.0f,
FLOAT topLeftY = 0.0f, FLOAT topLeftY = 0.0f,
FLOAT minDepth = D3D11_MIN_DEPTH, FLOAT minDepth = D3D11_MIN_DEPTH,
FLOAT maxDepth = D3D11_MAX_DEPTH ) FLOAT maxDepth = D3D11_MAX_DEPTH )
{ {
D3D11_TEXTURE3D_DESC TexDesc; D3D11_TEXTURE3D_DESC TexDesc;
pTex3D->GetDesc( &TexDesc ); pTex3D->GetDesc( &TexDesc );
D3D11_RENDER_TARGET_VIEW_DESC RTVDesc; D3D11_RENDER_TARGET_VIEW_DESC RTVDesc;
pRTView->GetDesc( &RTVDesc ); pRTView->GetDesc( &RTVDesc );
UINT MipSlice = 0; UINT MipSlice = 0;
skipping to change at line 4040 skipping to change at line 4091
} D3D11_TEX2DMS_DSV; } D3D11_TEX2DMS_DSV;
typedef struct D3D11_TEX2DMS_ARRAY_DSV typedef struct D3D11_TEX2DMS_ARRAY_DSV
{ {
UINT FirstArraySlice; UINT FirstArraySlice;
UINT ArraySize; UINT ArraySize;
} D3D11_TEX2DMS_ARRAY_DSV; } D3D11_TEX2DMS_ARRAY_DSV;
typedef typedef
enum D3D11_DSV_FLAG enum D3D11_DSV_FLAG
{ D3D11_DSV_READ_ONLY_DEPTH = 0x1L, {
D3D11_DSV_READ_ONLY_STENCIL = 0x2L D3D11_DSV_READ_ONLY_DEPTH = 0x1L,
D3D11_DSV_READ_ONLY_STENCIL = 0x2L
} D3D11_DSV_FLAG; } D3D11_DSV_FLAG;
typedef struct D3D11_DEPTH_STENCIL_VIEW_DESC typedef struct D3D11_DEPTH_STENCIL_VIEW_DESC
{ {
DXGI_FORMAT Format; DXGI_FORMAT Format;
D3D11_DSV_DIMENSION ViewDimension; D3D11_DSV_DIMENSION ViewDimension;
UINT Flags; UINT Flags;
union union
{ {
D3D11_TEX1D_DSV Texture1D; D3D11_TEX1D_DSV Texture1D;
skipping to change at line 4108 skipping to change at line 4160
case D3D11_DSV_DIMENSION_TEXTURE2DMS: case D3D11_DSV_DIMENSION_TEXTURE2DMS:
break; break;
case D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY: case D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY:
Texture2DMSArray.FirstArraySlice = firstArraySlice; Texture2DMSArray.FirstArraySlice = firstArraySlice;
Texture2DMSArray.ArraySize = arraySize; Texture2DMSArray.ArraySize = arraySize;
break; break;
default: break; default: break;
} }
} }
explicit CD3D11_DEPTH_STENCIL_VIEW_DESC( explicit CD3D11_DEPTH_STENCIL_VIEW_DESC(
__in ID3D11Texture1D* pTex1D, _In_ ID3D11Texture1D* pTex1D,
D3D11_DSV_DIMENSION viewDimension, D3D11_DSV_DIMENSION viewDimension,
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
UINT mipSlice = 0, UINT mipSlice = 0,
UINT firstArraySlice = 0, UINT firstArraySlice = 0,
UINT arraySize = -1, UINT arraySize = -1,
UINT flags = 0 ) UINT flags = 0 )
{ {
ViewDimension = viewDimension; ViewDimension = viewDimension;
Flags = flags; Flags = flags;
if (DXGI_FORMAT_UNKNOWN == format || if (DXGI_FORMAT_UNKNOWN == format ||
skipping to change at line 4141 skipping to change at line 4193
break; break;
case D3D11_DSV_DIMENSION_TEXTURE1DARRAY: case D3D11_DSV_DIMENSION_TEXTURE1DARRAY:
Texture1DArray.MipSlice = mipSlice; Texture1DArray.MipSlice = mipSlice;
Texture1DArray.FirstArraySlice = firstArraySlice; Texture1DArray.FirstArraySlice = firstArraySlice;
Texture1DArray.ArraySize = arraySize; Texture1DArray.ArraySize = arraySize;
break; break;
default: break; default: break;
} }
} }
explicit CD3D11_DEPTH_STENCIL_VIEW_DESC( explicit CD3D11_DEPTH_STENCIL_VIEW_DESC(
__in ID3D11Texture2D* pTex2D, _In_ ID3D11Texture2D* pTex2D,
D3D11_DSV_DIMENSION viewDimension, D3D11_DSV_DIMENSION viewDimension,
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
UINT mipSlice = 0, UINT mipSlice = 0,
UINT firstArraySlice = 0, UINT firstArraySlice = 0,
UINT arraySize = -1, UINT arraySize = -1,
UINT flags = 0 ) UINT flags = 0 )
{ {
ViewDimension = viewDimension; ViewDimension = viewDimension;
Flags = flags; Flags = flags;
if (DXGI_FORMAT_UNKNOWN == format || if (DXGI_FORMAT_UNKNOWN == format ||
skipping to change at line 4206 skipping to change at line 4258
EXTERN_C const IID IID_ID3D11DepthStencilView; EXTERN_C const IID IID_ID3D11DepthStencilView;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9fdac92a-1876-48c3-afad-25b94f84a9b6") MIDL_INTERFACE("9fdac92a-1876-48c3-afad-25b94f84a9b6")
ID3D11DepthStencilView : public ID3D11View ID3D11DepthStencilView : public ID3D11View
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc) = 0; _Out_ D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11DepthStencilViewVtbl typedef struct ID3D11DepthStencilViewVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11DepthStencilView * This, ID3D11DepthStencilView * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11DepthStencilView * This); ID3D11DepthStencilView * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11DepthStencilView * This); ID3D11DepthStencilView * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11DepthStencilView * This, ID3D11DepthStencilView * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11DepthStencilView * This, ID3D11DepthStencilView * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11DepthStencilView * This, ID3D11DepthStencilView * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11DepthStencilView * This, ID3D11DepthStencilView * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )( void ( STDMETHODCALLTYPE *GetResource )(
ID3D11DepthStencilView * This, ID3D11DepthStencilView * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Resource **ppResource); _Out_ ID3D11Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11DepthStencilView * This, ID3D11DepthStencilView * This,
/* [annotation] */ /* [annotation] */
__out D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc); _Out_ D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11DepthStencilViewVtbl; } ID3D11DepthStencilViewVtbl;
interface ID3D11DepthStencilView interface ID3D11DepthStencilView
{ {
CONST_VTBL struct ID3D11DepthStencilViewVtbl *lpVtbl; CONST_VTBL struct ID3D11DepthStencilViewVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 4316 skipping to change at line 4368
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D11DepthStencilView_INTERFACE_DEFINED__ */ #endif /* __ID3D11DepthStencilView_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0013 */ /* interface __MIDL_itf_d3d11_0000_0013 */
/* [local] */ /* [local] */
typedef typedef
enum D3D11_BUFFER_UAV_FLAG enum D3D11_BUFFER_UAV_FLAG
{ D3D11_BUFFER_UAV_FLAG_RAW = 0x1, {
D3D11_BUFFER_UAV_FLAG_APPEND = 0x2, D3D11_BUFFER_UAV_FLAG_RAW = 0x1,
D3D11_BUFFER_UAV_FLAG_COUNTER = 0x4 D3D11_BUFFER_UAV_FLAG_APPEND = 0x2,
D3D11_BUFFER_UAV_FLAG_COUNTER = 0x4
} D3D11_BUFFER_UAV_FLAG; } D3D11_BUFFER_UAV_FLAG;
typedef struct D3D11_BUFFER_UAV typedef struct D3D11_BUFFER_UAV
{ {
UINT FirstElement; UINT FirstElement;
UINT NumElements; UINT NumElements;
UINT Flags; UINT Flags;
} D3D11_BUFFER_UAV; } D3D11_BUFFER_UAV;
typedef struct D3D11_TEX1D_UAV typedef struct D3D11_TEX1D_UAV
skipping to change at line 4425 skipping to change at line 4478
break; break;
case D3D11_UAV_DIMENSION_TEXTURE3D: case D3D11_UAV_DIMENSION_TEXTURE3D:
Texture3D.MipSlice = mipSlice; Texture3D.MipSlice = mipSlice;
Texture3D.FirstWSlice = firstArraySlice; Texture3D.FirstWSlice = firstArraySlice;
Texture3D.WSize = arraySize; Texture3D.WSize = arraySize;
break; break;
default: break; default: break;
} }
} }
explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC( explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC(
__in ID3D11Buffer*, _In_ ID3D11Buffer*,
DXGI_FORMAT format, DXGI_FORMAT format,
UINT firstElement, UINT firstElement,
UINT numElements, UINT numElements,
UINT flags = 0 ) UINT flags = 0 )
{ {
Format = format; Format = format;
ViewDimension = D3D11_UAV_DIMENSION_BUFFER; ViewDimension = D3D11_UAV_DIMENSION_BUFFER;
Buffer.FirstElement = firstElement; Buffer.FirstElement = firstElement;
Buffer.NumElements = numElements; Buffer.NumElements = numElements;
Buffer.Flags = flags; Buffer.Flags = flags;
} }
explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC( explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC(
__in ID3D11Texture1D* pTex1D, _In_ ID3D11Texture1D* pTex1D,
D3D11_UAV_DIMENSION viewDimension, D3D11_UAV_DIMENSION viewDimension,
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
UINT mipSlice = 0, UINT mipSlice = 0,
UINT firstArraySlice = 0, UINT firstArraySlice = 0,
UINT arraySize = -1 ) UINT arraySize = -1 )
{ {
ViewDimension = viewDimension; ViewDimension = viewDimension;
if (DXGI_FORMAT_UNKNOWN == format || if (DXGI_FORMAT_UNKNOWN == format ||
(-1 == arraySize && D3D11_UAV_DIMENSION_TEXTURE1DARRAY == viewDimens ion)) (-1 == arraySize && D3D11_UAV_DIMENSION_TEXTURE1DARRAY == viewDimens ion))
{ {
skipping to change at line 4469 skipping to change at line 4522
break; break;
case D3D11_UAV_DIMENSION_TEXTURE1DARRAY: case D3D11_UAV_DIMENSION_TEXTURE1DARRAY:
Texture1DArray.MipSlice = mipSlice; Texture1DArray.MipSlice = mipSlice;
Texture1DArray.FirstArraySlice = firstArraySlice; Texture1DArray.FirstArraySlice = firstArraySlice;
Texture1DArray.ArraySize = arraySize; Texture1DArray.ArraySize = arraySize;
break; break;
default: break; default: break;
} }
} }
explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC( explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC(
__in ID3D11Texture2D* pTex2D, _In_ ID3D11Texture2D* pTex2D,
D3D11_UAV_DIMENSION viewDimension, D3D11_UAV_DIMENSION viewDimension,
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
UINT mipSlice = 0, UINT mipSlice = 0,
UINT firstArraySlice = 0, UINT firstArraySlice = 0,
UINT arraySize = -1 ) UINT arraySize = -1 )
{ {
ViewDimension = viewDimension; ViewDimension = viewDimension;
if (DXGI_FORMAT_UNKNOWN == format || if (DXGI_FORMAT_UNKNOWN == format ||
(-1 == arraySize && D3D11_UAV_DIMENSION_TEXTURE2DARRAY == viewDimens ion)) (-1 == arraySize && D3D11_UAV_DIMENSION_TEXTURE2DARRAY == viewDimens ion))
{ {
skipping to change at line 4500 skipping to change at line 4553
break; break;
case D3D11_UAV_DIMENSION_TEXTURE2DARRAY: case D3D11_UAV_DIMENSION_TEXTURE2DARRAY:
Texture2DArray.MipSlice = mipSlice; Texture2DArray.MipSlice = mipSlice;
Texture2DArray.FirstArraySlice = firstArraySlice; Texture2DArray.FirstArraySlice = firstArraySlice;
Texture2DArray.ArraySize = arraySize; Texture2DArray.ArraySize = arraySize;
break; break;
default: break; default: break;
} }
} }
explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC( explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC(
__in ID3D11Texture3D* pTex3D, _In_ ID3D11Texture3D* pTex3D,
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN, DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
UINT mipSlice = 0, UINT mipSlice = 0,
UINT firstWSlice = 0, UINT firstWSlice = 0,
UINT wSize = -1 ) UINT wSize = -1 )
{ {
ViewDimension = D3D11_UAV_DIMENSION_TEXTURE3D; ViewDimension = D3D11_UAV_DIMENSION_TEXTURE3D;
if (DXGI_FORMAT_UNKNOWN == format || -1 == wSize) if (DXGI_FORMAT_UNKNOWN == format || -1 == wSize)
{ {
D3D11_TEXTURE3D_DESC TexDesc; D3D11_TEXTURE3D_DESC TexDesc;
pTex3D->GetDesc( &TexDesc ); pTex3D->GetDesc( &TexDesc );
skipping to change at line 4544 skipping to change at line 4597
EXTERN_C const IID IID_ID3D11UnorderedAccessView; EXTERN_C const IID IID_ID3D11UnorderedAccessView;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("28acf509-7f5c-48f6-8611-f316010a6380") MIDL_INTERFACE("28acf509-7f5c-48f6-8611-f316010a6380")
ID3D11UnorderedAccessView : public ID3D11View ID3D11UnorderedAccessView : public ID3D11View
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc) = 0; _Out_ D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11UnorderedAccessViewVtbl typedef struct ID3D11UnorderedAccessViewVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11UnorderedAccessView * This, ID3D11UnorderedAccessView * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11UnorderedAccessView * This); ID3D11UnorderedAccessView * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11UnorderedAccessView * This); ID3D11UnorderedAccessView * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11UnorderedAccessView * This, ID3D11UnorderedAccessView * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11UnorderedAccessView * This, ID3D11UnorderedAccessView * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11UnorderedAccessView * This, ID3D11UnorderedAccessView * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11UnorderedAccessView * This, ID3D11UnorderedAccessView * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )( void ( STDMETHODCALLTYPE *GetResource )(
ID3D11UnorderedAccessView * This, ID3D11UnorderedAccessView * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Resource **ppResource); _Out_ ID3D11Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11UnorderedAccessView * This, ID3D11UnorderedAccessView * This,
/* [annotation] */ /* [annotation] */
__out D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc); _Out_ D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11UnorderedAccessViewVtbl; } ID3D11UnorderedAccessViewVtbl;
interface ID3D11UnorderedAccessView interface ID3D11UnorderedAccessView
{ {
CONST_VTBL struct ID3D11UnorderedAccessViewVtbl *lpVtbl; CONST_VTBL struct ID3D11UnorderedAccessViewVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 4675 skipping to change at line 4728
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11VertexShaderVtbl typedef struct ID3D11VertexShaderVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11VertexShader * This, ID3D11VertexShader * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11VertexShader * This); ID3D11VertexShader * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11VertexShader * This); ID3D11VertexShader * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11VertexShader * This, ID3D11VertexShader * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11VertexShader * This, ID3D11VertexShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11VertexShader * This, ID3D11VertexShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11VertexShader * This, ID3D11VertexShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D11VertexShaderVtbl; } ID3D11VertexShaderVtbl;
interface ID3D11VertexShader interface ID3D11VertexShader
{ {
CONST_VTBL struct ID3D11VertexShaderVtbl *lpVtbl; CONST_VTBL struct ID3D11VertexShaderVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 4776 skipping to change at line 4829
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11HullShaderVtbl typedef struct ID3D11HullShaderVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11HullShader * This, ID3D11HullShader * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11HullShader * This); ID3D11HullShader * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11HullShader * This); ID3D11HullShader * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11HullShader * This, ID3D11HullShader * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11HullShader * This, ID3D11HullShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11HullShader * This, ID3D11HullShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11HullShader * This, ID3D11HullShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D11HullShaderVtbl; } ID3D11HullShaderVtbl;
interface ID3D11HullShader interface ID3D11HullShader
{ {
CONST_VTBL struct ID3D11HullShaderVtbl *lpVtbl; CONST_VTBL struct ID3D11HullShaderVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 4877 skipping to change at line 4930
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11DomainShaderVtbl typedef struct ID3D11DomainShaderVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11DomainShader * This, ID3D11DomainShader * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11DomainShader * This); ID3D11DomainShader * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11DomainShader * This); ID3D11DomainShader * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11DomainShader * This, ID3D11DomainShader * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11DomainShader * This, ID3D11DomainShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11DomainShader * This, ID3D11DomainShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11DomainShader * This, ID3D11DomainShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D11DomainShaderVtbl; } ID3D11DomainShaderVtbl;
interface ID3D11DomainShader interface ID3D11DomainShader
{ {
CONST_VTBL struct ID3D11DomainShaderVtbl *lpVtbl; CONST_VTBL struct ID3D11DomainShaderVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 4978 skipping to change at line 5031
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11GeometryShaderVtbl typedef struct ID3D11GeometryShaderVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11GeometryShader * This, ID3D11GeometryShader * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11GeometryShader * This); ID3D11GeometryShader * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11GeometryShader * This); ID3D11GeometryShader * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11GeometryShader * This, ID3D11GeometryShader * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11GeometryShader * This, ID3D11GeometryShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11GeometryShader * This, ID3D11GeometryShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11GeometryShader * This, ID3D11GeometryShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D11GeometryShaderVtbl; } ID3D11GeometryShaderVtbl;
interface ID3D11GeometryShader interface ID3D11GeometryShader
{ {
CONST_VTBL struct ID3D11GeometryShaderVtbl *lpVtbl; CONST_VTBL struct ID3D11GeometryShaderVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 5079 skipping to change at line 5132
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11PixelShaderVtbl typedef struct ID3D11PixelShaderVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11PixelShader * This, ID3D11PixelShader * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11PixelShader * This); ID3D11PixelShader * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11PixelShader * This); ID3D11PixelShader * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11PixelShader * This, ID3D11PixelShader * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11PixelShader * This, ID3D11PixelShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11PixelShader * This, ID3D11PixelShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11PixelShader * This, ID3D11PixelShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D11PixelShaderVtbl; } ID3D11PixelShaderVtbl;
interface ID3D11PixelShader interface ID3D11PixelShader
{ {
CONST_VTBL struct ID3D11PixelShaderVtbl *lpVtbl; CONST_VTBL struct ID3D11PixelShaderVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 5180 skipping to change at line 5233
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11ComputeShaderVtbl typedef struct ID3D11ComputeShaderVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11ComputeShader * This, ID3D11ComputeShader * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11ComputeShader * This); ID3D11ComputeShader * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11ComputeShader * This); ID3D11ComputeShader * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11ComputeShader * This, ID3D11ComputeShader * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11ComputeShader * This, ID3D11ComputeShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11ComputeShader * This, ID3D11ComputeShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11ComputeShader * This, ID3D11ComputeShader * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D11ComputeShaderVtbl; } ID3D11ComputeShaderVtbl;
interface ID3D11ComputeShader interface ID3D11ComputeShader
{ {
CONST_VTBL struct ID3D11ComputeShaderVtbl *lpVtbl; CONST_VTBL struct ID3D11ComputeShaderVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 5281 skipping to change at line 5334
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11InputLayoutVtbl typedef struct ID3D11InputLayoutVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11InputLayout * This, ID3D11InputLayout * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11InputLayout * This); ID3D11InputLayout * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11InputLayout * This); ID3D11InputLayout * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11InputLayout * This, ID3D11InputLayout * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11InputLayout * This, ID3D11InputLayout * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11InputLayout * This, ID3D11InputLayout * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11InputLayout * This, ID3D11InputLayout * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D11InputLayoutVtbl; } ID3D11InputLayoutVtbl;
interface ID3D11InputLayout interface ID3D11InputLayout
{ {
CONST_VTBL struct ID3D11InputLayoutVtbl *lpVtbl; CONST_VTBL struct ID3D11InputLayoutVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 5361 skipping to change at line 5414
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D11InputLayout_INTERFACE_DEFINED__ */ #endif /* __ID3D11InputLayout_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0021 */ /* interface __MIDL_itf_d3d11_0000_0021 */
/* [local] */ /* [local] */
typedef typedef
enum D3D11_FILTER enum D3D11_FILTER
{ D3D11_FILTER_MIN_MAG_MIP_POINT = 0, {
D3D11_FILTER_MIN_MAG_POINT_MIP_LINEAR = 0x1, D3D11_FILTER_MIN_MAG_MIP_POINT = 0,
D3D11_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x4, D3D11_FILTER_MIN_MAG_POINT_MIP_LINEAR = 0x1,
D3D11_FILTER_MIN_POINT_MAG_MIP_LINEAR = 0x5, D3D11_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x4,
D3D11_FILTER_MIN_LINEAR_MAG_MIP_POINT = 0x10, D3D11_FILTER_MIN_POINT_MAG_MIP_LINEAR = 0x5,
D3D11_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x11, D3D11_FILTER_MIN_LINEAR_MAG_MIP_POINT = 0x10,
D3D11_FILTER_MIN_MAG_LINEAR_MIP_POINT = 0x14, D3D11_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x11,
D3D11_FILTER_MIN_MAG_MIP_LINEAR = 0x15, D3D11_FILTER_MIN_MAG_LINEAR_MIP_POINT = 0x14,
D3D11_FILTER_ANISOTROPIC = 0x55, D3D11_FILTER_MIN_MAG_MIP_LINEAR = 0x15,
D3D11_FILTER_COMPARISON_MIN_MAG_MIP_POINT = 0x80, D3D11_FILTER_ANISOTROPIC = 0x55,
D3D11_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR = 0x81, D3D11_FILTER_COMPARISON_MIN_MAG_MIP_POINT = 0x80,
D3D11_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x84, D3D11_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR = 0x81,
D3D11_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR = 0x85, D3D11_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x84,
D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT = 0x90, D3D11_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR = 0x85,
D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x91, D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT = 0x90,
D3D11_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT = 0x94, D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x91,
D3D11_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR = 0x95, D3D11_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT = 0x94,
D3D11_FILTER_COMPARISON_ANISOTROPIC = 0xd5 D3D11_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR = 0x95,
D3D11_FILTER_COMPARISON_ANISOTROPIC = 0xd5,
D3D11_FILTER_MINIMUM_MIN_MAG_MIP_POINT = 0x100,
D3D11_FILTER_MINIMUM_MIN_MAG_POINT_MIP_LINEAR = 0x101,
D3D11_FILTER_MINIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x104,
D3D11_FILTER_MINIMUM_MIN_POINT_MAG_MIP_LINEAR = 0x105,
D3D11_FILTER_MINIMUM_MIN_LINEAR_MAG_MIP_POINT = 0x110,
D3D11_FILTER_MINIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x111,
D3D11_FILTER_MINIMUM_MIN_MAG_LINEAR_MIP_POINT = 0x114,
D3D11_FILTER_MINIMUM_MIN_MAG_MIP_LINEAR = 0x115,
D3D11_FILTER_MINIMUM_ANISOTROPIC = 0x155,
D3D11_FILTER_MAXIMUM_MIN_MAG_MIP_POINT = 0x180,
D3D11_FILTER_MAXIMUM_MIN_MAG_POINT_MIP_LINEAR = 0x181,
D3D11_FILTER_MAXIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x184,
D3D11_FILTER_MAXIMUM_MIN_POINT_MAG_MIP_LINEAR = 0x185,
D3D11_FILTER_MAXIMUM_MIN_LINEAR_MAG_MIP_POINT = 0x190,
D3D11_FILTER_MAXIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x191,
D3D11_FILTER_MAXIMUM_MIN_MAG_LINEAR_MIP_POINT = 0x194,
D3D11_FILTER_MAXIMUM_MIN_MAG_MIP_LINEAR = 0x195,
D3D11_FILTER_MAXIMUM_ANISOTROPIC = 0x1d5
} D3D11_FILTER; } D3D11_FILTER;
typedef typedef
enum D3D11_FILTER_TYPE enum D3D11_FILTER_TYPE
{ D3D11_FILTER_TYPE_POINT = 0, {
D3D11_FILTER_TYPE_LINEAR = 1 D3D11_FILTER_TYPE_POINT = 0,
D3D11_FILTER_TYPE_LINEAR = 1
} D3D11_FILTER_TYPE; } D3D11_FILTER_TYPE;
typedef
enum D3D11_FILTER_REDUCTION_TYPE
{
D3D11_FILTER_REDUCTION_TYPE_STANDARD = 0,
D3D11_FILTER_REDUCTION_TYPE_COMPARISON = 1,
D3D11_FILTER_REDUCTION_TYPE_MINIMUM = 2,
D3D11_FILTER_REDUCTION_TYPE_MAXIMUM = 3
} D3D11_FILTER_REDUCTION_TYPE;
#define D3D11_FILTER_REDUCTION_TYPE_MASK ( 0x3 )
#define D3D11_FILTER_REDUCTION_TYPE_SHIFT ( 7 )
#define D3D11_FILTER_TYPE_MASK ( 0x3 ) #define D3D11_FILTER_TYPE_MASK ( 0x3 )
#define D3D11_MIN_FILTER_SHIFT ( 4 ) #define D3D11_MIN_FILTER_SHIFT ( 4 )
#define D3D11_MAG_FILTER_SHIFT ( 2 ) #define D3D11_MAG_FILTER_SHIFT ( 2 )
#define D3D11_MIP_FILTER_SHIFT ( 0 ) #define D3D11_MIP_FILTER_SHIFT ( 0 )
// D3D11_COMPARISON_FILTERING_BIT is no longer used / meaningless. The D3D11_FI
LTER_REDUCTION_TYPE enum replaced it.
// Old code that uses D3D11_COMPARISON_FILTERING_BIT and would never use D3D11_F
ILTER_MINIMUM_* or D3D11_FILTER_MAXIMUM_*
// will still work fine though, so the define is left to avoid breaks.
#define D3D11_COMPARISON_FILTERING_BIT ( 0x80 ) #define D3D11_COMPARISON_FILTERING_BIT ( 0x80 )
#define D3D11_ANISOTROPIC_FILTERING_BIT ( 0x40 ) #define D3D11_ANISOTROPIC_FILTERING_BIT ( 0x40 )
#define D3D11_ENCODE_BASIC_FILTER( min, mag, mip, bComparison ) #define D3D11_ENCODE_BASIC_FILTER( min, mag, mip, reduction )
\ \
( ( D3D11_FILTER ) ( ( ( D3D11_FILTER ) (
\ \
( ( bComparison ) ? D3D11_COMPARISON_FILTERIN ( ( ( min ) & D3D11_FILTER_TYPE_MASK ) << D3D
G_BIT : 0 ) | \ 11_MIN_FILTER_SHIFT ) | \
( ( ( min ) & D3D11_FILTER_TYPE_MASK ) << D3D ( ( ( mag ) & D3D11_FILTER_TYPE_MASK ) << D3D
11_MIN_FILTER_SHIFT ) | \ 11_MAG_FILTER_SHIFT ) | \
( ( ( mag ) & D3D11_FILTER_TYPE_MASK ) << D3D ( ( ( mip ) & D3D11_FILTER_TYPE_MASK ) << D3D
11_MAG_FILTER_SHIFT ) | \ 11_MIP_FILTER_SHIFT ) | \
( ( ( mip ) & D3D11_FILTER_TYPE_MASK ) << D3D ( ( ( reduction ) & D3D11_FILTER_REDUCTION_TY
11_MIP_FILTER_SHIFT ) ) ) PE_MASK ) << D3D11_FILTER_REDUCTION_TYPE_SHIFT ) ) )
#define D3D11_ENCODE_ANISOTROPIC_FILTER( bComparison ) #define D3D11_ENCODE_ANISOTROPIC_FILTER( reduction )
\ \
( ( D3D11_FILTER ) ( \ ( ( D3D11_FILTER ) ( \
D3D11_ANISOTROPIC_FILTERING_BIT | \ D3D11_ANISOTROPIC_FILTERING_BIT | \
D3D11_ENCODE_BASIC_FILTER( D3D11_FILTER _TYPE_LINEAR, \ D3D11_ENCODE_BASIC_FILTER( D3D11_FILTER _TYPE_LINEAR, \
D3D11_FILTER _TYPE_LINEAR, \ D3D11_FILTER _TYPE_LINEAR, \
D3D11_FILTER _TYPE_LINEAR, \ D3D11_FILTER _TYPE_LINEAR, \
bComparison ) ) ) reduction ) ) )
#define D3D11_DECODE_MIN_FILTER( d3d11Filter ) \ #define D3D11_DECODE_MIN_FILTER( d3d11Filter ) \
( ( D3D11_FILTER_TYPE ) \ ( ( D3D11_FILTER_TYPE ) \
( ( ( d3d11Filter ) >> D3D11_MIN_FILTER_SHIFT ) & D3D11_FILTER_TYPE_MASK ) ) ( ( ( d3d11Filter ) >> D3D11_MIN_FILTER_SHIFT ) & D3D11_FILTER_TYPE_MASK ) )
#define D3D11_DECODE_MAG_FILTER( d3d11Filter ) \ #define D3D11_DECODE_MAG_FILTER( d3d11Filter ) \
( ( D3D11_FILTER_TYPE ) \ ( ( D3D11_FILTER_TYPE ) \
( ( ( d3d11Filter ) >> D3D11_MAG_FILTER_SHIFT ) & D3D11_FILTER_TYPE_MASK ) ) ( ( ( d3d11Filter ) >> D3D11_MAG_FILTER_SHIFT ) & D3D11_FILTER_TYPE_MASK ) )
#define D3D11_DECODE_MIP_FILTER( d3d11Filter ) \ #define D3D11_DECODE_MIP_FILTER( d3d11Filter ) \
( ( D3D11_FILTER_TYPE ) \ ( ( D3D11_FILTER_TYPE ) \
( ( ( d3d11Filter ) >> D3D11_MIP_FILTER_SHIFT ) & D3D11_FILTER_TYPE_MASK ) ) ( ( ( d3d11Filter ) >> D3D11_MIP_FILTER_SHIFT ) & D3D11_FILTER_TYPE_MASK ) )
#define D3D11_DECODE_FILTER_REDUCTION( d3d11Filter )
\
( ( D3D11_FILTER_REDUCTION_TYPE )
\
( ( ( d3d11Filter ) >> D3D11_FILTER_REDUCTION_T
YPE_SHIFT ) & D3D11_FILTER_REDUCTION_TYPE_MASK ) )
#define D3D11_DECODE_IS_COMPARISON_FILTER( d3d11Filter ) \ #define D3D11_DECODE_IS_COMPARISON_FILTER( d3d11Filter ) \
( ( d3d11Filter ) & D3D11_COMPARISON_FILTERING_ BIT ) ( D3D11_DECODE_FILTER_REDUCTION( d3d11Filter ) == D3D11_FILTER_REDUCTION_TYPE_COMPARISON )
#define D3D11_DECODE_IS_ANISOTROPIC_FILTER( d3d11Filter ) \ #define D3D11_DECODE_IS_ANISOTROPIC_FILTER( d3d11Filter ) \
( ( ( d3d11Filter ) & D3D11_ANISOTROPIC_FILTERING_BI T ) && \ ( ( ( d3d11Filter ) & D3D11_ANISOTROPIC_FILTERING_BI T ) && \
( D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIN_FILTE R( d3d11Filter ) ) && \ ( D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIN_FILTE R( d3d11Filter ) ) && \
( D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MAG_FILTE R( d3d11Filter ) ) && \ ( D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MAG_FILTE R( d3d11Filter ) ) && \
( D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIP_FILTE R( d3d11Filter ) ) ) ( D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIP_FILTE R( d3d11Filter ) ) )
typedef typedef
enum D3D11_TEXTURE_ADDRESS_MODE enum D3D11_TEXTURE_ADDRESS_MODE
{ D3D11_TEXTURE_ADDRESS_WRAP = 1, {
D3D11_TEXTURE_ADDRESS_MIRROR = 2, D3D11_TEXTURE_ADDRESS_WRAP = 1,
D3D11_TEXTURE_ADDRESS_CLAMP = 3, D3D11_TEXTURE_ADDRESS_MIRROR = 2,
D3D11_TEXTURE_ADDRESS_BORDER = 4, D3D11_TEXTURE_ADDRESS_CLAMP = 3,
D3D11_TEXTURE_ADDRESS_MIRROR_ONCE = 5 D3D11_TEXTURE_ADDRESS_BORDER = 4,
D3D11_TEXTURE_ADDRESS_MIRROR_ONCE = 5
} D3D11_TEXTURE_ADDRESS_MODE; } D3D11_TEXTURE_ADDRESS_MODE;
typedef struct D3D11_SAMPLER_DESC typedef struct D3D11_SAMPLER_DESC
{ {
D3D11_FILTER Filter; D3D11_FILTER Filter;
D3D11_TEXTURE_ADDRESS_MODE AddressU; D3D11_TEXTURE_ADDRESS_MODE AddressU;
D3D11_TEXTURE_ADDRESS_MODE AddressV; D3D11_TEXTURE_ADDRESS_MODE AddressV;
D3D11_TEXTURE_ADDRESS_MODE AddressW; D3D11_TEXTURE_ADDRESS_MODE AddressW;
FLOAT MipLODBias; FLOAT MipLODBias;
UINT MaxAnisotropy; UINT MaxAnisotropy;
skipping to change at line 5484 skipping to change at line 5577
MaxLOD = 3.402823466e+38F; // FLT_MAX MaxLOD = 3.402823466e+38F; // FLT_MAX
} }
explicit CD3D11_SAMPLER_DESC( explicit CD3D11_SAMPLER_DESC(
D3D11_FILTER filter, D3D11_FILTER filter,
D3D11_TEXTURE_ADDRESS_MODE addressU, D3D11_TEXTURE_ADDRESS_MODE addressU,
D3D11_TEXTURE_ADDRESS_MODE addressV, D3D11_TEXTURE_ADDRESS_MODE addressV,
D3D11_TEXTURE_ADDRESS_MODE addressW, D3D11_TEXTURE_ADDRESS_MODE addressW,
FLOAT mipLODBias, FLOAT mipLODBias,
UINT maxAnisotropy, UINT maxAnisotropy,
D3D11_COMPARISON_FUNC comparisonFunc, D3D11_COMPARISON_FUNC comparisonFunc,
__in_ecount_opt( 4 ) const FLOAT* borderColor, // RGBA _In_reads_opt_( 4 ) const FLOAT* borderColor, // RGBA
FLOAT minLOD, FLOAT minLOD,
FLOAT maxLOD ) FLOAT maxLOD )
{ {
Filter = filter; Filter = filter;
AddressU = addressU; AddressU = addressU;
AddressV = addressV; AddressV = addressV;
AddressW = addressW; AddressW = addressW;
MipLODBias = mipLODBias; MipLODBias = mipLODBias;
MaxAnisotropy = maxAnisotropy; MaxAnisotropy = maxAnisotropy;
ComparisonFunc = comparisonFunc; ComparisonFunc = comparisonFunc;
skipping to change at line 5529 skipping to change at line 5622
EXTERN_C const IID IID_ID3D11SamplerState; EXTERN_C const IID IID_ID3D11SamplerState;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("da6fea51-564c-4487-9810-f0d0f9b4e3a5") MIDL_INTERFACE("da6fea51-564c-4487-9810-f0d0f9b4e3a5")
ID3D11SamplerState : public ID3D11DeviceChild ID3D11SamplerState : public ID3D11DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_SAMPLER_DESC *pDesc) = 0; _Out_ D3D11_SAMPLER_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11SamplerStateVtbl typedef struct ID3D11SamplerStateVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11SamplerState * This, ID3D11SamplerState * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11SamplerState * This); ID3D11SamplerState * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11SamplerState * This); ID3D11SamplerState * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11SamplerState * This, ID3D11SamplerState * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11SamplerState * This, ID3D11SamplerState * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11SamplerState * This, ID3D11SamplerState * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11SamplerState * This, ID3D11SamplerState * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11SamplerState * This, ID3D11SamplerState * This,
/* [annotation] */ /* [annotation] */
__out D3D11_SAMPLER_DESC *pDesc); _Out_ D3D11_SAMPLER_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11SamplerStateVtbl; } ID3D11SamplerStateVtbl;
interface ID3D11SamplerState interface ID3D11SamplerState
{ {
CONST_VTBL struct ID3D11SamplerStateVtbl *lpVtbl; CONST_VTBL struct ID3D11SamplerStateVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 5631 skipping to change at line 5724
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D11SamplerState_INTERFACE_DEFINED__ */ #endif /* __ID3D11SamplerState_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0022 */ /* interface __MIDL_itf_d3d11_0000_0022 */
/* [local] */ /* [local] */
typedef typedef
enum D3D11_FORMAT_SUPPORT enum D3D11_FORMAT_SUPPORT
{ D3D11_FORMAT_SUPPORT_BUFFER = 0x1, {
D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER = 0x2, D3D11_FORMAT_SUPPORT_BUFFER = 0x1,
D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER = 0x4, D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER = 0x2,
D3D11_FORMAT_SUPPORT_SO_BUFFER = 0x8, D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER = 0x4,
D3D11_FORMAT_SUPPORT_TEXTURE1D = 0x10, D3D11_FORMAT_SUPPORT_SO_BUFFER = 0x8,
D3D11_FORMAT_SUPPORT_TEXTURE2D = 0x20, D3D11_FORMAT_SUPPORT_TEXTURE1D = 0x10,
D3D11_FORMAT_SUPPORT_TEXTURE3D = 0x40, D3D11_FORMAT_SUPPORT_TEXTURE2D = 0x20,
D3D11_FORMAT_SUPPORT_TEXTURECUBE = 0x80, D3D11_FORMAT_SUPPORT_TEXTURE3D = 0x40,
D3D11_FORMAT_SUPPORT_SHADER_LOAD = 0x100, D3D11_FORMAT_SUPPORT_TEXTURECUBE = 0x80,
D3D11_FORMAT_SUPPORT_SHADER_SAMPLE = 0x200, D3D11_FORMAT_SUPPORT_SHADER_LOAD = 0x100,
D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON = 0x400, D3D11_FORMAT_SUPPORT_SHADER_SAMPLE = 0x200,
D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT = 0x800, D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON = 0x400,
D3D11_FORMAT_SUPPORT_MIP = 0x1000, D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT = 0x800,
D3D11_FORMAT_SUPPORT_MIP_AUTOGEN = 0x2000, D3D11_FORMAT_SUPPORT_MIP = 0x1000,
D3D11_FORMAT_SUPPORT_RENDER_TARGET = 0x4000, D3D11_FORMAT_SUPPORT_MIP_AUTOGEN = 0x2000,
D3D11_FORMAT_SUPPORT_BLENDABLE = 0x8000, D3D11_FORMAT_SUPPORT_RENDER_TARGET = 0x4000,
D3D11_FORMAT_SUPPORT_DEPTH_STENCIL = 0x10000, D3D11_FORMAT_SUPPORT_BLENDABLE = 0x8000,
D3D11_FORMAT_SUPPORT_CPU_LOCKABLE = 0x20000, D3D11_FORMAT_SUPPORT_DEPTH_STENCIL = 0x10000,
D3D11_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE = 0x40000, D3D11_FORMAT_SUPPORT_CPU_LOCKABLE = 0x20000,
D3D11_FORMAT_SUPPORT_DISPLAY = 0x80000, D3D11_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE = 0x40000,
D3D11_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT = 0x100000, D3D11_FORMAT_SUPPORT_DISPLAY = 0x80000,
D3D11_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET = 0x200000, D3D11_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT = 0x100000,
D3D11_FORMAT_SUPPORT_MULTISAMPLE_LOAD = 0x400000, D3D11_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET = 0x200000,
D3D11_FORMAT_SUPPORT_SHADER_GATHER = 0x800000, D3D11_FORMAT_SUPPORT_MULTISAMPLE_LOAD = 0x400000,
D3D11_FORMAT_SUPPORT_BACK_BUFFER_CAST = 0x1000000, D3D11_FORMAT_SUPPORT_SHADER_GATHER = 0x800000,
D3D11_FORMAT_SUPPORT_TYPED_UNORDERED_ACCESS_VIEW = 0x2000000, D3D11_FORMAT_SUPPORT_BACK_BUFFER_CAST = 0x1000000,
D3D11_FORMAT_SUPPORT_SHADER_GATHER_COMPARISON = 0x4000000 D3D11_FORMAT_SUPPORT_TYPED_UNORDERED_ACCESS_VIEW = 0x2000000,
D3D11_FORMAT_SUPPORT_SHADER_GATHER_COMPARISON = 0x4000000,
D3D11_FORMAT_SUPPORT_DECODER_OUTPUT = 0x8000000,
D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_OUTPUT = 0x10000000,
D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT = 0x20000000,
D3D11_FORMAT_SUPPORT_VIDEO_ENCODER = 0x40000000
} D3D11_FORMAT_SUPPORT; } D3D11_FORMAT_SUPPORT;
typedef typedef
enum D3D11_FORMAT_SUPPORT2 enum D3D11_FORMAT_SUPPORT2
{ D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD = 0x1, {
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS = 0x2, D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD = 0x1,
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE = D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS = 0x2,
0x4, D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE =
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE = 0x8, 0x4,
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX = 0x10, D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE = 0x8,
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX = 0x20, D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX = 0x10,
D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOAD = 0x40, D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX = 0x20,
D3D11_FORMAT_SUPPORT2_UAV_TYPED_STORE = 0x80 D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOAD = 0x40,
D3D11_FORMAT_SUPPORT2_UAV_TYPED_STORE = 0x80,
D3D11_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP = 0x100,
D3D11_FORMAT_SUPPORT2_TILED = 0x200,
D3D11_FORMAT_SUPPORT2_SHAREABLE = 0x400
} D3D11_FORMAT_SUPPORT2; } D3D11_FORMAT_SUPPORT2;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0022_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0022_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0022_v0_0_s_ifspec; extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0022_v0_0_s_ifspec;
#ifndef __ID3D11Asynchronous_INTERFACE_DEFINED__ #ifndef __ID3D11Asynchronous_INTERFACE_DEFINED__
#define __ID3D11Asynchronous_INTERFACE_DEFINED__ #define __ID3D11Asynchronous_INTERFACE_DEFINED__
/* interface ID3D11Asynchronous */ /* interface ID3D11Asynchronous */
/* [unique][local][object][uuid] */ /* [unique][local][object][uuid] */
skipping to change at line 5703 skipping to change at line 5805
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11AsynchronousVtbl typedef struct ID3D11AsynchronousVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11Asynchronous * This, ID3D11Asynchronous * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11Asynchronous * This); ID3D11Asynchronous * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11Asynchronous * This); ID3D11Asynchronous * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11Asynchronous * This, ID3D11Asynchronous * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11Asynchronous * This, ID3D11Asynchronous * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11Asynchronous * This, ID3D11Asynchronous * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11Asynchronous * This, ID3D11Asynchronous * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
UINT ( STDMETHODCALLTYPE *GetDataSize )( UINT ( STDMETHODCALLTYPE *GetDataSize )(
ID3D11Asynchronous * This); ID3D11Asynchronous * This);
END_INTERFACE END_INTERFACE
} ID3D11AsynchronousVtbl; } ID3D11AsynchronousVtbl;
interface ID3D11Asynchronous interface ID3D11Asynchronous
{ {
CONST_VTBL struct ID3D11AsynchronousVtbl *lpVtbl; CONST_VTBL struct ID3D11AsynchronousVtbl *lpVtbl;
skipping to change at line 5789 skipping to change at line 5891
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D11Asynchronous_INTERFACE_DEFINED__ */ #endif /* __ID3D11Asynchronous_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0023 */ /* interface __MIDL_itf_d3d11_0000_0023 */
/* [local] */ /* [local] */
typedef typedef
enum D3D11_ASYNC_GETDATA_FLAG enum D3D11_ASYNC_GETDATA_FLAG
{ D3D11_ASYNC_GETDATA_DONOTFLUSH = 0x1 {
D3D11_ASYNC_GETDATA_DONOTFLUSH = 0x1
} D3D11_ASYNC_GETDATA_FLAG; } D3D11_ASYNC_GETDATA_FLAG;
typedef typedef
enum D3D11_QUERY enum D3D11_QUERY
{ D3D11_QUERY_EVENT = 0, {
D3D11_QUERY_OCCLUSION = ( D3D11_QUERY_EVENT + 1 ) , D3D11_QUERY_EVENT = 0,
D3D11_QUERY_TIMESTAMP = ( D3D11_QUERY_OCCLUSION + 1 ) , D3D11_QUERY_OCCLUSION = ( D3D11_QUERY_EVENT + 1 ) ,
D3D11_QUERY_TIMESTAMP_DISJOINT = ( D3D11_QUERY_TIMESTAMP + 1 ) , D3D11_QUERY_TIMESTAMP = ( D3D11_QUERY_OCCLUSION + 1 ) ,
D3D11_QUERY_PIPELINE_STATISTICS = ( D3D11_QUERY_TIMESTAMP_DISJOINT + 1 ) D3D11_QUERY_TIMESTAMP_DISJOINT = ( D3D11_QUERY_TIMESTAMP + 1 ) ,
, D3D11_QUERY_PIPELINE_STATISTICS = ( D3D11_QUERY_TIMESTAMP_DISJOIN
D3D11_QUERY_OCCLUSION_PREDICATE = ( D3D11_QUERY_PIPELINE_STATISTICS + 1 ) T + 1 ) ,
, D3D11_QUERY_OCCLUSION_PREDICATE = ( D3D11_QUERY_PIPELINE_STATISTI
D3D11_QUERY_SO_STATISTICS = ( D3D11_QUERY_OCCLUSION_PREDICATE + 1 ) CS + 1 ) ,
, D3D11_QUERY_SO_STATISTICS = ( D3D11_QUERY_OCCLUSION_PREDICATE + 1 )
D3D11_QUERY_SO_OVERFLOW_PREDICATE = ( D3D11_QUERY_SO_STATISTICS + 1 ,
) , D3D11_QUERY_SO_OVERFLOW_PREDICATE = ( D3D11_QUERY_SO_STATISTICS + 1
D3D11_QUERY_SO_STATISTICS_STREAM0 = ( D3D11_QUERY_SO_OVERFLOW_PREDI ) ,
CATE + 1 ) , D3D11_QUERY_SO_STATISTICS_STREAM0 = ( D3D11_QUERY_SO_OVERFLOW_PREDI
D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM0 = ( D3D11_QUERY_SO_STATIS CATE + 1 ) ,
TICS_STREAM0 + 1 ) , D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM0 = ( D3D11_QUERY_SO_STATIS
D3D11_QUERY_SO_STATISTICS_STREAM1 = ( D3D11_QUERY_SO_OVERFLOW_PREDI TICS_STREAM0 + 1 ) ,
CATE_STREAM0 + 1 ) , D3D11_QUERY_SO_STATISTICS_STREAM1 = ( D3D11_QUERY_SO_OVERFLOW_PREDI
D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM1 = ( D3D11_QUERY_SO_STATIS CATE_STREAM0 + 1 ) ,
TICS_STREAM1 + 1 ) , D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM1 = ( D3D11_QUERY_SO_STATIS
D3D11_QUERY_SO_STATISTICS_STREAM2 = ( D3D11_QUERY_SO_OVERFLOW_PREDI TICS_STREAM1 + 1 ) ,
CATE_STREAM1 + 1 ) , D3D11_QUERY_SO_STATISTICS_STREAM2 = ( D3D11_QUERY_SO_OVERFLOW_PREDI
D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM2 = ( D3D11_QUERY_SO_STATIS CATE_STREAM1 + 1 ) ,
TICS_STREAM2 + 1 ) , D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM2 = ( D3D11_QUERY_SO_STATIS
D3D11_QUERY_SO_STATISTICS_STREAM3 = ( D3D11_QUERY_SO_OVERFLOW_PREDI TICS_STREAM2 + 1 ) ,
CATE_STREAM2 + 1 ) , D3D11_QUERY_SO_STATISTICS_STREAM3 = ( D3D11_QUERY_SO_OVERFLOW_PREDI
D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM3 = ( D3D11_QUERY_SO_STATIS CATE_STREAM2 + 1 ) ,
TICS_STREAM3 + 1 ) D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM3 = ( D3D11_QUERY_SO_STATIS
TICS_STREAM3 + 1 )
} D3D11_QUERY; } D3D11_QUERY;
typedef typedef
enum D3D11_QUERY_MISC_FLAG enum D3D11_QUERY_MISC_FLAG
{ D3D11_QUERY_MISC_PREDICATEHINT = 0x1 {
D3D11_QUERY_MISC_PREDICATEHINT = 0x1
} D3D11_QUERY_MISC_FLAG; } D3D11_QUERY_MISC_FLAG;
typedef struct D3D11_QUERY_DESC typedef struct D3D11_QUERY_DESC
{ {
D3D11_QUERY Query; D3D11_QUERY Query;
UINT MiscFlags; UINT MiscFlags;
} D3D11_QUERY_DESC; } D3D11_QUERY_DESC;
#if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus ) #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
} }
skipping to change at line 5864 skipping to change at line 5969
EXTERN_C const IID IID_ID3D11Query; EXTERN_C const IID IID_ID3D11Query;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("d6c00747-87b7-425e-b84d-44d108560afd") MIDL_INTERFACE("d6c00747-87b7-425e-b84d-44d108560afd")
ID3D11Query : public ID3D11Asynchronous ID3D11Query : public ID3D11Asynchronous
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_QUERY_DESC *pDesc) = 0; _Out_ D3D11_QUERY_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11QueryVtbl typedef struct ID3D11QueryVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11Query * This, ID3D11Query * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11Query * This); ID3D11Query * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11Query * This); ID3D11Query * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11Query * This, ID3D11Query * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11Query * This, ID3D11Query * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11Query * This, ID3D11Query * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11Query * This, ID3D11Query * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
UINT ( STDMETHODCALLTYPE *GetDataSize )( UINT ( STDMETHODCALLTYPE *GetDataSize )(
ID3D11Query * This); ID3D11Query * This);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11Query * This, ID3D11Query * This,
/* [annotation] */ /* [annotation] */
__out D3D11_QUERY_DESC *pDesc); _Out_ D3D11_QUERY_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11QueryVtbl; } ID3D11QueryVtbl;
interface ID3D11Query interface ID3D11Query
{ {
CONST_VTBL struct ID3D11QueryVtbl *lpVtbl; CONST_VTBL struct ID3D11QueryVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 5993 skipping to change at line 6098
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11PredicateVtbl typedef struct ID3D11PredicateVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11Predicate * This, ID3D11Predicate * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11Predicate * This); ID3D11Predicate * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11Predicate * This); ID3D11Predicate * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11Predicate * This, ID3D11Predicate * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11Predicate * This, ID3D11Predicate * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11Predicate * This, ID3D11Predicate * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11Predicate * This, ID3D11Predicate * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
UINT ( STDMETHODCALLTYPE *GetDataSize )( UINT ( STDMETHODCALLTYPE *GetDataSize )(
ID3D11Predicate * This); ID3D11Predicate * This);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11Predicate * This, ID3D11Predicate * This,
/* [annotation] */ /* [annotation] */
__out D3D11_QUERY_DESC *pDesc); _Out_ D3D11_QUERY_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11PredicateVtbl; } ID3D11PredicateVtbl;
interface ID3D11Predicate interface ID3D11Predicate
{ {
CONST_VTBL struct ID3D11PredicateVtbl *lpVtbl; CONST_VTBL struct ID3D11PredicateVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 6114 skipping to change at line 6219
} D3D11_QUERY_DATA_PIPELINE_STATISTICS; } D3D11_QUERY_DATA_PIPELINE_STATISTICS;
typedef struct D3D11_QUERY_DATA_SO_STATISTICS typedef struct D3D11_QUERY_DATA_SO_STATISTICS
{ {
UINT64 NumPrimitivesWritten; UINT64 NumPrimitivesWritten;
UINT64 PrimitivesStorageNeeded; UINT64 PrimitivesStorageNeeded;
} D3D11_QUERY_DATA_SO_STATISTICS; } D3D11_QUERY_DATA_SO_STATISTICS;
typedef typedef
enum D3D11_COUNTER enum D3D11_COUNTER
{ D3D11_COUNTER_DEVICE_DEPENDENT_0 = 0x40000000 {
D3D11_COUNTER_DEVICE_DEPENDENT_0 = 0x40000000
} D3D11_COUNTER; } D3D11_COUNTER;
typedef typedef
enum D3D11_COUNTER_TYPE enum D3D11_COUNTER_TYPE
{ D3D11_COUNTER_TYPE_FLOAT32 = 0, {
D3D11_COUNTER_TYPE_UINT16 = ( D3D11_COUNTER_TYPE_FLOAT32 + 1 ) , D3D11_COUNTER_TYPE_FLOAT32 = 0,
D3D11_COUNTER_TYPE_UINT32 = ( D3D11_COUNTER_TYPE_UINT16 + 1 ) , D3D11_COUNTER_TYPE_UINT16 = ( D3D11_COUNTER_TYPE_FLOAT32 + 1 ) ,
D3D11_COUNTER_TYPE_UINT64 = ( D3D11_COUNTER_TYPE_UINT32 + 1 ) D3D11_COUNTER_TYPE_UINT32 = ( D3D11_COUNTER_TYPE_UINT16 + 1 ) ,
D3D11_COUNTER_TYPE_UINT64 = ( D3D11_COUNTER_TYPE_UINT32 + 1 )
} D3D11_COUNTER_TYPE; } D3D11_COUNTER_TYPE;
typedef struct D3D11_COUNTER_DESC typedef struct D3D11_COUNTER_DESC
{ {
D3D11_COUNTER Counter; D3D11_COUNTER Counter;
UINT MiscFlags; UINT MiscFlags;
} D3D11_COUNTER_DESC; } D3D11_COUNTER_DESC;
#if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus ) #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
} }
skipping to change at line 6178 skipping to change at line 6285
EXTERN_C const IID IID_ID3D11Counter; EXTERN_C const IID IID_ID3D11Counter;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("6e8c49fb-a371-4770-b440-29086022b741") MIDL_INTERFACE("6e8c49fb-a371-4770-b440-29086022b741")
ID3D11Counter : public ID3D11Asynchronous ID3D11Counter : public ID3D11Asynchronous
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_COUNTER_DESC *pDesc) = 0; _Out_ D3D11_COUNTER_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11CounterVtbl typedef struct ID3D11CounterVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11Counter * This, ID3D11Counter * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11Counter * This); ID3D11Counter * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11Counter * This); ID3D11Counter * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11Counter * This, ID3D11Counter * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11Counter * This, ID3D11Counter * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11Counter * This, ID3D11Counter * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11Counter * This, ID3D11Counter * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
UINT ( STDMETHODCALLTYPE *GetDataSize )( UINT ( STDMETHODCALLTYPE *GetDataSize )(
ID3D11Counter * This); ID3D11Counter * This);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11Counter * This, ID3D11Counter * This,
/* [annotation] */ /* [annotation] */
__out D3D11_COUNTER_DESC *pDesc); _Out_ D3D11_COUNTER_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D11CounterVtbl; } ID3D11CounterVtbl;
interface ID3D11Counter interface ID3D11Counter
{ {
CONST_VTBL struct ID3D11CounterVtbl *lpVtbl; CONST_VTBL struct ID3D11CounterVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 6286 skipping to change at line 6393
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D11Counter_INTERFACE_DEFINED__ */ #endif /* __ID3D11Counter_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0026 */ /* interface __MIDL_itf_d3d11_0000_0026 */
/* [local] */ /* [local] */
typedef typedef
enum D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS enum D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS
{ D3D11_STANDARD_MULTISAMPLE_PATTERN = 0xffffffff, {
D3D11_CENTER_MULTISAMPLE_PATTERN = 0xfffffffe D3D11_STANDARD_MULTISAMPLE_PATTERN = 0xffffffff,
D3D11_CENTER_MULTISAMPLE_PATTERN = 0xfffffffe
} D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS; } D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS;
typedef typedef
enum D3D11_DEVICE_CONTEXT_TYPE enum D3D11_DEVICE_CONTEXT_TYPE
{ D3D11_DEVICE_CONTEXT_IMMEDIATE = 0, {
D3D11_DEVICE_CONTEXT_DEFERRED = ( D3D11_DEVICE_CONTEXT_IMMEDIATE + 1 ) D3D11_DEVICE_CONTEXT_IMMEDIATE = 0,
D3D11_DEVICE_CONTEXT_DEFERRED = ( D3D11_DEVICE_CONTEXT_IMMEDIATE + 1 )
} D3D11_DEVICE_CONTEXT_TYPE; } D3D11_DEVICE_CONTEXT_TYPE;
typedef struct D3D11_CLASS_INSTANCE_DESC typedef struct D3D11_CLASS_INSTANCE_DESC
{ {
UINT InstanceId; UINT InstanceId;
UINT InstanceIndex; UINT InstanceIndex;
UINT TypeId; UINT TypeId;
UINT ConstantBuffer; UINT ConstantBuffer;
UINT BaseConstantBufferOffset; UINT BaseConstantBufferOffset;
UINT BaseTexture; UINT BaseTexture;
skipping to change at line 6327 skipping to change at line 6436
EXTERN_C const IID IID_ID3D11ClassInstance; EXTERN_C const IID IID_ID3D11ClassInstance;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("a6cd7faa-b0b7-4a2f-9436-8662a65797cb") MIDL_INTERFACE("a6cd7faa-b0b7-4a2f-9436-8662a65797cb")
ID3D11ClassInstance : public ID3D11DeviceChild ID3D11ClassInstance : public ID3D11DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetClassLinkage( virtual void STDMETHODCALLTYPE GetClassLinkage(
/* [annotation] */ /* [annotation] */
__out ID3D11ClassLinkage **ppLinkage) = 0; _Out_ ID3D11ClassLinkage **ppLinkage) = 0;
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */ /* [annotation] */
__out D3D11_CLASS_INSTANCE_DESC *pDesc) = 0; _Out_ D3D11_CLASS_INSTANCE_DESC *pDesc) = 0;
virtual void STDMETHODCALLTYPE GetInstanceName( virtual void STDMETHODCALLTYPE GetInstanceName(
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pBufferLength) LPSTR pInstanceName, _Out_writes_opt_(*pBufferLength) LPSTR pInstanceName,
/* [annotation] */ /* [annotation] */
__inout SIZE_T *pBufferLength) = 0; _Inout_ SIZE_T *pBufferLength) = 0;
virtual void STDMETHODCALLTYPE GetTypeName( virtual void STDMETHODCALLTYPE GetTypeName(
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pBufferLength) LPSTR pTypeName, _Out_writes_opt_(*pBufferLength) LPSTR pTypeName,
/* [annotation] */ /* [annotation] */
__inout SIZE_T *pBufferLength) = 0; _Inout_ SIZE_T *pBufferLength) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11ClassInstanceVtbl typedef struct ID3D11ClassInstanceVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11ClassInstance * This, ID3D11ClassInstance * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11ClassInstance * This); ID3D11ClassInstance * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11ClassInstance * This); ID3D11ClassInstance * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11ClassInstance * This, ID3D11ClassInstance * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11ClassInstance * This, ID3D11ClassInstance * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11ClassInstance * This, ID3D11ClassInstance * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11ClassInstance * This, ID3D11ClassInstance * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetClassLinkage )( void ( STDMETHODCALLTYPE *GetClassLinkage )(
ID3D11ClassInstance * This, ID3D11ClassInstance * This,
/* [annotation] */ /* [annotation] */
__out ID3D11ClassLinkage **ppLinkage); _Out_ ID3D11ClassLinkage **ppLinkage);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11ClassInstance * This, ID3D11ClassInstance * This,
/* [annotation] */ /* [annotation] */
__out D3D11_CLASS_INSTANCE_DESC *pDesc); _Out_ D3D11_CLASS_INSTANCE_DESC *pDesc);
void ( STDMETHODCALLTYPE *GetInstanceName )( void ( STDMETHODCALLTYPE *GetInstanceName )(
ID3D11ClassInstance * This, ID3D11ClassInstance * This,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pBufferLength) LPSTR pInstanceName, _Out_writes_opt_(*pBufferLength) LPSTR pInstanceName,
/* [annotation] */ /* [annotation] */
__inout SIZE_T *pBufferLength); _Inout_ SIZE_T *pBufferLength);
void ( STDMETHODCALLTYPE *GetTypeName )( void ( STDMETHODCALLTYPE *GetTypeName )(
ID3D11ClassInstance * This, ID3D11ClassInstance * This,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pBufferLength) LPSTR pTypeName, _Out_writes_opt_(*pBufferLength) LPSTR pTypeName,
/* [annotation] */ /* [annotation] */
__inout SIZE_T *pBufferLength); _Inout_ SIZE_T *pBufferLength);
END_INTERFACE END_INTERFACE
} ID3D11ClassInstanceVtbl; } ID3D11ClassInstanceVtbl;
interface ID3D11ClassInstance interface ID3D11ClassInstance
{ {
CONST_VTBL struct ID3D11ClassInstanceVtbl *lpVtbl; CONST_VTBL struct ID3D11ClassInstanceVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 6484 skipping to change at line 6593
EXTERN_C const IID IID_ID3D11ClassLinkage; EXTERN_C const IID IID_ID3D11ClassLinkage;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ddf57cba-9543-46e4-a12b-f207a0fe7fed") MIDL_INTERFACE("ddf57cba-9543-46e4-a12b-f207a0fe7fed")
ID3D11ClassLinkage : public ID3D11DeviceChild ID3D11ClassLinkage : public ID3D11DeviceChild
{ {
public: public:
virtual HRESULT STDMETHODCALLTYPE GetClassInstance( virtual HRESULT STDMETHODCALLTYPE GetClassInstance(
/* [annotation] */ /* [annotation] */
__in LPCSTR pClassInstanceName, _In_ LPCSTR pClassInstanceName,
/* [annotation] */ /* [annotation] */
__in UINT InstanceIndex, _In_ UINT InstanceIndex,
/* [annotation] */ /* [annotation] */
__out ID3D11ClassInstance **ppInstance) = 0; _Out_ ID3D11ClassInstance **ppInstance) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateClassInstance( virtual HRESULT STDMETHODCALLTYPE CreateClassInstance(
/* [annotation] */ /* [annotation] */
__in LPCSTR pClassTypeName, _In_ LPCSTR pClassTypeName,
/* [annotation] */ /* [annotation] */
__in UINT ConstantBufferOffset, _In_ UINT ConstantBufferOffset,
/* [annotation] */ /* [annotation] */
__in UINT ConstantVectorOffset, _In_ UINT ConstantVectorOffset,
/* [annotation] */ /* [annotation] */
__in UINT TextureOffset, _In_ UINT TextureOffset,
/* [annotation] */ /* [annotation] */
__in UINT SamplerOffset, _In_ UINT SamplerOffset,
/* [annotation] */ /* [annotation] */
__out ID3D11ClassInstance **ppInstance) = 0; _Out_ ID3D11ClassInstance **ppInstance) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11ClassLinkageVtbl typedef struct ID3D11ClassLinkageVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11ClassLinkage * This, ID3D11ClassLinkage * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11ClassLinkage * This); ID3D11ClassLinkage * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11ClassLinkage * This); ID3D11ClassLinkage * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11ClassLinkage * This, ID3D11ClassLinkage * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11ClassLinkage * This, ID3D11ClassLinkage * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11ClassLinkage * This, ID3D11ClassLinkage * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11ClassLinkage * This, ID3D11ClassLinkage * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
HRESULT ( STDMETHODCALLTYPE *GetClassInstance )( HRESULT ( STDMETHODCALLTYPE *GetClassInstance )(
ID3D11ClassLinkage * This, ID3D11ClassLinkage * This,
/* [annotation] */ /* [annotation] */
__in LPCSTR pClassInstanceName, _In_ LPCSTR pClassInstanceName,
/* [annotation] */ /* [annotation] */
__in UINT InstanceIndex, _In_ UINT InstanceIndex,
/* [annotation] */ /* [annotation] */
__out ID3D11ClassInstance **ppInstance); _Out_ ID3D11ClassInstance **ppInstance);
HRESULT ( STDMETHODCALLTYPE *CreateClassInstance )( HRESULT ( STDMETHODCALLTYPE *CreateClassInstance )(
ID3D11ClassLinkage * This, ID3D11ClassLinkage * This,
/* [annotation] */ /* [annotation] */
__in LPCSTR pClassTypeName, _In_ LPCSTR pClassTypeName,
/* [annotation] */ /* [annotation] */
__in UINT ConstantBufferOffset, _In_ UINT ConstantBufferOffset,
/* [annotation] */ /* [annotation] */
__in UINT ConstantVectorOffset, _In_ UINT ConstantVectorOffset,
/* [annotation] */ /* [annotation] */
__in UINT TextureOffset, _In_ UINT TextureOffset,
/* [annotation] */ /* [annotation] */
__in UINT SamplerOffset, _In_ UINT SamplerOffset,
/* [annotation] */ /* [annotation] */
__out ID3D11ClassInstance **ppInstance); _Out_ ID3D11ClassInstance **ppInstance);
END_INTERFACE END_INTERFACE
} ID3D11ClassLinkageVtbl; } ID3D11ClassLinkageVtbl;
interface ID3D11ClassLinkage interface ID3D11ClassLinkage
{ {
CONST_VTBL struct ID3D11ClassLinkageVtbl *lpVtbl; CONST_VTBL struct ID3D11ClassLinkageVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 6649 skipping to change at line 6758
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11CommandListVtbl typedef struct ID3D11CommandListVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11CommandList * This, ID3D11CommandList * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11CommandList * This); ID3D11CommandList * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11CommandList * This); ID3D11CommandList * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11CommandList * This, ID3D11CommandList * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11CommandList * This, ID3D11CommandList * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11CommandList * This, ID3D11CommandList * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11CommandList * This, ID3D11CommandList * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
UINT ( STDMETHODCALLTYPE *GetContextFlags )( UINT ( STDMETHODCALLTYPE *GetContextFlags )(
ID3D11CommandList * This); ID3D11CommandList * This);
END_INTERFACE END_INTERFACE
} ID3D11CommandListVtbl; } ID3D11CommandListVtbl;
interface ID3D11CommandList interface ID3D11CommandList
{ {
CONST_VTBL struct ID3D11CommandListVtbl *lpVtbl; CONST_VTBL struct ID3D11CommandListVtbl *lpVtbl;
skipping to change at line 6735 skipping to change at line 6844
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D11CommandList_INTERFACE_DEFINED__ */ #endif /* __ID3D11CommandList_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0029 */ /* interface __MIDL_itf_d3d11_0000_0029 */
/* [local] */ /* [local] */
typedef typedef
enum D3D11_FEATURE enum D3D11_FEATURE
{ D3D11_FEATURE_THREADING = 0, {
D3D11_FEATURE_DOUBLES = ( D3D11_FEATURE_THREADING + 1 ) , D3D11_FEATURE_THREADING = 0,
D3D11_FEATURE_FORMAT_SUPPORT = ( D3D11_FEATURE_DOUBLES + 1 ) , D3D11_FEATURE_DOUBLES = ( D3D11_FEATURE_THREADING + 1 ) ,
D3D11_FEATURE_FORMAT_SUPPORT2 = ( D3D11_FEATURE_FORMAT_SUPPORT + 1 ) , D3D11_FEATURE_FORMAT_SUPPORT = ( D3D11_FEATURE_DOUBLES + 1 ) ,
D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS = ( D3D11_FEATURE_FORMAT_SUPPORT2 D3D11_FEATURE_FORMAT_SUPPORT2 = ( D3D11_FEATURE_FORMAT_SUPPORT + 1 ) ,
+ 1 ) D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS = ( D3D11_FEATURE_FORMAT_SUPPORT2
+ 1 ) ,
D3D11_FEATURE_D3D11_OPTIONS = ( D3D11_FEATURE_D3D10_X_HARDWARE_OPTION
S + 1 ) ,
D3D11_FEATURE_ARCHITECTURE_INFO = ( D3D11_FEATURE_D3D11_OPTIONS +
1 ) ,
D3D11_FEATURE_D3D9_OPTIONS = ( D3D11_FEATURE_ARCHITECTURE_INFO + 1 )
,
D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORT = ( D3D11_FEATURE_D3D9_OP
TIONS + 1 ) ,
D3D11_FEATURE_D3D9_SHADOW_SUPPORT = ( D3D11_FEATURE_SHADER_MIN_PREC
ISION_SUPPORT + 1 ) ,
D3D11_FEATURE_D3D11_OPTIONS1 = ( D3D11_FEATURE_D3D9_SHADOW_SUPPORT + 1
) ,
D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORT = ( D3D11_FEATURE_D3D11_O
PTIONS1 + 1 ) ,
D3D11_FEATURE_MARKER_SUPPORT = ( D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_
SUPPORT + 1 ) ,
D3D11_FEATURE_D3D9_OPTIONS1 = ( D3D11_FEATURE_MARKER_SUPPORT + 1 )
} D3D11_FEATURE; } D3D11_FEATURE;
typedef struct D3D11_FEATURE_DATA_THREADING typedef struct D3D11_FEATURE_DATA_THREADING
{ {
BOOL DriverConcurrentCreates; BOOL DriverConcurrentCreates;
BOOL DriverCommandLists; BOOL DriverCommandLists;
} D3D11_FEATURE_DATA_THREADING; } D3D11_FEATURE_DATA_THREADING;
typedef struct D3D11_FEATURE_DATA_DOUBLES typedef struct D3D11_FEATURE_DATA_DOUBLES
{ {
skipping to change at line 6770 skipping to change at line 6889
{ {
DXGI_FORMAT InFormat; DXGI_FORMAT InFormat;
UINT OutFormatSupport2; UINT OutFormatSupport2;
} D3D11_FEATURE_DATA_FORMAT_SUPPORT2; } D3D11_FEATURE_DATA_FORMAT_SUPPORT2;
typedef struct D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS typedef struct D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS
{ {
BOOL ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x; BOOL ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x;
} D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS; } D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS;
// =============================================================================
// In the D3D11_FEATURE_DATA_D3D11_OPTIONS struct below,
// the following groupings of capabilities will always be set identically.
// That is, all the BOOLs in a grouping will be TRUE or FALSE together.
//
// Group: DiscardAPIsSeenByDriver, FlagsForUpdateAndCopySeenByDriver
//
// Group: ClearView, CopyWithOverlap, ConstantBufferPartialUpdate
// ConstantBufferOffsetting, MapNoOverwriteOnDynamicConstantBuffer
//
// Group: MapNoOverwriteOnDynamicBufferSRV,
// MultisampleRTVWithForcedSampleCountOne
//
typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS
{
BOOL OutputMergerLogicOp;
BOOL UAVOnlyRenderingForcedSampleCount;
BOOL DiscardAPIsSeenByDriver;
BOOL FlagsForUpdateAndCopySeenByDriver;
BOOL ClearView;
BOOL CopyWithOverlap;
BOOL ConstantBufferPartialUpdate;
BOOL ConstantBufferOffsetting;
BOOL MapNoOverwriteOnDynamicConstantBuffer;
BOOL MapNoOverwriteOnDynamicBufferSRV;
BOOL MultisampleRTVWithForcedSampleCountOne;
BOOL SAD4ShaderInstructions;
BOOL ExtendedDoublesShaderInstructions;
BOOL ExtendedResourceSharing;
} D3D11_FEATURE_DATA_D3D11_OPTIONS;
typedef struct D3D11_FEATURE_DATA_ARCHITECTURE_INFO
{
BOOL TileBasedDeferredRenderer;
} D3D11_FEATURE_DATA_ARCHITECTURE_INFO;
typedef struct D3D11_FEATURE_DATA_D3D9_OPTIONS
{
BOOL FullNonPow2TextureSupport;
} D3D11_FEATURE_DATA_D3D9_OPTIONS;
typedef struct D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT
{
BOOL SupportsDepthAsTextureWithLessEqualComparisonFilter;
} D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT;
typedef
enum D3D11_SHADER_MIN_PRECISION_SUPPORT
{
D3D11_SHADER_MIN_PRECISION_10_BIT = 0x1,
D3D11_SHADER_MIN_PRECISION_16_BIT = 0x2
} D3D11_SHADER_MIN_PRECISION_SUPPORT;
typedef struct D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT
{
UINT PixelShaderMinPrecision;
UINT AllOtherShaderStagesMinPrecision;
} D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT;
typedef
enum D3D11_TILED_RESOURCES_TIER
{
D3D11_TILED_RESOURCES_NOT_SUPPORTED = 0,
D3D11_TILED_RESOURCES_TIER_1 = 1,
D3D11_TILED_RESOURCES_TIER_2 = 2
} D3D11_TILED_RESOURCES_TIER;
typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS1
{
D3D11_TILED_RESOURCES_TIER TiledResourcesTier;
BOOL MinMaxFiltering;
BOOL ClearViewAlsoSupportsDepthOnlyFormats;
BOOL MapOnDefaultBuffers;
} D3D11_FEATURE_DATA_D3D11_OPTIONS1;
typedef struct D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT
{
BOOL SimpleInstancingSupported;
} D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT;
typedef struct D3D11_FEATURE_DATA_MARKER_SUPPORT
{
BOOL Profile;
} D3D11_FEATURE_DATA_MARKER_SUPPORT;
typedef struct D3D11_FEATURE_DATA_D3D9_OPTIONS1
{
BOOL FullNonPow2TextureSupported;
BOOL DepthAsTextureWithLessEqualComparisonFilterSupported;
BOOL SimpleInstancingSupported;
BOOL TextureCubeFaceRenderTargetWithNonCubeDepthStencilSupported;
} D3D11_FEATURE_DATA_D3D9_OPTIONS1;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0029_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0029_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0029_v0_0_s_ifspec; extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0029_v0_0_s_ifspec;
#ifndef __ID3D11DeviceContext_INTERFACE_DEFINED__ #ifndef __ID3D11DeviceContext_INTERFACE_DEFINED__
#define __ID3D11DeviceContext_INTERFACE_DEFINED__ #define __ID3D11DeviceContext_INTERFACE_DEFINED__
/* interface ID3D11DeviceContext */ /* interface ID3D11DeviceContext */
/* [unique][local][object][uuid] */ /* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11DeviceContext; EXTERN_C const IID IID_ID3D11DeviceContext;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c0bfa96c-e089-44fb-8eaf-26f8796190da") MIDL_INTERFACE("c0bfa96c-e089-44fb-8eaf-26f8796190da")
ID3D11DeviceContext : public ID3D11DeviceChild ID3D11DeviceContext : public ID3D11DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE VSSetConstantBuffers( virtual void STDMETHODCALLTYPE VSSetConstantBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0 ; _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE PSSetShaderResources( virtual void STDMETHODCALLTYPE PSSetShaderResources(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderReso urceViews) = 0; _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderR esourceViews) = 0;
virtual void STDMETHODCALLTYPE PSSetShader( virtual void STDMETHODCALLTYPE PSSetShader(
/* [annotation] */ /* [annotation] */
__in_opt ID3D11PixelShader *pPixelShader, _In_opt_ ID3D11PixelShader *pPixelShader,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppCl assInstances, _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppCla ssInstances,
UINT NumClassInstances) = 0; UINT NumClassInstances) = 0;
virtual void STDMETHODCALLTYPE PSSetSamplers( virtual void STDMETHODCALLTYPE PSSetSamplers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0 ; _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0;
virtual void STDMETHODCALLTYPE VSSetShader( virtual void STDMETHODCALLTYPE VSSetShader(
/* [annotation] */ /* [annotation] */
__in_opt ID3D11VertexShader *pVertexShader, _In_opt_ ID3D11VertexShader *pVertexShader,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppCl assInstances, _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppCla ssInstances,
UINT NumClassInstances) = 0; UINT NumClassInstances) = 0;
virtual void STDMETHODCALLTYPE DrawIndexed( virtual void STDMETHODCALLTYPE DrawIndexed(
/* [annotation] */ /* [annotation] */
__in UINT IndexCount, _In_ UINT IndexCount,
/* [annotation] */ /* [annotation] */
__in UINT StartIndexLocation, _In_ UINT StartIndexLocation,
/* [annotation] */ /* [annotation] */
__in INT BaseVertexLocation) = 0; _In_ INT BaseVertexLocation) = 0;
virtual void STDMETHODCALLTYPE Draw( virtual void STDMETHODCALLTYPE Draw(
/* [annotation] */ /* [annotation] */
__in UINT VertexCount, _In_ UINT VertexCount,
/* [annotation] */ /* [annotation] */
__in UINT StartVertexLocation) = 0; _In_ UINT StartVertexLocation) = 0;
virtual HRESULT STDMETHODCALLTYPE Map( virtual HRESULT STDMETHODCALLTYPE Map(
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
/* [annotation] */ /* [annotation] */
__in UINT Subresource, _In_ UINT Subresource,
/* [annotation] */ /* [annotation] */
__in D3D11_MAP MapType, _In_ D3D11_MAP MapType,
/* [annotation] */ /* [annotation] */
__in UINT MapFlags, _In_ UINT MapFlags,
/* [annotation] */ /* [annotation] */
__out D3D11_MAPPED_SUBRESOURCE *pMappedResource) = 0; _Out_ D3D11_MAPPED_SUBRESOURCE *pMappedResource) = 0;
virtual void STDMETHODCALLTYPE Unmap( virtual void STDMETHODCALLTYPE Unmap(
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
/* [annotation] */ /* [annotation] */
__in UINT Subresource) = 0; _In_ UINT Subresource) = 0;
virtual void STDMETHODCALLTYPE PSSetConstantBuffers( virtual void STDMETHODCALLTYPE PSSetConstantBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0 ; _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE IASetInputLayout( virtual void STDMETHODCALLTYPE IASetInputLayout(
/* [annotation] */ /* [annotation] */
__in_opt ID3D11InputLayout *pInputLayout) = 0; _In_opt_ ID3D11InputLayout *pInputLayout) = 0;
virtual void STDMETHODCALLTYPE IASetVertexBuffers( virtual void STDMETHODCALLTYPE IASetVertexBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppVertexBuffers, _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppVertexBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) const UINT *pStrides, _In_reads_opt_(NumBuffers) const UINT *pStrides,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) const UINT *pOffsets) = 0; _In_reads_opt_(NumBuffers) const UINT *pOffsets) = 0;
virtual void STDMETHODCALLTYPE IASetIndexBuffer( virtual void STDMETHODCALLTYPE IASetIndexBuffer(
/* [annotation] */ /* [annotation] */
__in_opt ID3D11Buffer *pIndexBuffer, _In_opt_ ID3D11Buffer *pIndexBuffer,
/* [annotation] */ /* [annotation] */
__in DXGI_FORMAT Format, _In_ DXGI_FORMAT Format,
/* [annotation] */ /* [annotation] */
__in UINT Offset) = 0; _In_ UINT Offset) = 0;
virtual void STDMETHODCALLTYPE DrawIndexedInstanced( virtual void STDMETHODCALLTYPE DrawIndexedInstanced(
/* [annotation] */ /* [annotation] */
__in UINT IndexCountPerInstance, _In_ UINT IndexCountPerInstance,
/* [annotation] */ /* [annotation] */
__in UINT InstanceCount, _In_ UINT InstanceCount,
/* [annotation] */ /* [annotation] */
__in UINT StartIndexLocation, _In_ UINT StartIndexLocation,
/* [annotation] */ /* [annotation] */
__in INT BaseVertexLocation, _In_ INT BaseVertexLocation,
/* [annotation] */ /* [annotation] */
__in UINT StartInstanceLocation) = 0; _In_ UINT StartInstanceLocation) = 0;
virtual void STDMETHODCALLTYPE DrawInstanced( virtual void STDMETHODCALLTYPE DrawInstanced(
/* [annotation] */ /* [annotation] */
__in UINT VertexCountPerInstance, _In_ UINT VertexCountPerInstance,
/* [annotation] */ /* [annotation] */
__in UINT InstanceCount, _In_ UINT InstanceCount,
/* [annotation] */ /* [annotation] */
__in UINT StartVertexLocation, _In_ UINT StartVertexLocation,
/* [annotation] */ /* [annotation] */
__in UINT StartInstanceLocation) = 0; _In_ UINT StartInstanceLocation) = 0;
virtual void STDMETHODCALLTYPE GSSetConstantBuffers( virtual void STDMETHODCALLTYPE GSSetConstantBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0 ; _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE GSSetShader( virtual void STDMETHODCALLTYPE GSSetShader(
/* [annotation] */ /* [annotation] */
__in_opt ID3D11GeometryShader *pShader, _In_opt_ ID3D11GeometryShader *pShader,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppCl assInstances, _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppCla ssInstances,
UINT NumClassInstances) = 0; UINT NumClassInstances) = 0;
virtual void STDMETHODCALLTYPE IASetPrimitiveTopology( virtual void STDMETHODCALLTYPE IASetPrimitiveTopology(
/* [annotation] */ /* [annotation] */
__in D3D11_PRIMITIVE_TOPOLOGY Topology) = 0; _In_ D3D11_PRIMITIVE_TOPOLOGY Topology) = 0;
virtual void STDMETHODCALLTYPE VSSetShaderResources( virtual void STDMETHODCALLTYPE VSSetShaderResources(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderReso urceViews) = 0; _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderR esourceViews) = 0;
virtual void STDMETHODCALLTYPE VSSetSamplers( virtual void STDMETHODCALLTYPE VSSetSamplers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0 ; _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0;
virtual void STDMETHODCALLTYPE Begin( virtual void STDMETHODCALLTYPE Begin(
/* [annotation] */ /* [annotation] */
__in ID3D11Asynchronous *pAsync) = 0; _In_ ID3D11Asynchronous *pAsync) = 0;
virtual void STDMETHODCALLTYPE End( virtual void STDMETHODCALLTYPE End(
/* [annotation] */ /* [annotation] */
__in ID3D11Asynchronous *pAsync) = 0; _In_ ID3D11Asynchronous *pAsync) = 0;
virtual HRESULT STDMETHODCALLTYPE GetData( virtual HRESULT STDMETHODCALLTYPE GetData(
/* [annotation] */ /* [annotation] */
__in ID3D11Asynchronous *pAsync, _In_ ID3D11Asynchronous *pAsync,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( DataSize ) void *pData, _Out_writes_bytes_opt_( DataSize ) void *pData,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in UINT GetDataFlags) = 0; _In_ UINT GetDataFlags) = 0;
virtual void STDMETHODCALLTYPE SetPredication( virtual void STDMETHODCALLTYPE SetPredication(
/* [annotation] */ /* [annotation] */
__in_opt ID3D11Predicate *pPredicate, _In_opt_ ID3D11Predicate *pPredicate,
/* [annotation] */ /* [annotation] */
__in BOOL PredicateValue) = 0; _In_ BOOL PredicateValue) = 0;
virtual void STDMETHODCALLTYPE GSSetShaderResources( virtual void STDMETHODCALLTYPE GSSetShaderResources(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderReso urceViews) = 0; _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderR esourceViews) = 0;
virtual void STDMETHODCALLTYPE GSSetSamplers( virtual void STDMETHODCALLTYPE GSSetSamplers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0 ; _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0;
virtual void STDMETHODCALLTYPE OMSetRenderTargets( virtual void STDMETHODCALLTYPE OMSetRenderTargets(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws, _In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumViews) ID3D11RenderTargetView *const *ppRenderTa rgetViews, _In_reads_opt_(NumViews) ID3D11RenderTargetView *const *ppRenderTar getViews,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11DepthStencilView *pDepthStencilView) = 0; _In_opt_ ID3D11DepthStencilView *pDepthStencilView) = 0;
virtual void STDMETHODCALLTYPE OMSetRenderTargetsAndUnorderedAccessViews ( virtual void STDMETHODCALLTYPE OMSetRenderTargetsAndUnorderedAccessViews (
/* [annotation] */ /* [annotation] */
__in UINT NumRTVs, _In_ UINT NumRTVs,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumRTVs) ID3D11RenderTargetView *const *ppRenderTar getViews, _In_reads_opt_(NumRTVs) ID3D11RenderTargetView *const *ppRenderTarg etViews,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11DepthStencilView *pDepthStencilView, _In_opt_ ID3D11DepthStencilView *pDepthStencilView,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSl ot, _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT UAVStartSlot,
/* [annotation] */ /* [annotation] */
__in UINT NumUAVs, _In_ UINT NumUAVs,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorde redAccessViews, _In_reads_opt_(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorder edAccessViews,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumUAVs) const UINT *pUAVInitialCounts) = 0; _In_reads_opt_(NumUAVs) const UINT *pUAVInitialCounts) = 0;
virtual void STDMETHODCALLTYPE OMSetBlendState( virtual void STDMETHODCALLTYPE OMSetBlendState(
/* [annotation] */ /* [annotation] */
__in_opt ID3D11BlendState *pBlendState, _In_opt_ ID3D11BlendState *pBlendState,
/* [annotation] */ /* [annotation] */
__in_opt const FLOAT BlendFactor[ 4 ], _In_opt_ const FLOAT BlendFactor[ 4 ],
/* [annotation] */ /* [annotation] */
__in UINT SampleMask) = 0; _In_ UINT SampleMask) = 0;
virtual void STDMETHODCALLTYPE OMSetDepthStencilState( virtual void STDMETHODCALLTYPE OMSetDepthStencilState(
/* [annotation] */ /* [annotation] */
__in_opt ID3D11DepthStencilState *pDepthStencilState, _In_opt_ ID3D11DepthStencilState *pDepthStencilState,
/* [annotation] */ /* [annotation] */
__in UINT StencilRef) = 0; _In_ UINT StencilRef) = 0;
virtual void STDMETHODCALLTYPE SOSetTargets( virtual void STDMETHODCALLTYPE SOSetTargets(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SO_BUFFER_SLOT_COUNT) UINT NumBuffers, _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumBuffers) ID3D11Buffer *const *ppSOTargets, _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppSOTargets,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumBuffers) const UINT *pOffsets) = 0; _In_reads_opt_(NumBuffers) const UINT *pOffsets) = 0;
virtual void STDMETHODCALLTYPE DrawAuto( void) = 0; virtual void STDMETHODCALLTYPE DrawAuto( void) = 0;
virtual void STDMETHODCALLTYPE DrawIndexedInstancedIndirect( virtual void STDMETHODCALLTYPE DrawIndexedInstancedIndirect(
/* [annotation] */ /* [annotation] */
__in ID3D11Buffer *pBufferForArgs, _In_ ID3D11Buffer *pBufferForArgs,
/* [annotation] */ /* [annotation] */
__in UINT AlignedByteOffsetForArgs) = 0; _In_ UINT AlignedByteOffsetForArgs) = 0;
virtual void STDMETHODCALLTYPE DrawInstancedIndirect( virtual void STDMETHODCALLTYPE DrawInstancedIndirect(
/* [annotation] */ /* [annotation] */
__in ID3D11Buffer *pBufferForArgs, _In_ ID3D11Buffer *pBufferForArgs,
/* [annotation] */ /* [annotation] */
__in UINT AlignedByteOffsetForArgs) = 0; _In_ UINT AlignedByteOffsetForArgs) = 0;
virtual void STDMETHODCALLTYPE Dispatch( virtual void STDMETHODCALLTYPE Dispatch(
/* [annotation] */ /* [annotation] */
__in UINT ThreadGroupCountX, _In_ UINT ThreadGroupCountX,
/* [annotation] */ /* [annotation] */
__in UINT ThreadGroupCountY, _In_ UINT ThreadGroupCountY,
/* [annotation] */ /* [annotation] */
__in UINT ThreadGroupCountZ) = 0; _In_ UINT ThreadGroupCountZ) = 0;
virtual void STDMETHODCALLTYPE DispatchIndirect( virtual void STDMETHODCALLTYPE DispatchIndirect(
/* [annotation] */ /* [annotation] */
__in ID3D11Buffer *pBufferForArgs, _In_ ID3D11Buffer *pBufferForArgs,
/* [annotation] */ /* [annotation] */
__in UINT AlignedByteOffsetForArgs) = 0; _In_ UINT AlignedByteOffsetForArgs) = 0;
virtual void STDMETHODCALLTYPE RSSetState( virtual void STDMETHODCALLTYPE RSSetState(
/* [annotation] */ /* [annotation] */
__in_opt ID3D11RasterizerState *pRasterizerState) = 0; _In_opt_ ID3D11RasterizerState *pRasterizerState) = 0;
virtual void STDMETHODCALLTYPE RSSetViewports( virtual void STDMETHODCALLTYPE RSSetViewports(
/* [annotation] */ /* [annotation] */
__in_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumViewports, _In_range_(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumViewports,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumViewports) const D3D11_VIEWPORT *pViewports) = 0 ; _In_reads_opt_(NumViewports) const D3D11_VIEWPORT *pViewports) = 0;
virtual void STDMETHODCALLTYPE RSSetScissorRects( virtual void STDMETHODCALLTYPE RSSetScissorRects(
/* [annotation] */ /* [annotation] */
__in_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumRects, _In_range_(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumRects,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumRects) const D3D11_RECT *pRects) = 0; _In_reads_opt_(NumRects) const D3D11_RECT *pRects) = 0;
virtual void STDMETHODCALLTYPE CopySubresourceRegion( virtual void STDMETHODCALLTYPE CopySubresourceRegion(
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pDstResource, _In_ ID3D11Resource *pDstResource,
/* [annotation] */ /* [annotation] */
__in UINT DstSubresource, _In_ UINT DstSubresource,
/* [annotation] */ /* [annotation] */
__in UINT DstX, _In_ UINT DstX,
/* [annotation] */ /* [annotation] */
__in UINT DstY, _In_ UINT DstY,
/* [annotation] */ /* [annotation] */
__in UINT DstZ, _In_ UINT DstZ,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pSrcResource, _In_ ID3D11Resource *pSrcResource,
/* [annotation] */ /* [annotation] */
__in UINT SrcSubresource, _In_ UINT SrcSubresource,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_BOX *pSrcBox) = 0; _In_opt_ const D3D11_BOX *pSrcBox) = 0;
virtual void STDMETHODCALLTYPE CopyResource( virtual void STDMETHODCALLTYPE CopyResource(
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pDstResource, _In_ ID3D11Resource *pDstResource,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pSrcResource) = 0; _In_ ID3D11Resource *pSrcResource) = 0;
virtual void STDMETHODCALLTYPE UpdateSubresource( virtual void STDMETHODCALLTYPE UpdateSubresource(
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pDstResource, _In_ ID3D11Resource *pDstResource,
/* [annotation] */ /* [annotation] */
__in UINT DstSubresource, _In_ UINT DstSubresource,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_BOX *pDstBox, _In_opt_ const D3D11_BOX *pDstBox,
/* [annotation] */ /* [annotation] */
__in const void *pSrcData, _In_ const void *pSrcData,
/* [annotation] */ /* [annotation] */
__in UINT SrcRowPitch, _In_ UINT SrcRowPitch,
/* [annotation] */ /* [annotation] */
__in UINT SrcDepthPitch) = 0; _In_ UINT SrcDepthPitch) = 0;
virtual void STDMETHODCALLTYPE CopyStructureCount( virtual void STDMETHODCALLTYPE CopyStructureCount(
/* [annotation] */ /* [annotation] */
__in ID3D11Buffer *pDstBuffer, _In_ ID3D11Buffer *pDstBuffer,
/* [annotation] */ /* [annotation] */
__in UINT DstAlignedByteOffset, _In_ UINT DstAlignedByteOffset,
/* [annotation] */ /* [annotation] */
__in ID3D11UnorderedAccessView *pSrcView) = 0; _In_ ID3D11UnorderedAccessView *pSrcView) = 0;
virtual void STDMETHODCALLTYPE ClearRenderTargetView( virtual void STDMETHODCALLTYPE ClearRenderTargetView(
/* [annotation] */ /* [annotation] */
__in ID3D11RenderTargetView *pRenderTargetView, _In_ ID3D11RenderTargetView *pRenderTargetView,
/* [annotation] */ /* [annotation] */
__in const FLOAT ColorRGBA[ 4 ]) = 0; _In_ const FLOAT ColorRGBA[ 4 ]) = 0;
virtual void STDMETHODCALLTYPE ClearUnorderedAccessViewUint( virtual void STDMETHODCALLTYPE ClearUnorderedAccessViewUint(
/* [annotation] */ /* [annotation] */
__in ID3D11UnorderedAccessView *pUnorderedAccessView, _In_ ID3D11UnorderedAccessView *pUnorderedAccessView,
/* [annotation] */ /* [annotation] */
__in const UINT Values[ 4 ]) = 0; _In_ const UINT Values[ 4 ]) = 0;
virtual void STDMETHODCALLTYPE ClearUnorderedAccessViewFloat( virtual void STDMETHODCALLTYPE ClearUnorderedAccessViewFloat(
/* [annotation] */ /* [annotation] */
__in ID3D11UnorderedAccessView *pUnorderedAccessView, _In_ ID3D11UnorderedAccessView *pUnorderedAccessView,
/* [annotation] */ /* [annotation] */
__in const FLOAT Values[ 4 ]) = 0; _In_ const FLOAT Values[ 4 ]) = 0;
virtual void STDMETHODCALLTYPE ClearDepthStencilView( virtual void STDMETHODCALLTYPE ClearDepthStencilView(
/* [annotation] */ /* [annotation] */
__in ID3D11DepthStencilView *pDepthStencilView, _In_ ID3D11DepthStencilView *pDepthStencilView,
/* [annotation] */ /* [annotation] */
__in UINT ClearFlags, _In_ UINT ClearFlags,
/* [annotation] */ /* [annotation] */
__in FLOAT Depth, _In_ FLOAT Depth,
/* [annotation] */ /* [annotation] */
__in UINT8 Stencil) = 0; _In_ UINT8 Stencil) = 0;
virtual void STDMETHODCALLTYPE GenerateMips( virtual void STDMETHODCALLTYPE GenerateMips(
/* [annotation] */ /* [annotation] */
__in ID3D11ShaderResourceView *pShaderResourceView) = 0; _In_ ID3D11ShaderResourceView *pShaderResourceView) = 0;
virtual void STDMETHODCALLTYPE SetResourceMinLOD( virtual void STDMETHODCALLTYPE SetResourceMinLOD(
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
FLOAT MinLOD) = 0; FLOAT MinLOD) = 0;
virtual FLOAT STDMETHODCALLTYPE GetResourceMinLOD( virtual FLOAT STDMETHODCALLTYPE GetResourceMinLOD(
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource) = 0; _In_ ID3D11Resource *pResource) = 0;
virtual void STDMETHODCALLTYPE ResolveSubresource( virtual void STDMETHODCALLTYPE ResolveSubresource(
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pDstResource, _In_ ID3D11Resource *pDstResource,
/* [annotation] */ /* [annotation] */
__in UINT DstSubresource, _In_ UINT DstSubresource,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pSrcResource, _In_ ID3D11Resource *pSrcResource,
/* [annotation] */ /* [annotation] */
__in UINT SrcSubresource, _In_ UINT SrcSubresource,
/* [annotation] */ /* [annotation] */
__in DXGI_FORMAT Format) = 0; _In_ DXGI_FORMAT Format) = 0;
virtual void STDMETHODCALLTYPE ExecuteCommandList( virtual void STDMETHODCALLTYPE ExecuteCommandList(
/* [annotation] */ /* [annotation] */
__in ID3D11CommandList *pCommandList, _In_ ID3D11CommandList *pCommandList,
BOOL RestoreContextState) = 0; BOOL RestoreContextState) = 0;
virtual void STDMETHODCALLTYPE HSSetShaderResources( virtual void STDMETHODCALLTYPE HSSetShaderResources(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderReso urceViews) = 0; _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderR esourceViews) = 0;
virtual void STDMETHODCALLTYPE HSSetShader( virtual void STDMETHODCALLTYPE HSSetShader(
/* [annotation] */ /* [annotation] */
__in_opt ID3D11HullShader *pHullShader, _In_opt_ ID3D11HullShader *pHullShader,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppCl assInstances, _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppCla ssInstances,
UINT NumClassInstances) = 0; UINT NumClassInstances) = 0;
virtual void STDMETHODCALLTYPE HSSetSamplers( virtual void STDMETHODCALLTYPE HSSetSamplers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0 ; _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0;
virtual void STDMETHODCALLTYPE HSSetConstantBuffers( virtual void STDMETHODCALLTYPE HSSetConstantBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0 ; _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE DSSetShaderResources( virtual void STDMETHODCALLTYPE DSSetShaderResources(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderReso urceViews) = 0; _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderR esourceViews) = 0;
virtual void STDMETHODCALLTYPE DSSetShader( virtual void STDMETHODCALLTYPE DSSetShader(
/* [annotation] */ /* [annotation] */
__in_opt ID3D11DomainShader *pDomainShader, _In_opt_ ID3D11DomainShader *pDomainShader,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppCl assInstances, _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppCla ssInstances,
UINT NumClassInstances) = 0; UINT NumClassInstances) = 0;
virtual void STDMETHODCALLTYPE DSSetSamplers( virtual void STDMETHODCALLTYPE DSSetSamplers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0 ; _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0;
virtual void STDMETHODCALLTYPE DSSetConstantBuffers( virtual void STDMETHODCALLTYPE DSSetConstantBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0 ; _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE CSSetShaderResources( virtual void STDMETHODCALLTYPE CSSetShaderResources(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderReso urceViews) = 0; _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderR esourceViews) = 0;
virtual void STDMETHODCALLTYPE CSSetUnorderedAccessViews( virtual void STDMETHODCALLTYPE CSSetUnorderedAccessViews(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot ) UINT Nu mUAVs, _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - StartSlot ) UINT NumUAVs,
/* [annotation] */ /* [annotation] */
__in_ecount(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedA ccessViews, _In_reads_opt_(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorder edAccessViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumUAVs) const UINT *pUAVInitialCounts) = 0; _In_reads_opt_(NumUAVs) const UINT *pUAVInitialCounts) = 0;
virtual void STDMETHODCALLTYPE CSSetShader( virtual void STDMETHODCALLTYPE CSSetShader(
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ComputeShader *pComputeShader, _In_opt_ ID3D11ComputeShader *pComputeShader,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppCl assInstances, _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppCla ssInstances,
UINT NumClassInstances) = 0; UINT NumClassInstances) = 0;
virtual void STDMETHODCALLTYPE CSSetSamplers( virtual void STDMETHODCALLTYPE CSSetSamplers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0 ; _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0;
virtual void STDMETHODCALLTYPE CSSetConstantBuffers( virtual void STDMETHODCALLTYPE CSSetConstantBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0 ; _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE VSGetConstantBuffers( virtual void STDMETHODCALLTYPE VSGetConstantBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0; _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE PSGetShaderResources( virtual void STDMETHODCALLTYPE PSGetShaderResources(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceV iews) = 0; _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResou rceViews) = 0;
virtual void STDMETHODCALLTYPE PSGetShader( virtual void STDMETHODCALLTYPE PSGetShader(
/* [annotation] */ /* [annotation] */
__out_opt ID3D11PixelShader **ppPixelShader, _Out_ ID3D11PixelShader **ppPixelShader,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances, _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNumClassInstances) = 0; _Inout_opt_ UINT *pNumClassInstances) = 0;
virtual void STDMETHODCALLTYPE PSGetSamplers( virtual void STDMETHODCALLTYPE PSGetSamplers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers) = 0; _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers) = 0;
virtual void STDMETHODCALLTYPE VSGetShader( virtual void STDMETHODCALLTYPE VSGetShader(
/* [annotation] */ /* [annotation] */
__out_opt ID3D11VertexShader **ppVertexShader, _Out_ ID3D11VertexShader **ppVertexShader,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances, _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNumClassInstances) = 0; _Inout_opt_ UINT *pNumClassInstances) = 0;
virtual void STDMETHODCALLTYPE PSGetConstantBuffers( virtual void STDMETHODCALLTYPE PSGetConstantBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0; _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE IAGetInputLayout( virtual void STDMETHODCALLTYPE IAGetInputLayout(
/* [annotation] */ /* [annotation] */
__out ID3D11InputLayout **ppInputLayout) = 0; _Out_ ID3D11InputLayout **ppInputLayout) = 0;
virtual void STDMETHODCALLTYPE IAGetVertexBuffers( virtual void STDMETHODCALLTYPE IAGetVertexBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(NumBuffers) ID3D11Buffer **ppVertexBuffers, _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppVertexBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(NumBuffers) UINT *pStrides, _Out_writes_opt_(NumBuffers) UINT *pStrides,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(NumBuffers) UINT *pOffsets) = 0; _Out_writes_opt_(NumBuffers) UINT *pOffsets) = 0;
virtual void STDMETHODCALLTYPE IAGetIndexBuffer( virtual void STDMETHODCALLTYPE IAGetIndexBuffer(
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Buffer **pIndexBuffer, _Out_opt_ ID3D11Buffer **pIndexBuffer,
/* [annotation] */ /* [annotation] */
__out_opt DXGI_FORMAT *Format, _Out_opt_ DXGI_FORMAT *Format,
/* [annotation] */ /* [annotation] */
__out_opt UINT *Offset) = 0; _Out_opt_ UINT *Offset) = 0;
virtual void STDMETHODCALLTYPE GSGetConstantBuffers( virtual void STDMETHODCALLTYPE GSGetConstantBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0; _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE GSGetShader( virtual void STDMETHODCALLTYPE GSGetShader(
/* [annotation] */ /* [annotation] */
__out_opt ID3D11GeometryShader **ppGeometryShader, _Out_ ID3D11GeometryShader **ppGeometryShader,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances, _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNumClassInstances) = 0; _Inout_opt_ UINT *pNumClassInstances) = 0;
virtual void STDMETHODCALLTYPE IAGetPrimitiveTopology( virtual void STDMETHODCALLTYPE IAGetPrimitiveTopology(
/* [annotation] */ /* [annotation] */
__out D3D11_PRIMITIVE_TOPOLOGY *pTopology) = 0; _Out_ D3D11_PRIMITIVE_TOPOLOGY *pTopology) = 0;
virtual void STDMETHODCALLTYPE VSGetShaderResources( virtual void STDMETHODCALLTYPE VSGetShaderResources(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceV iews) = 0; _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResou rceViews) = 0;
virtual void STDMETHODCALLTYPE VSGetSamplers( virtual void STDMETHODCALLTYPE VSGetSamplers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers) = 0; _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers) = 0;
virtual void STDMETHODCALLTYPE GetPredication( virtual void STDMETHODCALLTYPE GetPredication(
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Predicate **ppPredicate, _Out_opt_ ID3D11Predicate **ppPredicate,
/* [annotation] */ /* [annotation] */
__out_opt BOOL *pPredicateValue) = 0; _Out_opt_ BOOL *pPredicateValue) = 0;
virtual void STDMETHODCALLTYPE GSGetShaderResources( virtual void STDMETHODCALLTYPE GSGetShaderResources(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceV iews) = 0; _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResou rceViews) = 0;
virtual void STDMETHODCALLTYPE GSGetSamplers( virtual void STDMETHODCALLTYPE GSGetSamplers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers) = 0; _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers) = 0;
virtual void STDMETHODCALLTYPE OMGetRenderTargets( virtual void STDMETHODCALLTYPE OMGetRenderTargets(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws, _In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(NumViews) ID3D11RenderTargetView **ppRenderTargetV iews, _Out_writes_opt_(NumViews) ID3D11RenderTargetView **ppRenderTargetV iews,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DepthStencilView **ppDepthStencilView) = 0; _Out_opt_ ID3D11DepthStencilView **ppDepthStencilView) = 0;
virtual void STDMETHODCALLTYPE OMGetRenderTargetsAndUnorderedAccessViews ( virtual void STDMETHODCALLTYPE OMGetRenderTargetsAndUnorderedAccessViews (
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumRTV s, _In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumRTV s,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(NumRTVs) ID3D11RenderTargetView **ppRenderTargetVi ews, _Out_writes_opt_(NumRTVs) ID3D11RenderTargetView **ppRenderTargetVi ews,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DepthStencilView **ppDepthStencilView, _Out_opt_ ID3D11DepthStencilView **ppDepthStencilView,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSl ot, _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSl ot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - UAVStartSlot ) UINT NumUAVs, _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - UAVStartSlot ) UINT NumUAVs,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAc cessViews) = 0; _Out_writes_opt_(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAc cessViews) = 0;
virtual void STDMETHODCALLTYPE OMGetBlendState( virtual void STDMETHODCALLTYPE OMGetBlendState(
/* [annotation] */ /* [annotation] */
__out_opt ID3D11BlendState **ppBlendState, _Out_opt_ ID3D11BlendState **ppBlendState,
/* [annotation] */ /* [annotation] */
__out_opt FLOAT BlendFactor[ 4 ], _Out_opt_ FLOAT BlendFactor[ 4 ],
/* [annotation] */ /* [annotation] */
__out_opt UINT *pSampleMask) = 0; _Out_opt_ UINT *pSampleMask) = 0;
virtual void STDMETHODCALLTYPE OMGetDepthStencilState( virtual void STDMETHODCALLTYPE OMGetDepthStencilState(
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DepthStencilState **ppDepthStencilState, _Out_opt_ ID3D11DepthStencilState **ppDepthStencilState,
/* [annotation] */ /* [annotation] */
__out_opt UINT *pStencilRef) = 0; _Out_opt_ UINT *pStencilRef) = 0;
virtual void STDMETHODCALLTYPE SOGetTargets( virtual void STDMETHODCALLTYPE SOGetTargets(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers, _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppSOTargets) = 0; _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppSOTargets) = 0;
virtual void STDMETHODCALLTYPE RSGetState( virtual void STDMETHODCALLTYPE RSGetState(
/* [annotation] */ /* [annotation] */
__out ID3D11RasterizerState **ppRasterizerState) = 0; _Out_ ID3D11RasterizerState **ppRasterizerState) = 0;
virtual void STDMETHODCALLTYPE RSGetViewports( virtual void STDMETHODCALLTYPE RSGetViewports(
/* [annotation] */ /* [annotation] */
__inout /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *pNumViewports, _Inout_ /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *pNumViewports,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumViewports) D3D11_VIEWPORT *pViewports) = 0; _Out_writes_opt_(*pNumViewports) D3D11_VIEWPORT *pViewports) = 0;
virtual void STDMETHODCALLTYPE RSGetScissorRects( virtual void STDMETHODCALLTYPE RSGetScissorRects(
/* [annotation] */ /* [annotation] */
__inout /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *pNumRects, _Inout_ /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *pNumRects,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumRects) D3D11_RECT *pRects) = 0; _Out_writes_opt_(*pNumRects) D3D11_RECT *pRects) = 0;
virtual void STDMETHODCALLTYPE HSGetShaderResources( virtual void STDMETHODCALLTYPE HSGetShaderResources(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceV iews) = 0; _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResou rceViews) = 0;
virtual void STDMETHODCALLTYPE HSGetShader( virtual void STDMETHODCALLTYPE HSGetShader(
/* [annotation] */ /* [annotation] */
__out_opt ID3D11HullShader **ppHullShader, _Out_ ID3D11HullShader **ppHullShader,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances, _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNumClassInstances) = 0; _Inout_opt_ UINT *pNumClassInstances) = 0;
virtual void STDMETHODCALLTYPE HSGetSamplers( virtual void STDMETHODCALLTYPE HSGetSamplers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers) = 0; _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers) = 0;
virtual void STDMETHODCALLTYPE HSGetConstantBuffers( virtual void STDMETHODCALLTYPE HSGetConstantBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0; _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE DSGetShaderResources( virtual void STDMETHODCALLTYPE DSGetShaderResources(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceV iews) = 0; _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResou rceViews) = 0;
virtual void STDMETHODCALLTYPE DSGetShader( virtual void STDMETHODCALLTYPE DSGetShader(
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DomainShader **ppDomainShader, _Out_ ID3D11DomainShader **ppDomainShader,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances, _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNumClassInstances) = 0; _Inout_opt_ UINT *pNumClassInstances) = 0;
virtual void STDMETHODCALLTYPE DSGetSamplers( virtual void STDMETHODCALLTYPE DSGetSamplers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers) = 0; _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers) = 0;
virtual void STDMETHODCALLTYPE DSGetConstantBuffers( virtual void STDMETHODCALLTYPE DSGetConstantBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0; _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE CSGetShaderResources( virtual void STDMETHODCALLTYPE CSGetShaderResources(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceV iews) = 0; _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResou rceViews) = 0;
virtual void STDMETHODCALLTYPE CSGetUnorderedAccessViews( virtual void STDMETHODCALLTYPE CSGetUnorderedAccessViews(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot ) UINT Nu mUAVs, _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot ) UINT Nu mUAVs,
/* [annotation] */ /* [annotation] */
__out_ecount(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccess Views) = 0; _Out_writes_opt_(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAc cessViews) = 0;
virtual void STDMETHODCALLTYPE CSGetShader( virtual void STDMETHODCALLTYPE CSGetShader(
/* [annotation] */ /* [annotation] */
__out_opt ID3D11ComputeShader **ppComputeShader, _Out_ ID3D11ComputeShader **ppComputeShader,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances, _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNumClassInstances) = 0; _Inout_opt_ UINT *pNumClassInstances) = 0;
virtual void STDMETHODCALLTYPE CSGetSamplers( virtual void STDMETHODCALLTYPE CSGetSamplers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers) = 0; _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers) = 0;
virtual void STDMETHODCALLTYPE CSGetConstantBuffers( virtual void STDMETHODCALLTYPE CSGetConstantBuffers(
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0; _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE ClearState( void) = 0; virtual void STDMETHODCALLTYPE ClearState( void) = 0;
virtual void STDMETHODCALLTYPE Flush( void) = 0; virtual void STDMETHODCALLTYPE Flush( void) = 0;
virtual D3D11_DEVICE_CONTEXT_TYPE STDMETHODCALLTYPE GetType( void) = 0; virtual D3D11_DEVICE_CONTEXT_TYPE STDMETHODCALLTYPE GetType( void) = 0;
virtual UINT STDMETHODCALLTYPE GetContextFlags( void) = 0; virtual UINT STDMETHODCALLTYPE GetContextFlags( void) = 0;
virtual HRESULT STDMETHODCALLTYPE FinishCommandList( virtual HRESULT STDMETHODCALLTYPE FinishCommandList(
BOOL RestoreDeferredContextState, BOOL RestoreDeferredContextState,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11CommandList **ppCommandList) = 0; _Out_opt_ ID3D11CommandList **ppCommandList) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11DeviceContextVtbl typedef struct ID3D11DeviceContextVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11DeviceContext * This); ID3D11DeviceContext * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11DeviceContext * This); ID3D11DeviceContext * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out ID3D11Device **ppDevice); _Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( *pDataSize ) void *pData); _Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt( DataSize ) const void *pData); _In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *VSSetConstantBuffers )( void ( STDMETHODCALLTYPE *VSSetConstantBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers); _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *PSSetShaderResources )( void ( STDMETHODCALLTYPE *PSSetShaderResources )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderReso urceViews); _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderR esourceViews);
void ( STDMETHODCALLTYPE *PSSetShader )( void ( STDMETHODCALLTYPE *PSSetShader )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11PixelShader *pPixelShader, _In_opt_ ID3D11PixelShader *pPixelShader,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppCl assInstances, _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppCla ssInstances,
UINT NumClassInstances); UINT NumClassInstances);
void ( STDMETHODCALLTYPE *PSSetSamplers )( void ( STDMETHODCALLTYPE *PSSetSamplers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers); _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *VSSetShader )( void ( STDMETHODCALLTYPE *VSSetShader )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11VertexShader *pVertexShader, _In_opt_ ID3D11VertexShader *pVertexShader,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppCl assInstances, _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppCla ssInstances,
UINT NumClassInstances); UINT NumClassInstances);
void ( STDMETHODCALLTYPE *DrawIndexed )( void ( STDMETHODCALLTYPE *DrawIndexed )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in UINT IndexCount, _In_ UINT IndexCount,
/* [annotation] */ /* [annotation] */
__in UINT StartIndexLocation, _In_ UINT StartIndexLocation,
/* [annotation] */ /* [annotation] */
__in INT BaseVertexLocation); _In_ INT BaseVertexLocation);
void ( STDMETHODCALLTYPE *Draw )( void ( STDMETHODCALLTYPE *Draw )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in UINT VertexCount, _In_ UINT VertexCount,
/* [annotation] */ /* [annotation] */
__in UINT StartVertexLocation); _In_ UINT StartVertexLocation);
HRESULT ( STDMETHODCALLTYPE *Map )( HRESULT ( STDMETHODCALLTYPE *Map )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
/* [annotation] */ /* [annotation] */
__in UINT Subresource, _In_ UINT Subresource,
/* [annotation] */ /* [annotation] */
__in D3D11_MAP MapType, _In_ D3D11_MAP MapType,
/* [annotation] */ /* [annotation] */
__in UINT MapFlags, _In_ UINT MapFlags,
/* [annotation] */ /* [annotation] */
__out D3D11_MAPPED_SUBRESOURCE *pMappedResource); _Out_ D3D11_MAPPED_SUBRESOURCE *pMappedResource);
void ( STDMETHODCALLTYPE *Unmap )( void ( STDMETHODCALLTYPE *Unmap )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
/* [annotation] */ /* [annotation] */
__in UINT Subresource); _In_ UINT Subresource);
void ( STDMETHODCALLTYPE *PSSetConstantBuffers )( void ( STDMETHODCALLTYPE *PSSetConstantBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers); _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *IASetInputLayout )( void ( STDMETHODCALLTYPE *IASetInputLayout )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11InputLayout *pInputLayout); _In_opt_ ID3D11InputLayout *pInputLayout);
void ( STDMETHODCALLTYPE *IASetVertexBuffers )( void ( STDMETHODCALLTYPE *IASetVertexBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppVertexBuffers, _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppVertexBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) const UINT *pStrides, _In_reads_opt_(NumBuffers) const UINT *pStrides,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) const UINT *pOffsets); _In_reads_opt_(NumBuffers) const UINT *pOffsets);
void ( STDMETHODCALLTYPE *IASetIndexBuffer )( void ( STDMETHODCALLTYPE *IASetIndexBuffer )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11Buffer *pIndexBuffer, _In_opt_ ID3D11Buffer *pIndexBuffer,
/* [annotation] */ /* [annotation] */
__in DXGI_FORMAT Format, _In_ DXGI_FORMAT Format,
/* [annotation] */ /* [annotation] */
__in UINT Offset); _In_ UINT Offset);
void ( STDMETHODCALLTYPE *DrawIndexedInstanced )( void ( STDMETHODCALLTYPE *DrawIndexedInstanced )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in UINT IndexCountPerInstance, _In_ UINT IndexCountPerInstance,
/* [annotation] */ /* [annotation] */
__in UINT InstanceCount, _In_ UINT InstanceCount,
/* [annotation] */ /* [annotation] */
__in UINT StartIndexLocation, _In_ UINT StartIndexLocation,
/* [annotation] */ /* [annotation] */
__in INT BaseVertexLocation, _In_ INT BaseVertexLocation,
/* [annotation] */ /* [annotation] */
__in UINT StartInstanceLocation); _In_ UINT StartInstanceLocation);
void ( STDMETHODCALLTYPE *DrawInstanced )( void ( STDMETHODCALLTYPE *DrawInstanced )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in UINT VertexCountPerInstance, _In_ UINT VertexCountPerInstance,
/* [annotation] */ /* [annotation] */
__in UINT InstanceCount, _In_ UINT InstanceCount,
/* [annotation] */ /* [annotation] */
__in UINT StartVertexLocation, _In_ UINT StartVertexLocation,
/* [annotation] */ /* [annotation] */
__in UINT StartInstanceLocation); _In_ UINT StartInstanceLocation);
void ( STDMETHODCALLTYPE *GSSetConstantBuffers )( void ( STDMETHODCALLTYPE *GSSetConstantBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers); _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *GSSetShader )( void ( STDMETHODCALLTYPE *GSSetShader )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11GeometryShader *pShader, _In_opt_ ID3D11GeometryShader *pShader,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppCl assInstances, _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppCla ssInstances,
UINT NumClassInstances); UINT NumClassInstances);
void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )( void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in D3D11_PRIMITIVE_TOPOLOGY Topology); _In_ D3D11_PRIMITIVE_TOPOLOGY Topology);
void ( STDMETHODCALLTYPE *VSSetShaderResources )( void ( STDMETHODCALLTYPE *VSSetShaderResources )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderReso urceViews); _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderR esourceViews);
void ( STDMETHODCALLTYPE *VSSetSamplers )( void ( STDMETHODCALLTYPE *VSSetSamplers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers); _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *Begin )( void ( STDMETHODCALLTYPE *Begin )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Asynchronous *pAsync); _In_ ID3D11Asynchronous *pAsync);
void ( STDMETHODCALLTYPE *End )( void ( STDMETHODCALLTYPE *End )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Asynchronous *pAsync); _In_ ID3D11Asynchronous *pAsync);
HRESULT ( STDMETHODCALLTYPE *GetData )( HRESULT ( STDMETHODCALLTYPE *GetData )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Asynchronous *pAsync, _In_ ID3D11Asynchronous *pAsync,
/* [annotation] */ /* [annotation] */
__out_bcount_opt( DataSize ) void *pData, _Out_writes_bytes_opt_( DataSize ) void *pData,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in UINT GetDataFlags); _In_ UINT GetDataFlags);
void ( STDMETHODCALLTYPE *SetPredication )( void ( STDMETHODCALLTYPE *SetPredication )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11Predicate *pPredicate, _In_opt_ ID3D11Predicate *pPredicate,
/* [annotation] */ /* [annotation] */
__in BOOL PredicateValue); _In_ BOOL PredicateValue);
void ( STDMETHODCALLTYPE *GSSetShaderResources )( void ( STDMETHODCALLTYPE *GSSetShaderResources )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderReso urceViews); _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderR esourceViews);
void ( STDMETHODCALLTYPE *GSSetSamplers )( void ( STDMETHODCALLTYPE *GSSetSamplers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers); _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *OMSetRenderTargets )( void ( STDMETHODCALLTYPE *OMSetRenderTargets )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws, _In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumViews) ID3D11RenderTargetView *const *ppRenderTa rgetViews, _In_reads_opt_(NumViews) ID3D11RenderTargetView *const *ppRenderTar getViews,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11DepthStencilView *pDepthStencilView); _In_opt_ ID3D11DepthStencilView *pDepthStencilView);
void ( STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews )( void ( STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in UINT NumRTVs, _In_ UINT NumRTVs,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumRTVs) ID3D11RenderTargetView *const *ppRenderTar getViews, _In_reads_opt_(NumRTVs) ID3D11RenderTargetView *const *ppRenderTarg etViews,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11DepthStencilView *pDepthStencilView, _In_opt_ ID3D11DepthStencilView *pDepthStencilView,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSl ot, _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT UAVStartSlot,
/* [annotation] */ /* [annotation] */
__in UINT NumUAVs, _In_ UINT NumUAVs,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorde redAccessViews, _In_reads_opt_(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorder edAccessViews,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumUAVs) const UINT *pUAVInitialCounts); _In_reads_opt_(NumUAVs) const UINT *pUAVInitialCounts);
void ( STDMETHODCALLTYPE *OMSetBlendState )( void ( STDMETHODCALLTYPE *OMSetBlendState )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11BlendState *pBlendState, _In_opt_ ID3D11BlendState *pBlendState,
/* [annotation] */ /* [annotation] */
__in_opt const FLOAT BlendFactor[ 4 ], _In_opt_ const FLOAT BlendFactor[ 4 ],
/* [annotation] */ /* [annotation] */
__in UINT SampleMask); _In_ UINT SampleMask);
void ( STDMETHODCALLTYPE *OMSetDepthStencilState )( void ( STDMETHODCALLTYPE *OMSetDepthStencilState )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11DepthStencilState *pDepthStencilState, _In_opt_ ID3D11DepthStencilState *pDepthStencilState,
/* [annotation] */ /* [annotation] */
__in UINT StencilRef); _In_ UINT StencilRef);
void ( STDMETHODCALLTYPE *SOSetTargets )( void ( STDMETHODCALLTYPE *SOSetTargets )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SO_BUFFER_SLOT_COUNT) UINT NumBuffers, _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumBuffers) ID3D11Buffer *const *ppSOTargets, _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppSOTargets,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumBuffers) const UINT *pOffsets); _In_reads_opt_(NumBuffers) const UINT *pOffsets);
void ( STDMETHODCALLTYPE *DrawAuto )( void ( STDMETHODCALLTYPE *DrawAuto )(
ID3D11DeviceContext * This); ID3D11DeviceContext * This);
void ( STDMETHODCALLTYPE *DrawIndexedInstancedIndirect )( void ( STDMETHODCALLTYPE *DrawIndexedInstancedIndirect )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Buffer *pBufferForArgs, _In_ ID3D11Buffer *pBufferForArgs,
/* [annotation] */ /* [annotation] */
__in UINT AlignedByteOffsetForArgs); _In_ UINT AlignedByteOffsetForArgs);
void ( STDMETHODCALLTYPE *DrawInstancedIndirect )( void ( STDMETHODCALLTYPE *DrawInstancedIndirect )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Buffer *pBufferForArgs, _In_ ID3D11Buffer *pBufferForArgs,
/* [annotation] */ /* [annotation] */
__in UINT AlignedByteOffsetForArgs); _In_ UINT AlignedByteOffsetForArgs);
void ( STDMETHODCALLTYPE *Dispatch )( void ( STDMETHODCALLTYPE *Dispatch )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in UINT ThreadGroupCountX, _In_ UINT ThreadGroupCountX,
/* [annotation] */ /* [annotation] */
__in UINT ThreadGroupCountY, _In_ UINT ThreadGroupCountY,
/* [annotation] */ /* [annotation] */
__in UINT ThreadGroupCountZ); _In_ UINT ThreadGroupCountZ);
void ( STDMETHODCALLTYPE *DispatchIndirect )( void ( STDMETHODCALLTYPE *DispatchIndirect )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Buffer *pBufferForArgs, _In_ ID3D11Buffer *pBufferForArgs,
/* [annotation] */ /* [annotation] */
__in UINT AlignedByteOffsetForArgs); _In_ UINT AlignedByteOffsetForArgs);
void ( STDMETHODCALLTYPE *RSSetState )( void ( STDMETHODCALLTYPE *RSSetState )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11RasterizerState *pRasterizerState); _In_opt_ ID3D11RasterizerState *pRasterizerState);
void ( STDMETHODCALLTYPE *RSSetViewports )( void ( STDMETHODCALLTYPE *RSSetViewports )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumViewports, _In_range_(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumViewports,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumViewports) const D3D11_VIEWPORT *pViewports); _In_reads_opt_(NumViewports) const D3D11_VIEWPORT *pViewports);
void ( STDMETHODCALLTYPE *RSSetScissorRects )( void ( STDMETHODCALLTYPE *RSSetScissorRects )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumRects, _In_range_(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumRects,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumRects) const D3D11_RECT *pRects); _In_reads_opt_(NumRects) const D3D11_RECT *pRects);
void ( STDMETHODCALLTYPE *CopySubresourceRegion )( void ( STDMETHODCALLTYPE *CopySubresourceRegion )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pDstResource, _In_ ID3D11Resource *pDstResource,
/* [annotation] */ /* [annotation] */
__in UINT DstSubresource, _In_ UINT DstSubresource,
/* [annotation] */ /* [annotation] */
__in UINT DstX, _In_ UINT DstX,
/* [annotation] */ /* [annotation] */
__in UINT DstY, _In_ UINT DstY,
/* [annotation] */ /* [annotation] */
__in UINT DstZ, _In_ UINT DstZ,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pSrcResource, _In_ ID3D11Resource *pSrcResource,
/* [annotation] */ /* [annotation] */
__in UINT SrcSubresource, _In_ UINT SrcSubresource,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_BOX *pSrcBox); _In_opt_ const D3D11_BOX *pSrcBox);
void ( STDMETHODCALLTYPE *CopyResource )( void ( STDMETHODCALLTYPE *CopyResource )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pDstResource, _In_ ID3D11Resource *pDstResource,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pSrcResource); _In_ ID3D11Resource *pSrcResource);
void ( STDMETHODCALLTYPE *UpdateSubresource )( void ( STDMETHODCALLTYPE *UpdateSubresource )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pDstResource, _In_ ID3D11Resource *pDstResource,
/* [annotation] */ /* [annotation] */
__in UINT DstSubresource, _In_ UINT DstSubresource,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_BOX *pDstBox, _In_opt_ const D3D11_BOX *pDstBox,
/* [annotation] */ /* [annotation] */
__in const void *pSrcData, _In_ const void *pSrcData,
/* [annotation] */ /* [annotation] */
__in UINT SrcRowPitch, _In_ UINT SrcRowPitch,
/* [annotation] */ /* [annotation] */
__in UINT SrcDepthPitch); _In_ UINT SrcDepthPitch);
void ( STDMETHODCALLTYPE *CopyStructureCount )( void ( STDMETHODCALLTYPE *CopyStructureCount )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Buffer *pDstBuffer, _In_ ID3D11Buffer *pDstBuffer,
/* [annotation] */ /* [annotation] */
__in UINT DstAlignedByteOffset, _In_ UINT DstAlignedByteOffset,
/* [annotation] */ /* [annotation] */
__in ID3D11UnorderedAccessView *pSrcView); _In_ ID3D11UnorderedAccessView *pSrcView);
void ( STDMETHODCALLTYPE *ClearRenderTargetView )( void ( STDMETHODCALLTYPE *ClearRenderTargetView )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11RenderTargetView *pRenderTargetView, _In_ ID3D11RenderTargetView *pRenderTargetView,
/* [annotation] */ /* [annotation] */
__in const FLOAT ColorRGBA[ 4 ]); _In_ const FLOAT ColorRGBA[ 4 ]);
void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewUint )( void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewUint )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11UnorderedAccessView *pUnorderedAccessView, _In_ ID3D11UnorderedAccessView *pUnorderedAccessView,
/* [annotation] */ /* [annotation] */
__in const UINT Values[ 4 ]); _In_ const UINT Values[ 4 ]);
void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat )( void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11UnorderedAccessView *pUnorderedAccessView, _In_ ID3D11UnorderedAccessView *pUnorderedAccessView,
/* [annotation] */ /* [annotation] */
__in const FLOAT Values[ 4 ]); _In_ const FLOAT Values[ 4 ]);
void ( STDMETHODCALLTYPE *ClearDepthStencilView )( void ( STDMETHODCALLTYPE *ClearDepthStencilView )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11DepthStencilView *pDepthStencilView, _In_ ID3D11DepthStencilView *pDepthStencilView,
/* [annotation] */ /* [annotation] */
__in UINT ClearFlags, _In_ UINT ClearFlags,
/* [annotation] */ /* [annotation] */
__in FLOAT Depth, _In_ FLOAT Depth,
/* [annotation] */ /* [annotation] */
__in UINT8 Stencil); _In_ UINT8 Stencil);
void ( STDMETHODCALLTYPE *GenerateMips )( void ( STDMETHODCALLTYPE *GenerateMips )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11ShaderResourceView *pShaderResourceView); _In_ ID3D11ShaderResourceView *pShaderResourceView);
void ( STDMETHODCALLTYPE *SetResourceMinLOD )( void ( STDMETHODCALLTYPE *SetResourceMinLOD )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
FLOAT MinLOD); FLOAT MinLOD);
FLOAT ( STDMETHODCALLTYPE *GetResourceMinLOD )( FLOAT ( STDMETHODCALLTYPE *GetResourceMinLOD )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource); _In_ ID3D11Resource *pResource);
void ( STDMETHODCALLTYPE *ResolveSubresource )( void ( STDMETHODCALLTYPE *ResolveSubresource )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pDstResource, _In_ ID3D11Resource *pDstResource,
/* [annotation] */ /* [annotation] */
__in UINT DstSubresource, _In_ UINT DstSubresource,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pSrcResource, _In_ ID3D11Resource *pSrcResource,
/* [annotation] */ /* [annotation] */
__in UINT SrcSubresource, _In_ UINT SrcSubresource,
/* [annotation] */ /* [annotation] */
__in DXGI_FORMAT Format); _In_ DXGI_FORMAT Format);
void ( STDMETHODCALLTYPE *ExecuteCommandList )( void ( STDMETHODCALLTYPE *ExecuteCommandList )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in ID3D11CommandList *pCommandList, _In_ ID3D11CommandList *pCommandList,
BOOL RestoreContextState); BOOL RestoreContextState);
void ( STDMETHODCALLTYPE *HSSetShaderResources )( void ( STDMETHODCALLTYPE *HSSetShaderResources )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderReso urceViews); _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderR esourceViews);
void ( STDMETHODCALLTYPE *HSSetShader )( void ( STDMETHODCALLTYPE *HSSetShader )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11HullShader *pHullShader, _In_opt_ ID3D11HullShader *pHullShader,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppCl assInstances, _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppCla ssInstances,
UINT NumClassInstances); UINT NumClassInstances);
void ( STDMETHODCALLTYPE *HSSetSamplers )( void ( STDMETHODCALLTYPE *HSSetSamplers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers); _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *HSSetConstantBuffers )( void ( STDMETHODCALLTYPE *HSSetConstantBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers); _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *DSSetShaderResources )( void ( STDMETHODCALLTYPE *DSSetShaderResources )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderReso urceViews); _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderR esourceViews);
void ( STDMETHODCALLTYPE *DSSetShader )( void ( STDMETHODCALLTYPE *DSSetShader )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11DomainShader *pDomainShader, _In_opt_ ID3D11DomainShader *pDomainShader,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppCl assInstances, _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppCla ssInstances,
UINT NumClassInstances); UINT NumClassInstances);
void ( STDMETHODCALLTYPE *DSSetSamplers )( void ( STDMETHODCALLTYPE *DSSetSamplers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers); _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *DSSetConstantBuffers )( void ( STDMETHODCALLTYPE *DSSetConstantBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers); _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *CSSetShaderResources )( void ( STDMETHODCALLTYPE *CSSetShaderResources )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderReso urceViews); _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderR esourceViews);
void ( STDMETHODCALLTYPE *CSSetUnorderedAccessViews )( void ( STDMETHODCALLTYPE *CSSetUnorderedAccessViews )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot ) UINT Nu mUAVs, _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - StartSlot ) UINT NumUAVs,
/* [annotation] */ /* [annotation] */
__in_ecount(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedA ccessViews, _In_reads_opt_(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorder edAccessViews,
/* [annotation] */ /* [annotation] */
__in_ecount(NumUAVs) const UINT *pUAVInitialCounts); _In_reads_opt_(NumUAVs) const UINT *pUAVInitialCounts);
void ( STDMETHODCALLTYPE *CSSetShader )( void ( STDMETHODCALLTYPE *CSSetShader )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ComputeShader *pComputeShader, _In_opt_ ID3D11ComputeShader *pComputeShader,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppCl assInstances, _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppCla ssInstances,
UINT NumClassInstances); UINT NumClassInstances);
void ( STDMETHODCALLTYPE *CSSetSamplers )( void ( STDMETHODCALLTYPE *CSSetSamplers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers); _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *CSSetConstantBuffers )( void ( STDMETHODCALLTYPE *CSSetConstantBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers); _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *VSGetConstantBuffers )( void ( STDMETHODCALLTYPE *VSGetConstantBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers); _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *PSGetShaderResources )( void ( STDMETHODCALLTYPE *PSGetShaderResources )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceV iews); _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResou rceViews);
void ( STDMETHODCALLTYPE *PSGetShader )( void ( STDMETHODCALLTYPE *PSGetShader )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11PixelShader **ppPixelShader, _Out_ ID3D11PixelShader **ppPixelShader,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances, _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNumClassInstances); _Inout_opt_ UINT *pNumClassInstances);
void ( STDMETHODCALLTYPE *PSGetSamplers )( void ( STDMETHODCALLTYPE *PSGetSamplers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers); _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *VSGetShader )( void ( STDMETHODCALLTYPE *VSGetShader )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11VertexShader **ppVertexShader, _Out_ ID3D11VertexShader **ppVertexShader,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances, _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNumClassInstances); _Inout_opt_ UINT *pNumClassInstances);
void ( STDMETHODCALLTYPE *PSGetConstantBuffers )( void ( STDMETHODCALLTYPE *PSGetConstantBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers); _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *IAGetInputLayout )( void ( STDMETHODCALLTYPE *IAGetInputLayout )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out ID3D11InputLayout **ppInputLayout); _Out_ ID3D11InputLayout **ppInputLayout);
void ( STDMETHODCALLTYPE *IAGetVertexBuffers )( void ( STDMETHODCALLTYPE *IAGetVertexBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(NumBuffers) ID3D11Buffer **ppVertexBuffers, _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppVertexBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(NumBuffers) UINT *pStrides, _Out_writes_opt_(NumBuffers) UINT *pStrides,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(NumBuffers) UINT *pOffsets); _Out_writes_opt_(NumBuffers) UINT *pOffsets);
void ( STDMETHODCALLTYPE *IAGetIndexBuffer )( void ( STDMETHODCALLTYPE *IAGetIndexBuffer )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Buffer **pIndexBuffer, _Out_opt_ ID3D11Buffer **pIndexBuffer,
/* [annotation] */ /* [annotation] */
__out_opt DXGI_FORMAT *Format, _Out_opt_ DXGI_FORMAT *Format,
/* [annotation] */ /* [annotation] */
__out_opt UINT *Offset); _Out_opt_ UINT *Offset);
void ( STDMETHODCALLTYPE *GSGetConstantBuffers )( void ( STDMETHODCALLTYPE *GSGetConstantBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers); _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *GSGetShader )( void ( STDMETHODCALLTYPE *GSGetShader )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11GeometryShader **ppGeometryShader, _Out_ ID3D11GeometryShader **ppGeometryShader,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances, _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNumClassInstances); _Inout_opt_ UINT *pNumClassInstances);
void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )( void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out D3D11_PRIMITIVE_TOPOLOGY *pTopology); _Out_ D3D11_PRIMITIVE_TOPOLOGY *pTopology);
void ( STDMETHODCALLTYPE *VSGetShaderResources )( void ( STDMETHODCALLTYPE *VSGetShaderResources )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceV iews); _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResou rceViews);
void ( STDMETHODCALLTYPE *VSGetSamplers )( void ( STDMETHODCALLTYPE *VSGetSamplers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers); _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *GetPredication )( void ( STDMETHODCALLTYPE *GetPredication )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Predicate **ppPredicate, _Out_opt_ ID3D11Predicate **ppPredicate,
/* [annotation] */ /* [annotation] */
__out_opt BOOL *pPredicateValue); _Out_opt_ BOOL *pPredicateValue);
void ( STDMETHODCALLTYPE *GSGetShaderResources )( void ( STDMETHODCALLTYPE *GSGetShaderResources )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceV iews); _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResou rceViews);
void ( STDMETHODCALLTYPE *GSGetSamplers )( void ( STDMETHODCALLTYPE *GSGetSamplers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers); _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *OMGetRenderTargets )( void ( STDMETHODCALLTYPE *OMGetRenderTargets )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws, _In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(NumViews) ID3D11RenderTargetView **ppRenderTargetV iews, _Out_writes_opt_(NumViews) ID3D11RenderTargetView **ppRenderTargetV iews,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DepthStencilView **ppDepthStencilView); _Out_opt_ ID3D11DepthStencilView **ppDepthStencilView);
void ( STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews )( void ( STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumRTV s, _In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumRTV s,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(NumRTVs) ID3D11RenderTargetView **ppRenderTargetVi ews, _Out_writes_opt_(NumRTVs) ID3D11RenderTargetView **ppRenderTargetVi ews,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DepthStencilView **ppDepthStencilView, _Out_opt_ ID3D11DepthStencilView **ppDepthStencilView,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSl ot, _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSl ot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - UAVStartSlot ) UINT NumUAVs, _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - UAVStartSlot ) UINT NumUAVs,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAc cessViews); _Out_writes_opt_(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAc cessViews);
void ( STDMETHODCALLTYPE *OMGetBlendState )( void ( STDMETHODCALLTYPE *OMGetBlendState )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11BlendState **ppBlendState, _Out_opt_ ID3D11BlendState **ppBlendState,
/* [annotation] */ /* [annotation] */
__out_opt FLOAT BlendFactor[ 4 ], _Out_opt_ FLOAT BlendFactor[ 4 ],
/* [annotation] */ /* [annotation] */
__out_opt UINT *pSampleMask); _Out_opt_ UINT *pSampleMask);
void ( STDMETHODCALLTYPE *OMGetDepthStencilState )( void ( STDMETHODCALLTYPE *OMGetDepthStencilState )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DepthStencilState **ppDepthStencilState, _Out_opt_ ID3D11DepthStencilState **ppDepthStencilState,
/* [annotation] */ /* [annotation] */
__out_opt UINT *pStencilRef); _Out_opt_ UINT *pStencilRef);
void ( STDMETHODCALLTYPE *SOGetTargets )( void ( STDMETHODCALLTYPE *SOGetTargets )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers, _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppSOTargets); _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppSOTargets);
void ( STDMETHODCALLTYPE *RSGetState )( void ( STDMETHODCALLTYPE *RSGetState )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out ID3D11RasterizerState **ppRasterizerState); _Out_ ID3D11RasterizerState **ppRasterizerState);
void ( STDMETHODCALLTYPE *RSGetViewports )( void ( STDMETHODCALLTYPE *RSGetViewports )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__inout /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *pNumViewports, _Inout_ /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *pNumViewports,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumViewports) D3D11_VIEWPORT *pViewports); _Out_writes_opt_(*pNumViewports) D3D11_VIEWPORT *pViewports);
void ( STDMETHODCALLTYPE *RSGetScissorRects )( void ( STDMETHODCALLTYPE *RSGetScissorRects )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__inout /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *pNumRects, _Inout_ /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *pNumRects,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumRects) D3D11_RECT *pRects); _Out_writes_opt_(*pNumRects) D3D11_RECT *pRects);
void ( STDMETHODCALLTYPE *HSGetShaderResources )( void ( STDMETHODCALLTYPE *HSGetShaderResources )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceV iews); _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResou rceViews);
void ( STDMETHODCALLTYPE *HSGetShader )( void ( STDMETHODCALLTYPE *HSGetShader )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11HullShader **ppHullShader, _Out_ ID3D11HullShader **ppHullShader,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances, _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNumClassInstances); _Inout_opt_ UINT *pNumClassInstances);
void ( STDMETHODCALLTYPE *HSGetSamplers )( void ( STDMETHODCALLTYPE *HSGetSamplers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers); _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *HSGetConstantBuffers )( void ( STDMETHODCALLTYPE *HSGetConstantBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers); _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *DSGetShaderResources )( void ( STDMETHODCALLTYPE *DSGetShaderResources )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceV iews); _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResou rceViews);
void ( STDMETHODCALLTYPE *DSGetShader )( void ( STDMETHODCALLTYPE *DSGetShader )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DomainShader **ppDomainShader, _Out_ ID3D11DomainShader **ppDomainShader,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances, _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNumClassInstances); _Inout_opt_ UINT *pNumClassInstances);
void ( STDMETHODCALLTYPE *DSGetSamplers )( void ( STDMETHODCALLTYPE *DSGetSamplers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers); _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *DSGetConstantBuffers )( void ( STDMETHODCALLTYPE *DSGetConstantBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers); _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *CSGetShaderResources )( void ( STDMETHODCALLTYPE *CSGetShaderResources )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* [annotation] */ /* [annotation] */
__out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceV iews); _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResou rceViews);
void ( STDMETHODCALLTYPE *CSGetUnorderedAccessViews )( void ( STDMETHODCALLTYPE *CSGetUnorderedAccessViews )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot ) UINT Nu mUAVs, _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot ) UINT Nu mUAVs,
/* [annotation] */ /* [annotation] */
__out_ecount(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccess Views); _Out_writes_opt_(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAc cessViews);
void ( STDMETHODCALLTYPE *CSGetShader )( void ( STDMETHODCALLTYPE *CSGetShader )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11ComputeShader **ppComputeShader, _Out_ ID3D11ComputeShader **ppComputeShader,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances, _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClass Instances,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNumClassInstances); _Inout_opt_ UINT *pNumClassInstances);
void ( STDMETHODCALLTYPE *CSGetSamplers )( void ( STDMETHODCALLTYPE *CSGetSamplers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers); _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *CSGetConstantBuffers )( void ( STDMETHODCALLTYPE *CSGetConstantBuffers )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* [annotation] */ /* [annotation] */
__out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers); _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *ClearState )( void ( STDMETHODCALLTYPE *ClearState )(
ID3D11DeviceContext * This); ID3D11DeviceContext * This);
void ( STDMETHODCALLTYPE *Flush )( void ( STDMETHODCALLTYPE *Flush )(
ID3D11DeviceContext * This); ID3D11DeviceContext * This);
D3D11_DEVICE_CONTEXT_TYPE ( STDMETHODCALLTYPE *GetType )( D3D11_DEVICE_CONTEXT_TYPE ( STDMETHODCALLTYPE *GetType )(
ID3D11DeviceContext * This); ID3D11DeviceContext * This);
UINT ( STDMETHODCALLTYPE *GetContextFlags )( UINT ( STDMETHODCALLTYPE *GetContextFlags )(
ID3D11DeviceContext * This); ID3D11DeviceContext * This);
HRESULT ( STDMETHODCALLTYPE *FinishCommandList )( HRESULT ( STDMETHODCALLTYPE *FinishCommandList )(
ID3D11DeviceContext * This, ID3D11DeviceContext * This,
BOOL RestoreDeferredContextState, BOOL RestoreDeferredContextState,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11CommandList **ppCommandList); _Out_opt_ ID3D11CommandList **ppCommandList);
END_INTERFACE END_INTERFACE
} ID3D11DeviceContextVtbl; } ID3D11DeviceContextVtbl;
interface ID3D11DeviceContext interface ID3D11DeviceContext
{ {
CONST_VTBL struct ID3D11DeviceContextVtbl *lpVtbl; CONST_VTBL struct ID3D11DeviceContextVtbl *lpVtbl;
}; };
#ifdef COBJMACROS #ifdef COBJMACROS
skipping to change at line 8908 skipping to change at line 9120
#define ID3D11DeviceContext_FinishCommandList(This,RestoreDeferredContextState,p pCommandList) \ #define ID3D11DeviceContext_FinishCommandList(This,RestoreDeferredContextState,p pCommandList) \
( (This)->lpVtbl -> FinishCommandList(This,RestoreDeferredContextState,ppCom mandList) ) ( (This)->lpVtbl -> FinishCommandList(This,RestoreDeferredContextState,ppCom mandList) )
#endif /* COBJMACROS */ #endif /* COBJMACROS */
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D11DeviceContext_INTERFACE_DEFINED__ */ #endif /* __ID3D11DeviceContext_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0030 */
/* [local] */
#if !defined( D3D11_VIDEO_NO_HELPERS ) && defined( __cplusplus )
}
struct CD3D11_VIDEO_DEFAULT {};
extern const DECLSPEC_SELECTANY CD3D11_VIDEO_DEFAULT D3D11_VIDEO_DEFAULT;
extern "C"{
#endif
#if !defined(APP_DEPRECATED_HRESULT) && !defined(APP_DEPRECATED_HRESULT_TYPEDEF)
#define APP_DEPRECATED_HRESULT_TYPEDEF
typedef HRESULT APP_DEPRECATED_HRESULT;
#endif
DEFINE_GUID(D3D11_DECODER_PROFILE_MPEG2_MOCOMP, 0xe6a9f44b, 0x61b0, 0x4563,
0x9e,0xa4,0x63,0xd2,0xa3,0xc6,0xfe,0x66);
DEFINE_GUID(D3D11_DECODER_PROFILE_MPEG2_IDCT, 0xbf22ad00, 0x03ea, 0x4690,
0x80,0x77,0x47,0x33,0x46,0x20,0x9b,0x7e);
DEFINE_GUID(D3D11_DECODER_PROFILE_MPEG2_VLD, 0xee27417f, 0x5e28, 0x4e65,
0xbe,0xea,0x1d,0x26,0xb5,0x08,0xad,0xc9);
DEFINE_GUID(D3D11_DECODER_PROFILE_MPEG1_VLD, 0x6f3ec719, 0x3735, 0x42cc,
0x80,0x63,0x65,0xcc,0x3c,0xb3,0x66,0x16);
DEFINE_GUID(D3D11_DECODER_PROFILE_MPEG2and1_VLD, 0x86695f12, 0x340e, 0x4f04,
0x9f,0xd3,0x92,0x53,0xdd,0x32,0x74,0x60);
DEFINE_GUID(D3D11_DECODER_PROFILE_H264_MOCOMP_NOFGT, 0x1b81be64, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_H264_MOCOMP_FGT, 0x1b81be65, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_H264_IDCT_NOFGT, 0x1b81be66, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_H264_IDCT_FGT, 0x1b81be67, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_H264_VLD_NOFGT, 0x1b81be68, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_H264_VLD_FGT, 0x1b81be69, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_H264_VLD_WITHFMOASO_NOFGT, 0xd5f04ff9, 0x3418
,0x45d8,0x95,0x61,0x32,0xa7,0x6a,0xae,0x2d,0xdd);
DEFINE_GUID(D3D11_DECODER_PROFILE_H264_VLD_STEREO_PROGRESSIVE_NOFGT, 0xd79be8da,
0x0cf1,0x4c81,0xb8,0x2a,0x69,0xa4,0xe2,0x36,0xf4,0x3d);
DEFINE_GUID(D3D11_DECODER_PROFILE_H264_VLD_STEREO_NOFGT, 0xf9aaccbb,
0xc2b6,0x4cfc,0x87,0x79,0x57,0x07,0xb1,0x76,0x05,0x52);
DEFINE_GUID(D3D11_DECODER_PROFILE_H264_VLD_MULTIVIEW_NOFGT, 0x705b9d82,
0x76cf,0x49d6,0xb7,0xe6,0xac,0x88,0x72,0xdb,0x01,0x3c);
DEFINE_GUID(D3D11_DECODER_PROFILE_WMV8_POSTPROC, 0x1b81be80, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_WMV8_MOCOMP, 0x1b81be81, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_WMV9_POSTPROC, 0x1b81be90, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_WMV9_MOCOMP, 0x1b81be91, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_WMV9_IDCT, 0x1b81be94, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_VC1_POSTPROC, 0x1b81beA0, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_VC1_MOCOMP, 0x1b81beA1, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_VC1_IDCT, 0x1b81beA2, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_VC1_VLD, 0x1b81beA3, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_VC1_D2010, 0x1b81beA4, 0xa0c7,0x11d3,0
xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);
DEFINE_GUID(D3D11_DECODER_PROFILE_MPEG4PT2_VLD_SIMPLE, 0xefd64d74, 0xc
9e8,0x41d7,0xa5,0xe9,0xe9,0xb0,0xe3,0x9f,0xa3,0x19);
DEFINE_GUID(D3D11_DECODER_PROFILE_MPEG4PT2_VLD_ADVSIMPLE_NOGMC, 0xed418a9f, 0x0
10d,0x4eda,0x9a,0xe3,0x9a,0x65,0x35,0x8d,0x8d,0x2e);
DEFINE_GUID(D3D11_DECODER_PROFILE_MPEG4PT2_VLD_ADVSIMPLE_GMC, 0xab998b5b, 0x4
258,0x44a9,0x9f,0xeb,0x94,0xe5,0x97,0xa6,0xba,0xae);
DEFINE_GUID(D3D11_DECODER_PROFILE_HEVC_VLD_MAIN, 0x5b11d51b, 0x2f4c,0x4452,0
xbc,0xc3,0x09,0xf2,0xa1,0x16,0x0c,0xc0);
DEFINE_GUID(D3D11_DECODER_PROFILE_HEVC_VLD_MAIN10, 0x107af0e0, 0xef1a,0x4d19,0
xab,0xa8,0x67,0xa1,0x63,0x07,0x3d,0x13);
typedef struct D3D11_VIDEO_DECODER_DESC
{
GUID Guid;
UINT SampleWidth;
UINT SampleHeight;
DXGI_FORMAT OutputFormat;
} D3D11_VIDEO_DECODER_DESC;
typedef struct D3D11_VIDEO_DECODER_CONFIG
{
GUID guidConfigBitstreamEncryption;
GUID guidConfigMBcontrolEncryption;
GUID guidConfigResidDiffEncryption;
UINT ConfigBitstreamRaw;
UINT ConfigMBcontrolRasterOrder;
UINT ConfigResidDiffHost;
UINT ConfigSpatialResid8;
UINT ConfigResid8Subtraction;
UINT ConfigSpatialHost8or9Clipping;
UINT ConfigSpatialResidInterleaved;
UINT ConfigIntraResidUnsigned;
UINT ConfigResidDiffAccelerator;
UINT ConfigHostInverseScan;
UINT ConfigSpecificIDCT;
UINT Config4GroupedCoefs;
USHORT ConfigMinRenderTargetBuffCount;
USHORT ConfigDecoderSpecific;
} D3D11_VIDEO_DECODER_CONFIG;
typedef
enum D3D11_VIDEO_DECODER_BUFFER_TYPE
{
D3D11_VIDEO_DECODER_BUFFER_PICTURE_PARAMETERS = 0,
D3D11_VIDEO_DECODER_BUFFER_MACROBLOCK_CONTROL = 1,
D3D11_VIDEO_DECODER_BUFFER_RESIDUAL_DIFFERENCE = 2,
D3D11_VIDEO_DECODER_BUFFER_DEBLOCKING_CONTROL = 3,
D3D11_VIDEO_DECODER_BUFFER_INVERSE_QUANTIZATION_MATRIX = 4,
D3D11_VIDEO_DECODER_BUFFER_SLICE_CONTROL = 5,
D3D11_VIDEO_DECODER_BUFFER_BITSTREAM = 6,
D3D11_VIDEO_DECODER_BUFFER_MOTION_VECTOR = 7,
D3D11_VIDEO_DECODER_BUFFER_FILM_GRAIN = 8
} D3D11_VIDEO_DECODER_BUFFER_TYPE;
typedef struct _D3D11_AES_CTR_IV
{
UINT64 IV;
UINT64 Count;
} D3D11_AES_CTR_IV;
typedef struct D3D11_ENCRYPTED_BLOCK_INFO
{
UINT NumEncryptedBytesAtBeginning;
UINT NumBytesInSkipPattern;
UINT NumBytesInEncryptPattern;
} D3D11_ENCRYPTED_BLOCK_INFO;
typedef struct D3D11_VIDEO_DECODER_BUFFER_DESC
{
D3D11_VIDEO_DECODER_BUFFER_TYPE BufferType;
UINT BufferIndex;
UINT DataOffset;
UINT DataSize;
UINT FirstMBaddress;
UINT NumMBsInBuffer;
UINT Width;
UINT Height;
UINT Stride;
UINT ReservedBits;
/* [annotation] */
_Field_size_opt_(IVSize) void *pIV;
UINT IVSize;
BOOL PartialEncryption;
D3D11_ENCRYPTED_BLOCK_INFO EncryptedBlockInfo;
} D3D11_VIDEO_DECODER_BUFFER_DESC;
typedef struct D3D11_VIDEO_DECODER_EXTENSION
{
UINT Function;
/* [annotation] */
_Field_size_(PrivateInputDataSize) void *pPrivateInputData;
UINT PrivateInputDataSize;
/* [annotation] */
_Field_size_(PrivateOutputDataSize) void *pPrivateOutputData;
UINT PrivateOutputDataSize;
UINT ResourceCount;
/* [annotation] */
_Field_size_opt_(ResourceCount) ID3D11Resource **ppResourceList;
} D3D11_VIDEO_DECODER_EXTENSION;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0030_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0030_v0_0_s_ifspec;
#ifndef __ID3D11VideoDecoder_INTERFACE_DEFINED__
#define __ID3D11VideoDecoder_INTERFACE_DEFINED__
/* interface ID3D11VideoDecoder */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11VideoDecoder;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("3C9C5B51-995D-48d1-9B8D-FA5CAEDED65C")
ID3D11VideoDecoder : public ID3D11DeviceChild
{
public:
virtual HRESULT STDMETHODCALLTYPE GetCreationParameters(
/* [annotation] */
_Out_ D3D11_VIDEO_DECODER_DESC *pVideoDesc,
/* [annotation] */
_Out_ D3D11_VIDEO_DECODER_CONFIG *pConfig) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDriverHandle(
/* [annotation] */
_Out_ HANDLE *pDriverHandle) = 0;
};
#else /* C style interface */
typedef struct ID3D11VideoDecoderVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11VideoDecoder * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11VideoDecoder * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11VideoDecoder * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11VideoDecoder * This,
/* [annotation] */
_Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11VideoDecoder * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11VideoDecoder * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11VideoDecoder * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
HRESULT ( STDMETHODCALLTYPE *GetCreationParameters )(
ID3D11VideoDecoder * This,
/* [annotation] */
_Out_ D3D11_VIDEO_DECODER_DESC *pVideoDesc,
/* [annotation] */
_Out_ D3D11_VIDEO_DECODER_CONFIG *pConfig);
HRESULT ( STDMETHODCALLTYPE *GetDriverHandle )(
ID3D11VideoDecoder * This,
/* [annotation] */
_Out_ HANDLE *pDriverHandle);
END_INTERFACE
} ID3D11VideoDecoderVtbl;
interface ID3D11VideoDecoder
{
CONST_VTBL struct ID3D11VideoDecoderVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11VideoDecoder_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11VideoDecoder_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11VideoDecoder_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11VideoDecoder_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11VideoDecoder_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11VideoDecoder_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11VideoDecoder_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11VideoDecoder_GetCreationParameters(This,pVideoDesc,pConfig) \
( (This)->lpVtbl -> GetCreationParameters(This,pVideoDesc,pConfig) )
#define ID3D11VideoDecoder_GetDriverHandle(This,pDriverHandle) \
( (This)->lpVtbl -> GetDriverHandle(This,pDriverHandle) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11VideoDecoder_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0031 */
/* [local] */
typedef
enum D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT
{
D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_INPUT = 0x1,
D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT = 0x2
} D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT;
typedef
enum D3D11_VIDEO_PROCESSOR_DEVICE_CAPS
{
D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_LINEAR_SPACE = 0x1,
D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_xvYCC = 0x2,
D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_RGB_RANGE_CONVERSION = 0x4,
D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_YCbCr_MATRIX_CONVERSION = 0x8,
D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_NOMINAL_RANGE = 0x10
} D3D11_VIDEO_PROCESSOR_DEVICE_CAPS;
typedef
enum D3D11_VIDEO_PROCESSOR_FEATURE_CAPS
{
D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_FILL = 0x1,
D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_CONSTRICTION = 0x2,
D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_LUMA_KEY = 0x4,
D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_PALETTE = 0x8,
D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_LEGACY = 0x10,
D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_STEREO = 0x20,
D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ROTATION = 0x40,
D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_STREAM = 0x80,
D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_PIXEL_ASPECT_RATIO = 0x100
} D3D11_VIDEO_PROCESSOR_FEATURE_CAPS;
typedef
enum D3D11_VIDEO_PROCESSOR_FILTER_CAPS
{
D3D11_VIDEO_PROCESSOR_FILTER_CAPS_BRIGHTNESS = 0x1,
D3D11_VIDEO_PROCESSOR_FILTER_CAPS_CONTRAST = 0x2,
D3D11_VIDEO_PROCESSOR_FILTER_CAPS_HUE = 0x4,
D3D11_VIDEO_PROCESSOR_FILTER_CAPS_SATURATION = 0x8,
D3D11_VIDEO_PROCESSOR_FILTER_CAPS_NOISE_REDUCTION = 0x10,
D3D11_VIDEO_PROCESSOR_FILTER_CAPS_EDGE_ENHANCEMENT = 0x20,
D3D11_VIDEO_PROCESSOR_FILTER_CAPS_ANAMORPHIC_SCALING = 0x40,
D3D11_VIDEO_PROCESSOR_FILTER_CAPS_STEREO_ADJUSTMENT = 0x80
} D3D11_VIDEO_PROCESSOR_FILTER_CAPS;
typedef
enum D3D11_VIDEO_PROCESSOR_FORMAT_CAPS
{
D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_RGB_INTERLACED = 0x1,
D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_RGB_PROCAMP = 0x2,
D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_RGB_LUMA_KEY = 0x4,
D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_PALETTE_INTERLACED = 0x8
} D3D11_VIDEO_PROCESSOR_FORMAT_CAPS;
typedef
enum D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS
{
D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_DENOISE = 0x1,
D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_DERINGING = 0x2,
D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_EDGE_ENHANCEMENT = 0x4,
D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_COLOR_CORRECTION = 0x8,
D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_FLESH_TONE_MAPPING = 0x10,
D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_IMAGE_STABILIZATION = 0x20,
D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_SUPER_RESOLUTION = 0x40,
D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_ANAMORPHIC_SCALING = 0x80
} D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS;
typedef
enum D3D11_VIDEO_PROCESSOR_STEREO_CAPS
{
D3D11_VIDEO_PROCESSOR_STEREO_CAPS_MONO_OFFSET = 0x1,
D3D11_VIDEO_PROCESSOR_STEREO_CAPS_ROW_INTERLEAVED = 0x2,
D3D11_VIDEO_PROCESSOR_STEREO_CAPS_COLUMN_INTERLEAVED = 0x4,
D3D11_VIDEO_PROCESSOR_STEREO_CAPS_CHECKERBOARD = 0x8,
D3D11_VIDEO_PROCESSOR_STEREO_CAPS_FLIP_MODE = 0x10
} D3D11_VIDEO_PROCESSOR_STEREO_CAPS;
typedef struct D3D11_VIDEO_PROCESSOR_CAPS
{
UINT DeviceCaps;
UINT FeatureCaps;
UINT FilterCaps;
UINT InputFormatCaps;
UINT AutoStreamCaps;
UINT StereoCaps;
UINT RateConversionCapsCount;
UINT MaxInputStreams;
UINT MaxStreamStates;
} D3D11_VIDEO_PROCESSOR_CAPS;
typedef
enum D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS
{
D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BLEND = 0x1,
D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BOB = 0x2,
D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_ADAPTIVE = 0x4,
D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_MOTION_COMPENSATION =
0x8,
D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_INVERSE_TELECINE = 0x10,
D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_FRAME_RATE_CONVERSION = 0x20
} D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS;
typedef
enum D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS
{
D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_32 = 0x1,
D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_22 = 0x2,
D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_2224 = 0x4,
D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_2332 = 0x8,
D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_32322 = 0x10,
D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_55 = 0x20,
D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_64 = 0x40,
D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_87 = 0x80,
D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_222222222223 = 0x100,
D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_OTHER = 0x80000000
} D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS;
typedef struct D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS
{
UINT PastFrames;
UINT FutureFrames;
UINT ProcessorCaps;
UINT ITelecineCaps;
UINT CustomRateCount;
} D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS;
typedef
enum D3D11_CONTENT_PROTECTION_CAPS
{
D3D11_CONTENT_PROTECTION_CAPS_SOFTWARE = 0x1,
D3D11_CONTENT_PROTECTION_CAPS_HARDWARE = 0x2,
D3D11_CONTENT_PROTECTION_CAPS_PROTECTION_ALWAYS_ON = 0x4,
D3D11_CONTENT_PROTECTION_CAPS_PARTIAL_DECRYPTION = 0x8,
D3D11_CONTENT_PROTECTION_CAPS_CONTENT_KEY = 0x10,
D3D11_CONTENT_PROTECTION_CAPS_FRESHEN_SESSION_KEY = 0x20,
D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK = 0x40,
D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK_KEY = 0x80,
D3D11_CONTENT_PROTECTION_CAPS_SEQUENTIAL_CTR_IV = 0x100,
D3D11_CONTENT_PROTECTION_CAPS_ENCRYPT_SLICEDATA_ONLY = 0x200,
D3D11_CONTENT_PROTECTION_CAPS_DECRYPTION_BLT = 0x400
} D3D11_CONTENT_PROTECTION_CAPS;
DEFINE_GUID(D3D11_CRYPTO_TYPE_AES128_CTR, 0x9b6bd711, 0x4f74, 0x41c9, 0x9e, 0x7b
, 0xb, 0xe2, 0xd7, 0xd9, 0x3b, 0x4f );
typedef struct D3D11_VIDEO_CONTENT_PROTECTION_CAPS
{
UINT Caps;
UINT KeyExchangeTypeCount;
UINT BlockAlignmentSize;
ULONGLONG ProtectedMemorySize;
} D3D11_VIDEO_CONTENT_PROTECTION_CAPS;
typedef struct D3D11_VIDEO_PROCESSOR_CUSTOM_RATE
{
DXGI_RATIONAL CustomRate;
UINT OutputFrames;
BOOL InputInterlaced;
UINT InputFramesOrFields;
} D3D11_VIDEO_PROCESSOR_CUSTOM_RATE;
typedef
enum D3D11_VIDEO_PROCESSOR_FILTER
{
D3D11_VIDEO_PROCESSOR_FILTER_BRIGHTNESS = 0,
D3D11_VIDEO_PROCESSOR_FILTER_CONTRAST = 1,
D3D11_VIDEO_PROCESSOR_FILTER_HUE = 2,
D3D11_VIDEO_PROCESSOR_FILTER_SATURATION = 3,
D3D11_VIDEO_PROCESSOR_FILTER_NOISE_REDUCTION = 4,
D3D11_VIDEO_PROCESSOR_FILTER_EDGE_ENHANCEMENT = 5,
D3D11_VIDEO_PROCESSOR_FILTER_ANAMORPHIC_SCALING = 6,
D3D11_VIDEO_PROCESSOR_FILTER_STEREO_ADJUSTMENT = 7
} D3D11_VIDEO_PROCESSOR_FILTER;
typedef struct D3D11_VIDEO_PROCESSOR_FILTER_RANGE
{
int Minimum;
int Maximum;
int Default;
float Multiplier;
} D3D11_VIDEO_PROCESSOR_FILTER_RANGE;
typedef
enum D3D11_VIDEO_FRAME_FORMAT
{
D3D11_VIDEO_FRAME_FORMAT_PROGRESSIVE = 0,
D3D11_VIDEO_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST = 1,
D3D11_VIDEO_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST = 2
} D3D11_VIDEO_FRAME_FORMAT;
typedef
enum D3D11_VIDEO_USAGE
{
D3D11_VIDEO_USAGE_PLAYBACK_NORMAL = 0,
D3D11_VIDEO_USAGE_OPTIMAL_SPEED = 1,
D3D11_VIDEO_USAGE_OPTIMAL_QUALITY = 2
} D3D11_VIDEO_USAGE;
typedef struct D3D11_VIDEO_PROCESSOR_CONTENT_DESC
{
D3D11_VIDEO_FRAME_FORMAT InputFrameFormat;
DXGI_RATIONAL InputFrameRate;
UINT InputWidth;
UINT InputHeight;
DXGI_RATIONAL OutputFrameRate;
UINT OutputWidth;
UINT OutputHeight;
D3D11_VIDEO_USAGE Usage;
} D3D11_VIDEO_PROCESSOR_CONTENT_DESC;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0031_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0031_v0_0_s_ifspec;
#ifndef __ID3D11VideoProcessorEnumerator_INTERFACE_DEFINED__
#define __ID3D11VideoProcessorEnumerator_INTERFACE_DEFINED__
/* interface ID3D11VideoProcessorEnumerator */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11VideoProcessorEnumerator;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("31627037-53AB-4200-9061-05FAA9AB45F9")
ID3D11VideoProcessorEnumerator : public ID3D11DeviceChild
{
public:
virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorContentDesc(
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckVideoProcessorFormat(
/* [annotation] */
_In_ DXGI_FORMAT Format,
/* [annotation] */
_Out_ UINT *pFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorCaps(
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_CAPS *pCaps) = 0;
virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorRateConversionCaps(
/* [annotation] */
_In_ UINT TypeIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps) = 0;
virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorCustomRate(
/* [annotation] */
_In_ UINT TypeIndex,
/* [annotation] */
_In_ UINT CustomRateIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate) = 0;
virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorFilterRange(
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange) = 0;
};
#else /* C style interface */
typedef struct ID3D11VideoProcessorEnumeratorVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11VideoProcessorEnumerator * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11VideoProcessorEnumerator * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11VideoProcessorEnumerator * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11VideoProcessorEnumerator * This,
/* [annotation] */
_Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11VideoProcessorEnumerator * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11VideoProcessorEnumerator * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11VideoProcessorEnumerator * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
HRESULT ( STDMETHODCALLTYPE *GetVideoProcessorContentDesc )(
ID3D11VideoProcessorEnumerator * This,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pContentDesc);
HRESULT ( STDMETHODCALLTYPE *CheckVideoProcessorFormat )(
ID3D11VideoProcessorEnumerator * This,
/* [annotation] */
_In_ DXGI_FORMAT Format,
/* [annotation] */
_Out_ UINT *pFlags);
HRESULT ( STDMETHODCALLTYPE *GetVideoProcessorCaps )(
ID3D11VideoProcessorEnumerator * This,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_CAPS *pCaps);
HRESULT ( STDMETHODCALLTYPE *GetVideoProcessorRateConversionCaps )(
ID3D11VideoProcessorEnumerator * This,
/* [annotation] */
_In_ UINT TypeIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps);
HRESULT ( STDMETHODCALLTYPE *GetVideoProcessorCustomRate )(
ID3D11VideoProcessorEnumerator * This,
/* [annotation] */
_In_ UINT TypeIndex,
/* [annotation] */
_In_ UINT CustomRateIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate);
HRESULT ( STDMETHODCALLTYPE *GetVideoProcessorFilterRange )(
ID3D11VideoProcessorEnumerator * This,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange);
END_INTERFACE
} ID3D11VideoProcessorEnumeratorVtbl;
interface ID3D11VideoProcessorEnumerator
{
CONST_VTBL struct ID3D11VideoProcessorEnumeratorVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11VideoProcessorEnumerator_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11VideoProcessorEnumerator_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11VideoProcessorEnumerator_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11VideoProcessorEnumerator_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11VideoProcessorEnumerator_GetPrivateData(This,guid,pDataSize,pData)
\
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11VideoProcessorEnumerator_SetPrivateData(This,guid,DataSize,pData)
\
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11VideoProcessorEnumerator_SetPrivateDataInterface(This,guid,pData)
\
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11VideoProcessorEnumerator_GetVideoProcessorContentDesc(This,pConten
tDesc) \
( (This)->lpVtbl -> GetVideoProcessorContentDesc(This,pContentDesc) )
#define ID3D11VideoProcessorEnumerator_CheckVideoProcessorFormat(This,Format,pFl
ags) \
( (This)->lpVtbl -> CheckVideoProcessorFormat(This,Format,pFlags) )
#define ID3D11VideoProcessorEnumerator_GetVideoProcessorCaps(This,pCaps) \
( (This)->lpVtbl -> GetVideoProcessorCaps(This,pCaps) )
#define ID3D11VideoProcessorEnumerator_GetVideoProcessorRateConversionCaps(This,
TypeIndex,pCaps) \
( (This)->lpVtbl -> GetVideoProcessorRateConversionCaps(This,TypeIndex,pCaps
) )
#define ID3D11VideoProcessorEnumerator_GetVideoProcessorCustomRate(This,TypeInde
x,CustomRateIndex,pRate) \
( (This)->lpVtbl -> GetVideoProcessorCustomRate(This,TypeIndex,CustomRateInd
ex,pRate) )
#define ID3D11VideoProcessorEnumerator_GetVideoProcessorFilterRange(This,Filter,
pRange) \
( (This)->lpVtbl -> GetVideoProcessorFilterRange(This,Filter,pRange) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11VideoProcessorEnumerator_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0032 */
/* [local] */
typedef struct D3D11_VIDEO_COLOR_RGBA
{
float R;
float G;
float B;
float A;
} D3D11_VIDEO_COLOR_RGBA;
typedef struct D3D11_VIDEO_COLOR_YCbCrA
{
float Y;
float Cb;
float Cr;
float A;
} D3D11_VIDEO_COLOR_YCbCrA;
typedef struct D3D11_VIDEO_COLOR
{
union
{
D3D11_VIDEO_COLOR_YCbCrA YCbCr;
D3D11_VIDEO_COLOR_RGBA RGBA;
} ;
} D3D11_VIDEO_COLOR;
typedef
enum D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE
{
D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_UNDEFINED = 0,
D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_16_235 = 1,
D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_0_255 = 2
} D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE;
typedef struct D3D11_VIDEO_PROCESSOR_COLOR_SPACE
{
UINT Usage : 1;
UINT RGB_Range : 1;
UINT YCbCr_Matrix : 1;
UINT YCbCr_xvYCC : 1;
UINT Nominal_Range : 2;
UINT Reserved : 26;
} D3D11_VIDEO_PROCESSOR_COLOR_SPACE;
typedef
enum D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE
{
D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_OPAQUE = 0,
D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_BACKGROUND = 1,
D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_DESTINATION = 2,
D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_SOURCE_STREAM = 3
} D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE;
typedef
enum D3D11_VIDEO_PROCESSOR_OUTPUT_RATE
{
D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_NORMAL = 0,
D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_HALF = 1,
D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_CUSTOM = 2
} D3D11_VIDEO_PROCESSOR_OUTPUT_RATE;
typedef
enum D3D11_VIDEO_PROCESSOR_STEREO_FORMAT
{
D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO = 0,
D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_HORIZONTAL = 1,
D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_VERTICAL = 2,
D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_SEPARATE = 3,
D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO_OFFSET = 4,
D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_ROW_INTERLEAVED = 5,
D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_COLUMN_INTERLEAVED = 6,
D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_CHECKERBOARD = 7
} D3D11_VIDEO_PROCESSOR_STEREO_FORMAT;
typedef
enum D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE
{
D3D11_VIDEO_PROCESSOR_STEREO_FLIP_NONE = 0,
D3D11_VIDEO_PROCESSOR_STEREO_FLIP_FRAME0 = 1,
D3D11_VIDEO_PROCESSOR_STEREO_FLIP_FRAME1 = 2
} D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE;
typedef
enum D3D11_VIDEO_PROCESSOR_ROTATION
{
D3D11_VIDEO_PROCESSOR_ROTATION_IDENTITY = 0,
D3D11_VIDEO_PROCESSOR_ROTATION_90 = 1,
D3D11_VIDEO_PROCESSOR_ROTATION_180 = 2,
D3D11_VIDEO_PROCESSOR_ROTATION_270 = 3
} D3D11_VIDEO_PROCESSOR_ROTATION;
typedef struct D3D11_VIDEO_PROCESSOR_STREAM
{
BOOL Enable;
UINT OutputIndex;
UINT InputFrameOrField;
UINT PastFrames;
UINT FutureFrames;
/* [annotation] */
_Field_size_(PastFrames) ID3D11VideoProcessorInputView **ppPastSurfaces;
ID3D11VideoProcessorInputView *pInputSurface;
/* [annotation] */
_Field_size_(FutureFrames) ID3D11VideoProcessorInputView **ppFutureSurfaces
;
/* [annotation] */
_Field_size_opt_(PastFrames) ID3D11VideoProcessorInputView **ppPastSurfaces
Right;
ID3D11VideoProcessorInputView *pInputSurfaceRight;
/* [annotation] */
_Field_size_(FutureFrames) ID3D11VideoProcessorInputView **ppFutureSurfaces
Right;
} D3D11_VIDEO_PROCESSOR_STREAM;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0032_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0032_v0_0_s_ifspec;
#ifndef __ID3D11VideoProcessor_INTERFACE_DEFINED__
#define __ID3D11VideoProcessor_INTERFACE_DEFINED__
/* interface ID3D11VideoProcessor */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11VideoProcessor;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1D7B0652-185F-41c6-85CE-0C5BE3D4AE6C")
ID3D11VideoProcessor : public ID3D11DeviceChild
{
public:
virtual void STDMETHODCALLTYPE GetContentDesc(
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc) = 0;
virtual void STDMETHODCALLTYPE GetRateConversionCaps(
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps) = 0;
};
#else /* C style interface */
typedef struct ID3D11VideoProcessorVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11VideoProcessor * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11VideoProcessor * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11VideoProcessor * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11VideoProcessor * This,
/* [annotation] */
_Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11VideoProcessor * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11VideoProcessor * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11VideoProcessor * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetContentDesc )(
ID3D11VideoProcessor * This,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc);
void ( STDMETHODCALLTYPE *GetRateConversionCaps )(
ID3D11VideoProcessor * This,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS *pCaps);
END_INTERFACE
} ID3D11VideoProcessorVtbl;
interface ID3D11VideoProcessor
{
CONST_VTBL struct ID3D11VideoProcessorVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11VideoProcessor_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11VideoProcessor_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11VideoProcessor_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11VideoProcessor_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11VideoProcessor_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11VideoProcessor_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11VideoProcessor_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11VideoProcessor_GetContentDesc(This,pDesc) \
( (This)->lpVtbl -> GetContentDesc(This,pDesc) )
#define ID3D11VideoProcessor_GetRateConversionCaps(This,pCaps) \
( (This)->lpVtbl -> GetRateConversionCaps(This,pCaps) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11VideoProcessor_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0033 */
/* [local] */
typedef struct D3D11_OMAC
{
BYTE Omac[ 16 ];
} D3D11_OMAC;
typedef
enum D3D11_AUTHENTICATED_CHANNEL_TYPE
{
D3D11_AUTHENTICATED_CHANNEL_D3D11 = 1,
D3D11_AUTHENTICATED_CHANNEL_DRIVER_SOFTWARE = 2,
D3D11_AUTHENTICATED_CHANNEL_DRIVER_HARDWARE = 3
} D3D11_AUTHENTICATED_CHANNEL_TYPE;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0033_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0033_v0_0_s_ifspec;
#ifndef __ID3D11AuthenticatedChannel_INTERFACE_DEFINED__
#define __ID3D11AuthenticatedChannel_INTERFACE_DEFINED__
/* interface ID3D11AuthenticatedChannel */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11AuthenticatedChannel;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("3015A308-DCBD-47aa-A747-192486D14D4A")
ID3D11AuthenticatedChannel : public ID3D11DeviceChild
{
public:
virtual HRESULT STDMETHODCALLTYPE GetCertificateSize(
/* [annotation] */
_Out_ UINT *pCertificateSize) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCertificate(
/* [annotation] */
_In_ UINT CertificateSize,
/* [annotation] */
_Out_writes_bytes_(CertificateSize) BYTE *pCertificate) = 0;
virtual void STDMETHODCALLTYPE GetChannelHandle(
/* [annotation] */
_Out_ HANDLE *pChannelHandle) = 0;
};
#else /* C style interface */
typedef struct ID3D11AuthenticatedChannelVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11AuthenticatedChannel * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11AuthenticatedChannel * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11AuthenticatedChannel * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11AuthenticatedChannel * This,
/* [annotation] */
_Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11AuthenticatedChannel * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11AuthenticatedChannel * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11AuthenticatedChannel * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
HRESULT ( STDMETHODCALLTYPE *GetCertificateSize )(
ID3D11AuthenticatedChannel * This,
/* [annotation] */
_Out_ UINT *pCertificateSize);
HRESULT ( STDMETHODCALLTYPE *GetCertificate )(
ID3D11AuthenticatedChannel * This,
/* [annotation] */
_In_ UINT CertificateSize,
/* [annotation] */
_Out_writes_bytes_(CertificateSize) BYTE *pCertificate);
void ( STDMETHODCALLTYPE *GetChannelHandle )(
ID3D11AuthenticatedChannel * This,
/* [annotation] */
_Out_ HANDLE *pChannelHandle);
END_INTERFACE
} ID3D11AuthenticatedChannelVtbl;
interface ID3D11AuthenticatedChannel
{
CONST_VTBL struct ID3D11AuthenticatedChannelVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11AuthenticatedChannel_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11AuthenticatedChannel_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11AuthenticatedChannel_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11AuthenticatedChannel_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11AuthenticatedChannel_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11AuthenticatedChannel_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11AuthenticatedChannel_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11AuthenticatedChannel_GetCertificateSize(This,pCertificateSize) \
( (This)->lpVtbl -> GetCertificateSize(This,pCertificateSize) )
#define ID3D11AuthenticatedChannel_GetCertificate(This,CertificateSize,pCertific
ate) \
( (This)->lpVtbl -> GetCertificate(This,CertificateSize,pCertificate) )
#define ID3D11AuthenticatedChannel_GetChannelHandle(This,pChannelHandle) \
( (This)->lpVtbl -> GetChannelHandle(This,pChannelHandle) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11AuthenticatedChannel_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0034 */
/* [local] */
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_PROTECTION, 0xa84eb584, 0xc495, 0x48aa, 0
xb9, 0x4d, 0x8b, 0xd2, 0xd6, 0xfb, 0xce, 0x5 );
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE, 0xbc1b18a5, 0xb1fb, 0x42ab,
0xbd, 0x94, 0xb5, 0x82, 0x8b, 0x4b, 0xf7, 0xbe );
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE, 0xec1c539d, 0x8cff, 0x4e2a
, 0xbc, 0xc4, 0xf5, 0x69, 0x2f, 0x99, 0xf4, 0x80 );
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION, 0x2634499e, 0xd018, 0x4d7
4, 0xac, 0x17, 0x7f, 0x72, 0x40, 0x59, 0x52, 0x8d );
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT,
0xdb207b3, 0x9450, 0x46a6, 0x82, 0xde, 0x1b, 0x96, 0xd4, 0x4f, 0x9c, 0xf2 );
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS, 0x649
bbadb, 0xf0f4, 0x4639, 0xa1, 0x5b, 0x24, 0x39, 0x3f, 0xc3, 0xab, 0xac );
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_CO
UNT, 0x12f0bd6, 0xe662, 0x4474, 0xbe, 0xfd, 0xaa, 0x53, 0xe5, 0x14, 0x3c, 0x6d )
;
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT, 0x2c042b5e, 0x8c07, 0x46
d5, 0xaa, 0xbe, 0x8f, 0x75, 0xcb, 0xad, 0x4c, 0x31 );
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_OUTPUT_ID, 0x839ddca3, 0x9b4e, 0x41e4, 0x
b0, 0x53, 0x89, 0x2b, 0xd2, 0xa1, 0x1e, 0xe7 );
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ATTRIBUTES, 0x6214d9d2, 0x4
32c, 0x4abb, 0x9f, 0xce, 0x21, 0x6e, 0xea, 0x26, 0x9e, 0x3b );
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_ENCRYPTION_WHEN_ACCESSIBLE_GUID_COUNT, 0x
b30f7066, 0x203c, 0x4b07, 0x93, 0xfc, 0xce, 0xaa, 0xfd, 0x61, 0x24, 0x1e );
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_ENCRYPTION_WHEN_ACCESSIBLE_GUID, 0xf83a59
58, 0xe986, 0x4bda, 0xbe, 0xb0, 0x41, 0x1f, 0x6a, 0x7a, 0x1, 0xb7 );
DEFINE_GUID( D3D11_AUTHENTICATED_QUERY_CURRENT_ENCRYPTION_WHEN_ACCESSIBLE, 0xec1
791c7, 0xdad3, 0x4f15, 0x9e, 0xc3, 0xfa, 0xa9, 0x3d, 0x60, 0xd4, 0xf0 );
DEFINE_GUID( D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE, 0x6114bdb, 0x3523, 0x470a
, 0x8d, 0xca, 0xfb, 0xc2, 0x84, 0x51, 0x54, 0xf0 );
DEFINE_GUID( D3D11_AUTHENTICATED_CONFIGURE_PROTECTION, 0x50455658, 0x3f47, 0x436
2, 0xbf, 0x99, 0xbf, 0xdf, 0xcd, 0xe9, 0xed, 0x29 );
DEFINE_GUID( D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION, 0x6346cc54, 0x2cfc, 0
x4ad4, 0x82, 0x24, 0xd1, 0x58, 0x37, 0xde, 0x77, 0x0 );
DEFINE_GUID( D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE, 0x772d047, 0x1b40, 0
x48e8, 0x9c, 0xa6, 0xb5, 0xf5, 0x10, 0xde, 0x9f, 0x1 );
DEFINE_GUID( D3D11_AUTHENTICATED_CONFIGURE_ENCRYPTION_WHEN_ACCESSIBLE, 0x41fff28
6, 0x6ae0, 0x4d43, 0x9d, 0x55, 0xa4, 0x6e, 0x9e, 0xfd, 0x15, 0x8a );
typedef struct D3D11_AUTHENTICATED_QUERY_INPUT
{
GUID QueryType;
HANDLE hChannel;
UINT SequenceNumber;
} D3D11_AUTHENTICATED_QUERY_INPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT
{
D3D11_OMAC omac;
GUID QueryType;
HANDLE hChannel;
UINT SequenceNumber;
HRESULT ReturnCode;
} D3D11_AUTHENTICATED_QUERY_OUTPUT;
typedef union D3D11_AUTHENTICATED_PROTECTION_FLAGS
{
struct __MIDL___MIDL_itf_d3d11_0000_0034_0001
{
UINT ProtectionEnabled : 1;
UINT OverlayOrFullscreenRequired : 1;
UINT Reserved : 30;
} Flags;
UINT Value;
} D3D11_AUTHENTICATED_PROTECTION_FLAGS;
typedef struct D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
D3D11_AUTHENTICATED_PROTECTION_FLAGS ProtectionFlags;
} D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType;
} D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
HANDLE DeviceHandle;
} D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT
{
D3D11_AUTHENTICATED_QUERY_INPUT Input;
HANDLE DecoderHandle;
} D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
HANDLE DecoderHandle;
HANDLE CryptoSessionHandle;
HANDLE DeviceHandle;
} D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUN
T_OUTPUT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
UINT RestrictedSharedResourceProcessCount;
} D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT
;
typedef struct D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPU
T
{
D3D11_AUTHENTICATED_QUERY_INPUT Input;
UINT ProcessIndex;
} D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT;
typedef
enum D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE
{
D3D11_PROCESSIDTYPE_UNKNOWN = 0,
D3D11_PROCESSIDTYPE_DWM = 1,
D3D11_PROCESSIDTYPE_HANDLE = 2
} D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE;
typedef struct D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTP
UT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
UINT ProcessIndex;
D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE ProcessIdentifier;
HANDLE ProcessHandle;
} D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_
COUNT_OUTPUT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
UINT UnrestrictedProtectedSharedResourceCount;
} D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OU
TPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT
{
D3D11_AUTHENTICATED_QUERY_INPUT Input;
HANDLE DeviceHandle;
HANDLE CryptoSessionHandle;
} D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
HANDLE DeviceHandle;
HANDLE CryptoSessionHandle;
UINT OutputIDCount;
} D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT
{
D3D11_AUTHENTICATED_QUERY_INPUT Input;
HANDLE DeviceHandle;
HANDLE CryptoSessionHandle;
UINT OutputIDIndex;
} D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
HANDLE DeviceHandle;
HANDLE CryptoSessionHandle;
UINT OutputIDIndex;
UINT64 OutputID;
} D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT;
typedef
enum D3D11_BUS_TYPE
{
D3D11_BUS_TYPE_OTHER = 0,
D3D11_BUS_TYPE_PCI = 0x1,
D3D11_BUS_TYPE_PCIX = 0x2,
D3D11_BUS_TYPE_PCIEXPRESS = 0x3,
D3D11_BUS_TYPE_AGP = 0x4,
D3D11_BUS_IMPL_MODIFIER_INSIDE_OF_CHIPSET = 0x10000,
D3D11_BUS_IMPL_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_CHIP = 0x20000,
D3D11_BUS_IMPL_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_SOCKET = 0x30000
,
D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR = 0x40000,
D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR_INSIDE_OF_NUAE =
0x50000,
D3D11_BUS_IMPL_MODIFIER_NON_STANDARD = 0x80000000
} D3D11_BUS_TYPE;
typedef struct D3D11_AUTHENTICATED_QUERY_ACESSIBILITY_OUTPUT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
D3D11_BUS_TYPE BusType;
BOOL AccessibleInContiguousBlocks;
BOOL AccessibleInNonContiguousBlocks;
} D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUT
PUT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
UINT EncryptionGuidCount;
} D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT
{
D3D11_AUTHENTICATED_QUERY_INPUT Input;
UINT EncryptionGuidIndex;
} D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
UINT EncryptionGuidIndex;
GUID EncryptionGuid;
} D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT;
typedef struct D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT
{
D3D11_AUTHENTICATED_QUERY_OUTPUT Output;
GUID EncryptionGuid;
} D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT;
typedef struct D3D11_AUTHENTICATED_CONFIGURE_INPUT
{
D3D11_OMAC omac;
GUID ConfigureType;
HANDLE hChannel;
UINT SequenceNumber;
} D3D11_AUTHENTICATED_CONFIGURE_INPUT;
typedef struct D3D11_AUTHENTICATED_CONFIGURE_OUTPUT
{
D3D11_OMAC omac;
GUID ConfigureType;
HANDLE hChannel;
UINT SequenceNumber;
HRESULT ReturnCode;
} D3D11_AUTHENTICATED_CONFIGURE_OUTPUT;
typedef struct D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT
{
D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters;
UINT StartSequenceQuery;
UINT StartSequenceConfigure;
} D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT;
typedef struct D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT
{
D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters;
D3D11_AUTHENTICATED_PROTECTION_FLAGS Protections;
} D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT;
typedef struct D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT
{
D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters;
HANDLE DecoderHandle;
HANDLE CryptoSessionHandle;
HANDLE DeviceHandle;
} D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT;
typedef struct D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT
{
D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters;
D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE ProcessType;
HANDLE ProcessHandle;
BOOL AllowAccess;
} D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT;
typedef struct D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT
{
D3D11_AUTHENTICATED_CONFIGURE_INPUT Parameters;
GUID EncryptionGuid;
} D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT;
DEFINE_GUID(D3D11_KEY_EXCHANGE_RSAES_OAEP, 0xc1949895, 0xd72a, 0x4a1d, 0x8e, 0x5
d, 0xed, 0x85, 0x7d, 0x17, 0x15, 0x20);
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0034_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0034_v0_0_s_ifspec;
#ifndef __ID3D11CryptoSession_INTERFACE_DEFINED__
#define __ID3D11CryptoSession_INTERFACE_DEFINED__
/* interface ID3D11CryptoSession */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11CryptoSession;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B32F9AD-BDCC-40a6-A39D-D5C865845720")
ID3D11CryptoSession : public ID3D11DeviceChild
{
public:
virtual void STDMETHODCALLTYPE GetCryptoType(
/* [annotation] */
_Out_ GUID *pCryptoType) = 0;
virtual void STDMETHODCALLTYPE GetDecoderProfile(
/* [annotation] */
_Out_ GUID *pDecoderProfile) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCertificateSize(
/* [annotation] */
_Out_ UINT *pCertificateSize) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCertificate(
/* [annotation] */
_In_ UINT CertificateSize,
/* [annotation] */
_Out_writes_bytes_(CertificateSize) BYTE *pCertificate) = 0;
virtual void STDMETHODCALLTYPE GetCryptoSessionHandle(
/* [annotation] */
_Out_ HANDLE *pCryptoSessionHandle) = 0;
};
#else /* C style interface */
typedef struct ID3D11CryptoSessionVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11CryptoSession * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11CryptoSession * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11CryptoSession * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11CryptoSession * This,
/* [annotation] */
_Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11CryptoSession * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11CryptoSession * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11CryptoSession * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetCryptoType )(
ID3D11CryptoSession * This,
/* [annotation] */
_Out_ GUID *pCryptoType);
void ( STDMETHODCALLTYPE *GetDecoderProfile )(
ID3D11CryptoSession * This,
/* [annotation] */
_Out_ GUID *pDecoderProfile);
HRESULT ( STDMETHODCALLTYPE *GetCertificateSize )(
ID3D11CryptoSession * This,
/* [annotation] */
_Out_ UINT *pCertificateSize);
HRESULT ( STDMETHODCALLTYPE *GetCertificate )(
ID3D11CryptoSession * This,
/* [annotation] */
_In_ UINT CertificateSize,
/* [annotation] */
_Out_writes_bytes_(CertificateSize) BYTE *pCertificate);
void ( STDMETHODCALLTYPE *GetCryptoSessionHandle )(
ID3D11CryptoSession * This,
/* [annotation] */
_Out_ HANDLE *pCryptoSessionHandle);
END_INTERFACE
} ID3D11CryptoSessionVtbl;
interface ID3D11CryptoSession
{
CONST_VTBL struct ID3D11CryptoSessionVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11CryptoSession_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11CryptoSession_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11CryptoSession_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11CryptoSession_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11CryptoSession_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11CryptoSession_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11CryptoSession_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11CryptoSession_GetCryptoType(This,pCryptoType) \
( (This)->lpVtbl -> GetCryptoType(This,pCryptoType) )
#define ID3D11CryptoSession_GetDecoderProfile(This,pDecoderProfile) \
( (This)->lpVtbl -> GetDecoderProfile(This,pDecoderProfile) )
#define ID3D11CryptoSession_GetCertificateSize(This,pCertificateSize) \
( (This)->lpVtbl -> GetCertificateSize(This,pCertificateSize) )
#define ID3D11CryptoSession_GetCertificate(This,CertificateSize,pCertificate) \
( (This)->lpVtbl -> GetCertificate(This,CertificateSize,pCertificate) )
#define ID3D11CryptoSession_GetCryptoSessionHandle(This,pCryptoSessionHandle) \
( (This)->lpVtbl -> GetCryptoSessionHandle(This,pCryptoSessionHandle) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11CryptoSession_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0035 */
/* [local] */
typedef
enum D3D11_VDOV_DIMENSION
{
D3D11_VDOV_DIMENSION_UNKNOWN = 0,
D3D11_VDOV_DIMENSION_TEXTURE2D = 1
} D3D11_VDOV_DIMENSION;
typedef struct D3D11_TEX2D_VDOV
{
UINT ArraySlice;
} D3D11_TEX2D_VDOV;
typedef struct D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC
{
GUID DecodeProfile;
D3D11_VDOV_DIMENSION ViewDimension;
union
{
D3D11_TEX2D_VDOV Texture2D;
} ;
} D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0035_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0035_v0_0_s_ifspec;
#ifndef __ID3D11VideoDecoderOutputView_INTERFACE_DEFINED__
#define __ID3D11VideoDecoderOutputView_INTERFACE_DEFINED__
/* interface ID3D11VideoDecoderOutputView */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11VideoDecoderOutputView;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("C2931AEA-2A85-4f20-860F-FBA1FD256E18")
ID3D11VideoDecoderOutputView : public ID3D11View
{
public:
virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */
_Out_ D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D11VideoDecoderOutputViewVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11VideoDecoderOutputView * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11VideoDecoderOutputView * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11VideoDecoderOutputView * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11VideoDecoderOutputView * This,
/* [annotation] */
_Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11VideoDecoderOutputView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11VideoDecoderOutputView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11VideoDecoderOutputView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )(
ID3D11VideoDecoderOutputView * This,
/* [annotation] */
_Out_ ID3D11Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11VideoDecoderOutputView * This,
/* [annotation] */
_Out_ D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc);
END_INTERFACE
} ID3D11VideoDecoderOutputViewVtbl;
interface ID3D11VideoDecoderOutputView
{
CONST_VTBL struct ID3D11VideoDecoderOutputViewVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11VideoDecoderOutputView_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11VideoDecoderOutputView_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11VideoDecoderOutputView_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11VideoDecoderOutputView_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11VideoDecoderOutputView_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11VideoDecoderOutputView_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11VideoDecoderOutputView_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11VideoDecoderOutputView_GetResource(This,ppResource) \
( (This)->lpVtbl -> GetResource(This,ppResource) )
#define ID3D11VideoDecoderOutputView_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11VideoDecoderOutputView_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0036 */
/* [local] */
typedef
enum D3D11_VPIV_DIMENSION
{
D3D11_VPIV_DIMENSION_UNKNOWN = 0,
D3D11_VPIV_DIMENSION_TEXTURE2D = 1
} D3D11_VPIV_DIMENSION;
typedef struct D3D11_TEX2D_VPIV
{
UINT MipSlice;
UINT ArraySlice;
} D3D11_TEX2D_VPIV;
typedef struct D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC
{
UINT FourCC;
D3D11_VPIV_DIMENSION ViewDimension;
union
{
D3D11_TEX2D_VPIV Texture2D;
} ;
} D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0036_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0036_v0_0_s_ifspec;
#ifndef __ID3D11VideoProcessorInputView_INTERFACE_DEFINED__
#define __ID3D11VideoProcessorInputView_INTERFACE_DEFINED__
/* interface ID3D11VideoProcessorInputView */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11VideoProcessorInputView;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("11EC5A5F-51DC-4945-AB34-6E8C21300EA5")
ID3D11VideoProcessorInputView : public ID3D11View
{
public:
virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D11VideoProcessorInputViewVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11VideoProcessorInputView * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11VideoProcessorInputView * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11VideoProcessorInputView * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11VideoProcessorInputView * This,
/* [annotation] */
_Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11VideoProcessorInputView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11VideoProcessorInputView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11VideoProcessorInputView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )(
ID3D11VideoProcessorInputView * This,
/* [annotation] */
_Out_ ID3D11Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11VideoProcessorInputView * This,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc);
END_INTERFACE
} ID3D11VideoProcessorInputViewVtbl;
interface ID3D11VideoProcessorInputView
{
CONST_VTBL struct ID3D11VideoProcessorInputViewVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11VideoProcessorInputView_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11VideoProcessorInputView_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11VideoProcessorInputView_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11VideoProcessorInputView_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11VideoProcessorInputView_GetPrivateData(This,guid,pDataSize,pData)
\
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11VideoProcessorInputView_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11VideoProcessorInputView_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11VideoProcessorInputView_GetResource(This,ppResource) \
( (This)->lpVtbl -> GetResource(This,ppResource) )
#define ID3D11VideoProcessorInputView_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11VideoProcessorInputView_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0037 */
/* [local] */
typedef
enum D3D11_VPOV_DIMENSION
{
D3D11_VPOV_DIMENSION_UNKNOWN = 0,
D3D11_VPOV_DIMENSION_TEXTURE2D = 1,
D3D11_VPOV_DIMENSION_TEXTURE2DARRAY = 2
} D3D11_VPOV_DIMENSION;
typedef struct D3D11_TEX2D_VPOV
{
UINT MipSlice;
} D3D11_TEX2D_VPOV;
typedef struct D3D11_TEX2D_ARRAY_VPOV
{
UINT MipSlice;
UINT FirstArraySlice;
UINT ArraySize;
} D3D11_TEX2D_ARRAY_VPOV;
typedef struct D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC
{
D3D11_VPOV_DIMENSION ViewDimension;
union
{
D3D11_TEX2D_VPOV Texture2D;
D3D11_TEX2D_ARRAY_VPOV Texture2DArray;
} ;
} D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0037_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0037_v0_0_s_ifspec;
#ifndef __ID3D11VideoProcessorOutputView_INTERFACE_DEFINED__
#define __ID3D11VideoProcessorOutputView_INTERFACE_DEFINED__
/* interface ID3D11VideoProcessorOutputView */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11VideoProcessorOutputView;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A048285E-25A9-4527-BD93-D68B68C44254")
ID3D11VideoProcessorOutputView : public ID3D11View
{
public:
virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D11VideoProcessorOutputViewVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11VideoProcessorOutputView * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11VideoProcessorOutputView * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11VideoProcessorOutputView * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11VideoProcessorOutputView * This,
/* [annotation] */
_Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11VideoProcessorOutputView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11VideoProcessorOutputView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11VideoProcessorOutputView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )(
ID3D11VideoProcessorOutputView * This,
/* [annotation] */
_Out_ ID3D11Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D11VideoProcessorOutputView * This,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc);
END_INTERFACE
} ID3D11VideoProcessorOutputViewVtbl;
interface ID3D11VideoProcessorOutputView
{
CONST_VTBL struct ID3D11VideoProcessorOutputViewVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11VideoProcessorOutputView_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11VideoProcessorOutputView_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11VideoProcessorOutputView_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11VideoProcessorOutputView_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11VideoProcessorOutputView_GetPrivateData(This,guid,pDataSize,pData)
\
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11VideoProcessorOutputView_SetPrivateData(This,guid,DataSize,pData)
\
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11VideoProcessorOutputView_SetPrivateDataInterface(This,guid,pData)
\
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11VideoProcessorOutputView_GetResource(This,ppResource) \
( (This)->lpVtbl -> GetResource(This,ppResource) )
#define ID3D11VideoProcessorOutputView_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11VideoProcessorOutputView_INTERFACE_DEFINED__ */
#ifndef __ID3D11VideoContext_INTERFACE_DEFINED__
#define __ID3D11VideoContext_INTERFACE_DEFINED__
/* interface ID3D11VideoContext */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11VideoContext;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("61F21C45-3C0E-4a74-9CEA-67100D9AD5E4")
ID3D11VideoContext : public ID3D11DeviceChild
{
public:
virtual HRESULT STDMETHODCALLTYPE GetDecoderBuffer(
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
D3D11_VIDEO_DECODER_BUFFER_TYPE Type,
/* [annotation] */
_Out_ UINT *pBufferSize,
/* [annotation] */
_Outptr_result_bytebuffer_(*pBufferSize) void **ppBuffer) = 0;
virtual HRESULT STDMETHODCALLTYPE ReleaseDecoderBuffer(
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ D3D11_VIDEO_DECODER_BUFFER_TYPE Type) = 0;
virtual HRESULT STDMETHODCALLTYPE DecoderBeginFrame(
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ ID3D11VideoDecoderOutputView *pView,
UINT ContentKeySize,
/* [annotation] */
_In_reads_bytes_opt_(ContentKeySize) const void *pContentKey) = 0;
virtual HRESULT STDMETHODCALLTYPE DecoderEndFrame(
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder) = 0;
virtual HRESULT STDMETHODCALLTYPE SubmitDecoderBuffers(
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ UINT NumBuffers,
/* [annotation] */
_In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC *pBuff
erDesc) = 0;
virtual APP_DEPRECATED_HRESULT STDMETHODCALLTYPE DecoderExtension(
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_EXTENSION *pExtensionData) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetOutputTargetRect(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_opt_ const RECT *pRect) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetOutputBackgroundColor(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL YCbCr,
/* [annotation] */
_In_ const D3D11_VIDEO_COLOR *pColor) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetOutputColorSpace(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetOutputAlphaFillMode(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE AlphaFillMode,
/* [annotation] */
_In_ UINT StreamIndex) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetOutputConstriction(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ SIZE Size) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetOutputStereoMode(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL Enable) = 0;
virtual APP_DEPRECATED_HRESULT STDMETHODCALLTYPE VideoProcessorSetOutput
Extension(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ const GUID *pExtensionGuid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_ void *pData) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetOutputTargetRect(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *Enabled,
/* [annotation] */
_Out_ RECT *pRect) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetOutputBackgroundColor(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *pYCbCr,
/* [annotation] */
_Out_ D3D11_VIDEO_COLOR *pColor) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetOutputColorSpace(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetOutputAlphaFillMode(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *pAlphaFillMode,
/* [annotation] */
_Out_ UINT *pStreamIndex) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetOutputConstriction(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ SIZE *pSize) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetOutputStereoMode(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *pEnabled) = 0;
virtual APP_DEPRECATED_HRESULT STDMETHODCALLTYPE VideoProcessorGetOutput
Extension(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ const GUID *pExtensionGuid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_Out_writes_bytes_(DataSize) void *pData) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamFrameFormat(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ D3D11_VIDEO_FRAME_FORMAT FrameFormat) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamColorSpace(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamOutputRate(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_OUTPUT_RATE OutputRate,
/* [annotation] */
_In_ BOOL RepeatFrame,
/* [annotation] */
_In_opt_ const DXGI_RATIONAL *pCustomRate) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamSourceRect(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_opt_ const RECT *pRect) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamDestRect(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_opt_ const RECT *pRect) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamAlpha(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ FLOAT Alpha) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamPalette(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ UINT Count,
/* [annotation] */
_In_reads_opt_(Count) const UINT *pEntries) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamPixelAspectRatio(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_opt_ const DXGI_RATIONAL *pSourceAspectRatio,
/* [annotation] */
_In_opt_ const DXGI_RATIONAL *pDestinationAspectRatio) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamLumaKey(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ FLOAT Lower,
/* [annotation] */
_In_ FLOAT Upper) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamStereoFormat(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_STEREO_FORMAT Format,
/* [annotation] */
_In_ BOOL LeftViewFrame0,
/* [annotation] */
_In_ BOOL BaseViewFrame0,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE FlipMode,
/* [annotation] */
_In_ int MonoOffset) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamAutoProcessingMode
(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamFilter(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ int Level) = 0;
virtual APP_DEPRECATED_HRESULT STDMETHODCALLTYPE VideoProcessorSetStream
Extension(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ const GUID *pExtensionGuid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_ void *pData) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamFrameFormat(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_FRAME_FORMAT *pFrameFormat) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamColorSpace(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamOutputRate(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *pOutputRate,
/* [annotation] */
_Out_ BOOL *pRepeatFrame,
/* [annotation] */
_Out_ DXGI_RATIONAL *pCustomRate) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamSourceRect(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ RECT *pRect) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamDestRect(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ RECT *pRect) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamAlpha(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ FLOAT *pAlpha) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamPalette(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ UINT Count,
/* [annotation] */
_Out_writes_(Count) UINT *pEntries) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamPixelAspectRatio(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ DXGI_RATIONAL *pSourceAspectRatio,
/* [annotation] */
_Out_ DXGI_RATIONAL *pDestinationAspectRatio) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamLumaKey(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ FLOAT *pLower,
/* [annotation] */
_Out_ FLOAT *pUpper) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamStereoFormat(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnable,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *pFormat,
/* [annotation] */
_Out_ BOOL *pLeftViewFrame0,
/* [annotation] */
_Out_ BOOL *pBaseViewFrame0,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *pFlipMode,
/* [annotation] */
_Out_ int *MonoOffset) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamAutoProcessingMode
(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamFilter(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ int *pLevel) = 0;
virtual APP_DEPRECATED_HRESULT STDMETHODCALLTYPE VideoProcessorGetStream
Extension(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ const GUID *pExtensionGuid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_Out_writes_bytes_(DataSize) void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE VideoProcessorBlt(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ ID3D11VideoProcessorOutputView *pView,
/* [annotation] */
_In_ UINT OutputFrame,
/* [annotation] */
_In_ UINT StreamCount,
/* [annotation] */
_In_reads_(StreamCount) const D3D11_VIDEO_PROCESSOR_STREAM *pStream
s) = 0;
virtual HRESULT STDMETHODCALLTYPE NegotiateCryptoSessionKeyExchange(
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_Inout_updates_bytes_(DataSize) void *pData) = 0;
virtual void STDMETHODCALLTYPE EncryptionBlt(
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ ID3D11Texture2D *pSrcSurface,
/* [annotation] */
_In_ ID3D11Texture2D *pDstSurface,
/* [annotation] */
_In_ UINT IVSize,
/* [annotation] */
_Inout_opt_bytecount_(IVSize) void *pIV) = 0;
virtual void STDMETHODCALLTYPE DecryptionBlt(
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ ID3D11Texture2D *pSrcSurface,
/* [annotation] */
_In_ ID3D11Texture2D *pDstSurface,
/* [annotation] */
_In_opt_ D3D11_ENCRYPTED_BLOCK_INFO *pEncryptedBlockInfo,
/* [annotation] */
_In_ UINT ContentKeySize,
/* [annotation] */
_In_reads_bytes_opt_(ContentKeySize) const void *pContentKey,
/* [annotation] */
_In_ UINT IVSize,
/* [annotation] */
_Inout_opt_bytecount_(IVSize) void *pIV) = 0;
virtual void STDMETHODCALLTYPE StartSessionKeyRefresh(
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ UINT RandomNumberSize,
/* [annotation] */
_Out_writes_bytes_(RandomNumberSize) void *pRandomNumber) = 0;
virtual void STDMETHODCALLTYPE FinishSessionKeyRefresh(
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession) = 0;
virtual HRESULT STDMETHODCALLTYPE GetEncryptionBltKey(
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ UINT KeySize,
/* [annotation] */
_Out_writes_bytes_(KeySize) void *pReadbackKey) = 0;
virtual HRESULT STDMETHODCALLTYPE NegotiateAuthenticatedChannelKeyExchan
ge(
/* [annotation] */
_In_ ID3D11AuthenticatedChannel *pChannel,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_Inout_updates_bytes_(DataSize) void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE QueryAuthenticatedChannel(
/* [annotation] */
_In_ ID3D11AuthenticatedChannel *pChannel,
/* [annotation] */
_In_ UINT InputSize,
/* [annotation] */
_In_reads_bytes_(InputSize) const void *pInput,
/* [annotation] */
_In_ UINT OutputSize,
/* [annotation] */
_Out_writes_bytes_(OutputSize) void *pOutput) = 0;
virtual HRESULT STDMETHODCALLTYPE ConfigureAuthenticatedChannel(
/* [annotation] */
_In_ ID3D11AuthenticatedChannel *pChannel,
/* [annotation] */
_In_ UINT InputSize,
/* [annotation] */
_In_reads_bytes_(InputSize) const void *pInput,
/* [annotation] */
_Out_ D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *pOutput) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorSetStreamRotation(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_ROTATION Rotation) = 0;
virtual void STDMETHODCALLTYPE VideoProcessorGetStreamRotation(
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnable,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_ROTATION *pRotation) = 0;
};
#else /* C style interface */
typedef struct ID3D11VideoContextVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11VideoContext * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11VideoContext * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11VideoContext * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D11VideoContext * This,
/* [annotation] */
_Out_ ID3D11Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_( DataSize ) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
HRESULT ( STDMETHODCALLTYPE *GetDecoderBuffer )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
D3D11_VIDEO_DECODER_BUFFER_TYPE Type,
/* [annotation] */
_Out_ UINT *pBufferSize,
/* [annotation] */
_Outptr_result_bytebuffer_(*pBufferSize) void **ppBuffer);
HRESULT ( STDMETHODCALLTYPE *ReleaseDecoderBuffer )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ D3D11_VIDEO_DECODER_BUFFER_TYPE Type);
HRESULT ( STDMETHODCALLTYPE *DecoderBeginFrame )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ ID3D11VideoDecoderOutputView *pView,
UINT ContentKeySize,
/* [annotation] */
_In_reads_bytes_opt_(ContentKeySize) const void *pContentKey);
HRESULT ( STDMETHODCALLTYPE *DecoderEndFrame )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder);
HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ UINT NumBuffers,
/* [annotation] */
_In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC *pBuff
erDesc);
APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *DecoderExtension )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoDecoder *pDecoder,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_EXTENSION *pExtensionData);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputTargetRect )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_opt_ const RECT *pRect);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputBackgroundColor )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL YCbCr,
/* [annotation] */
_In_ const D3D11_VIDEO_COLOR *pColor);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputAlphaFillMode )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE AlphaFillMode,
/* [annotation] */
_In_ UINT StreamIndex);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputConstriction )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ SIZE Size);
void ( STDMETHODCALLTYPE *VideoProcessorSetOutputStereoMode )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ BOOL Enable);
APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorSetOutputExten
sion )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ const GUID *pExtensionGuid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_ void *pData);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputTargetRect )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *Enabled,
/* [annotation] */
_Out_ RECT *pRect);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputBackgroundColor )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *pYCbCr,
/* [annotation] */
_Out_ D3D11_VIDEO_COLOR *pColor);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputAlphaFillMode )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *pAlphaFillMode,
/* [annotation] */
_Out_ UINT *pStreamIndex);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputConstriction )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ SIZE *pSize);
void ( STDMETHODCALLTYPE *VideoProcessorGetOutputStereoMode )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_Out_ BOOL *pEnabled);
APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetOutputExten
sion )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ const GUID *pExtensionGuid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_Out_writes_bytes_(DataSize) void *pData);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamFrameFormat )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ D3D11_VIDEO_FRAME_FORMAT FrameFormat);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamOutputRate )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_OUTPUT_RATE OutputRate,
/* [annotation] */
_In_ BOOL RepeatFrame,
/* [annotation] */
_In_opt_ const DXGI_RATIONAL *pCustomRate);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamSourceRect )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_opt_ const RECT *pRect);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamDestRect )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_opt_ const RECT *pRect);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamAlpha )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ FLOAT Alpha);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamPalette )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ UINT Count,
/* [annotation] */
_In_reads_opt_(Count) const UINT *pEntries);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamPixelAspectRatio )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_opt_ const DXGI_RATIONAL *pSourceAspectRatio,
/* [annotation] */
_In_opt_ const DXGI_RATIONAL *pDestinationAspectRatio);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamLumaKey )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ FLOAT Lower,
/* [annotation] */
_In_ FLOAT Upper);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamStereoFormat )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_STEREO_FORMAT Format,
/* [annotation] */
_In_ BOOL LeftViewFrame0,
/* [annotation] */
_In_ BOOL BaseViewFrame0,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE FlipMode,
/* [annotation] */
_In_ int MonoOffset);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamAutoProcessingMode )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamFilter )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ int Level);
APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorSetStreamExten
sion )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ const GUID *pExtensionGuid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_ void *pData);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamFrameFormat )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_FRAME_FORMAT *pFrameFormat);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamOutputRate )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *pOutputRate,
/* [annotation] */
_Out_ BOOL *pRepeatFrame,
/* [annotation] */
_Out_ DXGI_RATIONAL *pCustomRate);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamSourceRect )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ RECT *pRect);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamDestRect )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ RECT *pRect);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamAlpha )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ FLOAT *pAlpha);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamPalette )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ UINT Count,
/* [annotation] */
_Out_writes_(Count) UINT *pEntries);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamPixelAspectRatio )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ DXGI_RATIONAL *pSourceAspectRatio,
/* [annotation] */
_Out_ DXGI_RATIONAL *pDestinationAspectRatio);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamLumaKey )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ FLOAT *pLower,
/* [annotation] */
_Out_ FLOAT *pUpper);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamStereoFormat )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnable,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *pFormat,
/* [annotation] */
_Out_ BOOL *pLeftViewFrame0,
/* [annotation] */
_Out_ BOOL *pBaseViewFrame0,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *pFlipMode,
/* [annotation] */
_Out_ int *MonoOffset);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamAutoProcessingMode )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnabled);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamFilter )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
/* [annotation] */
_Out_ BOOL *pEnabled,
/* [annotation] */
_Out_ int *pLevel);
APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetStreamExten
sion )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ const GUID *pExtensionGuid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_Out_writes_bytes_(DataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *VideoProcessorBlt )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ ID3D11VideoProcessorOutputView *pView,
/* [annotation] */
_In_ UINT OutputFrame,
/* [annotation] */
_In_ UINT StreamCount,
/* [annotation] */
_In_reads_(StreamCount) const D3D11_VIDEO_PROCESSOR_STREAM *pStream
s);
HRESULT ( STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchange )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_Inout_updates_bytes_(DataSize) void *pData);
void ( STDMETHODCALLTYPE *EncryptionBlt )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ ID3D11Texture2D *pSrcSurface,
/* [annotation] */
_In_ ID3D11Texture2D *pDstSurface,
/* [annotation] */
_In_ UINT IVSize,
/* [annotation] */
_Inout_opt_bytecount_(IVSize) void *pIV);
void ( STDMETHODCALLTYPE *DecryptionBlt )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ ID3D11Texture2D *pSrcSurface,
/* [annotation] */
_In_ ID3D11Texture2D *pDstSurface,
/* [annotation] */
_In_opt_ D3D11_ENCRYPTED_BLOCK_INFO *pEncryptedBlockInfo,
/* [annotation] */
_In_ UINT ContentKeySize,
/* [annotation] */
_In_reads_bytes_opt_(ContentKeySize) const void *pContentKey,
/* [annotation] */
_In_ UINT IVSize,
/* [annotation] */
_Inout_opt_bytecount_(IVSize) void *pIV);
void ( STDMETHODCALLTYPE *StartSessionKeyRefresh )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ UINT RandomNumberSize,
/* [annotation] */
_Out_writes_bytes_(RandomNumberSize) void *pRandomNumber);
void ( STDMETHODCALLTYPE *FinishSessionKeyRefresh )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession);
HRESULT ( STDMETHODCALLTYPE *GetEncryptionBltKey )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11CryptoSession *pCryptoSession,
/* [annotation] */
_In_ UINT KeySize,
/* [annotation] */
_Out_writes_bytes_(KeySize) void *pReadbackKey);
HRESULT ( STDMETHODCALLTYPE *NegotiateAuthenticatedChannelKeyExchange )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11AuthenticatedChannel *pChannel,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_Inout_updates_bytes_(DataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *QueryAuthenticatedChannel )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11AuthenticatedChannel *pChannel,
/* [annotation] */
_In_ UINT InputSize,
/* [annotation] */
_In_reads_bytes_(InputSize) const void *pInput,
/* [annotation] */
_In_ UINT OutputSize,
/* [annotation] */
_Out_writes_bytes_(OutputSize) void *pOutput);
HRESULT ( STDMETHODCALLTYPE *ConfigureAuthenticatedChannel )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11AuthenticatedChannel *pChannel,
/* [annotation] */
_In_ UINT InputSize,
/* [annotation] */
_In_reads_bytes_(InputSize) const void *pInput,
/* [annotation] */
_Out_ D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *pOutput);
void ( STDMETHODCALLTYPE *VideoProcessorSetStreamRotation )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_In_ BOOL Enable,
/* [annotation] */
_In_ D3D11_VIDEO_PROCESSOR_ROTATION Rotation);
void ( STDMETHODCALLTYPE *VideoProcessorGetStreamRotation )(
ID3D11VideoContext * This,
/* [annotation] */
_In_ ID3D11VideoProcessor *pVideoProcessor,
/* [annotation] */
_In_ UINT StreamIndex,
/* [annotation] */
_Out_ BOOL *pEnable,
/* [annotation] */
_Out_ D3D11_VIDEO_PROCESSOR_ROTATION *pRotation);
END_INTERFACE
} ID3D11VideoContextVtbl;
interface ID3D11VideoContext
{
CONST_VTBL struct ID3D11VideoContextVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11VideoContext_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11VideoContext_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11VideoContext_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11VideoContext_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D11VideoContext_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D11VideoContext_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11VideoContext_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D11VideoContext_GetDecoderBuffer(This,pDecoder,Type,pBufferSize,ppBuf
fer) \
( (This)->lpVtbl -> GetDecoderBuffer(This,pDecoder,Type,pBufferSize,ppBuffer
) )
#define ID3D11VideoContext_ReleaseDecoderBuffer(This,pDecoder,Type) \
( (This)->lpVtbl -> ReleaseDecoderBuffer(This,pDecoder,Type) )
#define ID3D11VideoContext_DecoderBeginFrame(This,pDecoder,pView,ContentKeySize,
pContentKey) \
( (This)->lpVtbl -> DecoderBeginFrame(This,pDecoder,pView,ContentKeySize,pCo
ntentKey) )
#define ID3D11VideoContext_DecoderEndFrame(This,pDecoder) \
( (This)->lpVtbl -> DecoderEndFrame(This,pDecoder) )
#define ID3D11VideoContext_SubmitDecoderBuffers(This,pDecoder,NumBuffers,pBuffer
Desc) \
( (This)->lpVtbl -> SubmitDecoderBuffers(This,pDecoder,NumBuffers,pBufferDes
c) )
#define ID3D11VideoContext_DecoderExtension(This,pDecoder,pExtensionData) \
( (This)->lpVtbl -> DecoderExtension(This,pDecoder,pExtensionData) )
#define ID3D11VideoContext_VideoProcessorSetOutputTargetRect(This,pVideoProcesso
r,Enable,pRect) \
( (This)->lpVtbl -> VideoProcessorSetOutputTargetRect(This,pVideoProcessor,E
nable,pRect) )
#define ID3D11VideoContext_VideoProcessorSetOutputBackgroundColor(This,pVideoPro
cessor,YCbCr,pColor) \
( (This)->lpVtbl -> VideoProcessorSetOutputBackgroundColor(This,pVideoProces
sor,YCbCr,pColor) )
#define ID3D11VideoContext_VideoProcessorSetOutputColorSpace(This,pVideoProcesso
r,pColorSpace) \
( (This)->lpVtbl -> VideoProcessorSetOutputColorSpace(This,pVideoProcessor,p
ColorSpace) )
#define ID3D11VideoContext_VideoProcessorSetOutputAlphaFillMode(This,pVideoProce
ssor,AlphaFillMode,StreamIndex) \
( (This)->lpVtbl -> VideoProcessorSetOutputAlphaFillMode(This,pVideoProcesso
r,AlphaFillMode,StreamIndex) )
#define ID3D11VideoContext_VideoProcessorSetOutputConstriction(This,pVideoProces
sor,Enable,Size) \
( (This)->lpVtbl -> VideoProcessorSetOutputConstriction(This,pVideoProcessor
,Enable,Size) )
#define ID3D11VideoContext_VideoProcessorSetOutputStereoMode(This,pVideoProcesso
r,Enable) \
( (This)->lpVtbl -> VideoProcessorSetOutputStereoMode(This,pVideoProcessor,E
nable) )
#define ID3D11VideoContext_VideoProcessorSetOutputExtension(This,pVideoProcessor
,pExtensionGuid,DataSize,pData) \
( (This)->lpVtbl -> VideoProcessorSetOutputExtension(This,pVideoProcessor,pE
xtensionGuid,DataSize,pData) )
#define ID3D11VideoContext_VideoProcessorGetOutputTargetRect(This,pVideoProcesso
r,Enabled,pRect) \
( (This)->lpVtbl -> VideoProcessorGetOutputTargetRect(This,pVideoProcessor,E
nabled,pRect) )
#define ID3D11VideoContext_VideoProcessorGetOutputBackgroundColor(This,pVideoPro
cessor,pYCbCr,pColor) \
( (This)->lpVtbl -> VideoProcessorGetOutputBackgroundColor(This,pVideoProces
sor,pYCbCr,pColor) )
#define ID3D11VideoContext_VideoProcessorGetOutputColorSpace(This,pVideoProcesso
r,pColorSpace) \
( (This)->lpVtbl -> VideoProcessorGetOutputColorSpace(This,pVideoProcessor,p
ColorSpace) )
#define ID3D11VideoContext_VideoProcessorGetOutputAlphaFillMode(This,pVideoProce
ssor,pAlphaFillMode,pStreamIndex) \
( (This)->lpVtbl -> VideoProcessorGetOutputAlphaFillMode(This,pVideoProcesso
r,pAlphaFillMode,pStreamIndex) )
#define ID3D11VideoContext_VideoProcessorGetOutputConstriction(This,pVideoProces
sor,pEnabled,pSize) \
( (This)->lpVtbl -> VideoProcessorGetOutputConstriction(This,pVideoProcessor
,pEnabled,pSize) )
#define ID3D11VideoContext_VideoProcessorGetOutputStereoMode(This,pVideoProcesso
r,pEnabled) \
( (This)->lpVtbl -> VideoProcessorGetOutputStereoMode(This,pVideoProcessor,p
Enabled) )
#define ID3D11VideoContext_VideoProcessorGetOutputExtension(This,pVideoProcessor
,pExtensionGuid,DataSize,pData) \
( (This)->lpVtbl -> VideoProcessorGetOutputExtension(This,pVideoProcessor,pE
xtensionGuid,DataSize,pData) )
#define ID3D11VideoContext_VideoProcessorSetStreamFrameFormat(This,pVideoProcess
or,StreamIndex,FrameFormat) \
( (This)->lpVtbl -> VideoProcessorSetStreamFrameFormat(This,pVideoProcessor,
StreamIndex,FrameFormat) )
#define ID3D11VideoContext_VideoProcessorSetStreamColorSpace(This,pVideoProcesso
r,StreamIndex,pColorSpace) \
( (This)->lpVtbl -> VideoProcessorSetStreamColorSpace(This,pVideoProcessor,S
treamIndex,pColorSpace) )
#define ID3D11VideoContext_VideoProcessorSetStreamOutputRate(This,pVideoProcesso
r,StreamIndex,OutputRate,RepeatFrame,pCustomRate) \
( (This)->lpVtbl -> VideoProcessorSetStreamOutputRate(This,pVideoProcessor,S
treamIndex,OutputRate,RepeatFrame,pCustomRate) )
#define ID3D11VideoContext_VideoProcessorSetStreamSourceRect(This,pVideoProcesso
r,StreamIndex,Enable,pRect) \
( (This)->lpVtbl -> VideoProcessorSetStreamSourceRect(This,pVideoProcessor,S
treamIndex,Enable,pRect) )
#define ID3D11VideoContext_VideoProcessorSetStreamDestRect(This,pVideoProcessor,
StreamIndex,Enable,pRect) \
( (This)->lpVtbl -> VideoProcessorSetStreamDestRect(This,pVideoProcessor,Str
eamIndex,Enable,pRect) )
#define ID3D11VideoContext_VideoProcessorSetStreamAlpha(This,pVideoProcessor,Str
eamIndex,Enable,Alpha) \
( (This)->lpVtbl -> VideoProcessorSetStreamAlpha(This,pVideoProcessor,Stream
Index,Enable,Alpha) )
#define ID3D11VideoContext_VideoProcessorSetStreamPalette(This,pVideoProcessor,S
treamIndex,Count,pEntries) \
( (This)->lpVtbl -> VideoProcessorSetStreamPalette(This,pVideoProcessor,Stre
amIndex,Count,pEntries) )
#define ID3D11VideoContext_VideoProcessorSetStreamPixelAspectRatio(This,pVideoPr
ocessor,StreamIndex,Enable,pSourceAspectRatio,pDestinationAspectRatio) \
( (This)->lpVtbl -> VideoProcessorSetStreamPixelAspectRatio(This,pVideoProce
ssor,StreamIndex,Enable,pSourceAspectRatio,pDestinationAspectRatio) )
#define ID3D11VideoContext_VideoProcessorSetStreamLumaKey(This,pVideoProcessor,S
treamIndex,Enable,Lower,Upper) \
( (This)->lpVtbl -> VideoProcessorSetStreamLumaKey(This,pVideoProcessor,Stre
amIndex,Enable,Lower,Upper) )
#define ID3D11VideoContext_VideoProcessorSetStreamStereoFormat(This,pVideoProces
sor,StreamIndex,Enable,Format,LeftViewFrame0,BaseViewFrame0,FlipMode,MonoOffset)
\
( (This)->lpVtbl -> VideoProcessorSetStreamStereoFormat(This,pVideoProcessor
,StreamIndex,Enable,Format,LeftViewFrame0,BaseViewFrame0,FlipMode,MonoOffset) )
#define ID3D11VideoContext_VideoProcessorSetStreamAutoProcessingMode(This,pVideo
Processor,StreamIndex,Enable) \
( (This)->lpVtbl -> VideoProcessorSetStreamAutoProcessingMode(This,pVideoPro
cessor,StreamIndex,Enable) )
#define ID3D11VideoContext_VideoProcessorSetStreamFilter(This,pVideoProcessor,St
reamIndex,Filter,Enable,Level) \
( (This)->lpVtbl -> VideoProcessorSetStreamFilter(This,pVideoProcessor,Strea
mIndex,Filter,Enable,Level) )
#define ID3D11VideoContext_VideoProcessorSetStreamExtension(This,pVideoProcessor
,StreamIndex,pExtensionGuid,DataSize,pData) \
( (This)->lpVtbl -> VideoProcessorSetStreamExtension(This,pVideoProcessor,St
reamIndex,pExtensionGuid,DataSize,pData) )
#define ID3D11VideoContext_VideoProcessorGetStreamFrameFormat(This,pVideoProcess
or,StreamIndex,pFrameFormat) \
( (This)->lpVtbl -> VideoProcessorGetStreamFrameFormat(This,pVideoProcessor,
StreamIndex,pFrameFormat) )
#define ID3D11VideoContext_VideoProcessorGetStreamColorSpace(This,pVideoProcesso
r,StreamIndex,pColorSpace) \
( (This)->lpVtbl -> VideoProcessorGetStreamColorSpace(This,pVideoProcessor,S
treamIndex,pColorSpace) )
#define ID3D11VideoContext_VideoProcessorGetStreamOutputRate(This,pVideoProcesso
r,StreamIndex,pOutputRate,pRepeatFrame,pCustomRate) \
( (This)->lpVtbl -> VideoProcessorGetStreamOutputRate(This,pVideoProcessor,S
treamIndex,pOutputRate,pRepeatFrame,pCustomRate) )
#define ID3D11VideoContext_VideoProcessorGetStreamSourceRect(This,pVideoProcesso
r,StreamIndex,pEnabled,pRect) \
( (This)->lpVtbl -> VideoProcessorGetStreamSourceRect(This,pVideoProcessor,S
treamIndex,pEnabled,pRect) )
#define ID3D11VideoContext_VideoProcessorGetStreamDestRect(This,pVideoProcessor,
StreamIndex,pEnabled,pRect) \
( (This)->lpVtbl -> VideoProcessorGetStreamDestRect(This,pVideoProcessor,Str
eamIndex,pEnabled,pRect) )
#define ID3D11VideoContext_VideoProcessorGetStreamAlpha(This,pVideoProcessor,Str
eamIndex,pEnabled,pAlpha) \
( (This)->lpVtbl -> VideoProcessorGetStreamAlpha(This,pVideoProcessor,Stream
Index,pEnabled,pAlpha) )
#define ID3D11VideoContext_VideoProcessorGetStreamPalette(This,pVideoProcessor,S
treamIndex,Count,pEntries) \
( (This)->lpVtbl -> VideoProcessorGetStreamPalette(This,pVideoProcessor,Stre
amIndex,Count,pEntries) )
#define ID3D11VideoContext_VideoProcessorGetStreamPixelAspectRatio(This,pVideoPr
ocessor,StreamIndex,pEnabled,pSourceAspectRatio,pDestinationAspectRatio) \
( (This)->lpVtbl -> VideoProcessorGetStreamPixelAspectRatio(This,pVideoProce
ssor,StreamIndex,pEnabled,pSourceAspectRatio,pDestinationAspectRatio) )
#define ID3D11VideoContext_VideoProcessorGetStreamLumaKey(This,pVideoProcessor,S
treamIndex,pEnabled,pLower,pUpper) \
( (This)->lpVtbl -> VideoProcessorGetStreamLumaKey(This,pVideoProcessor,Stre
amIndex,pEnabled,pLower,pUpper) )
#define ID3D11VideoContext_VideoProcessorGetStreamStereoFormat(This,pVideoProces
sor,StreamIndex,pEnable,pFormat,pLeftViewFrame0,pBaseViewFrame0,pFlipMode,MonoOf
fset) \
( (This)->lpVtbl -> VideoProcessorGetStreamStereoFormat(This,pVideoProcessor
,StreamIndex,pEnable,pFormat,pLeftViewFrame0,pBaseViewFrame0,pFlipMode,MonoOffse
t) )
#define ID3D11VideoContext_VideoProcessorGetStreamAutoProcessingMode(This,pVideo
Processor,StreamIndex,pEnabled) \
( (This)->lpVtbl -> VideoProcessorGetStreamAutoProcessingMode(This,pVideoPro
cessor,StreamIndex,pEnabled) )
#define ID3D11VideoContext_VideoProcessorGetStreamFilter(This,pVideoProcessor,St
reamIndex,Filter,pEnabled,pLevel) \
( (This)->lpVtbl -> VideoProcessorGetStreamFilter(This,pVideoProcessor,Strea
mIndex,Filter,pEnabled,pLevel) )
#define ID3D11VideoContext_VideoProcessorGetStreamExtension(This,pVideoProcessor
,StreamIndex,pExtensionGuid,DataSize,pData) \
( (This)->lpVtbl -> VideoProcessorGetStreamExtension(This,pVideoProcessor,St
reamIndex,pExtensionGuid,DataSize,pData) )
#define ID3D11VideoContext_VideoProcessorBlt(This,pVideoProcessor,pView,OutputFr
ame,StreamCount,pStreams) \
( (This)->lpVtbl -> VideoProcessorBlt(This,pVideoProcessor,pView,OutputFrame
,StreamCount,pStreams) )
#define ID3D11VideoContext_NegotiateCryptoSessionKeyExchange(This,pCryptoSession
,DataSize,pData) \
( (This)->lpVtbl -> NegotiateCryptoSessionKeyExchange(This,pCryptoSession,Da
taSize,pData) )
#define ID3D11VideoContext_EncryptionBlt(This,pCryptoSession,pSrcSurface,pDstSur
face,IVSize,pIV) \
( (This)->lpVtbl -> EncryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurfac
e,IVSize,pIV) )
#define ID3D11VideoContext_DecryptionBlt(This,pCryptoSession,pSrcSurface,pDstSur
face,pEncryptedBlockInfo,ContentKeySize,pContentKey,IVSize,pIV) \
( (This)->lpVtbl -> DecryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurfac
e,pEncryptedBlockInfo,ContentKeySize,pContentKey,IVSize,pIV) )
#define ID3D11VideoContext_StartSessionKeyRefresh(This,pCryptoSession,RandomNumb
erSize,pRandomNumber) \
( (This)->lpVtbl -> StartSessionKeyRefresh(This,pCryptoSession,RandomNumberS
ize,pRandomNumber) )
#define ID3D11VideoContext_FinishSessionKeyRefresh(This,pCryptoSession) \
( (This)->lpVtbl -> FinishSessionKeyRefresh(This,pCryptoSession) )
#define ID3D11VideoContext_GetEncryptionBltKey(This,pCryptoSession,KeySize,pRead
backKey) \
( (This)->lpVtbl -> GetEncryptionBltKey(This,pCryptoSession,KeySize,pReadbac
kKey) )
#define ID3D11VideoContext_NegotiateAuthenticatedChannelKeyExchange(This,pChanne
l,DataSize,pData) \
( (This)->lpVtbl -> NegotiateAuthenticatedChannelKeyExchange(This,pChannel,D
ataSize,pData) )
#define ID3D11VideoContext_QueryAuthenticatedChannel(This,pChannel,InputSize,pIn
put,OutputSize,pOutput) \
( (This)->lpVtbl -> QueryAuthenticatedChannel(This,pChannel,InputSize,pInput
,OutputSize,pOutput) )
#define ID3D11VideoContext_ConfigureAuthenticatedChannel(This,pChannel,InputSize
,pInput,pOutput) \
( (This)->lpVtbl -> ConfigureAuthenticatedChannel(This,pChannel,InputSize,pI
nput,pOutput) )
#define ID3D11VideoContext_VideoProcessorSetStreamRotation(This,pVideoProcessor,
StreamIndex,Enable,Rotation) \
( (This)->lpVtbl -> VideoProcessorSetStreamRotation(This,pVideoProcessor,Str
eamIndex,Enable,Rotation) )
#define ID3D11VideoContext_VideoProcessorGetStreamRotation(This,pVideoProcessor,
StreamIndex,pEnable,pRotation) \
( (This)->lpVtbl -> VideoProcessorGetStreamRotation(This,pVideoProcessor,Str
eamIndex,pEnable,pRotation) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11VideoContext_INTERFACE_DEFINED__ */
#ifndef __ID3D11VideoDevice_INTERFACE_DEFINED__
#define __ID3D11VideoDevice_INTERFACE_DEFINED__
/* interface ID3D11VideoDevice */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11VideoDevice;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("10EC4D5B-975A-4689-B9E4-D0AAC30FE333")
ID3D11VideoDevice : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE CreateVideoDecoder(
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pVideoDesc,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_CONFIG *pConfig,
/* [annotation] */
_Out_ ID3D11VideoDecoder **ppDecoder) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateVideoProcessor(
/* [annotation] */
_In_ ID3D11VideoProcessorEnumerator *pEnum,
/* [annotation] */
_In_ UINT RateConversionIndex,
/* [annotation] */
_Out_ ID3D11VideoProcessor **ppVideoProcessor) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateAuthenticatedChannel(
/* [annotation] */
_In_ D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,
/* [annotation] */
_Out_ ID3D11AuthenticatedChannel **ppAuthenticatedChannel) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateCryptoSession(
/* [annotation] */
_In_ const GUID *pCryptoType,
/* [annotation] */
_In_opt_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ const GUID *pKeyExchangeType,
/* [annotation] */
_Outptr_ ID3D11CryptoSession **ppCryptoSession) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateVideoDecoderOutputView(
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc,
/* [annotation] */
_Out_opt_ ID3D11VideoDecoderOutputView **ppVDOVView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateVideoProcessorInputView(
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_ ID3D11VideoProcessorEnumerator *pEnum,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc,
/* [annotation] */
_Out_opt_ ID3D11VideoProcessorInputView **ppVPIView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateVideoProcessorOutputView(
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_ ID3D11VideoProcessorEnumerator *pEnum,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc,
/* [annotation] */
_Out_opt_ ID3D11VideoProcessorOutputView **ppVPOView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateVideoProcessorEnumerator(
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc,
/* [annotation] */
_Out_ ID3D11VideoProcessorEnumerator **ppEnum) = 0;
virtual UINT STDMETHODCALLTYPE GetVideoDecoderProfileCount( void) = 0;
virtual HRESULT STDMETHODCALLTYPE GetVideoDecoderProfile(
/* [annotation] */
_In_ UINT Index,
/* [annotation] */
_Out_ GUID *pDecoderProfile) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckVideoDecoderFormat(
/* [annotation] */
_In_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ DXGI_FORMAT Format,
/* [annotation] */
_Out_ BOOL *pSupported) = 0;
virtual HRESULT STDMETHODCALLTYPE GetVideoDecoderConfigCount(
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pDesc,
/* [annotation] */
_Out_ UINT *pCount) = 0;
virtual HRESULT STDMETHODCALLTYPE GetVideoDecoderConfig(
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pDesc,
/* [annotation] */
_In_ UINT Index,
/* [annotation] */
_Out_ D3D11_VIDEO_DECODER_CONFIG *pConfig) = 0;
virtual HRESULT STDMETHODCALLTYPE GetContentProtectionCaps(
/* [annotation] */
_In_opt_ const GUID *pCryptoType,
/* [annotation] */
_In_opt_ const GUID *pDecoderProfile,
/* [annotation] */
_Out_ D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckCryptoKeyExchange(
/* [annotation] */
_In_ const GUID *pCryptoType,
/* [annotation] */
_In_opt_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ UINT Index,
/* [annotation] */
_Out_ GUID *pKeyExchangeType) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData) = 0;
};
#else /* C style interface */
typedef struct ID3D11VideoDeviceVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11VideoDevice * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11VideoDevice * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11VideoDevice * This);
HRESULT ( STDMETHODCALLTYPE *CreateVideoDecoder )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pVideoDesc,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_CONFIG *pConfig,
/* [annotation] */
_Out_ ID3D11VideoDecoder **ppDecoder);
HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessor )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ ID3D11VideoProcessorEnumerator *pEnum,
/* [annotation] */
_In_ UINT RateConversionIndex,
/* [annotation] */
_Out_ ID3D11VideoProcessor **ppVideoProcessor);
HRESULT ( STDMETHODCALLTYPE *CreateAuthenticatedChannel )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,
/* [annotation] */
_Out_ ID3D11AuthenticatedChannel **ppAuthenticatedChannel);
HRESULT ( STDMETHODCALLTYPE *CreateCryptoSession )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ const GUID *pCryptoType,
/* [annotation] */
_In_opt_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ const GUID *pKeyExchangeType,
/* [annotation] */
_Outptr_ ID3D11CryptoSession **ppCryptoSession);
HRESULT ( STDMETHODCALLTYPE *CreateVideoDecoderOutputView )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc,
/* [annotation] */
_Out_opt_ ID3D11VideoDecoderOutputView **ppVDOVView);
HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessorInputView )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_ ID3D11VideoProcessorEnumerator *pEnum,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc,
/* [annotation] */
_Out_opt_ ID3D11VideoProcessorInputView **ppVPIView);
HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessorOutputView )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ ID3D11Resource *pResource,
/* [annotation] */
_In_ ID3D11VideoProcessorEnumerator *pEnum,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc,
/* [annotation] */
_Out_opt_ ID3D11VideoProcessorOutputView **ppVPOView);
HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessorEnumerator )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc,
/* [annotation] */
_Out_ ID3D11VideoProcessorEnumerator **ppEnum);
UINT ( STDMETHODCALLTYPE *GetVideoDecoderProfileCount )(
ID3D11VideoDevice * This);
HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderProfile )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ UINT Index,
/* [annotation] */
_Out_ GUID *pDecoderProfile);
HRESULT ( STDMETHODCALLTYPE *CheckVideoDecoderFormat )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ DXGI_FORMAT Format,
/* [annotation] */
_Out_ BOOL *pSupported);
HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderConfigCount )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pDesc,
/* [annotation] */
_Out_ UINT *pCount);
HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderConfig )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ const D3D11_VIDEO_DECODER_DESC *pDesc,
/* [annotation] */
_In_ UINT Index,
/* [annotation] */
_Out_ D3D11_VIDEO_DECODER_CONFIG *pConfig);
HRESULT ( STDMETHODCALLTYPE *GetContentProtectionCaps )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_opt_ const GUID *pCryptoType,
/* [annotation] */
_In_opt_ const GUID *pDecoderProfile,
/* [annotation] */
_Out_ D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps);
HRESULT ( STDMETHODCALLTYPE *CheckCryptoKeyExchange )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ const GUID *pCryptoType,
/* [annotation] */
_In_opt_ const GUID *pDecoderProfile,
/* [annotation] */
_In_ UINT Index,
/* [annotation] */
_Out_ GUID *pKeyExchangeType);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11VideoDevice * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
END_INTERFACE
} ID3D11VideoDeviceVtbl;
interface ID3D11VideoDevice
{
CONST_VTBL struct ID3D11VideoDeviceVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D11VideoDevice_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D11VideoDevice_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D11VideoDevice_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D11VideoDevice_CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder)
\
( (This)->lpVtbl -> CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder) )
#define ID3D11VideoDevice_CreateVideoProcessor(This,pEnum,RateConversionIndex,pp
VideoProcessor) \
( (This)->lpVtbl -> CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVi
deoProcessor) )
#define ID3D11VideoDevice_CreateAuthenticatedChannel(This,ChannelType,ppAuthenti
catedChannel) \
( (This)->lpVtbl -> CreateAuthenticatedChannel(This,ChannelType,ppAuthentica
tedChannel) )
#define ID3D11VideoDevice_CreateCryptoSession(This,pCryptoType,pDecoderProfile,p
KeyExchangeType,ppCryptoSession) \
( (This)->lpVtbl -> CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKe
yExchangeType,ppCryptoSession) )
#define ID3D11VideoDevice_CreateVideoDecoderOutputView(This,pResource,pDesc,ppVD
OVView) \
( (This)->lpVtbl -> CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOV
View) )
#define ID3D11VideoDevice_CreateVideoProcessorInputView(This,pResource,pEnum,pDe
sc,ppVPIView) \
( (This)->lpVtbl -> CreateVideoProcessorInputView(This,pResource,pEnum,pDesc
,ppVPIView) )
#define ID3D11VideoDevice_CreateVideoProcessorOutputView(This,pResource,pEnum,pD
esc,ppVPOView) \
( (This)->lpVtbl -> CreateVideoProcessorOutputView(This,pResource,pEnum,pDes
c,ppVPOView) )
#define ID3D11VideoDevice_CreateVideoProcessorEnumerator(This,pDesc,ppEnum) \
( (This)->lpVtbl -> CreateVideoProcessorEnumerator(This,pDesc,ppEnum) )
#define ID3D11VideoDevice_GetVideoDecoderProfileCount(This) \
( (This)->lpVtbl -> GetVideoDecoderProfileCount(This) )
#define ID3D11VideoDevice_GetVideoDecoderProfile(This,Index,pDecoderProfile) \
( (This)->lpVtbl -> GetVideoDecoderProfile(This,Index,pDecoderProfile) )
#define ID3D11VideoDevice_CheckVideoDecoderFormat(This,pDecoderProfile,Format,pS
upported) \
( (This)->lpVtbl -> CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSup
ported) )
#define ID3D11VideoDevice_GetVideoDecoderConfigCount(This,pDesc,pCount) \
( (This)->lpVtbl -> GetVideoDecoderConfigCount(This,pDesc,pCount) )
#define ID3D11VideoDevice_GetVideoDecoderConfig(This,pDesc,Index,pConfig) \
( (This)->lpVtbl -> GetVideoDecoderConfig(This,pDesc,Index,pConfig) )
#define ID3D11VideoDevice_GetContentProtectionCaps(This,pCryptoType,pDecoderProf
ile,pCaps) \
( (This)->lpVtbl -> GetContentProtectionCaps(This,pCryptoType,pDecoderProfil
e,pCaps) )
#define ID3D11VideoDevice_CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfil
e,Index,pKeyExchangeType) \
( (This)->lpVtbl -> CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,
Index,pKeyExchangeType) )
#define ID3D11VideoDevice_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D11VideoDevice_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D11VideoDevice_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0040 */
/* [local] */
#include <winapifamily.h>
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0040_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0040_v0_0_s_ifspec;
#ifndef __ID3D11Device_INTERFACE_DEFINED__ #ifndef __ID3D11Device_INTERFACE_DEFINED__
#define __ID3D11Device_INTERFACE_DEFINED__ #define __ID3D11Device_INTERFACE_DEFINED__
/* interface ID3D11Device */ /* interface ID3D11Device */
/* [unique][local][object][uuid] */ /* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D11Device; EXTERN_C const IID IID_ID3D11Device;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("db6f6ddb-ac77-4e88-8253-819df9bbf140") MIDL_INTERFACE("db6f6ddb-ac77-4e88-8253-819df9bbf140")
ID3D11Device : public IUnknown ID3D11Device : public IUnknown
{ {
public: public:
virtual HRESULT STDMETHODCALLTYPE CreateBuffer( virtual HRESULT STDMETHODCALLTYPE CreateBuffer(
/* [annotation] */ /* [annotation] */
__in const D3D11_BUFFER_DESC *pDesc, _In_ const D3D11_BUFFER_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_SUBRESOURCE_DATA *pInitialData, _In_opt_ const D3D11_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Buffer **ppBuffer) = 0; _Out_opt_ ID3D11Buffer **ppBuffer) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateTexture1D( virtual HRESULT STDMETHODCALLTYPE CreateTexture1D(
/* [annotation] */ /* [annotation] */
__in const D3D11_TEXTURE1D_DESC *pDesc, _In_ const D3D11_TEXTURE1D_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D11_SU BRESOURCE_DATA *pInitialData, _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Texture1D **ppTexture1D) = 0; _Out_opt_ ID3D11Texture1D **ppTexture1D) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateTexture2D( virtual HRESULT STDMETHODCALLTYPE CreateTexture2D(
/* [annotation] */ /* [annotation] */
__in const D3D11_TEXTURE2D_DESC *pDesc, _In_ const D3D11_TEXTURE2D_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D11_SU BRESOURCE_DATA *pInitialData, _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Texture2D **ppTexture2D) = 0; _Out_opt_ ID3D11Texture2D **ppTexture2D) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateTexture3D( virtual HRESULT STDMETHODCALLTYPE CreateTexture3D(
/* [annotation] */ /* [annotation] */
__in const D3D11_TEXTURE3D_DESC *pDesc, _In_ const D3D11_TEXTURE3D_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__in_xcount_opt(pDesc->MipLevels) const D3D11_SUBRESOURCE_DATA *pIn itialData, _In_reads_opt_(_Inexpressible_(pDesc->MipLevels)) const D3D11_SUBRE SOURCE_DATA *pInitialData,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Texture3D **ppTexture3D) = 0; _Out_opt_ ID3D11Texture3D **ppTexture3D) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView( virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView(
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc, _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11ShaderResourceView **ppSRView) = 0; _Out_opt_ ID3D11ShaderResourceView **ppSRView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateUnorderedAccessView( virtual HRESULT STDMETHODCALLTYPE CreateUnorderedAccessView(
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc, _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11UnorderedAccessView **ppUAView) = 0; _Out_opt_ ID3D11UnorderedAccessView **ppUAView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView( virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView(
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_RENDER_TARGET_VIEW_DESC *pDesc, _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11RenderTargetView **ppRTView) = 0; _Out_opt_ ID3D11RenderTargetView **ppRTView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilView( virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilView(
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc, _In_opt_ const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DepthStencilView **ppDepthStencilView) = 0; _Out_opt_ ID3D11DepthStencilView **ppDepthStencilView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateInputLayout( virtual HRESULT STDMETHODCALLTYPE CreateInputLayout(
/* [annotation] */ /* [annotation] */
__in_ecount(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputElem entDescs, _In_reads_(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputEleme ntDescs,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements, _In_range_( 0, D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecodeWithInputSignature, _In_reads_(BytecodeLength) const void *pShaderBytecodeWithInputSign ature,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11InputLayout **ppInputLayout) = 0; _Out_opt_ ID3D11InputLayout **ppInputLayout) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateVertexShader( virtual HRESULT STDMETHODCALLTYPE CreateVertexShader(
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11VertexShader **ppVertexShader) = 0; _Out_opt_ ID3D11VertexShader **ppVertexShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader( virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader(
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11GeometryShader **ppGeometryShader) = 0; _Out_opt_ ID3D11GeometryShader **ppGeometryShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateGeometryShaderWithStreamOutput( virtual HRESULT STDMETHODCALLTYPE CreateGeometryShaderWithStreamOutput(
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODe claration, _In_reads_opt_(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODec laration,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SO_STREAM_COUNT * D3D11_SO_OUTPUT_COMPONENT_COU NT ) UINT NumEntries, _In_range_( 0, D3D11_SO_STREAM_COUNT * D3D11_SO_OUTPUT_COMPONENT_COU NT ) UINT NumEntries,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumStrides) const UINT *pBufferStrides, _In_reads_opt_(NumStrides) const UINT *pBufferStrides,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides, _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides,
/* [annotation] */ /* [annotation] */
__in UINT RasterizedStream, _In_ UINT RasterizedStream,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11GeometryShader **ppGeometryShader) = 0; _Out_opt_ ID3D11GeometryShader **ppGeometryShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePixelShader( virtual HRESULT STDMETHODCALLTYPE CreatePixelShader(
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11PixelShader **ppPixelShader) = 0; _Out_opt_ ID3D11PixelShader **ppPixelShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateHullShader( virtual HRESULT STDMETHODCALLTYPE CreateHullShader(
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11HullShader **ppHullShader) = 0; _Out_opt_ ID3D11HullShader **ppHullShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateDomainShader( virtual HRESULT STDMETHODCALLTYPE CreateDomainShader(
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DomainShader **ppDomainShader) = 0; _Out_opt_ ID3D11DomainShader **ppDomainShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateComputeShader( virtual HRESULT STDMETHODCALLTYPE CreateComputeShader(
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11ComputeShader **ppComputeShader) = 0; _Out_opt_ ID3D11ComputeShader **ppComputeShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateClassLinkage( virtual HRESULT STDMETHODCALLTYPE CreateClassLinkage(
/* [annotation] */ /* [annotation] */
__out ID3D11ClassLinkage **ppLinkage) = 0; _Out_ ID3D11ClassLinkage **ppLinkage) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateBlendState( virtual HRESULT STDMETHODCALLTYPE CreateBlendState(
/* [annotation] */ /* [annotation] */
__in const D3D11_BLEND_DESC *pBlendStateDesc, _In_ const D3D11_BLEND_DESC *pBlendStateDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11BlendState **ppBlendState) = 0; _Out_opt_ ID3D11BlendState **ppBlendState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilState( virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilState(
/* [annotation] */ /* [annotation] */
__in const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc, _In_ const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DepthStencilState **ppDepthStencilState) = 0; _Out_opt_ ID3D11DepthStencilState **ppDepthStencilState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState( virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState(
/* [annotation] */ /* [annotation] */
__in const D3D11_RASTERIZER_DESC *pRasterizerDesc, _In_ const D3D11_RASTERIZER_DESC *pRasterizerDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11RasterizerState **ppRasterizerState) = 0; _Out_opt_ ID3D11RasterizerState **ppRasterizerState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateSamplerState( virtual HRESULT STDMETHODCALLTYPE CreateSamplerState(
/* [annotation] */ /* [annotation] */
__in const D3D11_SAMPLER_DESC *pSamplerDesc, _In_ const D3D11_SAMPLER_DESC *pSamplerDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11SamplerState **ppSamplerState) = 0; _Out_opt_ ID3D11SamplerState **ppSamplerState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateQuery( virtual HRESULT STDMETHODCALLTYPE CreateQuery(
/* [annotation] */ /* [annotation] */
__in const D3D11_QUERY_DESC *pQueryDesc, _In_ const D3D11_QUERY_DESC *pQueryDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Query **ppQuery) = 0; _Out_opt_ ID3D11Query **ppQuery) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePredicate( virtual HRESULT STDMETHODCALLTYPE CreatePredicate(
/* [annotation] */ /* [annotation] */
__in const D3D11_QUERY_DESC *pPredicateDesc, _In_ const D3D11_QUERY_DESC *pPredicateDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Predicate **ppPredicate) = 0; _Out_opt_ ID3D11Predicate **ppPredicate) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateCounter( virtual HRESULT STDMETHODCALLTYPE CreateCounter(
/* [annotation] */ /* [annotation] */
__in const D3D11_COUNTER_DESC *pCounterDesc, _In_ const D3D11_COUNTER_DESC *pCounterDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Counter **ppCounter) = 0; _Out_opt_ ID3D11Counter **ppCounter) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext( virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext(
UINT ContextFlags, UINT ContextFlags,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DeviceContext **ppDeferredContext) = 0; _Out_opt_ ID3D11DeviceContext **ppDeferredContext) = 0;
virtual HRESULT STDMETHODCALLTYPE OpenSharedResource( virtual HRESULT STDMETHODCALLTYPE OpenSharedResource(
/* [annotation] */ /* [annotation] */
__in HANDLE hResource, _In_ HANDLE hResource,
/* [annotation] */ /* [annotation] */
__in REFIID ReturnedInterface, _In_ REFIID ReturnedInterface,
/* [annotation] */ /* [annotation] */
__out_opt void **ppResource) = 0; _Out_opt_ void **ppResource) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckFormatSupport( virtual HRESULT STDMETHODCALLTYPE CheckFormatSupport(
/* [annotation] */ /* [annotation] */
__in DXGI_FORMAT Format, _In_ DXGI_FORMAT Format,
/* [annotation] */ /* [annotation] */
__out UINT *pFormatSupport) = 0; _Out_ UINT *pFormatSupport) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels( virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels(
/* [annotation] */ /* [annotation] */
__in DXGI_FORMAT Format, _In_ DXGI_FORMAT Format,
/* [annotation] */ /* [annotation] */
__in UINT SampleCount, _In_ UINT SampleCount,
/* [annotation] */ /* [annotation] */
__out UINT *pNumQualityLevels) = 0; _Out_ UINT *pNumQualityLevels) = 0;
virtual void STDMETHODCALLTYPE CheckCounterInfo( virtual void STDMETHODCALLTYPE CheckCounterInfo(
/* [annotation] */ /* [annotation] */
__out D3D11_COUNTER_INFO *pCounterInfo) = 0; _Out_ D3D11_COUNTER_INFO *pCounterInfo) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckCounter( virtual HRESULT STDMETHODCALLTYPE CheckCounter(
/* [annotation] */ /* [annotation] */
__in const D3D11_COUNTER_DESC *pDesc, _In_ const D3D11_COUNTER_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__out D3D11_COUNTER_TYPE *pType, _Out_ D3D11_COUNTER_TYPE *pType,
/* [annotation] */ /* [annotation] */
__out UINT *pActiveCounters, _Out_ UINT *pActiveCounters,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNameLength) LPSTR szName, _Out_writes_opt_(*pNameLength) LPSTR szName,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNameLength, _Inout_opt_ UINT *pNameLength,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pUnitsLength) LPSTR szUnits, _Out_writes_opt_(*pUnitsLength) LPSTR szUnits,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pUnitsLength, _Inout_opt_ UINT *pUnitsLength,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pDescriptionLength) LPSTR szDescription, _Out_writes_opt_(*pDescriptionLength) LPSTR szDescription,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pDescriptionLength) = 0; _Inout_opt_ UINT *pDescriptionLength) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckFeatureSupport( virtual HRESULT STDMETHODCALLTYPE CheckFeatureSupport(
D3D11_FEATURE Feature, D3D11_FEATURE Feature,
/* [annotation] */ /* [annotation] */
__out_bcount(FeatureSupportDataSize) void *pFeatureSupportData, _Out_writes_bytes_(FeatureSupportDataSize) void *pFeatureSupportDat a,
UINT FeatureSupportDataSize) = 0; UINT FeatureSupportDataSize) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPrivateData( virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData) = 0; _Out_writes_bytes_opt_(*pDataSize) void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateData( virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData) = 0; _In_reads_bytes_opt_(DataSize) const void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface( virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData) = 0; _In_opt_ const IUnknown *pData) = 0;
virtual D3D_FEATURE_LEVEL STDMETHODCALLTYPE GetFeatureLevel( void) = 0; virtual D3D_FEATURE_LEVEL STDMETHODCALLTYPE GetFeatureLevel( void) = 0;
virtual UINT STDMETHODCALLTYPE GetCreationFlags( void) = 0; virtual UINT STDMETHODCALLTYPE GetCreationFlags( void) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDeviceRemovedReason( void) = 0; virtual HRESULT STDMETHODCALLTYPE GetDeviceRemovedReason( void) = 0;
virtual void STDMETHODCALLTYPE GetImmediateContext( virtual void STDMETHODCALLTYPE GetImmediateContext(
/* [annotation] */ /* [annotation] */
__out ID3D11DeviceContext **ppImmediateContext) = 0; _Out_ ID3D11DeviceContext **ppImmediateContext) = 0;
virtual HRESULT STDMETHODCALLTYPE SetExceptionMode( virtual HRESULT STDMETHODCALLTYPE SetExceptionMode(
UINT RaiseFlags) = 0; UINT RaiseFlags) = 0;
virtual UINT STDMETHODCALLTYPE GetExceptionMode( void) = 0; virtual UINT STDMETHODCALLTYPE GetExceptionMode( void) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D11DeviceVtbl typedef struct ID3D11DeviceVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D11Device * This, ID3D11Device * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [annotation][iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); _COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D11Device * This); ID3D11Device * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D11Device * This); ID3D11Device * This);
HRESULT ( STDMETHODCALLTYPE *CreateBuffer )( HRESULT ( STDMETHODCALLTYPE *CreateBuffer )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const D3D11_BUFFER_DESC *pDesc, _In_ const D3D11_BUFFER_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_SUBRESOURCE_DATA *pInitialData, _In_opt_ const D3D11_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Buffer **ppBuffer); _Out_opt_ ID3D11Buffer **ppBuffer);
HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )( HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const D3D11_TEXTURE1D_DESC *pDesc, _In_ const D3D11_TEXTURE1D_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D11_SU BRESOURCE_DATA *pInitialData, _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Texture1D **ppTexture1D); _Out_opt_ ID3D11Texture1D **ppTexture1D);
HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )( HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const D3D11_TEXTURE2D_DESC *pDesc, _In_ const D3D11_TEXTURE2D_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D11_SU BRESOURCE_DATA *pInitialData, _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Texture2D **ppTexture2D); _Out_opt_ ID3D11Texture2D **ppTexture2D);
HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )( HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const D3D11_TEXTURE3D_DESC *pDesc, _In_ const D3D11_TEXTURE3D_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__in_xcount_opt(pDesc->MipLevels) const D3D11_SUBRESOURCE_DATA *pIn itialData, _In_reads_opt_(_Inexpressible_(pDesc->MipLevels)) const D3D11_SUBRE SOURCE_DATA *pInitialData,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Texture3D **ppTexture3D); _Out_opt_ ID3D11Texture3D **ppTexture3D);
HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )( HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc, _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11ShaderResourceView **ppSRView); _Out_opt_ ID3D11ShaderResourceView **ppSRView);
HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView )( HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc, _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11UnorderedAccessView **ppUAView); _Out_opt_ ID3D11UnorderedAccessView **ppUAView);
HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )( HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_RENDER_TARGET_VIEW_DESC *pDesc, _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11RenderTargetView **ppRTView); _Out_opt_ ID3D11RenderTargetView **ppRTView);
HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )( HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in ID3D11Resource *pResource, _In_ ID3D11Resource *pResource,
/* [annotation] */ /* [annotation] */
__in_opt const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc, _In_opt_ const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DepthStencilView **ppDepthStencilView); _Out_opt_ ID3D11DepthStencilView **ppDepthStencilView);
HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )( HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in_ecount(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputElem entDescs, _In_reads_(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputEleme ntDescs,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements, _In_range_( 0, D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecodeWithInputSignature, _In_reads_(BytecodeLength) const void *pShaderBytecodeWithInputSign ature,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11InputLayout **ppInputLayout); _Out_opt_ ID3D11InputLayout **ppInputLayout);
HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )( HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11VertexShader **ppVertexShader); _Out_opt_ ID3D11VertexShader **ppVertexShader);
HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )( HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11GeometryShader **ppGeometryShader); _Out_opt_ ID3D11GeometryShader **ppGeometryShader);
HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )( HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODe claration, _In_reads_opt_(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODec laration,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SO_STREAM_COUNT * D3D11_SO_OUTPUT_COMPONENT_COU NT ) UINT NumEntries, _In_range_( 0, D3D11_SO_STREAM_COUNT * D3D11_SO_OUTPUT_COMPONENT_COU NT ) UINT NumEntries,
/* [annotation] */ /* [annotation] */
__in_ecount_opt(NumStrides) const UINT *pBufferStrides, _In_reads_opt_(NumStrides) const UINT *pBufferStrides,
/* [annotation] */ /* [annotation] */
__in_range( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides, _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides,
/* [annotation] */ /* [annotation] */
__in UINT RasterizedStream, _In_ UINT RasterizedStream,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11GeometryShader **ppGeometryShader); _Out_opt_ ID3D11GeometryShader **ppGeometryShader);
HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )( HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11PixelShader **ppPixelShader); _Out_opt_ ID3D11PixelShader **ppPixelShader);
HRESULT ( STDMETHODCALLTYPE *CreateHullShader )( HRESULT ( STDMETHODCALLTYPE *CreateHullShader )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11HullShader **ppHullShader); _Out_opt_ ID3D11HullShader **ppHullShader);
HRESULT ( STDMETHODCALLTYPE *CreateDomainShader )( HRESULT ( STDMETHODCALLTYPE *CreateDomainShader )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DomainShader **ppDomainShader); _Out_opt_ ID3D11DomainShader **ppDomainShader);
HRESULT ( STDMETHODCALLTYPE *CreateComputeShader )( HRESULT ( STDMETHODCALLTYPE *CreateComputeShader )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const void *pShaderBytecode, _In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */ /* [annotation] */
__in SIZE_T BytecodeLength, _In_ SIZE_T BytecodeLength,
/* [annotation] */ /* [annotation] */
__in_opt ID3D11ClassLinkage *pClassLinkage, _In_opt_ ID3D11ClassLinkage *pClassLinkage,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11ComputeShader **ppComputeShader); _Out_opt_ ID3D11ComputeShader **ppComputeShader);
HRESULT ( STDMETHODCALLTYPE *CreateClassLinkage )( HRESULT ( STDMETHODCALLTYPE *CreateClassLinkage )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__out ID3D11ClassLinkage **ppLinkage); _Out_ ID3D11ClassLinkage **ppLinkage);
HRESULT ( STDMETHODCALLTYPE *CreateBlendState )( HRESULT ( STDMETHODCALLTYPE *CreateBlendState )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const D3D11_BLEND_DESC *pBlendStateDesc, _In_ const D3D11_BLEND_DESC *pBlendStateDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11BlendState **ppBlendState); _Out_opt_ ID3D11BlendState **ppBlendState);
HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )( HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc, _In_ const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DepthStencilState **ppDepthStencilState); _Out_opt_ ID3D11DepthStencilState **ppDepthStencilState);
HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )( HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const D3D11_RASTERIZER_DESC *pRasterizerDesc, _In_ const D3D11_RASTERIZER_DESC *pRasterizerDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11RasterizerState **ppRasterizerState); _Out_opt_ ID3D11RasterizerState **ppRasterizerState);
HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )( HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const D3D11_SAMPLER_DESC *pSamplerDesc, _In_ const D3D11_SAMPLER_DESC *pSamplerDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11SamplerState **ppSamplerState); _Out_opt_ ID3D11SamplerState **ppSamplerState);
HRESULT ( STDMETHODCALLTYPE *CreateQuery )( HRESULT ( STDMETHODCALLTYPE *CreateQuery )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const D3D11_QUERY_DESC *pQueryDesc, _In_ const D3D11_QUERY_DESC *pQueryDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Query **ppQuery); _Out_opt_ ID3D11Query **ppQuery);
HRESULT ( STDMETHODCALLTYPE *CreatePredicate )( HRESULT ( STDMETHODCALLTYPE *CreatePredicate )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const D3D11_QUERY_DESC *pPredicateDesc, _In_ const D3D11_QUERY_DESC *pPredicateDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Predicate **ppPredicate); _Out_opt_ ID3D11Predicate **ppPredicate);
HRESULT ( STDMETHODCALLTYPE *CreateCounter )( HRESULT ( STDMETHODCALLTYPE *CreateCounter )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const D3D11_COUNTER_DESC *pCounterDesc, _In_ const D3D11_COUNTER_DESC *pCounterDesc,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11Counter **ppCounter); _Out_opt_ ID3D11Counter **ppCounter);
HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext )( HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext )(
ID3D11Device * This, ID3D11Device * This,
UINT ContextFlags, UINT ContextFlags,
/* [annotation] */ /* [annotation] */
__out_opt ID3D11DeviceContext **ppDeferredContext); _Out_opt_ ID3D11DeviceContext **ppDeferredContext);
HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )( HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in HANDLE hResource, _In_ HANDLE hResource,
/* [annotation] */ /* [annotation] */
__in REFIID ReturnedInterface, _In_ REFIID ReturnedInterface,
/* [annotation] */ /* [annotation] */
__out_opt void **ppResource); _Out_opt_ void **ppResource);
HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )( HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in DXGI_FORMAT Format, _In_ DXGI_FORMAT Format,
/* [annotation] */ /* [annotation] */
__out UINT *pFormatSupport); _Out_ UINT *pFormatSupport);
HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )( HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in DXGI_FORMAT Format, _In_ DXGI_FORMAT Format,
/* [annotation] */ /* [annotation] */
__in UINT SampleCount, _In_ UINT SampleCount,
/* [annotation] */ /* [annotation] */
__out UINT *pNumQualityLevels); _Out_ UINT *pNumQualityLevels);
void ( STDMETHODCALLTYPE *CheckCounterInfo )( void ( STDMETHODCALLTYPE *CheckCounterInfo )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__out D3D11_COUNTER_INFO *pCounterInfo); _Out_ D3D11_COUNTER_INFO *pCounterInfo);
HRESULT ( STDMETHODCALLTYPE *CheckCounter )( HRESULT ( STDMETHODCALLTYPE *CheckCounter )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in const D3D11_COUNTER_DESC *pDesc, _In_ const D3D11_COUNTER_DESC *pDesc,
/* [annotation] */ /* [annotation] */
__out D3D11_COUNTER_TYPE *pType, _Out_ D3D11_COUNTER_TYPE *pType,
/* [annotation] */ /* [annotation] */
__out UINT *pActiveCounters, _Out_ UINT *pActiveCounters,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pNameLength) LPSTR szName, _Out_writes_opt_(*pNameLength) LPSTR szName,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pNameLength, _Inout_opt_ UINT *pNameLength,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pUnitsLength) LPSTR szUnits, _Out_writes_opt_(*pUnitsLength) LPSTR szUnits,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pUnitsLength, _Inout_opt_ UINT *pUnitsLength,
/* [annotation] */ /* [annotation] */
__out_ecount_opt(*pDescriptionLength) LPSTR szDescription, _Out_writes_opt_(*pDescriptionLength) LPSTR szDescription,
/* [annotation] */ /* [annotation] */
__inout_opt UINT *pDescriptionLength); _Inout_opt_ UINT *pDescriptionLength);
HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )( HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )(
ID3D11Device * This, ID3D11Device * This,
D3D11_FEATURE Feature, D3D11_FEATURE Feature,
/* [annotation] */ /* [annotation] */
__out_bcount(FeatureSupportDataSize) void *pFeatureSupportData, _Out_writes_bytes_(FeatureSupportDataSize) void *pFeatureSupportDat a,
UINT FeatureSupportDataSize); UINT FeatureSupportDataSize);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__inout UINT *pDataSize, _Inout_ UINT *pDataSize,
/* [annotation] */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); _Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in UINT DataSize, _In_ UINT DataSize,
/* [annotation] */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); _In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__in REFGUID guid, _In_ REFGUID guid,
/* [annotation] */ /* [annotation] */
__in_opt const IUnknown *pData); _In_opt_ const IUnknown *pData);
D3D_FEATURE_LEVEL ( STDMETHODCALLTYPE *GetFeatureLevel )( D3D_FEATURE_LEVEL ( STDMETHODCALLTYPE *GetFeatureLevel )(
ID3D11Device * This); ID3D11Device * This);
UINT ( STDMETHODCALLTYPE *GetCreationFlags )( UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
ID3D11Device * This); ID3D11Device * This);
HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )( HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )(
ID3D11Device * This); ID3D11Device * This);
void ( STDMETHODCALLTYPE *GetImmediateContext )( void ( STDMETHODCALLTYPE *GetImmediateContext )(
ID3D11Device * This, ID3D11Device * This,
/* [annotation] */ /* [annotation] */
__out ID3D11DeviceContext **ppImmediateContext); _Out_ ID3D11DeviceContext **ppImmediateContext);
HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )( HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )(
ID3D11Device * This, ID3D11Device * This,
UINT RaiseFlags); UINT RaiseFlags);
UINT ( STDMETHODCALLTYPE *GetExceptionMode )( UINT ( STDMETHODCALLTYPE *GetExceptionMode )(
ID3D11Device * This); ID3D11Device * This);
END_INTERFACE END_INTERFACE
} ID3D11DeviceVtbl; } ID3D11DeviceVtbl;
skipping to change at line 9719 skipping to change at line 13707
#define ID3D11Device_GetExceptionMode(This) \ #define ID3D11Device_GetExceptionMode(This) \
( (This)->lpVtbl -> GetExceptionMode(This) ) ( (This)->lpVtbl -> GetExceptionMode(This) )
#endif /* COBJMACROS */ #endif /* COBJMACROS */
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D11Device_INTERFACE_DEFINED__ */ #endif /* __ID3D11Device_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d11_0000_0031 */ /* interface __MIDL_itf_d3d11_0000_0041 */
/* [local] */ /* [local] */
typedef typedef
enum D3D11_CREATE_DEVICE_FLAG enum D3D11_CREATE_DEVICE_FLAG
{ D3D11_CREATE_DEVICE_SINGLETHREADED = 0x1, {
D3D11_CREATE_DEVICE_DEBUG = 0x2, D3D11_CREATE_DEVICE_SINGLETHREADED = 0x1,
D3D11_CREATE_DEVICE_SWITCH_TO_REF = 0x4, D3D11_CREATE_DEVICE_DEBUG = 0x2,
D3D11_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS = 0x8, D3D11_CREATE_DEVICE_SWITCH_TO_REF = 0x4,
D3D11_CREATE_DEVICE_BGRA_SUPPORT = 0x20 D3D11_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS = 0x8,
D3D11_CREATE_DEVICE_BGRA_SUPPORT = 0x20,
D3D11_CREATE_DEVICE_DEBUGGABLE = 0x40,
D3D11_CREATE_DEVICE_PREVENT_ALTERING_LAYER_SETTINGS_FROM_REGISTRY =
0x80,
D3D11_CREATE_DEVICE_DISABLE_GPU_TIMEOUT = 0x100,
D3D11_CREATE_DEVICE_VIDEO_SUPPORT = 0x800
} D3D11_CREATE_DEVICE_FLAG; } D3D11_CREATE_DEVICE_FLAG;
#define D3D11_SDK_VERSION ( 7 ) #define D3D11_SDK_VERSION ( 7 )
#include "d3d10_1.h"
#if !defined( D3D11_IGNORE_SDK_LAYERS ) #if !defined( D3D11_IGNORE_SDK_LAYERS )
#include "d3d11sdklayers.h" #include "d3d11sdklayers.h"
#endif #endif
#include "d3d10misc.h" #include "d3d10_1.h"
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#include "d3d10shader.h" #include "d3d10shader.h"
#include "d3d10effect.h"
#include "d3d10_1shader.h" #include "d3d10_1shader.h"
#include "d3d10misc.h"
#include "d3d10effect.h"
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// D3D11CreateDevice // D3D11CreateDevice
// ------------------ // ------------------
// //
// pAdapter // pAdapter
// If NULL, D3D11CreateDevice will choose the primary adapter and // If NULL, D3D11CreateDevice will choose the primary adapter and
// create a new instance from a temporarily created IDXGIFactory. // create a new instance from a temporarily created IDXGIFactory.
// If non-NULL, D3D11CreateDevice will register the appropriate // If non-NULL, D3D11CreateDevice will register the appropriate
// device, if necessary (via IDXGIAdapter::RegisterDrver), before // device, if necessary (via IDXGIAdapter::RegisterDrver), before
skipping to change at line 9781 skipping to change at line 13778
// Pointer to returned interface. May be NULL. // Pointer to returned interface. May be NULL.
// //
// Return Values // Return Values
// Any of those documented for // Any of those documented for
// CreateDXGIFactory1 // CreateDXGIFactory1
// IDXGIFactory::EnumAdapters // IDXGIFactory::EnumAdapters
// IDXGIAdapter::RegisterDriver // IDXGIAdapter::RegisterDriver
// D3D11CreateDevice // D3D11CreateDevice
// //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
typedef HRESULT (WINAPI* PFN_D3D11_CREATE_DEVICE)( __in_opt IDXGIAdapter*, typedef HRESULT (WINAPI* PFN_D3D11_CREATE_DEVICE)( _In_opt_ IDXGIAdapter*,
D3D_DRIVER_TYPE, HMODULE, UINT, D3D_DRIVER_TYPE, HMODULE, UINT,
__in_ecount_opt( FeatureLevels ) CONST D3D_FEATURE_LEVEL*, _In_reads_opt_( FeatureLevels ) CONST D3D_FEATURE_LEVEL*,
UINT FeatureLevels, UINT, __out_opt ID3D11Device**, UINT FeatureLevels, UINT, _Out_opt_ ID3D11Device**,
__out_opt D3D_FEATURE_LEVEL*, __out_opt ID3D11DeviceContext** ); _Out_opt_ D3D_FEATURE_LEVEL*, _Out_opt_ ID3D11DeviceContext** );
HRESULT WINAPI D3D11CreateDevice( HRESULT WINAPI D3D11CreateDevice(
__in_opt IDXGIAdapter* pAdapter, _In_opt_ IDXGIAdapter* pAdapter,
D3D_DRIVER_TYPE DriverType, D3D_DRIVER_TYPE DriverType,
HMODULE Software, HMODULE Software,
UINT Flags, UINT Flags,
__in_ecount_opt( FeatureLevels ) CONST D3D_FEATURE_LEVEL* pFeatureLevels, _In_reads_opt_( FeatureLevels ) CONST D3D_FEATURE_LEVEL* pFeatureLevels,
UINT FeatureLevels, UINT FeatureLevels,
UINT SDKVersion, UINT SDKVersion,
__out_opt ID3D11Device** ppDevice, _Out_opt_ ID3D11Device** ppDevice,
__out_opt D3D_FEATURE_LEVEL* pFeatureLevel, _Out_opt_ D3D_FEATURE_LEVEL* pFeatureLevel,
__out_opt ID3D11DeviceContext** ppImmediateContext ); _Out_opt_ ID3D11DeviceContext** ppImmediateContext );
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// D3D11CreateDeviceAndSwapChain // D3D11CreateDeviceAndSwapChain
// ------------------------------ // ------------------------------
// //
// ppAdapter // ppAdapter
// If NULL, D3D11CreateDevice will choose the primary adapter and // If NULL, D3D11CreateDevice will choose the primary adapter and
// create a new instance from a temporarily created IDXGIFactory. // create a new instance from a temporarily created IDXGIFactory.
// If non-NULL, D3D11CreateDevice will register the appropriate // If non-NULL, D3D11CreateDevice will register the appropriate
// device, if necessary (via IDXGIAdapter::RegisterDrver), before // device, if necessary (via IDXGIAdapter::RegisterDrver), before
// creating the device. // creating the device.
skipping to change at line 9852 skipping to change at line 13851
// //
// Return Values // Return Values
// Any of those documented for // Any of those documented for
// CreateDXGIFactory1 // CreateDXGIFactory1
// IDXGIFactory::EnumAdapters // IDXGIFactory::EnumAdapters
// IDXGIAdapter::RegisterDriver // IDXGIAdapter::RegisterDriver
// D3D11CreateDevice // D3D11CreateDevice
// IDXGIFactory::CreateSwapChain // IDXGIFactory::CreateSwapChain
// //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
typedef HRESULT (WINAPI* PFN_D3D11_CREATE_DEVICE_AND_SWAP_CHAIN)( __in_opt IDXGI Adapter*, typedef HRESULT (WINAPI* PFN_D3D11_CREATE_DEVICE_AND_SWAP_CHAIN)( _In_opt_ IDXGI Adapter*,
D3D_DRIVER_TYPE, HMODULE, UINT, D3D_DRIVER_TYPE, HMODULE, UINT,
__in_ecount_opt( FeatureLevels ) CONST D3D_FEATURE_LEVEL*, _In_reads_opt_( FeatureLevels ) CONST D3D_FEATURE_LEVEL*,
UINT FeatureLevels, UINT, __in_opt CONST DXGI_SWAP_CHAIN_DESC*, UINT FeatureLevels, UINT, _In_opt_ CONST DXGI_SWAP_CHAIN_DESC*,
__out_opt IDXGISwapChain**, __out_opt ID3D11Device**, _Out_opt_ IDXGISwapChain**, _Out_opt_ ID3D11Device**,
__out_opt D3D_FEATURE_LEVEL*, __out_opt ID3D11DeviceContext** ); _Out_opt_ D3D_FEATURE_LEVEL*, _Out_opt_ ID3D11DeviceContext** );
HRESULT WINAPI D3D11CreateDeviceAndSwapChain( HRESULT WINAPI D3D11CreateDeviceAndSwapChain(
__in_opt IDXGIAdapter* pAdapter, _In_opt_ IDXGIAdapter* pAdapter,
D3D_DRIVER_TYPE DriverType, D3D_DRIVER_TYPE DriverType,
HMODULE Software, HMODULE Software,
UINT Flags, UINT Flags,
__in_ecount_opt( FeatureLevels ) CONST D3D_FEATURE_LEVEL* pFeatureLevels, _In_reads_opt_( FeatureLevels ) CONST D3D_FEATURE_LEVEL* pFeatureLevels,
UINT FeatureLevels, UINT FeatureLevels,
UINT SDKVersion, UINT SDKVersion,
__in_opt CONST DXGI_SWAP_CHAIN_DESC* pSwapChainDesc, _In_opt_ CONST DXGI_SWAP_CHAIN_DESC* pSwapChainDesc,
__out_opt IDXGISwapChain** ppSwapChain, _Out_opt_ IDXGISwapChain** ppSwapChain,
__out_opt ID3D11Device** ppDevice, _Out_opt_ ID3D11Device** ppDevice,
__out_opt D3D_FEATURE_LEVEL* pFeatureLevel, _Out_opt_ D3D_FEATURE_LEVEL* pFeatureLevel,
__out_opt ID3D11DeviceContext** ppImmediateContext ); _Out_opt_ ID3D11DeviceContext** ppImmediateContext );
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
DEFINE_GUID(IID_ID3D11DeviceChild,0x1841e5c8,0x16b0,0x489b,0xbc,0xc8,0x44,0xcf,0 xb0,0xd5,0xde,0xae); DEFINE_GUID(IID_ID3D11DeviceChild,0x1841e5c8,0x16b0,0x489b,0xbc,0xc8,0x44,0xcf,0 xb0,0xd5,0xde,0xae);
DEFINE_GUID(IID_ID3D11DepthStencilState,0x03823efb,0x8d8f,0x4e1c,0x9a,0xa2,0xf6, 0x4b,0xb2,0xcb,0xfd,0xf1); DEFINE_GUID(IID_ID3D11DepthStencilState,0x03823efb,0x8d8f,0x4e1c,0x9a,0xa2,0xf6, 0x4b,0xb2,0xcb,0xfd,0xf1);
DEFINE_GUID(IID_ID3D11BlendState,0x75b68faa,0x347d,0x4159,0x8f,0x45,0xa0,0x64,0x 0f,0x01,0xcd,0x9a); DEFINE_GUID(IID_ID3D11BlendState,0x75b68faa,0x347d,0x4159,0x8f,0x45,0xa0,0x64,0x 0f,0x01,0xcd,0x9a);
DEFINE_GUID(IID_ID3D11RasterizerState,0x9bb4ab81,0xab1a,0x4d8f,0xb5,0x06,0xfc,0x 04,0x20,0x0b,0x6e,0xe7); DEFINE_GUID(IID_ID3D11RasterizerState,0x9bb4ab81,0xab1a,0x4d8f,0xb5,0x06,0xfc,0x 04,0x20,0x0b,0x6e,0xe7);
DEFINE_GUID(IID_ID3D11Resource,0xdc8e63f3,0xd12b,0x4952,0xb4,0x7b,0x5e,0x45,0x02 ,0x6a,0x86,0x2d); DEFINE_GUID(IID_ID3D11Resource,0xdc8e63f3,0xd12b,0x4952,0xb4,0x7b,0x5e,0x45,0x02 ,0x6a,0x86,0x2d);
DEFINE_GUID(IID_ID3D11Buffer,0x48570b85,0xd1ee,0x4fcd,0xa2,0x50,0xeb,0x35,0x07,0 x22,0xb0,0x37); DEFINE_GUID(IID_ID3D11Buffer,0x48570b85,0xd1ee,0x4fcd,0xa2,0x50,0xeb,0x35,0x07,0 x22,0xb0,0x37);
DEFINE_GUID(IID_ID3D11Texture1D,0xf8fb5c27,0xc6b3,0x4f75,0xa4,0xc8,0x43,0x9a,0xf 2,0xef,0x56,0x4c); DEFINE_GUID(IID_ID3D11Texture1D,0xf8fb5c27,0xc6b3,0x4f75,0xa4,0xc8,0x43,0x9a,0xf 2,0xef,0x56,0x4c);
DEFINE_GUID(IID_ID3D11Texture2D,0x6f15aaf2,0xd208,0x4e89,0x9a,0xb4,0x48,0x95,0x3 5,0xd3,0x4f,0x9c); DEFINE_GUID(IID_ID3D11Texture2D,0x6f15aaf2,0xd208,0x4e89,0x9a,0xb4,0x48,0x95,0x3 5,0xd3,0x4f,0x9c);
DEFINE_GUID(IID_ID3D11Texture3D,0x037e866e,0xf56d,0x4357,0xa8,0xaf,0x9d,0xab,0xb e,0x6e,0x25,0x0e); DEFINE_GUID(IID_ID3D11Texture3D,0x037e866e,0xf56d,0x4357,0xa8,0xaf,0x9d,0xab,0xb e,0x6e,0x25,0x0e);
DEFINE_GUID(IID_ID3D11View,0x839d1216,0xbb2e,0x412b,0xb7,0xf4,0xa9,0xdb,0xeb,0xe 0,0x8e,0xd1); DEFINE_GUID(IID_ID3D11View,0x839d1216,0xbb2e,0x412b,0xb7,0xf4,0xa9,0xdb,0xeb,0xe 0,0x8e,0xd1);
skipping to change at line 9903 skipping to change at line 13904
DEFINE_GUID(IID_ID3D11InputLayout,0xe4819ddc,0x4cf0,0x4025,0xbd,0x26,0x5d,0xe8,0 x2a,0x3e,0x07,0xb7); DEFINE_GUID(IID_ID3D11InputLayout,0xe4819ddc,0x4cf0,0x4025,0xbd,0x26,0x5d,0xe8,0 x2a,0x3e,0x07,0xb7);
DEFINE_GUID(IID_ID3D11SamplerState,0xda6fea51,0x564c,0x4487,0x98,0x10,0xf0,0xd0, 0xf9,0xb4,0xe3,0xa5); DEFINE_GUID(IID_ID3D11SamplerState,0xda6fea51,0x564c,0x4487,0x98,0x10,0xf0,0xd0, 0xf9,0xb4,0xe3,0xa5);
DEFINE_GUID(IID_ID3D11Asynchronous,0x4b35d0cd,0x1e15,0x4258,0x9c,0x98,0x1b,0x13, 0x33,0xf6,0xdd,0x3b); DEFINE_GUID(IID_ID3D11Asynchronous,0x4b35d0cd,0x1e15,0x4258,0x9c,0x98,0x1b,0x13, 0x33,0xf6,0xdd,0x3b);
DEFINE_GUID(IID_ID3D11Query,0xd6c00747,0x87b7,0x425e,0xb8,0x4d,0x44,0xd1,0x08,0x 56,0x0a,0xfd); DEFINE_GUID(IID_ID3D11Query,0xd6c00747,0x87b7,0x425e,0xb8,0x4d,0x44,0xd1,0x08,0x 56,0x0a,0xfd);
DEFINE_GUID(IID_ID3D11Predicate,0x9eb576dd,0x9f77,0x4d86,0x81,0xaa,0x8b,0xab,0x5 f,0xe4,0x90,0xe2); DEFINE_GUID(IID_ID3D11Predicate,0x9eb576dd,0x9f77,0x4d86,0x81,0xaa,0x8b,0xab,0x5 f,0xe4,0x90,0xe2);
DEFINE_GUID(IID_ID3D11Counter,0x6e8c49fb,0xa371,0x4770,0xb4,0x40,0x29,0x08,0x60, 0x22,0xb7,0x41); DEFINE_GUID(IID_ID3D11Counter,0x6e8c49fb,0xa371,0x4770,0xb4,0x40,0x29,0x08,0x60, 0x22,0xb7,0x41);
DEFINE_GUID(IID_ID3D11ClassInstance,0xa6cd7faa,0xb0b7,0x4a2f,0x94,0x36,0x86,0x62 ,0xa6,0x57,0x97,0xcb); DEFINE_GUID(IID_ID3D11ClassInstance,0xa6cd7faa,0xb0b7,0x4a2f,0x94,0x36,0x86,0x62 ,0xa6,0x57,0x97,0xcb);
DEFINE_GUID(IID_ID3D11ClassLinkage,0xddf57cba,0x9543,0x46e4,0xa1,0x2b,0xf2,0x07, 0xa0,0xfe,0x7f,0xed); DEFINE_GUID(IID_ID3D11ClassLinkage,0xddf57cba,0x9543,0x46e4,0xa1,0x2b,0xf2,0x07, 0xa0,0xfe,0x7f,0xed);
DEFINE_GUID(IID_ID3D11CommandList,0xa24bc4d1,0x769e,0x43f7,0x80,0x13,0x98,0xff,0 x56,0x6c,0x18,0xe2); DEFINE_GUID(IID_ID3D11CommandList,0xa24bc4d1,0x769e,0x43f7,0x80,0x13,0x98,0xff,0 x56,0x6c,0x18,0xe2);
DEFINE_GUID(IID_ID3D11DeviceContext,0xc0bfa96c,0xe089,0x44fb,0x8e,0xaf,0x26,0xf8 ,0x79,0x61,0x90,0xda); DEFINE_GUID(IID_ID3D11DeviceContext,0xc0bfa96c,0xe089,0x44fb,0x8e,0xaf,0x26,0xf8 ,0x79,0x61,0x90,0xda);
DEFINE_GUID(IID_ID3D11VideoDecoder,0x3C9C5B51,0x995D,0x48d1,0x9B,0x8D,0xFA,0x5C,
0xAE,0xDE,0xD6,0x5C);
DEFINE_GUID(IID_ID3D11VideoProcessorEnumerator,0x31627037,0x53AB,0x4200,0x90,0x6
1,0x05,0xFA,0xA9,0xAB,0x45,0xF9);
DEFINE_GUID(IID_ID3D11VideoProcessor,0x1D7B0652,0x185F,0x41c6,0x85,0xCE,0x0C,0x5
B,0xE3,0xD4,0xAE,0x6C);
DEFINE_GUID(IID_ID3D11AuthenticatedChannel,0x3015A308,0xDCBD,0x47aa,0xA7,0x47,0x
19,0x24,0x86,0xD1,0x4D,0x4A);
DEFINE_GUID(IID_ID3D11CryptoSession,0x9B32F9AD,0xBDCC,0x40a6,0xA3,0x9D,0xD5,0xC8
,0x65,0x84,0x57,0x20);
DEFINE_GUID(IID_ID3D11VideoDecoderOutputView,0xC2931AEA,0x2A85,0x4f20,0x86,0x0F,
0xFB,0xA1,0xFD,0x25,0x6E,0x18);
DEFINE_GUID(IID_ID3D11VideoProcessorInputView,0x11EC5A5F,0x51DC,0x4945,0xAB,0x34
,0x6E,0x8C,0x21,0x30,0x0E,0xA5);
DEFINE_GUID(IID_ID3D11VideoProcessorOutputView,0xA048285E,0x25A9,0x4527,0xBD,0x9
3,0xD6,0x8B,0x68,0xC4,0x42,0x54);
DEFINE_GUID(IID_ID3D11VideoContext,0x61F21C45,0x3C0E,0x4a74,0x9C,0xEA,0x67,0x10,
0x0D,0x9A,0xD5,0xE4);
DEFINE_GUID(IID_ID3D11VideoDevice,0x10EC4D5B,0x975A,0x4689,0xB9,0xE4,0xD0,0xAA,0
xC3,0x0F,0xE3,0x33);
DEFINE_GUID(IID_ID3D11Device,0xdb6f6ddb,0xac77,0x4e88,0x82,0x53,0x81,0x9d,0xf9,0 xbb,0xf1,0x40); DEFINE_GUID(IID_ID3D11Device,0xdb6f6ddb,0xac77,0x4e88,0x82,0x53,0x81,0x9d,0xf9,0 xbb,0xf1,0x40);
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0031_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0041_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0031_v0_0_s_ifspec; extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0041_v0_0_s_ifspec;
/* Additional Prototypes for ALL interfaces */ /* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */ /* end of Additional Prototypes */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif #endif
 End of changes. 1310 change blocks. 
1605 lines changed or deleted 5866 lines changed or added

This html diff was produced by rfcdiff 1.41.