Home | History | Annotate | Download | only in include
      1 /*** Autogenerated by WIDL 1.5.25 from direct-x/include/d3d11.idl - Do not edit ***/
      2 
      3 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      4 #define __REQUIRED_RPCNDR_H_VERSION__ 475
      5 #endif
      6 
      7 #include <rpc.h>
      8 #include <rpcndr.h>
      9 
     10 #ifndef COM_NO_WINDOWS_H
     11 #include <windows.h>
     12 #include <ole2.h>
     13 #endif
     14 
     15 #ifndef __d3d11_h__
     16 #define __d3d11_h__
     17 
     18 /* Forward declarations */
     19 
     20 #ifndef __ID3D11DeviceChild_FWD_DEFINED__
     21 #define __ID3D11DeviceChild_FWD_DEFINED__
     22 typedef interface ID3D11DeviceChild ID3D11DeviceChild;
     23 #endif
     24 
     25 #ifndef __ID3D11Asynchronous_FWD_DEFINED__
     26 #define __ID3D11Asynchronous_FWD_DEFINED__
     27 typedef interface ID3D11Asynchronous ID3D11Asynchronous;
     28 #endif
     29 
     30 #ifndef __ID3D11Query_FWD_DEFINED__
     31 #define __ID3D11Query_FWD_DEFINED__
     32 typedef interface ID3D11Query ID3D11Query;
     33 #endif
     34 
     35 #ifndef __ID3D11Resource_FWD_DEFINED__
     36 #define __ID3D11Resource_FWD_DEFINED__
     37 typedef interface ID3D11Resource ID3D11Resource;
     38 #endif
     39 
     40 #ifndef __ID3D11View_FWD_DEFINED__
     41 #define __ID3D11View_FWD_DEFINED__
     42 typedef interface ID3D11View ID3D11View;
     43 #endif
     44 
     45 #ifndef __ID3D11BlendState_FWD_DEFINED__
     46 #define __ID3D11BlendState_FWD_DEFINED__
     47 typedef interface ID3D11BlendState ID3D11BlendState;
     48 #endif
     49 
     50 #ifndef __ID3D11Buffer_FWD_DEFINED__
     51 #define __ID3D11Buffer_FWD_DEFINED__
     52 typedef interface ID3D11Buffer ID3D11Buffer;
     53 #endif
     54 
     55 #ifndef __ID3D11ClassInstance_FWD_DEFINED__
     56 #define __ID3D11ClassInstance_FWD_DEFINED__
     57 typedef interface ID3D11ClassInstance ID3D11ClassInstance;
     58 #endif
     59 
     60 #ifndef __ID3D11ClassLinkage_FWD_DEFINED__
     61 #define __ID3D11ClassLinkage_FWD_DEFINED__
     62 typedef interface ID3D11ClassLinkage ID3D11ClassLinkage;
     63 #endif
     64 
     65 #ifndef __ID3D11CommandList_FWD_DEFINED__
     66 #define __ID3D11CommandList_FWD_DEFINED__
     67 typedef interface ID3D11CommandList ID3D11CommandList;
     68 #endif
     69 
     70 #ifndef __ID3D11ComputeShader_FWD_DEFINED__
     71 #define __ID3D11ComputeShader_FWD_DEFINED__
     72 typedef interface ID3D11ComputeShader ID3D11ComputeShader;
     73 #endif
     74 
     75 #ifndef __ID3D11Counter_FWD_DEFINED__
     76 #define __ID3D11Counter_FWD_DEFINED__
     77 typedef interface ID3D11Counter ID3D11Counter;
     78 #endif
     79 
     80 #ifndef __ID3D11DepthStencilState_FWD_DEFINED__
     81 #define __ID3D11DepthStencilState_FWD_DEFINED__
     82 typedef interface ID3D11DepthStencilState ID3D11DepthStencilState;
     83 #endif
     84 
     85 #ifndef __ID3D11DepthStencilView_FWD_DEFINED__
     86 #define __ID3D11DepthStencilView_FWD_DEFINED__
     87 typedef interface ID3D11DepthStencilView ID3D11DepthStencilView;
     88 #endif
     89 
     90 #ifndef __ID3D11DomainShader_FWD_DEFINED__
     91 #define __ID3D11DomainShader_FWD_DEFINED__
     92 typedef interface ID3D11DomainShader ID3D11DomainShader;
     93 #endif
     94 
     95 #ifndef __ID3D11GeometryShader_FWD_DEFINED__
     96 #define __ID3D11GeometryShader_FWD_DEFINED__
     97 typedef interface ID3D11GeometryShader ID3D11GeometryShader;
     98 #endif
     99 
    100 #ifndef __ID3D11HullShader_FWD_DEFINED__
    101 #define __ID3D11HullShader_FWD_DEFINED__
    102 typedef interface ID3D11HullShader ID3D11HullShader;
    103 #endif
    104 
    105 #ifndef __ID3D11InputLayout_FWD_DEFINED__
    106 #define __ID3D11InputLayout_FWD_DEFINED__
    107 typedef interface ID3D11InputLayout ID3D11InputLayout;
    108 #endif
    109 
    110 #ifndef __ID3D11PixelShader_FWD_DEFINED__
    111 #define __ID3D11PixelShader_FWD_DEFINED__
    112 typedef interface ID3D11PixelShader ID3D11PixelShader;
    113 #endif
    114 
    115 #ifndef __ID3D11Predicate_FWD_DEFINED__
    116 #define __ID3D11Predicate_FWD_DEFINED__
    117 typedef interface ID3D11Predicate ID3D11Predicate;
    118 #endif
    119 
    120 #ifndef __ID3D11RasterizerState_FWD_DEFINED__
    121 #define __ID3D11RasterizerState_FWD_DEFINED__
    122 typedef interface ID3D11RasterizerState ID3D11RasterizerState;
    123 #endif
    124 
    125 #ifndef __ID3D11RenderTargetView_FWD_DEFINED__
    126 #define __ID3D11RenderTargetView_FWD_DEFINED__
    127 typedef interface ID3D11RenderTargetView ID3D11RenderTargetView;
    128 #endif
    129 
    130 #ifndef __ID3D11SamplerState_FWD_DEFINED__
    131 #define __ID3D11SamplerState_FWD_DEFINED__
    132 typedef interface ID3D11SamplerState ID3D11SamplerState;
    133 #endif
    134 
    135 #ifndef __ID3D11ShaderResourceView_FWD_DEFINED__
    136 #define __ID3D11ShaderResourceView_FWD_DEFINED__
    137 typedef interface ID3D11ShaderResourceView ID3D11ShaderResourceView;
    138 #endif
    139 
    140 #ifndef __ID3D11Texture1D_FWD_DEFINED__
    141 #define __ID3D11Texture1D_FWD_DEFINED__
    142 typedef interface ID3D11Texture1D ID3D11Texture1D;
    143 #endif
    144 
    145 #ifndef __ID3D11Texture2D_FWD_DEFINED__
    146 #define __ID3D11Texture2D_FWD_DEFINED__
    147 typedef interface ID3D11Texture2D ID3D11Texture2D;
    148 #endif
    149 
    150 #ifndef __ID3D11Texture3D_FWD_DEFINED__
    151 #define __ID3D11Texture3D_FWD_DEFINED__
    152 typedef interface ID3D11Texture3D ID3D11Texture3D;
    153 #endif
    154 
    155 #ifndef __ID3D11UnorderedAccessView_FWD_DEFINED__
    156 #define __ID3D11UnorderedAccessView_FWD_DEFINED__
    157 typedef interface ID3D11UnorderedAccessView ID3D11UnorderedAccessView;
    158 #endif
    159 
    160 #ifndef __ID3D11VertexShader_FWD_DEFINED__
    161 #define __ID3D11VertexShader_FWD_DEFINED__
    162 typedef interface ID3D11VertexShader ID3D11VertexShader;
    163 #endif
    164 
    165 #ifndef __ID3D11DeviceContext_FWD_DEFINED__
    166 #define __ID3D11DeviceContext_FWD_DEFINED__
    167 typedef interface ID3D11DeviceContext ID3D11DeviceContext;
    168 #endif
    169 
    170 #ifndef __ID3D11Device_FWD_DEFINED__
    171 #define __ID3D11Device_FWD_DEFINED__
    172 typedef interface ID3D11Device ID3D11Device;
    173 #endif
    174 
    175 /* Headers for imported files */
    176 
    177 #include <oaidl.h>
    178 #include <ocidl.h>
    179 #include <dxgi.h>
    180 #include <d3dcommon.h>
    181 
    182 #ifdef __cplusplus
    183 extern "C" {
    184 #endif
    185 
    186 typedef D3D_PRIMITIVE D3D11_PRIMITIVE;
    187 typedef D3D_PRIMITIVE_TOPOLOGY D3D11_PRIMITIVE_TOPOLOGY;
    188 typedef D3D_SRV_DIMENSION D3D11_SRV_DIMENSION;
    189 typedef RECT D3D11_RECT;
    190 #define D3D11_DEFAULT_DEPTH_BIAS (0)
    191 
    192 #define D3D11_DEFAULT_DEPTH_BIAS_CLAMP 0.0f
    193 #define D3D11_DEFAULT_MAX_ANISOTROPY (16)
    194 
    195 #define D3D11_DEFAULT_MIP_LOD_BIAS 0.0f
    196 #define D3D11_DEFAULT_RENDER_TARGET_ARRAY_INDEX (0)
    197 
    198 #define D3D11_DEFAULT_SAMPLE_MASK (0xffffffff)
    199 
    200 #define D3D11_DEFAULT_SCISSOR_ENDX (0)
    201 
    202 #define D3D11_DEFAULT_SCISSOR_ENDY (0)
    203 
    204 #define D3D11_DEFAULT_SCISSOR_STARTX (0)
    205 
    206 #define D3D11_DEFAULT_SCISSOR_STARTY (0)
    207 
    208 #define D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS 0.0f
    209 #define D3D11_DEFAULT_STENCIL_READ_MASK (0xff)
    210 
    211 #define D3D11_DEFAULT_STENCIL_REFERENCE (0)
    212 
    213 #define D3D11_DEFAULT_STENCIL_WRITE_MASK (0xff)
    214 
    215 #define D3D11_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX (0)
    216 
    217 #define D3D11_DEFAULT_VIEWPORT_HEIGHT (0)
    218 
    219 #define D3D11_DEFAULT_VIEWPORT_MAX_DEPTH 0.0f
    220 #define D3D11_DEFAULT_VIEWPORT_MIN_DEPTH 0.0f
    221 #define D3D11_DEFAULT_VIEWPORT_TOPLEFTX (0)
    222 
    223 #define D3D11_DEFAULT_VIEWPORT_TOPLEFTY (0)
    224 
    225 #define D3D11_DEFAULT_VIEWPORT_WIDTH (0)
    226 
    227 #define D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT (8)
    228 
    229 #define D3D11_REQ_TEXTURE2D_U_OR_V_DIMENSION (16384)
    230 
    231 #if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)
    232 struct CD3D11_DEFAULT {};
    233 extern const DECLSPEC_SELECTANY CD3D11_DEFAULT D3D11_DEFAULT;
    234 #endif
    235 typedef enum D3D11_BLEND {
    236     D3D11_BLEND_ZERO = 1,
    237     D3D11_BLEND_ONE = 2,
    238     D3D11_BLEND_SRC_COLOR = 3,
    239     D3D11_BLEND_INV_SRC_COLOR = 4,
    240     D3D11_BLEND_SRC_ALPHA = 5,
    241     D3D11_BLEND_INV_SRC_ALPHA = 6,
    242     D3D11_BLEND_DEST_ALPHA = 7,
    243     D3D11_BLEND_INV_DEST_ALPHA = 8,
    244     D3D11_BLEND_DEST_COLOR = 9,
    245     D3D11_BLEND_INV_DEST_COLOR = 10,
    246     D3D11_BLEND_SRC_ALPHA_SAT = 11,
    247     D3D11_BLEND_BLEND_FACTOR = 14,
    248     D3D11_BLEND_INV_BLEND_FACTOR = 15,
    249     D3D11_BLEND_SRC1_COLOR = 16,
    250     D3D11_BLEND_INV_SRC1_COLOR = 17,
    251     D3D11_BLEND_SRC1_ALPHA = 18,
    252     D3D11_BLEND_INV_SRC1_ALPHA = 19
    253 } D3D11_BLEND;
    254 typedef enum D3D11_BLEND_OP {
    255     D3D11_BLEND_OP_ADD = 1,
    256     D3D11_BLEND_OP_SUBTRACT = 2,
    257     D3D11_BLEND_OP_REV_SUBTRACT = 3,
    258     D3D11_BLEND_OP_MIN = 4,
    259     D3D11_BLEND_OP_MAX = 5
    260 } D3D11_BLEND_OP;
    261 typedef struct D3D11_BOX {
    262     UINT left;
    263     UINT top;
    264     UINT front;
    265     UINT right;
    266     UINT bottom;
    267     UINT back;
    268 } D3D11_BOX;
    269 typedef struct D3D11_BUFFER_RTV {
    270     __C89_NAMELESS union {
    271         UINT FirstElement;
    272         UINT ElementOffset;
    273     } __C89_NAMELESSUNIONNAME1;
    274     __C89_NAMELESS union {
    275         UINT NumElements;
    276         UINT ElementWidth;
    277     } __C89_NAMELESSUNIONNAME2;
    278 } D3D11_BUFFER_RTV;
    279 typedef struct D3D11_BUFFER_SRV {
    280     __C89_NAMELESS union {
    281         UINT FirstElement;
    282         UINT ElementOffset;
    283     } __C89_NAMELESSUNIONNAME1;
    284     __C89_NAMELESS union {
    285         UINT NumElements;
    286         UINT ElementWidth;
    287     } __C89_NAMELESSUNIONNAME2;
    288 } D3D11_BUFFER_SRV;
    289 typedef struct D3D11_BUFFER_UAV {
    290     UINT FirstElement;
    291     UINT NumElements;
    292     UINT Flags;
    293 } D3D11_BUFFER_UAV;
    294 typedef struct D3D11_BUFFEREX_SRV {
    295     UINT FirstElement;
    296     UINT NumElements;
    297     UINT Flags;
    298 } D3D11_BUFFEREX_SRV;
    299 typedef struct D3D11_CLASS_INSTANCE_DESC {
    300     UINT InstanceId;
    301     UINT InstanceIndex;
    302     UINT TypeId;
    303     UINT ConstantBuffer;
    304     UINT BaseConstantBufferOffset;
    305     UINT BaseTexture;
    306     UINT BaseSampler;
    307     WINBOOL Created;
    308 } D3D11_CLASS_INSTANCE_DESC;
    309 typedef enum D3D11_COMPARISON_FUNC {
    310     D3D11_COMPARISON_NEVER = 1,
    311     D3D11_COMPARISON_LESS = 2,
    312     D3D11_COMPARISON_EQUAL = 3,
    313     D3D11_COMPARISON_LESS_EQUAL = 4,
    314     D3D11_COMPARISON_GREATER = 5,
    315     D3D11_COMPARISON_NOT_EQUAL = 6,
    316     D3D11_COMPARISON_GREATER_EQUAL = 7,
    317     D3D11_COMPARISON_ALWAYS = 8
    318 } D3D11_COMPARISON_FUNC;
    319 typedef enum D3D11_COUNTER {
    320     D3D11_COUNTER_DEVICE_DEPENDENT_0 = 0x40000000
    321 } D3D11_COUNTER;
    322 typedef struct D3D11_COUNTER_DESC {
    323     D3D11_COUNTER Counter;
    324     UINT MiscFlags;
    325 } D3D11_COUNTER_DESC;
    326 typedef struct D3D11_COUNTER_INFO {
    327     D3D11_COUNTER LastDeviceDependentCounter;
    328     UINT NumSimultaneousCounters;
    329     UINT8 NumDetectableParallelUnits;
    330 } D3D11_COUNTER_INFO;
    331 typedef enum D3D11_COUNTER_TYPE {
    332     D3D11_COUNTER_TYPE_FLOAT32 = 0,
    333     D3D11_COUNTER_TYPE_UINT16 = 1,
    334     D3D11_COUNTER_TYPE_UINT32 = 2,
    335     D3D11_COUNTER_TYPE_UINT64 = 3
    336 } D3D11_COUNTER_TYPE;
    337 typedef enum D3D11_CULL_MODE {
    338     D3D11_CULL_NONE = 1,
    339     D3D11_CULL_FRONT = 2,
    340     D3D11_CULL_BACK = 3
    341 } D3D11_CULL_MODE;
    342 typedef enum D3D11_DEPTH_WRITE_MASK {
    343     D3D11_DEPTH_WRITE_MASK_ZERO = 0,
    344     D3D11_DEPTH_WRITE_MASK_ALL = 1
    345 } D3D11_DEPTH_WRITE_MASK;
    346 typedef enum D3D11_DEVICE_CONTEXT_TYPE {
    347     D3D11_DEVICE_CONTEXT_IMMEDIATE = 0,
    348     D3D11_DEVICE_CONTEXT_DEFERRED = 1
    349 } D3D11_DEVICE_CONTEXT_TYPE;
    350 typedef enum D3D11_DSV_DIMENSION {
    351     D3D11_DSV_DIMENSION_UNKNOWN = 0,
    352     D3D11_DSV_DIMENSION_TEXTURE1D = 1,
    353     D3D11_DSV_DIMENSION_TEXTURE1DARRAY = 2,
    354     D3D11_DSV_DIMENSION_TEXTURE2D = 3,
    355     D3D11_DSV_DIMENSION_TEXTURE2DARRAY = 4,
    356     D3D11_DSV_DIMENSION_TEXTURE2DMS = 5,
    357     D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY = 6
    358 } D3D11_DSV_DIMENSION;
    359 typedef enum D3D11_FEATURE {
    360     D3D11_FEATURE_THREADING = 0,
    361     D3D11_FEATURE_DOUBLES = 1,
    362     D3D11_FEATURE_FORMAT_SUPPORT = 2,
    363     D3D11_FEATURE_FORMAT_SUPPORT2 = 3,
    364     D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS = 4
    365 } D3D11_FEATURE;
    366 typedef enum D3D11_FILL_MODE {
    367     D3D11_FILL_WIREFRAME = 2,
    368     D3D11_FILL_SOLID = 3
    369 } D3D11_FILL_MODE;
    370 typedef enum D3D11_FILTER {
    371     D3D11_FILTER_MIN_MAG_MIP_POINT = 0x0,
    372     D3D11_FILTER_MIN_MAG_POINT_MIP_LINEAR = 0x1,
    373     D3D11_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x4,
    374     D3D11_FILTER_MIN_POINT_MAG_MIP_LINEAR = 0x5,
    375     D3D11_FILTER_MIN_LINEAR_MAG_MIP_POINT = 0x10,
    376     D3D11_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x11,
    377     D3D11_FILTER_MIN_MAG_LINEAR_MIP_POINT = 0x14,
    378     D3D11_FILTER_MIN_MAG_MIP_LINEAR = 0x15,
    379     D3D11_FILTER_ANISOTROPIC = 0x55,
    380     D3D11_FILTER_COMPARISON_MIN_MAG_MIP_POINT = 0x80,
    381     D3D11_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR = 0x81,
    382     D3D11_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x84,
    383     D3D11_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR = 0x85,
    384     D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT = 0x90,
    385     D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x91,
    386     D3D11_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT = 0x94,
    387     D3D11_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR = 0x95,
    388     D3D11_FILTER_COMPARISON_ANISOTROPIC = 0xd5
    389 } D3D11_FILTER;
    390 typedef enum D3D11_DSV_FLAG {
    391     D3D11_DSV_READ_ONLY_DEPTH = 0x1,
    392     D3D11_DSV_READ_ONLY_STENCIL = 0x2
    393 } D3D11_DSV_FLAG;
    394 typedef enum D3D11_INPUT_CLASSIFICATION {
    395     D3D11_INPUT_PER_VERTEX_DATA = 0,
    396     D3D11_INPUT_PER_INSTANCE_DATA = 1
    397 } D3D11_INPUT_CLASSIFICATION;
    398 typedef struct D3D11_INPUT_ELEMENT_DESC {
    399     LPCSTR SemanticName;
    400     UINT SemanticIndex;
    401     DXGI_FORMAT Format;
    402     UINT InputSlot;
    403     UINT AlignedByteOffset;
    404     D3D11_INPUT_CLASSIFICATION InputSlotClass;
    405     UINT InstanceDataStepRate;
    406 } D3D11_INPUT_ELEMENT_DESC;
    407 typedef enum D3D11_MAP {
    408     D3D11_MAP_READ = 1,
    409     D3D11_MAP_WRITE = 2,
    410     D3D11_MAP_READ_WRITE = 3,
    411     D3D11_MAP_WRITE_DISCARD = 4,
    412     D3D11_MAP_WRITE_NO_OVERWRITE = 5
    413 } D3D11_MAP;
    414 typedef struct D3D11_MAPPED_SUBRESOURCE {
    415     void *pData;
    416     UINT RowPitch;
    417     UINT DepthPitch;
    418 } D3D11_MAPPED_SUBRESOURCE;
    419 typedef enum D3D11_QUERY {
    420     D3D11_QUERY_EVENT = 0,
    421     D3D11_QUERY_OCCLUSION = 1,
    422     D3D11_QUERY_TIMESTAMP = 2,
    423     D3D11_QUERY_TIMESTAMP_DISJOINT = 3,
    424     D3D11_QUERY_PIPELINE_STATISTICS = 4,
    425     D3D11_QUERY_OCCLUSION_PREDICATE = 5,
    426     D3D11_QUERY_SO_STATISTICS = 6,
    427     D3D11_QUERY_SO_OVERFLOW_PREDICATE = 7,
    428     D3D11_QUERY_SO_STATISTICS_STREAM0 = 8,
    429     D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM0 = 9,
    430     D3D11_QUERY_SO_STATISTICS_STREAM1 = 10,
    431     D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM1 = 11,
    432     D3D11_QUERY_SO_STATISTICS_STREAM2 = 12,
    433     D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM2 = 13,
    434     D3D11_QUERY_SO_STATISTICS_STREAM3 = 14,
    435     D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM3 = 15
    436 } D3D11_QUERY;
    437 typedef struct D3D11_QUERY_DESC {
    438     D3D11_QUERY Query;
    439     UINT MiscFlags;
    440 } D3D11_QUERY_DESC;
    441 typedef struct D3D11_RASTERIZER_DESC {
    442     D3D11_FILL_MODE FillMode;
    443     D3D11_CULL_MODE CullMode;
    444     WINBOOL FrontCounterClockwise;
    445     INT DepthBias;
    446     FLOAT DepthBiasClamp;
    447     FLOAT SlopeScaledDepthBias;
    448     WINBOOL DepthClipEnable;
    449     WINBOOL ScissorEnable;
    450     WINBOOL MultisampleEnable;
    451     WINBOOL AntialiasedLineEnable;
    452 } D3D11_RASTERIZER_DESC;
    453 #if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)
    454 struct CD3D11_RASTERIZER_DESC : public D3D11_RASTERIZER_DESC {
    455     CD3D11_RASTERIZER_DESC() {}
    456     explicit CD3D11_RASTERIZER_DESC(const D3D11_RASTERIZER_DESC &o) : D3D11_RASTERIZER_DESC(o) {}
    457     explicit CD3D11_RASTERIZER_DESC(CD3D11_DEFAULT) {
    458         FillMode = D3D11_FILL_SOLID;
    459         CullMode = D3D11_CULL_BACK;
    460         FrontCounterClockwise = FALSE;
    461         DepthBias = D3D11_DEFAULT_DEPTH_BIAS;
    462         DepthBiasClamp = D3D11_DEFAULT_DEPTH_BIAS_CLAMP;
    463         SlopeScaledDepthBias = D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS;
    464         DepthClipEnable = TRUE;
    465         ScissorEnable = FALSE;
    466         MultisampleEnable = FALSE;
    467         AntialiasedLineEnable = FALSE;
    468     }
    469     explicit CD3D11_RASTERIZER_DESC(D3D11_FILL_MODE fillMode, D3D11_CULL_MODE cullMode,
    470             WINBOOL frontCounterClockwise, INT depthBias, FLOAT depthBiasClamp, FLOAT slopeScaledDepthBias,
    471             BOOL depthClipEnable, WINBOOL scissorEnable, WINBOOL multisampleEnable, WINBOOL antialiasedLineEnable) {
    472         FillMode = fillMode;
    473         CullMode = cullMode;
    474         FrontCounterClockwise = frontCounterClockwise;
    475         DepthBias = depthBias;
    476         DepthBiasClamp = depthBiasClamp;
    477         SlopeScaledDepthBias = slopeScaledDepthBias;
    478         DepthClipEnable = depthClipEnable;
    479         ScissorEnable = scissorEnable;
    480         MultisampleEnable = multisampleEnable;
    481         AntialiasedLineEnable = antialiasedLineEnable;
    482     }
    483     ~CD3D11_RASTERIZER_DESC() {}
    484     operator const D3D11_RASTERIZER_DESC&() const { return *this; }
    485 };
    486 #endif
    487 typedef enum D3D11_RESOURCE_DIMENSION {
    488     D3D11_RESOURCE_DIMENSION_UNKNOWN = 0,
    489     D3D11_RESOURCE_DIMENSION_BUFFER = 1,
    490     D3D11_RESOURCE_DIMENSION_TEXTURE1D = 2,
    491     D3D11_RESOURCE_DIMENSION_TEXTURE2D = 3,
    492     D3D11_RESOURCE_DIMENSION_TEXTURE3D = 4
    493 } D3D11_RESOURCE_DIMENSION;
    494 typedef enum D3D11_RTV_DIMENSION {
    495     D3D11_RTV_DIMENSION_UNKNOWN = 0,
    496     D3D11_RTV_DIMENSION_BUFFER = 1,
    497     D3D11_RTV_DIMENSION_TEXTURE1D = 2,
    498     D3D11_RTV_DIMENSION_TEXTURE1DARRAY = 3,
    499     D3D11_RTV_DIMENSION_TEXTURE2D = 4,
    500     D3D11_RTV_DIMENSION_TEXTURE2DARRAY = 5,
    501     D3D11_RTV_DIMENSION_TEXTURE2DMS = 6,
    502     D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY = 7,
    503     D3D11_RTV_DIMENSION_TEXTURE3D = 8
    504 } D3D11_RTV_DIMENSION;
    505 typedef struct D3D11_SO_DECLARATION_ENTRY {
    506     UINT Stream;
    507     LPCSTR SemanticName;
    508     UINT SemanticIndex;
    509     BYTE StartComponent;
    510     BYTE ComponentCount;
    511     BYTE OutputSlot;
    512 } D3D11_SO_DECLARATION_ENTRY;
    513 typedef enum D3D11_STENCIL_OP {
    514     D3D11_STENCIL_OP_KEEP = 1,
    515     D3D11_STENCIL_OP_ZERO = 2,
    516     D3D11_STENCIL_OP_REPLACE = 3,
    517     D3D11_STENCIL_OP_INCR_SAT = 4,
    518     D3D11_STENCIL_OP_DECR_SAT = 5,
    519     D3D11_STENCIL_OP_INVERT = 6,
    520     D3D11_STENCIL_OP_INCR = 7,
    521     D3D11_STENCIL_OP_DECR = 8
    522 } D3D11_STENCIL_OP;
    523 typedef struct D3D11_SUBRESOURCE_DATA {
    524     const void *pSysMem;
    525     UINT SysMemPitch;
    526     UINT SysMemSlicePitch;
    527 } D3D11_SUBRESOURCE_DATA;
    528 typedef struct D3D11_TEX1D_ARRAY_DSV {
    529     UINT MipSlice;
    530     UINT FirstArraySlice;
    531     UINT ArraySize;
    532 } D3D11_TEX1D_ARRAY_DSV;
    533 typedef struct D3D11_TEX1D_ARRAY_RTV {
    534     UINT MipSlice;
    535     UINT FirstArraySlice;
    536     UINT ArraySize;
    537 } D3D11_TEX1D_ARRAY_RTV;
    538 typedef struct D3D11_TEX1D_ARRAY_SRV {
    539     UINT MostDetailedMip;
    540     UINT MipLevels;
    541     UINT FirstArraySlice;
    542     UINT ArraySize;
    543 } D3D11_TEX1D_ARRAY_SRV;
    544 typedef struct D3D11_TEX1D_ARRAY_UAV {
    545     UINT MipSlice;
    546     UINT FirstArraySlice;
    547     UINT ArraySize;
    548 } D3D11_TEX1D_ARRAY_UAV;
    549 typedef struct D3D11_TEX1D_DSV {
    550     UINT MipSlice;
    551 } D3D11_TEX1D_DSV;
    552 typedef struct D3D11_TEX1D_RTV {
    553     UINT MipSlice;
    554 } D3D11_TEX1D_RTV;
    555 typedef struct D3D11_TEX1D_SRV {
    556     UINT MostDetailedMip;
    557     UINT MipLevels;
    558 } D3D11_TEX1D_SRV;
    559 typedef struct D3D11_TEX1D_UAV {
    560     UINT MipSlice;
    561 } D3D11_TEX1D_UAV;
    562 typedef struct D3D11_TEX2D_ARRAY_DSV {
    563     UINT MipSlice;
    564     UINT FirstArraySlice;
    565     UINT ArraySize;
    566 } D3D11_TEX2D_ARRAY_DSV;
    567 typedef struct D3D11_TEX2D_ARRAY_RTV {
    568     UINT MipSlice;
    569     UINT FirstArraySlice;
    570     UINT ArraySize;
    571 } D3D11_TEX2D_ARRAY_RTV;
    572 typedef struct D3D11_TEX2D_ARRAY_SRV {
    573     UINT MostDetailedMip;
    574     UINT MipLevels;
    575     UINT FirstArraySlice;
    576     UINT ArraySize;
    577 } D3D11_TEX2D_ARRAY_SRV;
    578 typedef struct D3D11_TEX2D_ARRAY_UAV {
    579     UINT MipSlice;
    580     UINT FirstArraySlice;
    581     UINT ArraySize;
    582 } D3D11_TEX2D_ARRAY_UAV;
    583 typedef struct D3D11_TEX2D_DSV {
    584     UINT MipSlice;
    585 } D3D11_TEX2D_DSV;
    586 typedef struct D3D11_TEX2D_RTV {
    587     UINT MipSlice;
    588 } D3D11_TEX2D_RTV;
    589 typedef struct D3D11_TEX2D_SRV {
    590     UINT MostDetailedMip;
    591     UINT MipLevels;
    592 } D3D11_TEX2D_SRV;
    593 typedef struct D3D11_TEX2D_UAV {
    594     UINT MipSlice;
    595 } D3D11_TEX2D_UAV;
    596 typedef struct D3D11_TEX2DMS_ARRAY_DSV {
    597     UINT FirstArraySlice;
    598     UINT ArraySize;
    599 } D3D11_TEX2DMS_ARRAY_DSV;
    600 typedef struct D3D11_TEX2DMS_ARRAY_RTV {
    601     UINT FirstArraySlice;
    602     UINT ArraySize;
    603 } D3D11_TEX2DMS_ARRAY_RTV;
    604 typedef struct D3D11_TEX2DMS_ARRAY_SRV {
    605     UINT FirstArraySlice;
    606     UINT ArraySize;
    607 } D3D11_TEX2DMS_ARRAY_SRV;
    608 typedef struct D3D11_TEX2DMS_DSV {
    609     UINT UnusedField_NothingToDefine;
    610 } D3D11_TEX2DMS_DSV;
    611 typedef struct D3D11_TEX2DMS_RTV {
    612     UINT UnusedField_NothingToDefine;
    613 } D3D11_TEX2DMS_RTV;
    614 typedef struct D3D11_TEX2DMS_SRV {
    615     UINT UnusedField_NothingToDefine;
    616 } D3D11_TEX2DMS_SRV;
    617 typedef struct D3D11_TEX3D_RTV {
    618     UINT MipSlice;
    619     UINT FirstWSlice;
    620     UINT WSize;
    621 } D3D11_TEX3D_RTV;
    622 typedef struct D3D11_TEX3D_SRV {
    623     UINT MostDetailedMip;
    624     UINT MipLevels;
    625 } D3D11_TEX3D_SRV;
    626 typedef struct D3D11_TEX3D_UAV {
    627     UINT MipSlice;
    628     UINT FirstWSlice;
    629     UINT WSize;
    630 } D3D11_TEX3D_UAV;
    631 typedef struct D3D11_TEXCUBE_ARRAY_SRV {
    632     UINT MostDetailedMip;
    633     UINT MipLevels;
    634     UINT First2DArrayFace;
    635     UINT NumCubes;
    636 } D3D11_TEXCUBE_ARRAY_SRV;
    637 typedef struct D3D11_TEXCUBE_SRV {
    638     UINT MostDetailedMip;
    639     UINT MipLevels;
    640 } D3D11_TEXCUBE_SRV;
    641 typedef enum D3D11_TEXTURE_ADDRESS_MODE {
    642     D3D11_TEXTURE_ADDRESS_WRAP = 1,
    643     D3D11_TEXTURE_ADDRESS_MIRROR = 2,
    644     D3D11_TEXTURE_ADDRESS_CLAMP = 3,
    645     D3D11_TEXTURE_ADDRESS_BORDER = 4,
    646     D3D11_TEXTURE_ADDRESS_MIRROR_ONCE = 5
    647 } D3D11_TEXTURE_ADDRESS_MODE;
    648 typedef enum D3D11_UAV_DIMENSION {
    649     D3D11_UAV_DIMENSION_UNKNOWN = 0,
    650     D3D11_UAV_DIMENSION_BUFFER = 1,
    651     D3D11_UAV_DIMENSION_TEXTURE1D = 2,
    652     D3D11_UAV_DIMENSION_TEXTURE1DARRAY = 3,
    653     D3D11_UAV_DIMENSION_TEXTURE2D = 4,
    654     D3D11_UAV_DIMENSION_TEXTURE2DARRAY = 5,
    655     D3D11_UAV_DIMENSION_TEXTURE3D = 8
    656 } D3D11_UAV_DIMENSION;
    657 typedef struct D3D11_UNORDERED_ACCESS_VIEW_DESC {
    658     DXGI_FORMAT Format;
    659     D3D11_UAV_DIMENSION ViewDimension;
    660     __C89_NAMELESS union {
    661         D3D11_BUFFER_UAV Buffer;
    662         D3D11_TEX1D_UAV Texture1D;
    663         D3D11_TEX1D_ARRAY_UAV Texture1DArray;
    664         D3D11_TEX2D_UAV Texture2D;
    665         D3D11_TEX2D_ARRAY_UAV Texture2DArray;
    666         D3D11_TEX3D_UAV Texture3D;
    667     } __C89_NAMELESSUNIONNAME;
    668 } D3D11_UNORDERED_ACCESS_VIEW_DESC;
    669 typedef enum D3D11_USAGE {
    670     D3D11_USAGE_DEFAULT = 0,
    671     D3D11_USAGE_IMMUTABLE = 1,
    672     D3D11_USAGE_DYNAMIC = 2,
    673     D3D11_USAGE_STAGING = 3
    674 } D3D11_USAGE;
    675 typedef enum D3D11_BIND_FLAG {
    676     D3D11_BIND_VERTEX_BUFFER = 0x1,
    677     D3D11_BIND_INDEX_BUFFER = 0x2,
    678     D3D11_BIND_CONSTANT_BUFFER = 0x4,
    679     D3D11_BIND_SHADER_RESOURCE = 0x8,
    680     D3D11_BIND_STREAM_OUTPUT = 0x10,
    681     D3D11_BIND_RENDER_TARGET = 0x20,
    682     D3D11_BIND_DEPTH_STENCIL = 0x40,
    683     D3D11_BIND_UNORDERED_ACCESS = 0x80,
    684     D3D11_BIND_DECODER = 0x200,
    685     D3D11_BIND_VIDEO_ENCODER = 0x400
    686 } D3D11_BIND_FLAG;
    687 typedef enum D3D11_CPU_ACCESS_FLAG {
    688     D3D11_CPU_ACCESS_WRITE = 0x10000,
    689     D3D11_CPU_ACCESS_READ = 0x20000
    690 } D3D11_CPU_ACCESS_FLAG;
    691 typedef struct D3D11_VIEWPORT {
    692     FLOAT TopLeftX;
    693     FLOAT TopLeftY;
    694     FLOAT Width;
    695     FLOAT Height;
    696     FLOAT MinDepth;
    697     FLOAT MaxDepth;
    698 } D3D11_VIEWPORT;
    699 typedef enum D3D11_COLOR_WRITE_ENABLE {
    700     D3D11_COLOR_WRITE_ENABLE_RED = 1,
    701     D3D11_COLOR_WRITE_ENABLE_GREEN = 2,
    702     D3D11_COLOR_WRITE_ENABLE_BLUE = 4,
    703     D3D11_COLOR_WRITE_ENABLE_ALPHA = 8,
    704     D3D11_COLOR_WRITE_ENABLE_ALL = ((D3D11_COLOR_WRITE_ENABLE_RED | D3D11_COLOR_WRITE_ENABLE_GREEN) | D3D11_COLOR_WRITE_ENABLE_BLUE) | D3D11_COLOR_WRITE_ENABLE_ALPHA
    705 } D3D11_COLOR_WRITE_ENABLE;
    706 typedef struct D3D11_RENDER_TARGET_BLEND_DESC {
    707     WINBOOL BlendEnable;
    708     D3D11_BLEND SrcBlend;
    709     D3D11_BLEND DestBlend;
    710     D3D11_BLEND_OP BlendOp;
    711     D3D11_BLEND SrcBlendAlpha;
    712     D3D11_BLEND DestBlendAlpha;
    713     D3D11_BLEND_OP BlendOpAlpha;
    714     UINT8 RenderTargetWriteMask;
    715 } D3D11_RENDER_TARGET_BLEND_DESC;
    716 typedef struct D3D11_BLEND_DESC {
    717     WINBOOL AlphaToCoverageEnable;
    718     WINBOOL IndependentBlendEnable;
    719     D3D11_RENDER_TARGET_BLEND_DESC RenderTarget[8];
    720 } D3D11_BLEND_DESC;
    721 #if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)
    722 struct CD3D11_BLEND_DESC : public D3D11_BLEND_DESC {
    723     CD3D11_BLEND_DESC() {}
    724     explicit CD3D11_BLEND_DESC(const D3D11_BLEND_DESC &o) : D3D11_BLEND_DESC(o) {}
    725     explicit CD3D11_BLEND_DESC(CD3D11_DEFAULT) {
    726         AlphaToCoverageEnable = FALSE;
    727         IndependentBlendEnable = FALSE;
    728         for(D3D11_RENDER_TARGET_BLEND_DESC *target; target < RenderTarget+D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT; target++) {
    729             target->BlendEnable = FALSE;
    730             target->SrcBlend = target->SrcBlendAlpha = D3D11_BLEND_ONE;
    731             target->DestBlend = target->DestBlendAlpha = D3D11_BLEND_ZERO;
    732             target->BlendOp = target->BlendOpAlpha = D3D11_BLEND_OP_ADD;
    733             target->RenderTargetWriteMask = D3D11_COLOR_WRITE_ENABLE_ALL;
    734         }
    735     }
    736     ~CD3D11_BLEND_DESC() {}
    737     operator const D3D11_BLEND_DESC&() const { return *this; }
    738 };
    739 #endif
    740 typedef struct D3D11_BUFFER_DESC {
    741     UINT ByteWidth;
    742     D3D11_USAGE Usage;
    743     UINT BindFlags;
    744     UINT CPUAccessFlags;
    745     UINT MiscFlags;
    746     UINT StructureByteStride;
    747 } D3D11_BUFFER_DESC;
    748 #if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)
    749 struct CD3D11_BUFFER_DESC : public D3D11_BUFFER_DESC {
    750     CD3D11_BUFFER_DESC() {}
    751     explicit CD3D11_BUFFER_DESC(const D3D11_BUFFER_DESC &o) : D3D11_BUFFER_DESC(o) {}
    752     explicit CD3D11_BUFFER_DESC(UINT byteWidth,UINT bindFlags,
    753             D3D11_USAGE usage = D3D11_USAGE_DEFAULT, UINT cpuaccessFlags = 0,
    754             UINT miscFlags = 0, UINT structureByteStride = 0 ) {
    755         ByteWidth = byteWidth;
    756         Usage = usage;
    757         BindFlags = bindFlags;
    758         CPUAccessFlags = cpuaccessFlags;
    759         MiscFlags = miscFlags;
    760         StructureByteStride = structureByteStride;
    761     }
    762     ~CD3D11_BUFFER_DESC() {}
    763     operator const D3D11_BUFFER_DESC&() const { return *this; }
    764 };
    765 #endif
    766 typedef struct D3D11_DEPTH_STENCIL_VIEW_DESC {
    767     DXGI_FORMAT Format;
    768     D3D11_DSV_DIMENSION ViewDimension;
    769     UINT Flags;
    770     __C89_NAMELESS union {
    771         D3D11_TEX1D_DSV Texture1D;
    772         D3D11_TEX1D_ARRAY_DSV Texture1DArray;
    773         D3D11_TEX2D_DSV Texture2D;
    774         D3D11_TEX2D_ARRAY_DSV Texture2DArray;
    775         D3D11_TEX2DMS_DSV Texture2DMS;
    776         D3D11_TEX2DMS_ARRAY_DSV Texture2DMSArray;
    777     } __C89_NAMELESSUNIONNAME;
    778 } D3D11_DEPTH_STENCIL_VIEW_DESC;
    779 typedef struct D3D11_DEPTH_STENCILOP_DESC {
    780     D3D11_STENCIL_OP StencilFailOp;
    781     D3D11_STENCIL_OP StencilDepthFailOp;
    782     D3D11_STENCIL_OP StencilPassOp;
    783     D3D11_COMPARISON_FUNC StencilFunc;
    784 } D3D11_DEPTH_STENCILOP_DESC;
    785 typedef struct D3D11_DEPTH_STENCIL_DESC {
    786     WINBOOL DepthEnable;
    787     D3D11_DEPTH_WRITE_MASK DepthWriteMask;
    788     D3D11_COMPARISON_FUNC DepthFunc;
    789     WINBOOL StencilEnable;
    790     UINT8 StencilReadMask;
    791     UINT8 StencilWriteMask;
    792     D3D11_DEPTH_STENCILOP_DESC FrontFace;
    793     D3D11_DEPTH_STENCILOP_DESC BackFace;
    794 } D3D11_DEPTH_STENCIL_DESC;
    795 typedef struct D3D11_RENDER_TARGET_VIEW_DESC {
    796     DXGI_FORMAT Format;
    797     D3D11_RTV_DIMENSION ViewDimension;
    798     __C89_NAMELESS union {
    799         D3D11_BUFFER_RTV Buffer;
    800         D3D11_TEX1D_RTV Texture1D;
    801         D3D11_TEX1D_ARRAY_RTV Texture1DArray;
    802         D3D11_TEX2D_RTV Texture2D;
    803         D3D11_TEX2D_ARRAY_RTV Texture2DArray;
    804         D3D11_TEX2DMS_RTV Texture2DMS;
    805         D3D11_TEX2DMS_ARRAY_RTV Texture2DMSArray;
    806         D3D11_TEX3D_RTV Texture3D;
    807     } __C89_NAMELESSUNIONNAME;
    808 } D3D11_RENDER_TARGET_VIEW_DESC;
    809 typedef struct D3D11_SAMPLER_DESC {
    810     D3D11_FILTER Filter;
    811     D3D11_TEXTURE_ADDRESS_MODE AddressU;
    812     D3D11_TEXTURE_ADDRESS_MODE AddressV;
    813     D3D11_TEXTURE_ADDRESS_MODE AddressW;
    814     FLOAT MipLODBias;
    815     UINT MaxAnisotropy;
    816     D3D11_COMPARISON_FUNC ComparisonFunc;
    817     FLOAT BorderColor[4];
    818     FLOAT MinLOD;
    819     FLOAT MaxLOD;
    820 } D3D11_SAMPLER_DESC;
    821 #if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)
    822 struct CD3D11_SAMPLER_DESC : public D3D11_SAMPLER_DESC {
    823     CD3D11_SAMPLER_DESC() {}
    824     explicit CD3D11_SAMPLER_DESC(const D3D11_SAMPLER_DESC &o) : D3D11_SAMPLER_DESC(o) {}
    825     explicit CD3D11_SAMPLER_DESC(CD3D11_DEFAULT) {
    826         Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR;
    827         AddressU = D3D11_TEXTURE_ADDRESS_CLAMP;
    828         AddressV = D3D11_TEXTURE_ADDRESS_CLAMP;
    829         AddressW = D3D11_TEXTURE_ADDRESS_CLAMP;
    830         MipLODBias = 0;
    831         MaxAnisotropy = 1;
    832         ComparisonFunc = D3D11_COMPARISON_NEVER;
    833         BorderColor[0] = BorderColor[1] = BorderColor[2] = BorderColor[3] = 1.0f;
    834         MinLOD = -3.402823466e+38f;
    835         MaxLOD = 3.402823466e+38f;
    836     }
    837     explicit CD3D11_SAMPLER_DESC(D3D11_FILTER filter, D3D11_TEXTURE_ADDRESS_MODE addressU,
    838             D3D11_TEXTURE_ADDRESS_MODE addressV, D3D11_TEXTURE_ADDRESS_MODE addressW,
    839             FLOAT mipLODBias, UINT maxAnisotropy, D3D11_COMPARISON_FUNC comparisonFunc,
    840             const FLOAT *borderColor, FLOAT minLOD, FLOAT maxLOD) {
    841         Filter = filter;
    842         AddressU = addressU;
    843         AddressV = addressV;
    844         AddressW = addressW;
    845         MipLODBias = mipLODBias;
    846         MaxAnisotropy = maxAnisotropy;
    847         ComparisonFunc = comparisonFunc;
    848         if(borderColor) {
    849             BorderColor[0] = borderColor[0];
    850             BorderColor[1] = borderColor[1];
    851             BorderColor[2] = borderColor[2];
    852             BorderColor[3] = borderColor[3];
    853         }else {
    854             BorderColor[0] = BorderColor[1] = BorderColor[2] = BorderColor[3] = 1.0f;
    855         }
    856         MinLOD = minLOD;
    857         MaxLOD = maxLOD;
    858     }
    859     ~CD3D11_SAMPLER_DESC() {}
    860     operator const D3D11_SAMPLER_DESC&() const { return *this; }
    861 };
    862 #endif
    863 typedef struct D3D11_SHADER_RESOURCE_VIEW_DESC {
    864     DXGI_FORMAT Format;
    865     D3D11_SRV_DIMENSION ViewDimension;
    866     __C89_NAMELESS union {
    867         D3D11_BUFFER_SRV Buffer;
    868         D3D11_TEX1D_SRV Texture1D;
    869         D3D11_TEX1D_ARRAY_SRV Texture1DArray;
    870         D3D11_TEX2D_SRV Texture2D;
    871         D3D11_TEX2D_ARRAY_SRV Texture2DArray;
    872         D3D11_TEX2DMS_SRV Texture2DMS;
    873         D3D11_TEX2DMS_ARRAY_SRV Texture2DMSArray;
    874         D3D11_TEX3D_SRV Texture3D;
    875         D3D11_TEXCUBE_SRV TextureCube;
    876         D3D11_TEXCUBE_ARRAY_SRV TextureCubeArray;
    877         D3D11_BUFFEREX_SRV BufferEx;
    878     } __C89_NAMELESSUNIONNAME;
    879 } D3D11_SHADER_RESOURCE_VIEW_DESC;
    880 typedef struct D3D11_TEXTURE1D_DESC {
    881     UINT Width;
    882     UINT MipLevels;
    883     UINT ArraySize;
    884     DXGI_FORMAT Format;
    885     D3D11_USAGE Usage;
    886     UINT BindFlags;
    887     UINT CPUAccessFlags;
    888     UINT MiscFlags;
    889 } D3D11_TEXTURE1D_DESC;
    890 typedef struct D3D11_TEXTURE2D_DESC {
    891     UINT Width;
    892     UINT Height;
    893     UINT MipLevels;
    894     UINT ArraySize;
    895     DXGI_FORMAT Format;
    896     DXGI_SAMPLE_DESC SampleDesc;
    897     D3D11_USAGE Usage;
    898     UINT BindFlags;
    899     UINT CPUAccessFlags;
    900     UINT MiscFlags;
    901 } D3D11_TEXTURE2D_DESC;
    902 #if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)
    903 struct CD3D11_TEXTURE2D_DESC : public D3D11_TEXTURE2D_DESC {
    904     CD3D11_TEXTURE2D_DESC() {}
    905     explicit CD3D11_TEXTURE2D_DESC(const D3D11_TEXTURE2D_DESC &o) : D3D11_TEXTURE2D_DESC(o) {}
    906     explicit CD3D11_TEXTURE2D_DESC(DXGI_FORMAT format, UINT width, UINT height, UINT arraySize = 1,
    907             UINT mipLevels = 0, UINT bindFlags = D3D11_BIND_SHADER_RESOURCE,
    908             D3D11_USAGE usage = D3D11_USAGE_DEFAULT, UINT cpuaccessFlags = 0, UINT sampleCount = 1,
    909             UINT sampleQuality = 0, UINT miscFlags = 0) {
    910         Width = width;
    911         Height = height;
    912         MipLevels = mipLevels;
    913         ArraySize = arraySize;
    914         Format = format;
    915         SampleDesc.Count = sampleCount;
    916         SampleDesc.Quality = sampleQuality;
    917         Usage = usage;
    918         BindFlags = bindFlags;
    919         CPUAccessFlags = cpuaccessFlags;
    920         MiscFlags = miscFlags;
    921     }
    922     ~CD3D11_TEXTURE2D_DESC() {}
    923     operator const D3D11_TEXTURE2D_DESC&() const { return *this; }
    924 };
    925 #endif
    926 typedef struct D3D11_TEXTURE3D_DESC {
    927     UINT Width;
    928     UINT Height;
    929     UINT Depth;
    930     UINT MipLevels;
    931     DXGI_FORMAT Format;
    932     D3D11_USAGE Usage;
    933     UINT BindFlags;
    934     UINT CPUAccessFlags;
    935     UINT MiscFlags;
    936 } D3D11_TEXTURE3D_DESC;
    937 #ifndef __ID3D11Device_FWD_DEFINED__
    938 #define __ID3D11Device_FWD_DEFINED__
    939 typedef interface ID3D11Device ID3D11Device;
    940 #endif
    941 
    942 #ifndef __ID3D11ClassLinkage_FWD_DEFINED__
    943 #define __ID3D11ClassLinkage_FWD_DEFINED__
    944 typedef interface ID3D11ClassLinkage ID3D11ClassLinkage;
    945 #endif
    946 
    947 /*****************************************************************************
    948  * ID3D11DeviceChild interface
    949  */
    950 #ifndef __ID3D11DeviceChild_INTERFACE_DEFINED__
    951 #define __ID3D11DeviceChild_INTERFACE_DEFINED__
    952 
    953 DEFINE_GUID(IID_ID3D11DeviceChild, 0x1841e5c8, 0x16b0, 0x489b, 0xbc,0xc8, 0x44,0xcf,0xb0,0xd5,0xde,0xae);
    954 #if defined(__cplusplus) && !defined(CINTERFACE)
    955 MIDL_INTERFACE("1841e5c8-16b0-489b-bcc8-44cfb0d5deae")
    956 ID3D11DeviceChild : public IUnknown
    957 {
    958     virtual void STDMETHODCALLTYPE GetDevice(
    959         ID3D11Device **ppDevice) = 0;
    960 
    961     virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
    962         REFGUID guid,
    963         UINT *pDataSize,
    964         void *pData) = 0;
    965 
    966     virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
    967         REFGUID guid,
    968         UINT DataSize,
    969         const void *pData) = 0;
    970 
    971     virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
    972         REFGUID guid,
    973         const IUnknown *pData) = 0;
    974 
    975 };
    976 #ifdef __CRT_UUID_DECL
    977 __CRT_UUID_DECL(ID3D11DeviceChild, 0x1841e5c8, 0x16b0, 0x489b, 0xbc,0xc8, 0x44,0xcf,0xb0,0xd5,0xde,0xae)
    978 #endif
    979 #else
    980 typedef struct ID3D11DeviceChildVtbl {
    981     BEGIN_INTERFACE
    982 
    983     /*** IUnknown methods ***/
    984     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
    985         ID3D11DeviceChild* This,
    986         REFIID riid,
    987         void **ppvObject);
    988 
    989     ULONG (STDMETHODCALLTYPE *AddRef)(
    990         ID3D11DeviceChild* This);
    991 
    992     ULONG (STDMETHODCALLTYPE *Release)(
    993         ID3D11DeviceChild* This);
    994 
    995     /*** ID3D11DeviceChild methods ***/
    996     void (STDMETHODCALLTYPE *GetDevice)(
    997         ID3D11DeviceChild* This,
    998         ID3D11Device **ppDevice);
    999 
   1000     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   1001         ID3D11DeviceChild* This,
   1002         REFGUID guid,
   1003         UINT *pDataSize,
   1004         void *pData);
   1005 
   1006     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   1007         ID3D11DeviceChild* This,
   1008         REFGUID guid,
   1009         UINT DataSize,
   1010         const void *pData);
   1011 
   1012     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   1013         ID3D11DeviceChild* This,
   1014         REFGUID guid,
   1015         const IUnknown *pData);
   1016 
   1017     END_INTERFACE
   1018 } ID3D11DeviceChildVtbl;
   1019 interface ID3D11DeviceChild {
   1020     CONST_VTBL ID3D11DeviceChildVtbl* lpVtbl;
   1021 };
   1022 
   1023 #ifdef COBJMACROS
   1024 #ifndef WIDL_C_INLINE_WRAPPERS
   1025 /*** IUnknown methods ***/
   1026 #define ID3D11DeviceChild_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1027 #define ID3D11DeviceChild_AddRef(This) (This)->lpVtbl->AddRef(This)
   1028 #define ID3D11DeviceChild_Release(This) (This)->lpVtbl->Release(This)
   1029 /*** ID3D11DeviceChild methods ***/
   1030 #define ID3D11DeviceChild_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   1031 #define ID3D11DeviceChild_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   1032 #define ID3D11DeviceChild_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   1033 #define ID3D11DeviceChild_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   1034 #else
   1035 /*** IUnknown methods ***/
   1036 static FORCEINLINE HRESULT ID3D11DeviceChild_QueryInterface(ID3D11DeviceChild* This,REFIID riid,void **ppvObject) {
   1037     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1038 }
   1039 static FORCEINLINE ULONG ID3D11DeviceChild_AddRef(ID3D11DeviceChild* This) {
   1040     return This->lpVtbl->AddRef(This);
   1041 }
   1042 static FORCEINLINE ULONG ID3D11DeviceChild_Release(ID3D11DeviceChild* This) {
   1043     return This->lpVtbl->Release(This);
   1044 }
   1045 /*** ID3D11DeviceChild methods ***/
   1046 static FORCEINLINE void ID3D11DeviceChild_GetDevice(ID3D11DeviceChild* This,ID3D11Device **ppDevice) {
   1047     This->lpVtbl->GetDevice(This,ppDevice);
   1048 }
   1049 static FORCEINLINE HRESULT ID3D11DeviceChild_GetPrivateData(ID3D11DeviceChild* This,REFGUID guid,UINT *pDataSize,void *pData) {
   1050     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   1051 }
   1052 static FORCEINLINE HRESULT ID3D11DeviceChild_SetPrivateData(ID3D11DeviceChild* This,REFGUID guid,UINT DataSize,const void *pData) {
   1053     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   1054 }
   1055 static FORCEINLINE HRESULT ID3D11DeviceChild_SetPrivateDataInterface(ID3D11DeviceChild* This,REFGUID guid,const IUnknown *pData) {
   1056     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   1057 }
   1058 #endif
   1059 #endif
   1060 
   1061 #endif
   1062 
   1063 void STDMETHODCALLTYPE ID3D11DeviceChild_GetDevice_Proxy(
   1064     ID3D11DeviceChild* This,
   1065     ID3D11Device **ppDevice);
   1066 void __RPC_STUB ID3D11DeviceChild_GetDevice_Stub(
   1067     IRpcStubBuffer* This,
   1068     IRpcChannelBuffer* pRpcChannelBuffer,
   1069     PRPC_MESSAGE pRpcMessage,
   1070     DWORD* pdwStubPhase);
   1071 HRESULT STDMETHODCALLTYPE ID3D11DeviceChild_GetPrivateData_Proxy(
   1072     ID3D11DeviceChild* This,
   1073     REFGUID guid,
   1074     UINT *pDataSize,
   1075     void *pData);
   1076 void __RPC_STUB ID3D11DeviceChild_GetPrivateData_Stub(
   1077     IRpcStubBuffer* This,
   1078     IRpcChannelBuffer* pRpcChannelBuffer,
   1079     PRPC_MESSAGE pRpcMessage,
   1080     DWORD* pdwStubPhase);
   1081 HRESULT STDMETHODCALLTYPE ID3D11DeviceChild_SetPrivateData_Proxy(
   1082     ID3D11DeviceChild* This,
   1083     REFGUID guid,
   1084     UINT DataSize,
   1085     const void *pData);
   1086 void __RPC_STUB ID3D11DeviceChild_SetPrivateData_Stub(
   1087     IRpcStubBuffer* This,
   1088     IRpcChannelBuffer* pRpcChannelBuffer,
   1089     PRPC_MESSAGE pRpcMessage,
   1090     DWORD* pdwStubPhase);
   1091 HRESULT STDMETHODCALLTYPE ID3D11DeviceChild_SetPrivateDataInterface_Proxy(
   1092     ID3D11DeviceChild* This,
   1093     REFGUID guid,
   1094     const IUnknown *pData);
   1095 void __RPC_STUB ID3D11DeviceChild_SetPrivateDataInterface_Stub(
   1096     IRpcStubBuffer* This,
   1097     IRpcChannelBuffer* pRpcChannelBuffer,
   1098     PRPC_MESSAGE pRpcMessage,
   1099     DWORD* pdwStubPhase);
   1100 
   1101 #endif  /* __ID3D11DeviceChild_INTERFACE_DEFINED__ */
   1102 
   1103 /*****************************************************************************
   1104  * ID3D11Asynchronous interface
   1105  */
   1106 #ifndef __ID3D11Asynchronous_INTERFACE_DEFINED__
   1107 #define __ID3D11Asynchronous_INTERFACE_DEFINED__
   1108 
   1109 DEFINE_GUID(IID_ID3D11Asynchronous, 0x4b35d0cd, 0x1e15, 0x4258, 0x9c,0x98, 0x1b,0x13,0x33,0xf6,0xdd,0x3b);
   1110 #if defined(__cplusplus) && !defined(CINTERFACE)
   1111 MIDL_INTERFACE("4b35d0cd-1e15-4258-9c98-1b1333f6dd3b")
   1112 ID3D11Asynchronous : public ID3D11DeviceChild
   1113 {
   1114     virtual UINT STDMETHODCALLTYPE GetDataSize(
   1115         ) = 0;
   1116 
   1117 };
   1118 #ifdef __CRT_UUID_DECL
   1119 __CRT_UUID_DECL(ID3D11Asynchronous, 0x4b35d0cd, 0x1e15, 0x4258, 0x9c,0x98, 0x1b,0x13,0x33,0xf6,0xdd,0x3b)
   1120 #endif
   1121 #else
   1122 typedef struct ID3D11AsynchronousVtbl {
   1123     BEGIN_INTERFACE
   1124 
   1125     /*** IUnknown methods ***/
   1126     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1127         ID3D11Asynchronous* This,
   1128         REFIID riid,
   1129         void **ppvObject);
   1130 
   1131     ULONG (STDMETHODCALLTYPE *AddRef)(
   1132         ID3D11Asynchronous* This);
   1133 
   1134     ULONG (STDMETHODCALLTYPE *Release)(
   1135         ID3D11Asynchronous* This);
   1136 
   1137     /*** ID3D11DeviceChild methods ***/
   1138     void (STDMETHODCALLTYPE *GetDevice)(
   1139         ID3D11Asynchronous* This,
   1140         ID3D11Device **ppDevice);
   1141 
   1142     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   1143         ID3D11Asynchronous* This,
   1144         REFGUID guid,
   1145         UINT *pDataSize,
   1146         void *pData);
   1147 
   1148     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   1149         ID3D11Asynchronous* This,
   1150         REFGUID guid,
   1151         UINT DataSize,
   1152         const void *pData);
   1153 
   1154     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   1155         ID3D11Asynchronous* This,
   1156         REFGUID guid,
   1157         const IUnknown *pData);
   1158 
   1159     /*** ID3D11Asynchronous methods ***/
   1160     UINT (STDMETHODCALLTYPE *GetDataSize)(
   1161         ID3D11Asynchronous* This);
   1162 
   1163     END_INTERFACE
   1164 } ID3D11AsynchronousVtbl;
   1165 interface ID3D11Asynchronous {
   1166     CONST_VTBL ID3D11AsynchronousVtbl* lpVtbl;
   1167 };
   1168 
   1169 #ifdef COBJMACROS
   1170 #ifndef WIDL_C_INLINE_WRAPPERS
   1171 /*** IUnknown methods ***/
   1172 #define ID3D11Asynchronous_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1173 #define ID3D11Asynchronous_AddRef(This) (This)->lpVtbl->AddRef(This)
   1174 #define ID3D11Asynchronous_Release(This) (This)->lpVtbl->Release(This)
   1175 /*** ID3D11DeviceChild methods ***/
   1176 #define ID3D11Asynchronous_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   1177 #define ID3D11Asynchronous_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   1178 #define ID3D11Asynchronous_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   1179 #define ID3D11Asynchronous_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   1180 /*** ID3D11Asynchronous methods ***/
   1181 #define ID3D11Asynchronous_GetDataSize(This) (This)->lpVtbl->GetDataSize(This)
   1182 #else
   1183 /*** IUnknown methods ***/
   1184 static FORCEINLINE HRESULT ID3D11Asynchronous_QueryInterface(ID3D11Asynchronous* This,REFIID riid,void **ppvObject) {
   1185     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1186 }
   1187 static FORCEINLINE ULONG ID3D11Asynchronous_AddRef(ID3D11Asynchronous* This) {
   1188     return This->lpVtbl->AddRef(This);
   1189 }
   1190 static FORCEINLINE ULONG ID3D11Asynchronous_Release(ID3D11Asynchronous* This) {
   1191     return This->lpVtbl->Release(This);
   1192 }
   1193 /*** ID3D11DeviceChild methods ***/
   1194 static FORCEINLINE void ID3D11Asynchronous_GetDevice(ID3D11Asynchronous* This,ID3D11Device **ppDevice) {
   1195     This->lpVtbl->GetDevice(This,ppDevice);
   1196 }
   1197 static FORCEINLINE HRESULT ID3D11Asynchronous_GetPrivateData(ID3D11Asynchronous* This,REFGUID guid,UINT *pDataSize,void *pData) {
   1198     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   1199 }
   1200 static FORCEINLINE HRESULT ID3D11Asynchronous_SetPrivateData(ID3D11Asynchronous* This,REFGUID guid,UINT DataSize,const void *pData) {
   1201     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   1202 }
   1203 static FORCEINLINE HRESULT ID3D11Asynchronous_SetPrivateDataInterface(ID3D11Asynchronous* This,REFGUID guid,const IUnknown *pData) {
   1204     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   1205 }
   1206 /*** ID3D11Asynchronous methods ***/
   1207 static FORCEINLINE UINT ID3D11Asynchronous_GetDataSize(ID3D11Asynchronous* This) {
   1208     return This->lpVtbl->GetDataSize(This);
   1209 }
   1210 #endif
   1211 #endif
   1212 
   1213 #endif
   1214 
   1215 UINT STDMETHODCALLTYPE ID3D11Asynchronous_GetDataSize_Proxy(
   1216     ID3D11Asynchronous* This);
   1217 void __RPC_STUB ID3D11Asynchronous_GetDataSize_Stub(
   1218     IRpcStubBuffer* This,
   1219     IRpcChannelBuffer* pRpcChannelBuffer,
   1220     PRPC_MESSAGE pRpcMessage,
   1221     DWORD* pdwStubPhase);
   1222 
   1223 #endif  /* __ID3D11Asynchronous_INTERFACE_DEFINED__ */
   1224 
   1225 /*****************************************************************************
   1226  * ID3D11Query interface
   1227  */
   1228 #ifndef __ID3D11Query_INTERFACE_DEFINED__
   1229 #define __ID3D11Query_INTERFACE_DEFINED__
   1230 
   1231 DEFINE_GUID(IID_ID3D11Query, 0xd6c00747, 0x87b7, 0x425e, 0xb8,0x4d, 0x44,0xd1,0x08,0x56,0x0a,0xfd);
   1232 #if defined(__cplusplus) && !defined(CINTERFACE)
   1233 MIDL_INTERFACE("d6c00747-87b7-425e-b84d-44d108560afd")
   1234 ID3D11Query : public ID3D11Asynchronous
   1235 {
   1236     virtual void STDMETHODCALLTYPE GetDesc(
   1237         D3D11_QUERY_DESC *pDesc) = 0;
   1238 
   1239 };
   1240 #ifdef __CRT_UUID_DECL
   1241 __CRT_UUID_DECL(ID3D11Query, 0xd6c00747, 0x87b7, 0x425e, 0xb8,0x4d, 0x44,0xd1,0x08,0x56,0x0a,0xfd)
   1242 #endif
   1243 #else
   1244 typedef struct ID3D11QueryVtbl {
   1245     BEGIN_INTERFACE
   1246 
   1247     /*** IUnknown methods ***/
   1248     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1249         ID3D11Query* This,
   1250         REFIID riid,
   1251         void **ppvObject);
   1252 
   1253     ULONG (STDMETHODCALLTYPE *AddRef)(
   1254         ID3D11Query* This);
   1255 
   1256     ULONG (STDMETHODCALLTYPE *Release)(
   1257         ID3D11Query* This);
   1258 
   1259     /*** ID3D11DeviceChild methods ***/
   1260     void (STDMETHODCALLTYPE *GetDevice)(
   1261         ID3D11Query* This,
   1262         ID3D11Device **ppDevice);
   1263 
   1264     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   1265         ID3D11Query* This,
   1266         REFGUID guid,
   1267         UINT *pDataSize,
   1268         void *pData);
   1269 
   1270     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   1271         ID3D11Query* This,
   1272         REFGUID guid,
   1273         UINT DataSize,
   1274         const void *pData);
   1275 
   1276     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   1277         ID3D11Query* This,
   1278         REFGUID guid,
   1279         const IUnknown *pData);
   1280 
   1281     /*** ID3D11Asynchronous methods ***/
   1282     UINT (STDMETHODCALLTYPE *GetDataSize)(
   1283         ID3D11Query* This);
   1284 
   1285     /*** ID3D11Query methods ***/
   1286     void (STDMETHODCALLTYPE *GetDesc)(
   1287         ID3D11Query* This,
   1288         D3D11_QUERY_DESC *pDesc);
   1289 
   1290     END_INTERFACE
   1291 } ID3D11QueryVtbl;
   1292 interface ID3D11Query {
   1293     CONST_VTBL ID3D11QueryVtbl* lpVtbl;
   1294 };
   1295 
   1296 #ifdef COBJMACROS
   1297 #ifndef WIDL_C_INLINE_WRAPPERS
   1298 /*** IUnknown methods ***/
   1299 #define ID3D11Query_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1300 #define ID3D11Query_AddRef(This) (This)->lpVtbl->AddRef(This)
   1301 #define ID3D11Query_Release(This) (This)->lpVtbl->Release(This)
   1302 /*** ID3D11DeviceChild methods ***/
   1303 #define ID3D11Query_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   1304 #define ID3D11Query_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   1305 #define ID3D11Query_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   1306 #define ID3D11Query_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   1307 /*** ID3D11Asynchronous methods ***/
   1308 #define ID3D11Query_GetDataSize(This) (This)->lpVtbl->GetDataSize(This)
   1309 /*** ID3D11Query methods ***/
   1310 #define ID3D11Query_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   1311 #else
   1312 /*** IUnknown methods ***/
   1313 static FORCEINLINE HRESULT ID3D11Query_QueryInterface(ID3D11Query* This,REFIID riid,void **ppvObject) {
   1314     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1315 }
   1316 static FORCEINLINE ULONG ID3D11Query_AddRef(ID3D11Query* This) {
   1317     return This->lpVtbl->AddRef(This);
   1318 }
   1319 static FORCEINLINE ULONG ID3D11Query_Release(ID3D11Query* This) {
   1320     return This->lpVtbl->Release(This);
   1321 }
   1322 /*** ID3D11DeviceChild methods ***/
   1323 static FORCEINLINE void ID3D11Query_GetDevice(ID3D11Query* This,ID3D11Device **ppDevice) {
   1324     This->lpVtbl->GetDevice(This,ppDevice);
   1325 }
   1326 static FORCEINLINE HRESULT ID3D11Query_GetPrivateData(ID3D11Query* This,REFGUID guid,UINT *pDataSize,void *pData) {
   1327     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   1328 }
   1329 static FORCEINLINE HRESULT ID3D11Query_SetPrivateData(ID3D11Query* This,REFGUID guid,UINT DataSize,const void *pData) {
   1330     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   1331 }
   1332 static FORCEINLINE HRESULT ID3D11Query_SetPrivateDataInterface(ID3D11Query* This,REFGUID guid,const IUnknown *pData) {
   1333     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   1334 }
   1335 /*** ID3D11Asynchronous methods ***/
   1336 static FORCEINLINE UINT ID3D11Query_GetDataSize(ID3D11Query* This) {
   1337     return This->lpVtbl->GetDataSize(This);
   1338 }
   1339 /*** ID3D11Query methods ***/
   1340 static FORCEINLINE void ID3D11Query_GetDesc(ID3D11Query* This,D3D11_QUERY_DESC *pDesc) {
   1341     This->lpVtbl->GetDesc(This,pDesc);
   1342 }
   1343 #endif
   1344 #endif
   1345 
   1346 #endif
   1347 
   1348 void STDMETHODCALLTYPE ID3D11Query_GetDesc_Proxy(
   1349     ID3D11Query* This,
   1350     D3D11_QUERY_DESC *pDesc);
   1351 void __RPC_STUB ID3D11Query_GetDesc_Stub(
   1352     IRpcStubBuffer* This,
   1353     IRpcChannelBuffer* pRpcChannelBuffer,
   1354     PRPC_MESSAGE pRpcMessage,
   1355     DWORD* pdwStubPhase);
   1356 
   1357 #endif  /* __ID3D11Query_INTERFACE_DEFINED__ */
   1358 
   1359 /*****************************************************************************
   1360  * ID3D11Resource interface
   1361  */
   1362 #ifndef __ID3D11Resource_INTERFACE_DEFINED__
   1363 #define __ID3D11Resource_INTERFACE_DEFINED__
   1364 
   1365 DEFINE_GUID(IID_ID3D11Resource, 0xdc8e63f3, 0xd12b, 0x4952, 0xb4,0x7b, 0x5e,0x45,0x02,0x6a,0x86,0x2d);
   1366 #if defined(__cplusplus) && !defined(CINTERFACE)
   1367 MIDL_INTERFACE("dc8e63f3-d12b-4952-b47b-5e45026a862d")
   1368 ID3D11Resource : public ID3D11DeviceChild
   1369 {
   1370     virtual void STDMETHODCALLTYPE GetType(
   1371         D3D11_RESOURCE_DIMENSION *pResourceDimension) = 0;
   1372 
   1373     virtual void STDMETHODCALLTYPE SetEvictionPriority(
   1374         UINT EvictionPriority) = 0;
   1375 
   1376     virtual UINT STDMETHODCALLTYPE GetEvictionPriority(
   1377         ) = 0;
   1378 
   1379 };
   1380 #ifdef __CRT_UUID_DECL
   1381 __CRT_UUID_DECL(ID3D11Resource, 0xdc8e63f3, 0xd12b, 0x4952, 0xb4,0x7b, 0x5e,0x45,0x02,0x6a,0x86,0x2d)
   1382 #endif
   1383 #else
   1384 typedef struct ID3D11ResourceVtbl {
   1385     BEGIN_INTERFACE
   1386 
   1387     /*** IUnknown methods ***/
   1388     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1389         ID3D11Resource* This,
   1390         REFIID riid,
   1391         void **ppvObject);
   1392 
   1393     ULONG (STDMETHODCALLTYPE *AddRef)(
   1394         ID3D11Resource* This);
   1395 
   1396     ULONG (STDMETHODCALLTYPE *Release)(
   1397         ID3D11Resource* This);
   1398 
   1399     /*** ID3D11DeviceChild methods ***/
   1400     void (STDMETHODCALLTYPE *GetDevice)(
   1401         ID3D11Resource* This,
   1402         ID3D11Device **ppDevice);
   1403 
   1404     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   1405         ID3D11Resource* This,
   1406         REFGUID guid,
   1407         UINT *pDataSize,
   1408         void *pData);
   1409 
   1410     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   1411         ID3D11Resource* This,
   1412         REFGUID guid,
   1413         UINT DataSize,
   1414         const void *pData);
   1415 
   1416     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   1417         ID3D11Resource* This,
   1418         REFGUID guid,
   1419         const IUnknown *pData);
   1420 
   1421     /*** ID3D11Resource methods ***/
   1422     void (STDMETHODCALLTYPE *GetType)(
   1423         ID3D11Resource* This,
   1424         D3D11_RESOURCE_DIMENSION *pResourceDimension);
   1425 
   1426     void (STDMETHODCALLTYPE *SetEvictionPriority)(
   1427         ID3D11Resource* This,
   1428         UINT EvictionPriority);
   1429 
   1430     UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
   1431         ID3D11Resource* This);
   1432 
   1433     END_INTERFACE
   1434 } ID3D11ResourceVtbl;
   1435 interface ID3D11Resource {
   1436     CONST_VTBL ID3D11ResourceVtbl* lpVtbl;
   1437 };
   1438 
   1439 #ifdef COBJMACROS
   1440 #ifndef WIDL_C_INLINE_WRAPPERS
   1441 /*** IUnknown methods ***/
   1442 #define ID3D11Resource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1443 #define ID3D11Resource_AddRef(This) (This)->lpVtbl->AddRef(This)
   1444 #define ID3D11Resource_Release(This) (This)->lpVtbl->Release(This)
   1445 /*** ID3D11DeviceChild methods ***/
   1446 #define ID3D11Resource_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   1447 #define ID3D11Resource_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   1448 #define ID3D11Resource_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   1449 #define ID3D11Resource_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   1450 /*** ID3D11Resource methods ***/
   1451 #define ID3D11Resource_GetType(This,pResourceDimension) (This)->lpVtbl->GetType(This,pResourceDimension)
   1452 #define ID3D11Resource_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority)
   1453 #define ID3D11Resource_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This)
   1454 #else
   1455 /*** IUnknown methods ***/
   1456 static FORCEINLINE HRESULT ID3D11Resource_QueryInterface(ID3D11Resource* This,REFIID riid,void **ppvObject) {
   1457     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1458 }
   1459 static FORCEINLINE ULONG ID3D11Resource_AddRef(ID3D11Resource* This) {
   1460     return This->lpVtbl->AddRef(This);
   1461 }
   1462 static FORCEINLINE ULONG ID3D11Resource_Release(ID3D11Resource* This) {
   1463     return This->lpVtbl->Release(This);
   1464 }
   1465 /*** ID3D11DeviceChild methods ***/
   1466 static FORCEINLINE void ID3D11Resource_GetDevice(ID3D11Resource* This,ID3D11Device **ppDevice) {
   1467     This->lpVtbl->GetDevice(This,ppDevice);
   1468 }
   1469 static FORCEINLINE HRESULT ID3D11Resource_GetPrivateData(ID3D11Resource* This,REFGUID guid,UINT *pDataSize,void *pData) {
   1470     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   1471 }
   1472 static FORCEINLINE HRESULT ID3D11Resource_SetPrivateData(ID3D11Resource* This,REFGUID guid,UINT DataSize,const void *pData) {
   1473     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   1474 }
   1475 static FORCEINLINE HRESULT ID3D11Resource_SetPrivateDataInterface(ID3D11Resource* This,REFGUID guid,const IUnknown *pData) {
   1476     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   1477 }
   1478 /*** ID3D11Resource methods ***/
   1479 static FORCEINLINE void ID3D11Resource_GetType(ID3D11Resource* This,D3D11_RESOURCE_DIMENSION *pResourceDimension) {
   1480     This->lpVtbl->GetType(This,pResourceDimension);
   1481 }
   1482 static FORCEINLINE void ID3D11Resource_SetEvictionPriority(ID3D11Resource* This,UINT EvictionPriority) {
   1483     This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
   1484 }
   1485 static FORCEINLINE UINT ID3D11Resource_GetEvictionPriority(ID3D11Resource* This) {
   1486     return This->lpVtbl->GetEvictionPriority(This);
   1487 }
   1488 #endif
   1489 #endif
   1490 
   1491 #endif
   1492 
   1493 void STDMETHODCALLTYPE ID3D11Resource_GetType_Proxy(
   1494     ID3D11Resource* This,
   1495     D3D11_RESOURCE_DIMENSION *pResourceDimension);
   1496 void __RPC_STUB ID3D11Resource_GetType_Stub(
   1497     IRpcStubBuffer* This,
   1498     IRpcChannelBuffer* pRpcChannelBuffer,
   1499     PRPC_MESSAGE pRpcMessage,
   1500     DWORD* pdwStubPhase);
   1501 void STDMETHODCALLTYPE ID3D11Resource_SetEvictionPriority_Proxy(
   1502     ID3D11Resource* This,
   1503     UINT EvictionPriority);
   1504 void __RPC_STUB ID3D11Resource_SetEvictionPriority_Stub(
   1505     IRpcStubBuffer* This,
   1506     IRpcChannelBuffer* pRpcChannelBuffer,
   1507     PRPC_MESSAGE pRpcMessage,
   1508     DWORD* pdwStubPhase);
   1509 UINT STDMETHODCALLTYPE ID3D11Resource_GetEvictionPriority_Proxy(
   1510     ID3D11Resource* This);
   1511 void __RPC_STUB ID3D11Resource_GetEvictionPriority_Stub(
   1512     IRpcStubBuffer* This,
   1513     IRpcChannelBuffer* pRpcChannelBuffer,
   1514     PRPC_MESSAGE pRpcMessage,
   1515     DWORD* pdwStubPhase);
   1516 
   1517 #endif  /* __ID3D11Resource_INTERFACE_DEFINED__ */
   1518 
   1519 /*****************************************************************************
   1520  * ID3D11View interface
   1521  */
   1522 #ifndef __ID3D11View_INTERFACE_DEFINED__
   1523 #define __ID3D11View_INTERFACE_DEFINED__
   1524 
   1525 DEFINE_GUID(IID_ID3D11View, 0x839d1216, 0xbb2e, 0x412b, 0xb7,0xf4, 0xa9,0xdb,0xeb,0xe0,0x8e,0xd1);
   1526 #if defined(__cplusplus) && !defined(CINTERFACE)
   1527 MIDL_INTERFACE("839d1216-bb2e-412b-b7f4-a9dbebe08ed1")
   1528 ID3D11View : public ID3D11DeviceChild
   1529 {
   1530     virtual void STDMETHODCALLTYPE GetResource(
   1531         ID3D11Resource **ppResource) = 0;
   1532 
   1533 };
   1534 #ifdef __CRT_UUID_DECL
   1535 __CRT_UUID_DECL(ID3D11View, 0x839d1216, 0xbb2e, 0x412b, 0xb7,0xf4, 0xa9,0xdb,0xeb,0xe0,0x8e,0xd1)
   1536 #endif
   1537 #else
   1538 typedef struct ID3D11ViewVtbl {
   1539     BEGIN_INTERFACE
   1540 
   1541     /*** IUnknown methods ***/
   1542     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1543         ID3D11View* This,
   1544         REFIID riid,
   1545         void **ppvObject);
   1546 
   1547     ULONG (STDMETHODCALLTYPE *AddRef)(
   1548         ID3D11View* This);
   1549 
   1550     ULONG (STDMETHODCALLTYPE *Release)(
   1551         ID3D11View* This);
   1552 
   1553     /*** ID3D11DeviceChild methods ***/
   1554     void (STDMETHODCALLTYPE *GetDevice)(
   1555         ID3D11View* This,
   1556         ID3D11Device **ppDevice);
   1557 
   1558     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   1559         ID3D11View* This,
   1560         REFGUID guid,
   1561         UINT *pDataSize,
   1562         void *pData);
   1563 
   1564     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   1565         ID3D11View* This,
   1566         REFGUID guid,
   1567         UINT DataSize,
   1568         const void *pData);
   1569 
   1570     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   1571         ID3D11View* This,
   1572         REFGUID guid,
   1573         const IUnknown *pData);
   1574 
   1575     /*** ID3D11View methods ***/
   1576     void (STDMETHODCALLTYPE *GetResource)(
   1577         ID3D11View* This,
   1578         ID3D11Resource **ppResource);
   1579 
   1580     END_INTERFACE
   1581 } ID3D11ViewVtbl;
   1582 interface ID3D11View {
   1583     CONST_VTBL ID3D11ViewVtbl* lpVtbl;
   1584 };
   1585 
   1586 #ifdef COBJMACROS
   1587 #ifndef WIDL_C_INLINE_WRAPPERS
   1588 /*** IUnknown methods ***/
   1589 #define ID3D11View_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1590 #define ID3D11View_AddRef(This) (This)->lpVtbl->AddRef(This)
   1591 #define ID3D11View_Release(This) (This)->lpVtbl->Release(This)
   1592 /*** ID3D11DeviceChild methods ***/
   1593 #define ID3D11View_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   1594 #define ID3D11View_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   1595 #define ID3D11View_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   1596 #define ID3D11View_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   1597 /*** ID3D11View methods ***/
   1598 #define ID3D11View_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
   1599 #else
   1600 /*** IUnknown methods ***/
   1601 static FORCEINLINE HRESULT ID3D11View_QueryInterface(ID3D11View* This,REFIID riid,void **ppvObject) {
   1602     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1603 }
   1604 static FORCEINLINE ULONG ID3D11View_AddRef(ID3D11View* This) {
   1605     return This->lpVtbl->AddRef(This);
   1606 }
   1607 static FORCEINLINE ULONG ID3D11View_Release(ID3D11View* This) {
   1608     return This->lpVtbl->Release(This);
   1609 }
   1610 /*** ID3D11DeviceChild methods ***/
   1611 static FORCEINLINE void ID3D11View_GetDevice(ID3D11View* This,ID3D11Device **ppDevice) {
   1612     This->lpVtbl->GetDevice(This,ppDevice);
   1613 }
   1614 static FORCEINLINE HRESULT ID3D11View_GetPrivateData(ID3D11View* This,REFGUID guid,UINT *pDataSize,void *pData) {
   1615     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   1616 }
   1617 static FORCEINLINE HRESULT ID3D11View_SetPrivateData(ID3D11View* This,REFGUID guid,UINT DataSize,const void *pData) {
   1618     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   1619 }
   1620 static FORCEINLINE HRESULT ID3D11View_SetPrivateDataInterface(ID3D11View* This,REFGUID guid,const IUnknown *pData) {
   1621     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   1622 }
   1623 /*** ID3D11View methods ***/
   1624 static FORCEINLINE void ID3D11View_GetResource(ID3D11View* This,ID3D11Resource **ppResource) {
   1625     This->lpVtbl->GetResource(This,ppResource);
   1626 }
   1627 #endif
   1628 #endif
   1629 
   1630 #endif
   1631 
   1632 void STDMETHODCALLTYPE ID3D11View_GetResource_Proxy(
   1633     ID3D11View* This,
   1634     ID3D11Resource **ppResource);
   1635 void __RPC_STUB ID3D11View_GetResource_Stub(
   1636     IRpcStubBuffer* This,
   1637     IRpcChannelBuffer* pRpcChannelBuffer,
   1638     PRPC_MESSAGE pRpcMessage,
   1639     DWORD* pdwStubPhase);
   1640 
   1641 #endif  /* __ID3D11View_INTERFACE_DEFINED__ */
   1642 
   1643 /*****************************************************************************
   1644  * ID3D11BlendState interface
   1645  */
   1646 #ifndef __ID3D11BlendState_INTERFACE_DEFINED__
   1647 #define __ID3D11BlendState_INTERFACE_DEFINED__
   1648 
   1649 DEFINE_GUID(IID_ID3D11BlendState, 0x75b68faa, 0x347d, 0x4159, 0x8f,0x45, 0xa0,0x64,0x0f,0x01,0xcd,0x9a);
   1650 #if defined(__cplusplus) && !defined(CINTERFACE)
   1651 MIDL_INTERFACE("75b68faa-347d-4159-8f45-a0640f01cd9a")
   1652 ID3D11BlendState : public ID3D11DeviceChild
   1653 {
   1654     virtual void STDMETHODCALLTYPE GetDesc(
   1655         D3D11_BLEND_DESC *pDesc) = 0;
   1656 
   1657 };
   1658 #ifdef __CRT_UUID_DECL
   1659 __CRT_UUID_DECL(ID3D11BlendState, 0x75b68faa, 0x347d, 0x4159, 0x8f,0x45, 0xa0,0x64,0x0f,0x01,0xcd,0x9a)
   1660 #endif
   1661 #else
   1662 typedef struct ID3D11BlendStateVtbl {
   1663     BEGIN_INTERFACE
   1664 
   1665     /*** IUnknown methods ***/
   1666     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1667         ID3D11BlendState* This,
   1668         REFIID riid,
   1669         void **ppvObject);
   1670 
   1671     ULONG (STDMETHODCALLTYPE *AddRef)(
   1672         ID3D11BlendState* This);
   1673 
   1674     ULONG (STDMETHODCALLTYPE *Release)(
   1675         ID3D11BlendState* This);
   1676 
   1677     /*** ID3D11DeviceChild methods ***/
   1678     void (STDMETHODCALLTYPE *GetDevice)(
   1679         ID3D11BlendState* This,
   1680         ID3D11Device **ppDevice);
   1681 
   1682     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   1683         ID3D11BlendState* This,
   1684         REFGUID guid,
   1685         UINT *pDataSize,
   1686         void *pData);
   1687 
   1688     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   1689         ID3D11BlendState* This,
   1690         REFGUID guid,
   1691         UINT DataSize,
   1692         const void *pData);
   1693 
   1694     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   1695         ID3D11BlendState* This,
   1696         REFGUID guid,
   1697         const IUnknown *pData);
   1698 
   1699     /*** ID3D11BlendState methods ***/
   1700     void (STDMETHODCALLTYPE *GetDesc)(
   1701         ID3D11BlendState* This,
   1702         D3D11_BLEND_DESC *pDesc);
   1703 
   1704     END_INTERFACE
   1705 } ID3D11BlendStateVtbl;
   1706 interface ID3D11BlendState {
   1707     CONST_VTBL ID3D11BlendStateVtbl* lpVtbl;
   1708 };
   1709 
   1710 #ifdef COBJMACROS
   1711 #ifndef WIDL_C_INLINE_WRAPPERS
   1712 /*** IUnknown methods ***/
   1713 #define ID3D11BlendState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1714 #define ID3D11BlendState_AddRef(This) (This)->lpVtbl->AddRef(This)
   1715 #define ID3D11BlendState_Release(This) (This)->lpVtbl->Release(This)
   1716 /*** ID3D11DeviceChild methods ***/
   1717 #define ID3D11BlendState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   1718 #define ID3D11BlendState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   1719 #define ID3D11BlendState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   1720 #define ID3D11BlendState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   1721 /*** ID3D11BlendState methods ***/
   1722 #define ID3D11BlendState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   1723 #else
   1724 /*** IUnknown methods ***/
   1725 static FORCEINLINE HRESULT ID3D11BlendState_QueryInterface(ID3D11BlendState* This,REFIID riid,void **ppvObject) {
   1726     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1727 }
   1728 static FORCEINLINE ULONG ID3D11BlendState_AddRef(ID3D11BlendState* This) {
   1729     return This->lpVtbl->AddRef(This);
   1730 }
   1731 static FORCEINLINE ULONG ID3D11BlendState_Release(ID3D11BlendState* This) {
   1732     return This->lpVtbl->Release(This);
   1733 }
   1734 /*** ID3D11DeviceChild methods ***/
   1735 static FORCEINLINE void ID3D11BlendState_GetDevice(ID3D11BlendState* This,ID3D11Device **ppDevice) {
   1736     This->lpVtbl->GetDevice(This,ppDevice);
   1737 }
   1738 static FORCEINLINE HRESULT ID3D11BlendState_GetPrivateData(ID3D11BlendState* This,REFGUID guid,UINT *pDataSize,void *pData) {
   1739     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   1740 }
   1741 static FORCEINLINE HRESULT ID3D11BlendState_SetPrivateData(ID3D11BlendState* This,REFGUID guid,UINT DataSize,const void *pData) {
   1742     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   1743 }
   1744 static FORCEINLINE HRESULT ID3D11BlendState_SetPrivateDataInterface(ID3D11BlendState* This,REFGUID guid,const IUnknown *pData) {
   1745     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   1746 }
   1747 /*** ID3D11BlendState methods ***/
   1748 static FORCEINLINE void ID3D11BlendState_GetDesc(ID3D11BlendState* This,D3D11_BLEND_DESC *pDesc) {
   1749     This->lpVtbl->GetDesc(This,pDesc);
   1750 }
   1751 #endif
   1752 #endif
   1753 
   1754 #endif
   1755 
   1756 void STDMETHODCALLTYPE ID3D11BlendState_GetDesc_Proxy(
   1757     ID3D11BlendState* This,
   1758     D3D11_BLEND_DESC *pDesc);
   1759 void __RPC_STUB ID3D11BlendState_GetDesc_Stub(
   1760     IRpcStubBuffer* This,
   1761     IRpcChannelBuffer* pRpcChannelBuffer,
   1762     PRPC_MESSAGE pRpcMessage,
   1763     DWORD* pdwStubPhase);
   1764 
   1765 #endif  /* __ID3D11BlendState_INTERFACE_DEFINED__ */
   1766 
   1767 /*****************************************************************************
   1768  * ID3D11Buffer interface
   1769  */
   1770 #ifndef __ID3D11Buffer_INTERFACE_DEFINED__
   1771 #define __ID3D11Buffer_INTERFACE_DEFINED__
   1772 
   1773 DEFINE_GUID(IID_ID3D11Buffer, 0x48570b85, 0xd1ee, 0x4fcd, 0xa2,0x50, 0xeb,0x35,0x07,0x22,0xb0,0x37);
   1774 #if defined(__cplusplus) && !defined(CINTERFACE)
   1775 MIDL_INTERFACE("48570b85-d1ee-4fcd-a250-eb350722b037")
   1776 ID3D11Buffer : public ID3D11Resource
   1777 {
   1778     virtual void STDMETHODCALLTYPE GetDesc(
   1779         D3D11_BUFFER_DESC *pDesc) = 0;
   1780 
   1781 };
   1782 #ifdef __CRT_UUID_DECL
   1783 __CRT_UUID_DECL(ID3D11Buffer, 0x48570b85, 0xd1ee, 0x4fcd, 0xa2,0x50, 0xeb,0x35,0x07,0x22,0xb0,0x37)
   1784 #endif
   1785 #else
   1786 typedef struct ID3D11BufferVtbl {
   1787     BEGIN_INTERFACE
   1788 
   1789     /*** IUnknown methods ***/
   1790     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1791         ID3D11Buffer* This,
   1792         REFIID riid,
   1793         void **ppvObject);
   1794 
   1795     ULONG (STDMETHODCALLTYPE *AddRef)(
   1796         ID3D11Buffer* This);
   1797 
   1798     ULONG (STDMETHODCALLTYPE *Release)(
   1799         ID3D11Buffer* This);
   1800 
   1801     /*** ID3D11DeviceChild methods ***/
   1802     void (STDMETHODCALLTYPE *GetDevice)(
   1803         ID3D11Buffer* This,
   1804         ID3D11Device **ppDevice);
   1805 
   1806     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   1807         ID3D11Buffer* This,
   1808         REFGUID guid,
   1809         UINT *pDataSize,
   1810         void *pData);
   1811 
   1812     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   1813         ID3D11Buffer* This,
   1814         REFGUID guid,
   1815         UINT DataSize,
   1816         const void *pData);
   1817 
   1818     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   1819         ID3D11Buffer* This,
   1820         REFGUID guid,
   1821         const IUnknown *pData);
   1822 
   1823     /*** ID3D11Resource methods ***/
   1824     void (STDMETHODCALLTYPE *GetType)(
   1825         ID3D11Buffer* This,
   1826         D3D11_RESOURCE_DIMENSION *pResourceDimension);
   1827 
   1828     void (STDMETHODCALLTYPE *SetEvictionPriority)(
   1829         ID3D11Buffer* This,
   1830         UINT EvictionPriority);
   1831 
   1832     UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
   1833         ID3D11Buffer* This);
   1834 
   1835     /*** ID3D11Buffer methods ***/
   1836     void (STDMETHODCALLTYPE *GetDesc)(
   1837         ID3D11Buffer* This,
   1838         D3D11_BUFFER_DESC *pDesc);
   1839 
   1840     END_INTERFACE
   1841 } ID3D11BufferVtbl;
   1842 interface ID3D11Buffer {
   1843     CONST_VTBL ID3D11BufferVtbl* lpVtbl;
   1844 };
   1845 
   1846 #ifdef COBJMACROS
   1847 #ifndef WIDL_C_INLINE_WRAPPERS
   1848 /*** IUnknown methods ***/
   1849 #define ID3D11Buffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1850 #define ID3D11Buffer_AddRef(This) (This)->lpVtbl->AddRef(This)
   1851 #define ID3D11Buffer_Release(This) (This)->lpVtbl->Release(This)
   1852 /*** ID3D11DeviceChild methods ***/
   1853 #define ID3D11Buffer_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   1854 #define ID3D11Buffer_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   1855 #define ID3D11Buffer_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   1856 #define ID3D11Buffer_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   1857 /*** ID3D11Resource methods ***/
   1858 #define ID3D11Buffer_GetType(This,pResourceDimension) (This)->lpVtbl->GetType(This,pResourceDimension)
   1859 #define ID3D11Buffer_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority)
   1860 #define ID3D11Buffer_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This)
   1861 /*** ID3D11Buffer methods ***/
   1862 #define ID3D11Buffer_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   1863 #else
   1864 /*** IUnknown methods ***/
   1865 static FORCEINLINE HRESULT ID3D11Buffer_QueryInterface(ID3D11Buffer* This,REFIID riid,void **ppvObject) {
   1866     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1867 }
   1868 static FORCEINLINE ULONG ID3D11Buffer_AddRef(ID3D11Buffer* This) {
   1869     return This->lpVtbl->AddRef(This);
   1870 }
   1871 static FORCEINLINE ULONG ID3D11Buffer_Release(ID3D11Buffer* This) {
   1872     return This->lpVtbl->Release(This);
   1873 }
   1874 /*** ID3D11DeviceChild methods ***/
   1875 static FORCEINLINE void ID3D11Buffer_GetDevice(ID3D11Buffer* This,ID3D11Device **ppDevice) {
   1876     This->lpVtbl->GetDevice(This,ppDevice);
   1877 }
   1878 static FORCEINLINE HRESULT ID3D11Buffer_GetPrivateData(ID3D11Buffer* This,REFGUID guid,UINT *pDataSize,void *pData) {
   1879     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   1880 }
   1881 static FORCEINLINE HRESULT ID3D11Buffer_SetPrivateData(ID3D11Buffer* This,REFGUID guid,UINT DataSize,const void *pData) {
   1882     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   1883 }
   1884 static FORCEINLINE HRESULT ID3D11Buffer_SetPrivateDataInterface(ID3D11Buffer* This,REFGUID guid,const IUnknown *pData) {
   1885     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   1886 }
   1887 /*** ID3D11Resource methods ***/
   1888 static FORCEINLINE void ID3D11Buffer_GetType(ID3D11Buffer* This,D3D11_RESOURCE_DIMENSION *pResourceDimension) {
   1889     This->lpVtbl->GetType(This,pResourceDimension);
   1890 }
   1891 static FORCEINLINE void ID3D11Buffer_SetEvictionPriority(ID3D11Buffer* This,UINT EvictionPriority) {
   1892     This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
   1893 }
   1894 static FORCEINLINE UINT ID3D11Buffer_GetEvictionPriority(ID3D11Buffer* This) {
   1895     return This->lpVtbl->GetEvictionPriority(This);
   1896 }
   1897 /*** ID3D11Buffer methods ***/
   1898 static FORCEINLINE void ID3D11Buffer_GetDesc(ID3D11Buffer* This,D3D11_BUFFER_DESC *pDesc) {
   1899     This->lpVtbl->GetDesc(This,pDesc);
   1900 }
   1901 #endif
   1902 #endif
   1903 
   1904 #endif
   1905 
   1906 void STDMETHODCALLTYPE ID3D11Buffer_GetDesc_Proxy(
   1907     ID3D11Buffer* This,
   1908     D3D11_BUFFER_DESC *pDesc);
   1909 void __RPC_STUB ID3D11Buffer_GetDesc_Stub(
   1910     IRpcStubBuffer* This,
   1911     IRpcChannelBuffer* pRpcChannelBuffer,
   1912     PRPC_MESSAGE pRpcMessage,
   1913     DWORD* pdwStubPhase);
   1914 
   1915 #endif  /* __ID3D11Buffer_INTERFACE_DEFINED__ */
   1916 
   1917 /*****************************************************************************
   1918  * ID3D11ClassInstance interface
   1919  */
   1920 #ifndef __ID3D11ClassInstance_INTERFACE_DEFINED__
   1921 #define __ID3D11ClassInstance_INTERFACE_DEFINED__
   1922 
   1923 DEFINE_GUID(IID_ID3D11ClassInstance, 0xa6cd7faa, 0xb0b7, 0x4a2f, 0x94,0x36, 0x86,0x62,0xa6,0x57,0x97,0xcb);
   1924 #if defined(__cplusplus) && !defined(CINTERFACE)
   1925 MIDL_INTERFACE("a6cd7faa-b0b7-4a2f-9436-8662a65797cb")
   1926 ID3D11ClassInstance : public ID3D11DeviceChild
   1927 {
   1928     virtual void STDMETHODCALLTYPE GetClassLinkage(
   1929         ID3D11ClassLinkage **ppLinkage) = 0;
   1930 
   1931     virtual void STDMETHODCALLTYPE GetDesc(
   1932         D3D11_CLASS_INSTANCE_DESC *pDesc) = 0;
   1933 
   1934     virtual void STDMETHODCALLTYPE GetInstanceName(
   1935         LPSTR pInstanceName,
   1936         SIZE_T *pBufferLength) = 0;
   1937 
   1938     virtual void STDMETHODCALLTYPE GetTypeName(
   1939         LPSTR pTypeName,
   1940         SIZE_T *pBufferLength) = 0;
   1941 
   1942 };
   1943 #ifdef __CRT_UUID_DECL
   1944 __CRT_UUID_DECL(ID3D11ClassInstance, 0xa6cd7faa, 0xb0b7, 0x4a2f, 0x94,0x36, 0x86,0x62,0xa6,0x57,0x97,0xcb)
   1945 #endif
   1946 #else
   1947 typedef struct ID3D11ClassInstanceVtbl {
   1948     BEGIN_INTERFACE
   1949 
   1950     /*** IUnknown methods ***/
   1951     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1952         ID3D11ClassInstance* This,
   1953         REFIID riid,
   1954         void **ppvObject);
   1955 
   1956     ULONG (STDMETHODCALLTYPE *AddRef)(
   1957         ID3D11ClassInstance* This);
   1958 
   1959     ULONG (STDMETHODCALLTYPE *Release)(
   1960         ID3D11ClassInstance* This);
   1961 
   1962     /*** ID3D11DeviceChild methods ***/
   1963     void (STDMETHODCALLTYPE *GetDevice)(
   1964         ID3D11ClassInstance* This,
   1965         ID3D11Device **ppDevice);
   1966 
   1967     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   1968         ID3D11ClassInstance* This,
   1969         REFGUID guid,
   1970         UINT *pDataSize,
   1971         void *pData);
   1972 
   1973     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   1974         ID3D11ClassInstance* This,
   1975         REFGUID guid,
   1976         UINT DataSize,
   1977         const void *pData);
   1978 
   1979     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   1980         ID3D11ClassInstance* This,
   1981         REFGUID guid,
   1982         const IUnknown *pData);
   1983 
   1984     /*** ID3D11ClassInstance methods ***/
   1985     void (STDMETHODCALLTYPE *GetClassLinkage)(
   1986         ID3D11ClassInstance* This,
   1987         ID3D11ClassLinkage **ppLinkage);
   1988 
   1989     void (STDMETHODCALLTYPE *GetDesc)(
   1990         ID3D11ClassInstance* This,
   1991         D3D11_CLASS_INSTANCE_DESC *pDesc);
   1992 
   1993     void (STDMETHODCALLTYPE *GetInstanceName)(
   1994         ID3D11ClassInstance* This,
   1995         LPSTR pInstanceName,
   1996         SIZE_T *pBufferLength);
   1997 
   1998     void (STDMETHODCALLTYPE *GetTypeName)(
   1999         ID3D11ClassInstance* This,
   2000         LPSTR pTypeName,
   2001         SIZE_T *pBufferLength);
   2002 
   2003     END_INTERFACE
   2004 } ID3D11ClassInstanceVtbl;
   2005 interface ID3D11ClassInstance {
   2006     CONST_VTBL ID3D11ClassInstanceVtbl* lpVtbl;
   2007 };
   2008 
   2009 #ifdef COBJMACROS
   2010 #ifndef WIDL_C_INLINE_WRAPPERS
   2011 /*** IUnknown methods ***/
   2012 #define ID3D11ClassInstance_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2013 #define ID3D11ClassInstance_AddRef(This) (This)->lpVtbl->AddRef(This)
   2014 #define ID3D11ClassInstance_Release(This) (This)->lpVtbl->Release(This)
   2015 /*** ID3D11DeviceChild methods ***/
   2016 #define ID3D11ClassInstance_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   2017 #define ID3D11ClassInstance_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   2018 #define ID3D11ClassInstance_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   2019 #define ID3D11ClassInstance_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   2020 /*** ID3D11ClassInstance methods ***/
   2021 #define ID3D11ClassInstance_GetClassLinkage(This,ppLinkage) (This)->lpVtbl->GetClassLinkage(This,ppLinkage)
   2022 #define ID3D11ClassInstance_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   2023 #define ID3D11ClassInstance_GetInstanceName(This,pInstanceName,pBufferLength) (This)->lpVtbl->GetInstanceName(This,pInstanceName,pBufferLength)
   2024 #define ID3D11ClassInstance_GetTypeName(This,pTypeName,pBufferLength) (This)->lpVtbl->GetTypeName(This,pTypeName,pBufferLength)
   2025 #else
   2026 /*** IUnknown methods ***/
   2027 static FORCEINLINE HRESULT ID3D11ClassInstance_QueryInterface(ID3D11ClassInstance* This,REFIID riid,void **ppvObject) {
   2028     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2029 }
   2030 static FORCEINLINE ULONG ID3D11ClassInstance_AddRef(ID3D11ClassInstance* This) {
   2031     return This->lpVtbl->AddRef(This);
   2032 }
   2033 static FORCEINLINE ULONG ID3D11ClassInstance_Release(ID3D11ClassInstance* This) {
   2034     return This->lpVtbl->Release(This);
   2035 }
   2036 /*** ID3D11DeviceChild methods ***/
   2037 static FORCEINLINE void ID3D11ClassInstance_GetDevice(ID3D11ClassInstance* This,ID3D11Device **ppDevice) {
   2038     This->lpVtbl->GetDevice(This,ppDevice);
   2039 }
   2040 static FORCEINLINE HRESULT ID3D11ClassInstance_GetPrivateData(ID3D11ClassInstance* This,REFGUID guid,UINT *pDataSize,void *pData) {
   2041     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   2042 }
   2043 static FORCEINLINE HRESULT ID3D11ClassInstance_SetPrivateData(ID3D11ClassInstance* This,REFGUID guid,UINT DataSize,const void *pData) {
   2044     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   2045 }
   2046 static FORCEINLINE HRESULT ID3D11ClassInstance_SetPrivateDataInterface(ID3D11ClassInstance* This,REFGUID guid,const IUnknown *pData) {
   2047     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   2048 }
   2049 /*** ID3D11ClassInstance methods ***/
   2050 static FORCEINLINE void ID3D11ClassInstance_GetClassLinkage(ID3D11ClassInstance* This,ID3D11ClassLinkage **ppLinkage) {
   2051     This->lpVtbl->GetClassLinkage(This,ppLinkage);
   2052 }
   2053 static FORCEINLINE void ID3D11ClassInstance_GetDesc(ID3D11ClassInstance* This,D3D11_CLASS_INSTANCE_DESC *pDesc) {
   2054     This->lpVtbl->GetDesc(This,pDesc);
   2055 }
   2056 static FORCEINLINE void ID3D11ClassInstance_GetInstanceName(ID3D11ClassInstance* This,LPSTR pInstanceName,SIZE_T *pBufferLength) {
   2057     This->lpVtbl->GetInstanceName(This,pInstanceName,pBufferLength);
   2058 }
   2059 static FORCEINLINE void ID3D11ClassInstance_GetTypeName(ID3D11ClassInstance* This,LPSTR pTypeName,SIZE_T *pBufferLength) {
   2060     This->lpVtbl->GetTypeName(This,pTypeName,pBufferLength);
   2061 }
   2062 #endif
   2063 #endif
   2064 
   2065 #endif
   2066 
   2067 void STDMETHODCALLTYPE ID3D11ClassInstance_GetClassLinkage_Proxy(
   2068     ID3D11ClassInstance* This,
   2069     ID3D11ClassLinkage **ppLinkage);
   2070 void __RPC_STUB ID3D11ClassInstance_GetClassLinkage_Stub(
   2071     IRpcStubBuffer* This,
   2072     IRpcChannelBuffer* pRpcChannelBuffer,
   2073     PRPC_MESSAGE pRpcMessage,
   2074     DWORD* pdwStubPhase);
   2075 void STDMETHODCALLTYPE ID3D11ClassInstance_GetDesc_Proxy(
   2076     ID3D11ClassInstance* This,
   2077     D3D11_CLASS_INSTANCE_DESC *pDesc);
   2078 void __RPC_STUB ID3D11ClassInstance_GetDesc_Stub(
   2079     IRpcStubBuffer* This,
   2080     IRpcChannelBuffer* pRpcChannelBuffer,
   2081     PRPC_MESSAGE pRpcMessage,
   2082     DWORD* pdwStubPhase);
   2083 void STDMETHODCALLTYPE ID3D11ClassInstance_GetInstanceName_Proxy(
   2084     ID3D11ClassInstance* This,
   2085     LPSTR pInstanceName,
   2086     SIZE_T *pBufferLength);
   2087 void __RPC_STUB ID3D11ClassInstance_GetInstanceName_Stub(
   2088     IRpcStubBuffer* This,
   2089     IRpcChannelBuffer* pRpcChannelBuffer,
   2090     PRPC_MESSAGE pRpcMessage,
   2091     DWORD* pdwStubPhase);
   2092 void STDMETHODCALLTYPE ID3D11ClassInstance_GetTypeName_Proxy(
   2093     ID3D11ClassInstance* This,
   2094     LPSTR pTypeName,
   2095     SIZE_T *pBufferLength);
   2096 void __RPC_STUB ID3D11ClassInstance_GetTypeName_Stub(
   2097     IRpcStubBuffer* This,
   2098     IRpcChannelBuffer* pRpcChannelBuffer,
   2099     PRPC_MESSAGE pRpcMessage,
   2100     DWORD* pdwStubPhase);
   2101 
   2102 #endif  /* __ID3D11ClassInstance_INTERFACE_DEFINED__ */
   2103 
   2104 /*****************************************************************************
   2105  * ID3D11ClassLinkage interface
   2106  */
   2107 #ifndef __ID3D11ClassLinkage_INTERFACE_DEFINED__
   2108 #define __ID3D11ClassLinkage_INTERFACE_DEFINED__
   2109 
   2110 DEFINE_GUID(IID_ID3D11ClassLinkage, 0xddf57cba, 0x9543, 0x46e4, 0xa1,0x2b, 0xf2,0x07,0xa0,0xfe,0x7f,0xed);
   2111 #if defined(__cplusplus) && !defined(CINTERFACE)
   2112 MIDL_INTERFACE("ddf57cba-9543-46e4-a12b-f207a0fe7fed")
   2113 ID3D11ClassLinkage : public ID3D11DeviceChild
   2114 {
   2115     virtual HRESULT STDMETHODCALLTYPE GetClassInstance(
   2116         LPCSTR pClassInstanceName,
   2117         UINT InstanceIndex,
   2118         ID3D11ClassInstance **ppInstance) = 0;
   2119 
   2120     virtual HRESULT STDMETHODCALLTYPE CreateClassInstance(
   2121         LPCSTR pClassTypeName,
   2122         UINT ConstantBufferOffset,
   2123         UINT ConstantVectorOffset,
   2124         UINT TextureOffset,
   2125         UINT SamplerOffset,
   2126         ID3D11ClassInstance **ppInstance) = 0;
   2127 
   2128 };
   2129 #ifdef __CRT_UUID_DECL
   2130 __CRT_UUID_DECL(ID3D11ClassLinkage, 0xddf57cba, 0x9543, 0x46e4, 0xa1,0x2b, 0xf2,0x07,0xa0,0xfe,0x7f,0xed)
   2131 #endif
   2132 #else
   2133 typedef struct ID3D11ClassLinkageVtbl {
   2134     BEGIN_INTERFACE
   2135 
   2136     /*** IUnknown methods ***/
   2137     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2138         ID3D11ClassLinkage* This,
   2139         REFIID riid,
   2140         void **ppvObject);
   2141 
   2142     ULONG (STDMETHODCALLTYPE *AddRef)(
   2143         ID3D11ClassLinkage* This);
   2144 
   2145     ULONG (STDMETHODCALLTYPE *Release)(
   2146         ID3D11ClassLinkage* This);
   2147 
   2148     /*** ID3D11DeviceChild methods ***/
   2149     void (STDMETHODCALLTYPE *GetDevice)(
   2150         ID3D11ClassLinkage* This,
   2151         ID3D11Device **ppDevice);
   2152 
   2153     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   2154         ID3D11ClassLinkage* This,
   2155         REFGUID guid,
   2156         UINT *pDataSize,
   2157         void *pData);
   2158 
   2159     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   2160         ID3D11ClassLinkage* This,
   2161         REFGUID guid,
   2162         UINT DataSize,
   2163         const void *pData);
   2164 
   2165     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   2166         ID3D11ClassLinkage* This,
   2167         REFGUID guid,
   2168         const IUnknown *pData);
   2169 
   2170     /*** ID3D11ClassLinkage methods ***/
   2171     HRESULT (STDMETHODCALLTYPE *GetClassInstance)(
   2172         ID3D11ClassLinkage* This,
   2173         LPCSTR pClassInstanceName,
   2174         UINT InstanceIndex,
   2175         ID3D11ClassInstance **ppInstance);
   2176 
   2177     HRESULT (STDMETHODCALLTYPE *CreateClassInstance)(
   2178         ID3D11ClassLinkage* This,
   2179         LPCSTR pClassTypeName,
   2180         UINT ConstantBufferOffset,
   2181         UINT ConstantVectorOffset,
   2182         UINT TextureOffset,
   2183         UINT SamplerOffset,
   2184         ID3D11ClassInstance **ppInstance);
   2185 
   2186     END_INTERFACE
   2187 } ID3D11ClassLinkageVtbl;
   2188 interface ID3D11ClassLinkage {
   2189     CONST_VTBL ID3D11ClassLinkageVtbl* lpVtbl;
   2190 };
   2191 
   2192 #ifdef COBJMACROS
   2193 #ifndef WIDL_C_INLINE_WRAPPERS
   2194 /*** IUnknown methods ***/
   2195 #define ID3D11ClassLinkage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2196 #define ID3D11ClassLinkage_AddRef(This) (This)->lpVtbl->AddRef(This)
   2197 #define ID3D11ClassLinkage_Release(This) (This)->lpVtbl->Release(This)
   2198 /*** ID3D11DeviceChild methods ***/
   2199 #define ID3D11ClassLinkage_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   2200 #define ID3D11ClassLinkage_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   2201 #define ID3D11ClassLinkage_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   2202 #define ID3D11ClassLinkage_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   2203 /*** ID3D11ClassLinkage methods ***/
   2204 #define ID3D11ClassLinkage_GetClassInstance(This,pClassInstanceName,InstanceIndex,ppInstance) (This)->lpVtbl->GetClassInstance(This,pClassInstanceName,InstanceIndex,ppInstance)
   2205 #define ID3D11ClassLinkage_CreateClassInstance(This,pClassTypeName,ConstantBufferOffset,ConstantVectorOffset,TextureOffset,SamplerOffset,ppInstance) (This)->lpVtbl->CreateClassInstance(This,pClassTypeName,ConstantBufferOffset,ConstantVectorOffset,TextureOffset,SamplerOffset,ppInstance)
   2206 #else
   2207 /*** IUnknown methods ***/
   2208 static FORCEINLINE HRESULT ID3D11ClassLinkage_QueryInterface(ID3D11ClassLinkage* This,REFIID riid,void **ppvObject) {
   2209     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2210 }
   2211 static FORCEINLINE ULONG ID3D11ClassLinkage_AddRef(ID3D11ClassLinkage* This) {
   2212     return This->lpVtbl->AddRef(This);
   2213 }
   2214 static FORCEINLINE ULONG ID3D11ClassLinkage_Release(ID3D11ClassLinkage* This) {
   2215     return This->lpVtbl->Release(This);
   2216 }
   2217 /*** ID3D11DeviceChild methods ***/
   2218 static FORCEINLINE void ID3D11ClassLinkage_GetDevice(ID3D11ClassLinkage* This,ID3D11Device **ppDevice) {
   2219     This->lpVtbl->GetDevice(This,ppDevice);
   2220 }
   2221 static FORCEINLINE HRESULT ID3D11ClassLinkage_GetPrivateData(ID3D11ClassLinkage* This,REFGUID guid,UINT *pDataSize,void *pData) {
   2222     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   2223 }
   2224 static FORCEINLINE HRESULT ID3D11ClassLinkage_SetPrivateData(ID3D11ClassLinkage* This,REFGUID guid,UINT DataSize,const void *pData) {
   2225     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   2226 }
   2227 static FORCEINLINE HRESULT ID3D11ClassLinkage_SetPrivateDataInterface(ID3D11ClassLinkage* This,REFGUID guid,const IUnknown *pData) {
   2228     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   2229 }
   2230 /*** ID3D11ClassLinkage methods ***/
   2231 static FORCEINLINE HRESULT ID3D11ClassLinkage_GetClassInstance(ID3D11ClassLinkage* This,LPCSTR pClassInstanceName,UINT InstanceIndex,ID3D11ClassInstance **ppInstance) {
   2232     return This->lpVtbl->GetClassInstance(This,pClassInstanceName,InstanceIndex,ppInstance);
   2233 }
   2234 static FORCEINLINE HRESULT ID3D11ClassLinkage_CreateClassInstance(ID3D11ClassLinkage* This,LPCSTR pClassTypeName,UINT ConstantBufferOffset,UINT ConstantVectorOffset,UINT TextureOffset,UINT SamplerOffset,ID3D11ClassInstance **ppInstance) {
   2235     return This->lpVtbl->CreateClassInstance(This,pClassTypeName,ConstantBufferOffset,ConstantVectorOffset,TextureOffset,SamplerOffset,ppInstance);
   2236 }
   2237 #endif
   2238 #endif
   2239 
   2240 #endif
   2241 
   2242 HRESULT STDMETHODCALLTYPE ID3D11ClassLinkage_GetClassInstance_Proxy(
   2243     ID3D11ClassLinkage* This,
   2244     LPCSTR pClassInstanceName,
   2245     UINT InstanceIndex,
   2246     ID3D11ClassInstance **ppInstance);
   2247 void __RPC_STUB ID3D11ClassLinkage_GetClassInstance_Stub(
   2248     IRpcStubBuffer* This,
   2249     IRpcChannelBuffer* pRpcChannelBuffer,
   2250     PRPC_MESSAGE pRpcMessage,
   2251     DWORD* pdwStubPhase);
   2252 HRESULT STDMETHODCALLTYPE ID3D11ClassLinkage_CreateClassInstance_Proxy(
   2253     ID3D11ClassLinkage* This,
   2254     LPCSTR pClassTypeName,
   2255     UINT ConstantBufferOffset,
   2256     UINT ConstantVectorOffset,
   2257     UINT TextureOffset,
   2258     UINT SamplerOffset,
   2259     ID3D11ClassInstance **ppInstance);
   2260 void __RPC_STUB ID3D11ClassLinkage_CreateClassInstance_Stub(
   2261     IRpcStubBuffer* This,
   2262     IRpcChannelBuffer* pRpcChannelBuffer,
   2263     PRPC_MESSAGE pRpcMessage,
   2264     DWORD* pdwStubPhase);
   2265 
   2266 #endif  /* __ID3D11ClassLinkage_INTERFACE_DEFINED__ */
   2267 
   2268 /*****************************************************************************
   2269  * ID3D11CommandList interface
   2270  */
   2271 #ifndef __ID3D11CommandList_INTERFACE_DEFINED__
   2272 #define __ID3D11CommandList_INTERFACE_DEFINED__
   2273 
   2274 DEFINE_GUID(IID_ID3D11CommandList, 0xa24bc4d1, 0x769e, 0x43f7, 0x80,0x13, 0x98,0xff,0x56,0x6c,0x18,0xe2);
   2275 #if defined(__cplusplus) && !defined(CINTERFACE)
   2276 MIDL_INTERFACE("a24bc4d1-769e-43f7-8013-98ff566c18e2")
   2277 ID3D11CommandList : public ID3D11DeviceChild
   2278 {
   2279     virtual UINT STDMETHODCALLTYPE GetContextFlags(
   2280         ) = 0;
   2281 
   2282 };
   2283 #ifdef __CRT_UUID_DECL
   2284 __CRT_UUID_DECL(ID3D11CommandList, 0xa24bc4d1, 0x769e, 0x43f7, 0x80,0x13, 0x98,0xff,0x56,0x6c,0x18,0xe2)
   2285 #endif
   2286 #else
   2287 typedef struct ID3D11CommandListVtbl {
   2288     BEGIN_INTERFACE
   2289 
   2290     /*** IUnknown methods ***/
   2291     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2292         ID3D11CommandList* This,
   2293         REFIID riid,
   2294         void **ppvObject);
   2295 
   2296     ULONG (STDMETHODCALLTYPE *AddRef)(
   2297         ID3D11CommandList* This);
   2298 
   2299     ULONG (STDMETHODCALLTYPE *Release)(
   2300         ID3D11CommandList* This);
   2301 
   2302     /*** ID3D11DeviceChild methods ***/
   2303     void (STDMETHODCALLTYPE *GetDevice)(
   2304         ID3D11CommandList* This,
   2305         ID3D11Device **ppDevice);
   2306 
   2307     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   2308         ID3D11CommandList* This,
   2309         REFGUID guid,
   2310         UINT *pDataSize,
   2311         void *pData);
   2312 
   2313     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   2314         ID3D11CommandList* This,
   2315         REFGUID guid,
   2316         UINT DataSize,
   2317         const void *pData);
   2318 
   2319     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   2320         ID3D11CommandList* This,
   2321         REFGUID guid,
   2322         const IUnknown *pData);
   2323 
   2324     /*** ID3D11CommandList methods ***/
   2325     UINT (STDMETHODCALLTYPE *GetContextFlags)(
   2326         ID3D11CommandList* This);
   2327 
   2328     END_INTERFACE
   2329 } ID3D11CommandListVtbl;
   2330 interface ID3D11CommandList {
   2331     CONST_VTBL ID3D11CommandListVtbl* lpVtbl;
   2332 };
   2333 
   2334 #ifdef COBJMACROS
   2335 #ifndef WIDL_C_INLINE_WRAPPERS
   2336 /*** IUnknown methods ***/
   2337 #define ID3D11CommandList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2338 #define ID3D11CommandList_AddRef(This) (This)->lpVtbl->AddRef(This)
   2339 #define ID3D11CommandList_Release(This) (This)->lpVtbl->Release(This)
   2340 /*** ID3D11DeviceChild methods ***/
   2341 #define ID3D11CommandList_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   2342 #define ID3D11CommandList_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   2343 #define ID3D11CommandList_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   2344 #define ID3D11CommandList_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   2345 /*** ID3D11CommandList methods ***/
   2346 #define ID3D11CommandList_GetContextFlags(This) (This)->lpVtbl->GetContextFlags(This)
   2347 #else
   2348 /*** IUnknown methods ***/
   2349 static FORCEINLINE HRESULT ID3D11CommandList_QueryInterface(ID3D11CommandList* This,REFIID riid,void **ppvObject) {
   2350     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2351 }
   2352 static FORCEINLINE ULONG ID3D11CommandList_AddRef(ID3D11CommandList* This) {
   2353     return This->lpVtbl->AddRef(This);
   2354 }
   2355 static FORCEINLINE ULONG ID3D11CommandList_Release(ID3D11CommandList* This) {
   2356     return This->lpVtbl->Release(This);
   2357 }
   2358 /*** ID3D11DeviceChild methods ***/
   2359 static FORCEINLINE void ID3D11CommandList_GetDevice(ID3D11CommandList* This,ID3D11Device **ppDevice) {
   2360     This->lpVtbl->GetDevice(This,ppDevice);
   2361 }
   2362 static FORCEINLINE HRESULT ID3D11CommandList_GetPrivateData(ID3D11CommandList* This,REFGUID guid,UINT *pDataSize,void *pData) {
   2363     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   2364 }
   2365 static FORCEINLINE HRESULT ID3D11CommandList_SetPrivateData(ID3D11CommandList* This,REFGUID guid,UINT DataSize,const void *pData) {
   2366     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   2367 }
   2368 static FORCEINLINE HRESULT ID3D11CommandList_SetPrivateDataInterface(ID3D11CommandList* This,REFGUID guid,const IUnknown *pData) {
   2369     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   2370 }
   2371 /*** ID3D11CommandList methods ***/
   2372 static FORCEINLINE UINT ID3D11CommandList_GetContextFlags(ID3D11CommandList* This) {
   2373     return This->lpVtbl->GetContextFlags(This);
   2374 }
   2375 #endif
   2376 #endif
   2377 
   2378 #endif
   2379 
   2380 UINT STDMETHODCALLTYPE ID3D11CommandList_GetContextFlags_Proxy(
   2381     ID3D11CommandList* This);
   2382 void __RPC_STUB ID3D11CommandList_GetContextFlags_Stub(
   2383     IRpcStubBuffer* This,
   2384     IRpcChannelBuffer* pRpcChannelBuffer,
   2385     PRPC_MESSAGE pRpcMessage,
   2386     DWORD* pdwStubPhase);
   2387 
   2388 #endif  /* __ID3D11CommandList_INTERFACE_DEFINED__ */
   2389 
   2390 /*****************************************************************************
   2391  * ID3D11ComputeShader interface
   2392  */
   2393 #ifndef __ID3D11ComputeShader_INTERFACE_DEFINED__
   2394 #define __ID3D11ComputeShader_INTERFACE_DEFINED__
   2395 
   2396 DEFINE_GUID(IID_ID3D11ComputeShader, 0x4f5b196e, 0xc2bd, 0x495e, 0xbd,0x01, 0x1f,0xde,0xd3,0x8e,0x49,0x69);
   2397 #if defined(__cplusplus) && !defined(CINTERFACE)
   2398 MIDL_INTERFACE("4f5b196e-c2bd-495e-bd01-1fded38e4969")
   2399 ID3D11ComputeShader : public ID3D11DeviceChild
   2400 {
   2401 };
   2402 #ifdef __CRT_UUID_DECL
   2403 __CRT_UUID_DECL(ID3D11ComputeShader, 0x4f5b196e, 0xc2bd, 0x495e, 0xbd,0x01, 0x1f,0xde,0xd3,0x8e,0x49,0x69)
   2404 #endif
   2405 #else
   2406 typedef struct ID3D11ComputeShaderVtbl {
   2407     BEGIN_INTERFACE
   2408 
   2409     /*** IUnknown methods ***/
   2410     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2411         ID3D11ComputeShader* This,
   2412         REFIID riid,
   2413         void **ppvObject);
   2414 
   2415     ULONG (STDMETHODCALLTYPE *AddRef)(
   2416         ID3D11ComputeShader* This);
   2417 
   2418     ULONG (STDMETHODCALLTYPE *Release)(
   2419         ID3D11ComputeShader* This);
   2420 
   2421     /*** ID3D11DeviceChild methods ***/
   2422     void (STDMETHODCALLTYPE *GetDevice)(
   2423         ID3D11ComputeShader* This,
   2424         ID3D11Device **ppDevice);
   2425 
   2426     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   2427         ID3D11ComputeShader* This,
   2428         REFGUID guid,
   2429         UINT *pDataSize,
   2430         void *pData);
   2431 
   2432     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   2433         ID3D11ComputeShader* This,
   2434         REFGUID guid,
   2435         UINT DataSize,
   2436         const void *pData);
   2437 
   2438     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   2439         ID3D11ComputeShader* This,
   2440         REFGUID guid,
   2441         const IUnknown *pData);
   2442 
   2443     END_INTERFACE
   2444 } ID3D11ComputeShaderVtbl;
   2445 interface ID3D11ComputeShader {
   2446     CONST_VTBL ID3D11ComputeShaderVtbl* lpVtbl;
   2447 };
   2448 
   2449 #ifdef COBJMACROS
   2450 #ifndef WIDL_C_INLINE_WRAPPERS
   2451 /*** IUnknown methods ***/
   2452 #define ID3D11ComputeShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2453 #define ID3D11ComputeShader_AddRef(This) (This)->lpVtbl->AddRef(This)
   2454 #define ID3D11ComputeShader_Release(This) (This)->lpVtbl->Release(This)
   2455 /*** ID3D11DeviceChild methods ***/
   2456 #define ID3D11ComputeShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   2457 #define ID3D11ComputeShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   2458 #define ID3D11ComputeShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   2459 #define ID3D11ComputeShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   2460 #else
   2461 /*** IUnknown methods ***/
   2462 static FORCEINLINE HRESULT ID3D11ComputeShader_QueryInterface(ID3D11ComputeShader* This,REFIID riid,void **ppvObject) {
   2463     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2464 }
   2465 static FORCEINLINE ULONG ID3D11ComputeShader_AddRef(ID3D11ComputeShader* This) {
   2466     return This->lpVtbl->AddRef(This);
   2467 }
   2468 static FORCEINLINE ULONG ID3D11ComputeShader_Release(ID3D11ComputeShader* This) {
   2469     return This->lpVtbl->Release(This);
   2470 }
   2471 /*** ID3D11DeviceChild methods ***/
   2472 static FORCEINLINE void ID3D11ComputeShader_GetDevice(ID3D11ComputeShader* This,ID3D11Device **ppDevice) {
   2473     This->lpVtbl->GetDevice(This,ppDevice);
   2474 }
   2475 static FORCEINLINE HRESULT ID3D11ComputeShader_GetPrivateData(ID3D11ComputeShader* This,REFGUID guid,UINT *pDataSize,void *pData) {
   2476     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   2477 }
   2478 static FORCEINLINE HRESULT ID3D11ComputeShader_SetPrivateData(ID3D11ComputeShader* This,REFGUID guid,UINT DataSize,const void *pData) {
   2479     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   2480 }
   2481 static FORCEINLINE HRESULT ID3D11ComputeShader_SetPrivateDataInterface(ID3D11ComputeShader* This,REFGUID guid,const IUnknown *pData) {
   2482     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   2483 }
   2484 #endif
   2485 #endif
   2486 
   2487 #endif
   2488 
   2489 
   2490 #endif  /* __ID3D11ComputeShader_INTERFACE_DEFINED__ */
   2491 
   2492 /*****************************************************************************
   2493  * ID3D11Counter interface
   2494  */
   2495 #ifndef __ID3D11Counter_INTERFACE_DEFINED__
   2496 #define __ID3D11Counter_INTERFACE_DEFINED__
   2497 
   2498 DEFINE_GUID(IID_ID3D11Counter, 0x6e8c49fb, 0xa371, 0x4770, 0xb4,0x40, 0x29,0x08,0x60,0x22,0xb7,0x41);
   2499 #if defined(__cplusplus) && !defined(CINTERFACE)
   2500 MIDL_INTERFACE("6e8c49fb-a371-4770-b440-29086022b741")
   2501 ID3D11Counter : public ID3D11Asynchronous
   2502 {
   2503     virtual void STDMETHODCALLTYPE GetDesc(
   2504         D3D11_COUNTER_DESC *pDesc) = 0;
   2505 
   2506 };
   2507 #ifdef __CRT_UUID_DECL
   2508 __CRT_UUID_DECL(ID3D11Counter, 0x6e8c49fb, 0xa371, 0x4770, 0xb4,0x40, 0x29,0x08,0x60,0x22,0xb7,0x41)
   2509 #endif
   2510 #else
   2511 typedef struct ID3D11CounterVtbl {
   2512     BEGIN_INTERFACE
   2513 
   2514     /*** IUnknown methods ***/
   2515     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2516         ID3D11Counter* This,
   2517         REFIID riid,
   2518         void **ppvObject);
   2519 
   2520     ULONG (STDMETHODCALLTYPE *AddRef)(
   2521         ID3D11Counter* This);
   2522 
   2523     ULONG (STDMETHODCALLTYPE *Release)(
   2524         ID3D11Counter* This);
   2525 
   2526     /*** ID3D11DeviceChild methods ***/
   2527     void (STDMETHODCALLTYPE *GetDevice)(
   2528         ID3D11Counter* This,
   2529         ID3D11Device **ppDevice);
   2530 
   2531     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   2532         ID3D11Counter* This,
   2533         REFGUID guid,
   2534         UINT *pDataSize,
   2535         void *pData);
   2536 
   2537     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   2538         ID3D11Counter* This,
   2539         REFGUID guid,
   2540         UINT DataSize,
   2541         const void *pData);
   2542 
   2543     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   2544         ID3D11Counter* This,
   2545         REFGUID guid,
   2546         const IUnknown *pData);
   2547 
   2548     /*** ID3D11Asynchronous methods ***/
   2549     UINT (STDMETHODCALLTYPE *GetDataSize)(
   2550         ID3D11Counter* This);
   2551 
   2552     /*** ID3D11Counter methods ***/
   2553     void (STDMETHODCALLTYPE *GetDesc)(
   2554         ID3D11Counter* This,
   2555         D3D11_COUNTER_DESC *pDesc);
   2556 
   2557     END_INTERFACE
   2558 } ID3D11CounterVtbl;
   2559 interface ID3D11Counter {
   2560     CONST_VTBL ID3D11CounterVtbl* lpVtbl;
   2561 };
   2562 
   2563 #ifdef COBJMACROS
   2564 #ifndef WIDL_C_INLINE_WRAPPERS
   2565 /*** IUnknown methods ***/
   2566 #define ID3D11Counter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2567 #define ID3D11Counter_AddRef(This) (This)->lpVtbl->AddRef(This)
   2568 #define ID3D11Counter_Release(This) (This)->lpVtbl->Release(This)
   2569 /*** ID3D11DeviceChild methods ***/
   2570 #define ID3D11Counter_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   2571 #define ID3D11Counter_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   2572 #define ID3D11Counter_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   2573 #define ID3D11Counter_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   2574 /*** ID3D11Asynchronous methods ***/
   2575 #define ID3D11Counter_GetDataSize(This) (This)->lpVtbl->GetDataSize(This)
   2576 /*** ID3D11Counter methods ***/
   2577 #define ID3D11Counter_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   2578 #else
   2579 /*** IUnknown methods ***/
   2580 static FORCEINLINE HRESULT ID3D11Counter_QueryInterface(ID3D11Counter* This,REFIID riid,void **ppvObject) {
   2581     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2582 }
   2583 static FORCEINLINE ULONG ID3D11Counter_AddRef(ID3D11Counter* This) {
   2584     return This->lpVtbl->AddRef(This);
   2585 }
   2586 static FORCEINLINE ULONG ID3D11Counter_Release(ID3D11Counter* This) {
   2587     return This->lpVtbl->Release(This);
   2588 }
   2589 /*** ID3D11DeviceChild methods ***/
   2590 static FORCEINLINE void ID3D11Counter_GetDevice(ID3D11Counter* This,ID3D11Device **ppDevice) {
   2591     This->lpVtbl->GetDevice(This,ppDevice);
   2592 }
   2593 static FORCEINLINE HRESULT ID3D11Counter_GetPrivateData(ID3D11Counter* This,REFGUID guid,UINT *pDataSize,void *pData) {
   2594     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   2595 }
   2596 static FORCEINLINE HRESULT ID3D11Counter_SetPrivateData(ID3D11Counter* This,REFGUID guid,UINT DataSize,const void *pData) {
   2597     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   2598 }
   2599 static FORCEINLINE HRESULT ID3D11Counter_SetPrivateDataInterface(ID3D11Counter* This,REFGUID guid,const IUnknown *pData) {
   2600     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   2601 }
   2602 /*** ID3D11Asynchronous methods ***/
   2603 static FORCEINLINE UINT ID3D11Counter_GetDataSize(ID3D11Counter* This) {
   2604     return This->lpVtbl->GetDataSize(This);
   2605 }
   2606 /*** ID3D11Counter methods ***/
   2607 static FORCEINLINE void ID3D11Counter_GetDesc(ID3D11Counter* This,D3D11_COUNTER_DESC *pDesc) {
   2608     This->lpVtbl->GetDesc(This,pDesc);
   2609 }
   2610 #endif
   2611 #endif
   2612 
   2613 #endif
   2614 
   2615 void STDMETHODCALLTYPE ID3D11Counter_GetDesc_Proxy(
   2616     ID3D11Counter* This,
   2617     D3D11_COUNTER_DESC *pDesc);
   2618 void __RPC_STUB ID3D11Counter_GetDesc_Stub(
   2619     IRpcStubBuffer* This,
   2620     IRpcChannelBuffer* pRpcChannelBuffer,
   2621     PRPC_MESSAGE pRpcMessage,
   2622     DWORD* pdwStubPhase);
   2623 
   2624 #endif  /* __ID3D11Counter_INTERFACE_DEFINED__ */
   2625 
   2626 /*****************************************************************************
   2627  * ID3D11DepthStencilState interface
   2628  */
   2629 #ifndef __ID3D11DepthStencilState_INTERFACE_DEFINED__
   2630 #define __ID3D11DepthStencilState_INTERFACE_DEFINED__
   2631 
   2632 DEFINE_GUID(IID_ID3D11DepthStencilState, 0x03823efb, 0x8d8f, 0x4e1c, 0x9a,0xa2, 0xf6,0x4b,0xb2,0xcb,0xfd,0xf1);
   2633 #if defined(__cplusplus) && !defined(CINTERFACE)
   2634 MIDL_INTERFACE("03823efb-8d8f-4e1c-9aa2-f64bb2cbfdf1")
   2635 ID3D11DepthStencilState : public ID3D11DeviceChild
   2636 {
   2637     virtual void STDMETHODCALLTYPE GetDesc(
   2638         D3D11_DEPTH_STENCIL_DESC *pDesc) = 0;
   2639 
   2640 };
   2641 #ifdef __CRT_UUID_DECL
   2642 __CRT_UUID_DECL(ID3D11DepthStencilState, 0x03823efb, 0x8d8f, 0x4e1c, 0x9a,0xa2, 0xf6,0x4b,0xb2,0xcb,0xfd,0xf1)
   2643 #endif
   2644 #else
   2645 typedef struct ID3D11DepthStencilStateVtbl {
   2646     BEGIN_INTERFACE
   2647 
   2648     /*** IUnknown methods ***/
   2649     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2650         ID3D11DepthStencilState* This,
   2651         REFIID riid,
   2652         void **ppvObject);
   2653 
   2654     ULONG (STDMETHODCALLTYPE *AddRef)(
   2655         ID3D11DepthStencilState* This);
   2656 
   2657     ULONG (STDMETHODCALLTYPE *Release)(
   2658         ID3D11DepthStencilState* This);
   2659 
   2660     /*** ID3D11DeviceChild methods ***/
   2661     void (STDMETHODCALLTYPE *GetDevice)(
   2662         ID3D11DepthStencilState* This,
   2663         ID3D11Device **ppDevice);
   2664 
   2665     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   2666         ID3D11DepthStencilState* This,
   2667         REFGUID guid,
   2668         UINT *pDataSize,
   2669         void *pData);
   2670 
   2671     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   2672         ID3D11DepthStencilState* This,
   2673         REFGUID guid,
   2674         UINT DataSize,
   2675         const void *pData);
   2676 
   2677     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   2678         ID3D11DepthStencilState* This,
   2679         REFGUID guid,
   2680         const IUnknown *pData);
   2681 
   2682     /*** ID3D11DepthStencilState methods ***/
   2683     void (STDMETHODCALLTYPE *GetDesc)(
   2684         ID3D11DepthStencilState* This,
   2685         D3D11_DEPTH_STENCIL_DESC *pDesc);
   2686 
   2687     END_INTERFACE
   2688 } ID3D11DepthStencilStateVtbl;
   2689 interface ID3D11DepthStencilState {
   2690     CONST_VTBL ID3D11DepthStencilStateVtbl* lpVtbl;
   2691 };
   2692 
   2693 #ifdef COBJMACROS
   2694 #ifndef WIDL_C_INLINE_WRAPPERS
   2695 /*** IUnknown methods ***/
   2696 #define ID3D11DepthStencilState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2697 #define ID3D11DepthStencilState_AddRef(This) (This)->lpVtbl->AddRef(This)
   2698 #define ID3D11DepthStencilState_Release(This) (This)->lpVtbl->Release(This)
   2699 /*** ID3D11DeviceChild methods ***/
   2700 #define ID3D11DepthStencilState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   2701 #define ID3D11DepthStencilState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   2702 #define ID3D11DepthStencilState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   2703 #define ID3D11DepthStencilState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   2704 /*** ID3D11DepthStencilState methods ***/
   2705 #define ID3D11DepthStencilState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   2706 #else
   2707 /*** IUnknown methods ***/
   2708 static FORCEINLINE HRESULT ID3D11DepthStencilState_QueryInterface(ID3D11DepthStencilState* This,REFIID riid,void **ppvObject) {
   2709     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2710 }
   2711 static FORCEINLINE ULONG ID3D11DepthStencilState_AddRef(ID3D11DepthStencilState* This) {
   2712     return This->lpVtbl->AddRef(This);
   2713 }
   2714 static FORCEINLINE ULONG ID3D11DepthStencilState_Release(ID3D11DepthStencilState* This) {
   2715     return This->lpVtbl->Release(This);
   2716 }
   2717 /*** ID3D11DeviceChild methods ***/
   2718 static FORCEINLINE void ID3D11DepthStencilState_GetDevice(ID3D11DepthStencilState* This,ID3D11Device **ppDevice) {
   2719     This->lpVtbl->GetDevice(This,ppDevice);
   2720 }
   2721 static FORCEINLINE HRESULT ID3D11DepthStencilState_GetPrivateData(ID3D11DepthStencilState* This,REFGUID guid,UINT *pDataSize,void *pData) {
   2722     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   2723 }
   2724 static FORCEINLINE HRESULT ID3D11DepthStencilState_SetPrivateData(ID3D11DepthStencilState* This,REFGUID guid,UINT DataSize,const void *pData) {
   2725     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   2726 }
   2727 static FORCEINLINE HRESULT ID3D11DepthStencilState_SetPrivateDataInterface(ID3D11DepthStencilState* This,REFGUID guid,const IUnknown *pData) {
   2728     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   2729 }
   2730 /*** ID3D11DepthStencilState methods ***/
   2731 static FORCEINLINE void ID3D11DepthStencilState_GetDesc(ID3D11DepthStencilState* This,D3D11_DEPTH_STENCIL_DESC *pDesc) {
   2732     This->lpVtbl->GetDesc(This,pDesc);
   2733 }
   2734 #endif
   2735 #endif
   2736 
   2737 #endif
   2738 
   2739 void STDMETHODCALLTYPE ID3D11DepthStencilState_GetDesc_Proxy(
   2740     ID3D11DepthStencilState* This,
   2741     D3D11_DEPTH_STENCIL_DESC *pDesc);
   2742 void __RPC_STUB ID3D11DepthStencilState_GetDesc_Stub(
   2743     IRpcStubBuffer* This,
   2744     IRpcChannelBuffer* pRpcChannelBuffer,
   2745     PRPC_MESSAGE pRpcMessage,
   2746     DWORD* pdwStubPhase);
   2747 
   2748 #endif  /* __ID3D11DepthStencilState_INTERFACE_DEFINED__ */
   2749 
   2750 /*****************************************************************************
   2751  * ID3D11DepthStencilView interface
   2752  */
   2753 #ifndef __ID3D11DepthStencilView_INTERFACE_DEFINED__
   2754 #define __ID3D11DepthStencilView_INTERFACE_DEFINED__
   2755 
   2756 DEFINE_GUID(IID_ID3D11DepthStencilView, 0x9fdac92a, 0x1876, 0x48c3, 0xaf,0xad, 0x25,0xb9,0x4f,0x84,0xa9,0xb6);
   2757 #if defined(__cplusplus) && !defined(CINTERFACE)
   2758 MIDL_INTERFACE("9fdac92a-1876-48c3-afad-25b94f84a9b6")
   2759 ID3D11DepthStencilView : public ID3D11View
   2760 {
   2761     virtual void STDMETHODCALLTYPE GetDesc(
   2762         D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc) = 0;
   2763 
   2764 };
   2765 #ifdef __CRT_UUID_DECL
   2766 __CRT_UUID_DECL(ID3D11DepthStencilView, 0x9fdac92a, 0x1876, 0x48c3, 0xaf,0xad, 0x25,0xb9,0x4f,0x84,0xa9,0xb6)
   2767 #endif
   2768 #else
   2769 typedef struct ID3D11DepthStencilViewVtbl {
   2770     BEGIN_INTERFACE
   2771 
   2772     /*** IUnknown methods ***/
   2773     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2774         ID3D11DepthStencilView* This,
   2775         REFIID riid,
   2776         void **ppvObject);
   2777 
   2778     ULONG (STDMETHODCALLTYPE *AddRef)(
   2779         ID3D11DepthStencilView* This);
   2780 
   2781     ULONG (STDMETHODCALLTYPE *Release)(
   2782         ID3D11DepthStencilView* This);
   2783 
   2784     /*** ID3D11DeviceChild methods ***/
   2785     void (STDMETHODCALLTYPE *GetDevice)(
   2786         ID3D11DepthStencilView* This,
   2787         ID3D11Device **ppDevice);
   2788 
   2789     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   2790         ID3D11DepthStencilView* This,
   2791         REFGUID guid,
   2792         UINT *pDataSize,
   2793         void *pData);
   2794 
   2795     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   2796         ID3D11DepthStencilView* This,
   2797         REFGUID guid,
   2798         UINT DataSize,
   2799         const void *pData);
   2800 
   2801     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   2802         ID3D11DepthStencilView* This,
   2803         REFGUID guid,
   2804         const IUnknown *pData);
   2805 
   2806     /*** ID3D11View methods ***/
   2807     void (STDMETHODCALLTYPE *GetResource)(
   2808         ID3D11DepthStencilView* This,
   2809         ID3D11Resource **ppResource);
   2810 
   2811     /*** ID3D11DepthStencilView methods ***/
   2812     void (STDMETHODCALLTYPE *GetDesc)(
   2813         ID3D11DepthStencilView* This,
   2814         D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc);
   2815 
   2816     END_INTERFACE
   2817 } ID3D11DepthStencilViewVtbl;
   2818 interface ID3D11DepthStencilView {
   2819     CONST_VTBL ID3D11DepthStencilViewVtbl* lpVtbl;
   2820 };
   2821 
   2822 #ifdef COBJMACROS
   2823 #ifndef WIDL_C_INLINE_WRAPPERS
   2824 /*** IUnknown methods ***/
   2825 #define ID3D11DepthStencilView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2826 #define ID3D11DepthStencilView_AddRef(This) (This)->lpVtbl->AddRef(This)
   2827 #define ID3D11DepthStencilView_Release(This) (This)->lpVtbl->Release(This)
   2828 /*** ID3D11DeviceChild methods ***/
   2829 #define ID3D11DepthStencilView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   2830 #define ID3D11DepthStencilView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   2831 #define ID3D11DepthStencilView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   2832 #define ID3D11DepthStencilView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   2833 /*** ID3D11View methods ***/
   2834 #define ID3D11DepthStencilView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
   2835 /*** ID3D11DepthStencilView methods ***/
   2836 #define ID3D11DepthStencilView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   2837 #else
   2838 /*** IUnknown methods ***/
   2839 static FORCEINLINE HRESULT ID3D11DepthStencilView_QueryInterface(ID3D11DepthStencilView* This,REFIID riid,void **ppvObject) {
   2840     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2841 }
   2842 static FORCEINLINE ULONG ID3D11DepthStencilView_AddRef(ID3D11DepthStencilView* This) {
   2843     return This->lpVtbl->AddRef(This);
   2844 }
   2845 static FORCEINLINE ULONG ID3D11DepthStencilView_Release(ID3D11DepthStencilView* This) {
   2846     return This->lpVtbl->Release(This);
   2847 }
   2848 /*** ID3D11DeviceChild methods ***/
   2849 static FORCEINLINE void ID3D11DepthStencilView_GetDevice(ID3D11DepthStencilView* This,ID3D11Device **ppDevice) {
   2850     This->lpVtbl->GetDevice(This,ppDevice);
   2851 }
   2852 static FORCEINLINE HRESULT ID3D11DepthStencilView_GetPrivateData(ID3D11DepthStencilView* This,REFGUID guid,UINT *pDataSize,void *pData) {
   2853     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   2854 }
   2855 static FORCEINLINE HRESULT ID3D11DepthStencilView_SetPrivateData(ID3D11DepthStencilView* This,REFGUID guid,UINT DataSize,const void *pData) {
   2856     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   2857 }
   2858 static FORCEINLINE HRESULT ID3D11DepthStencilView_SetPrivateDataInterface(ID3D11DepthStencilView* This,REFGUID guid,const IUnknown *pData) {
   2859     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   2860 }
   2861 /*** ID3D11View methods ***/
   2862 static FORCEINLINE void ID3D11DepthStencilView_GetResource(ID3D11DepthStencilView* This,ID3D11Resource **ppResource) {
   2863     This->lpVtbl->GetResource(This,ppResource);
   2864 }
   2865 /*** ID3D11DepthStencilView methods ***/
   2866 static FORCEINLINE void ID3D11DepthStencilView_GetDesc(ID3D11DepthStencilView* This,D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc) {
   2867     This->lpVtbl->GetDesc(This,pDesc);
   2868 }
   2869 #endif
   2870 #endif
   2871 
   2872 #endif
   2873 
   2874 void STDMETHODCALLTYPE ID3D11DepthStencilView_GetDesc_Proxy(
   2875     ID3D11DepthStencilView* This,
   2876     D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc);
   2877 void __RPC_STUB ID3D11DepthStencilView_GetDesc_Stub(
   2878     IRpcStubBuffer* This,
   2879     IRpcChannelBuffer* pRpcChannelBuffer,
   2880     PRPC_MESSAGE pRpcMessage,
   2881     DWORD* pdwStubPhase);
   2882 
   2883 #endif  /* __ID3D11DepthStencilView_INTERFACE_DEFINED__ */
   2884 
   2885 /*****************************************************************************
   2886  * ID3D11DomainShader interface
   2887  */
   2888 #ifndef __ID3D11DomainShader_INTERFACE_DEFINED__
   2889 #define __ID3D11DomainShader_INTERFACE_DEFINED__
   2890 
   2891 DEFINE_GUID(IID_ID3D11DomainShader, 0xf582c508, 0x0f36, 0x490c, 0x99,0x77, 0x31,0xee,0xce,0x26,0x8c,0xfa);
   2892 #if defined(__cplusplus) && !defined(CINTERFACE)
   2893 MIDL_INTERFACE("f582c508-0f36-490c-9977-31eece268cfa")
   2894 ID3D11DomainShader : public ID3D11DeviceChild
   2895 {
   2896 };
   2897 #ifdef __CRT_UUID_DECL
   2898 __CRT_UUID_DECL(ID3D11DomainShader, 0xf582c508, 0x0f36, 0x490c, 0x99,0x77, 0x31,0xee,0xce,0x26,0x8c,0xfa)
   2899 #endif
   2900 #else
   2901 typedef struct ID3D11DomainShaderVtbl {
   2902     BEGIN_INTERFACE
   2903 
   2904     /*** IUnknown methods ***/
   2905     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2906         ID3D11DomainShader* This,
   2907         REFIID riid,
   2908         void **ppvObject);
   2909 
   2910     ULONG (STDMETHODCALLTYPE *AddRef)(
   2911         ID3D11DomainShader* This);
   2912 
   2913     ULONG (STDMETHODCALLTYPE *Release)(
   2914         ID3D11DomainShader* This);
   2915 
   2916     /*** ID3D11DeviceChild methods ***/
   2917     void (STDMETHODCALLTYPE *GetDevice)(
   2918         ID3D11DomainShader* This,
   2919         ID3D11Device **ppDevice);
   2920 
   2921     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   2922         ID3D11DomainShader* This,
   2923         REFGUID guid,
   2924         UINT *pDataSize,
   2925         void *pData);
   2926 
   2927     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   2928         ID3D11DomainShader* This,
   2929         REFGUID guid,
   2930         UINT DataSize,
   2931         const void *pData);
   2932 
   2933     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   2934         ID3D11DomainShader* This,
   2935         REFGUID guid,
   2936         const IUnknown *pData);
   2937 
   2938     END_INTERFACE
   2939 } ID3D11DomainShaderVtbl;
   2940 interface ID3D11DomainShader {
   2941     CONST_VTBL ID3D11DomainShaderVtbl* lpVtbl;
   2942 };
   2943 
   2944 #ifdef COBJMACROS
   2945 #ifndef WIDL_C_INLINE_WRAPPERS
   2946 /*** IUnknown methods ***/
   2947 #define ID3D11DomainShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2948 #define ID3D11DomainShader_AddRef(This) (This)->lpVtbl->AddRef(This)
   2949 #define ID3D11DomainShader_Release(This) (This)->lpVtbl->Release(This)
   2950 /*** ID3D11DeviceChild methods ***/
   2951 #define ID3D11DomainShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   2952 #define ID3D11DomainShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   2953 #define ID3D11DomainShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   2954 #define ID3D11DomainShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   2955 #else
   2956 /*** IUnknown methods ***/
   2957 static FORCEINLINE HRESULT ID3D11DomainShader_QueryInterface(ID3D11DomainShader* This,REFIID riid,void **ppvObject) {
   2958     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2959 }
   2960 static FORCEINLINE ULONG ID3D11DomainShader_AddRef(ID3D11DomainShader* This) {
   2961     return This->lpVtbl->AddRef(This);
   2962 }
   2963 static FORCEINLINE ULONG ID3D11DomainShader_Release(ID3D11DomainShader* This) {
   2964     return This->lpVtbl->Release(This);
   2965 }
   2966 /*** ID3D11DeviceChild methods ***/
   2967 static FORCEINLINE void ID3D11DomainShader_GetDevice(ID3D11DomainShader* This,ID3D11Device **ppDevice) {
   2968     This->lpVtbl->GetDevice(This,ppDevice);
   2969 }
   2970 static FORCEINLINE HRESULT ID3D11DomainShader_GetPrivateData(ID3D11DomainShader* This,REFGUID guid,UINT *pDataSize,void *pData) {
   2971     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   2972 }
   2973 static FORCEINLINE HRESULT ID3D11DomainShader_SetPrivateData(ID3D11DomainShader* This,REFGUID guid,UINT DataSize,const void *pData) {
   2974     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   2975 }
   2976 static FORCEINLINE HRESULT ID3D11DomainShader_SetPrivateDataInterface(ID3D11DomainShader* This,REFGUID guid,const IUnknown *pData) {
   2977     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   2978 }
   2979 #endif
   2980 #endif
   2981 
   2982 #endif
   2983 
   2984 
   2985 #endif  /* __ID3D11DomainShader_INTERFACE_DEFINED__ */
   2986 
   2987 /*****************************************************************************
   2988  * ID3D11GeometryShader interface
   2989  */
   2990 #ifndef __ID3D11GeometryShader_INTERFACE_DEFINED__
   2991 #define __ID3D11GeometryShader_INTERFACE_DEFINED__
   2992 
   2993 DEFINE_GUID(IID_ID3D11GeometryShader, 0x38325b96, 0xeffb, 0x4022, 0xba,0x02, 0x2e,0x79,0x5b,0x70,0x27,0x5c);
   2994 #if defined(__cplusplus) && !defined(CINTERFACE)
   2995 MIDL_INTERFACE("38325b96-effb-4022-ba02-2e795b70275c")
   2996 ID3D11GeometryShader : public ID3D11DeviceChild
   2997 {
   2998 };
   2999 #ifdef __CRT_UUID_DECL
   3000 __CRT_UUID_DECL(ID3D11GeometryShader, 0x38325b96, 0xeffb, 0x4022, 0xba,0x02, 0x2e,0x79,0x5b,0x70,0x27,0x5c)
   3001 #endif
   3002 #else
   3003 typedef struct ID3D11GeometryShaderVtbl {
   3004     BEGIN_INTERFACE
   3005 
   3006     /*** IUnknown methods ***/
   3007     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3008         ID3D11GeometryShader* This,
   3009         REFIID riid,
   3010         void **ppvObject);
   3011 
   3012     ULONG (STDMETHODCALLTYPE *AddRef)(
   3013         ID3D11GeometryShader* This);
   3014 
   3015     ULONG (STDMETHODCALLTYPE *Release)(
   3016         ID3D11GeometryShader* This);
   3017 
   3018     /*** ID3D11DeviceChild methods ***/
   3019     void (STDMETHODCALLTYPE *GetDevice)(
   3020         ID3D11GeometryShader* This,
   3021         ID3D11Device **ppDevice);
   3022 
   3023     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   3024         ID3D11GeometryShader* This,
   3025         REFGUID guid,
   3026         UINT *pDataSize,
   3027         void *pData);
   3028 
   3029     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   3030         ID3D11GeometryShader* This,
   3031         REFGUID guid,
   3032         UINT DataSize,
   3033         const void *pData);
   3034 
   3035     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   3036         ID3D11GeometryShader* This,
   3037         REFGUID guid,
   3038         const IUnknown *pData);
   3039 
   3040     END_INTERFACE
   3041 } ID3D11GeometryShaderVtbl;
   3042 interface ID3D11GeometryShader {
   3043     CONST_VTBL ID3D11GeometryShaderVtbl* lpVtbl;
   3044 };
   3045 
   3046 #ifdef COBJMACROS
   3047 #ifndef WIDL_C_INLINE_WRAPPERS
   3048 /*** IUnknown methods ***/
   3049 #define ID3D11GeometryShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3050 #define ID3D11GeometryShader_AddRef(This) (This)->lpVtbl->AddRef(This)
   3051 #define ID3D11GeometryShader_Release(This) (This)->lpVtbl->Release(This)
   3052 /*** ID3D11DeviceChild methods ***/
   3053 #define ID3D11GeometryShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   3054 #define ID3D11GeometryShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   3055 #define ID3D11GeometryShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   3056 #define ID3D11GeometryShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   3057 #else
   3058 /*** IUnknown methods ***/
   3059 static FORCEINLINE HRESULT ID3D11GeometryShader_QueryInterface(ID3D11GeometryShader* This,REFIID riid,void **ppvObject) {
   3060     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3061 }
   3062 static FORCEINLINE ULONG ID3D11GeometryShader_AddRef(ID3D11GeometryShader* This) {
   3063     return This->lpVtbl->AddRef(This);
   3064 }
   3065 static FORCEINLINE ULONG ID3D11GeometryShader_Release(ID3D11GeometryShader* This) {
   3066     return This->lpVtbl->Release(This);
   3067 }
   3068 /*** ID3D11DeviceChild methods ***/
   3069 static FORCEINLINE void ID3D11GeometryShader_GetDevice(ID3D11GeometryShader* This,ID3D11Device **ppDevice) {
   3070     This->lpVtbl->GetDevice(This,ppDevice);
   3071 }
   3072 static FORCEINLINE HRESULT ID3D11GeometryShader_GetPrivateData(ID3D11GeometryShader* This,REFGUID guid,UINT *pDataSize,void *pData) {
   3073     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   3074 }
   3075 static FORCEINLINE HRESULT ID3D11GeometryShader_SetPrivateData(ID3D11GeometryShader* This,REFGUID guid,UINT DataSize,const void *pData) {
   3076     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   3077 }
   3078 static FORCEINLINE HRESULT ID3D11GeometryShader_SetPrivateDataInterface(ID3D11GeometryShader* This,REFGUID guid,const IUnknown *pData) {
   3079     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   3080 }
   3081 #endif
   3082 #endif
   3083 
   3084 #endif
   3085 
   3086 
   3087 #endif  /* __ID3D11GeometryShader_INTERFACE_DEFINED__ */
   3088 
   3089 /*****************************************************************************
   3090  * ID3D11HullShader interface
   3091  */
   3092 #ifndef __ID3D11HullShader_INTERFACE_DEFINED__
   3093 #define __ID3D11HullShader_INTERFACE_DEFINED__
   3094 
   3095 DEFINE_GUID(IID_ID3D11HullShader, 0x8e5c6061, 0x628a, 0x4c8e, 0x82,0x64, 0xbb,0xe4,0x5c,0xb3,0xd5,0xdd);
   3096 #if defined(__cplusplus) && !defined(CINTERFACE)
   3097 MIDL_INTERFACE("8e5c6061-628a-4c8e-8264-bbe45cb3d5dd")
   3098 ID3D11HullShader : public ID3D11DeviceChild
   3099 {
   3100 };
   3101 #ifdef __CRT_UUID_DECL
   3102 __CRT_UUID_DECL(ID3D11HullShader, 0x8e5c6061, 0x628a, 0x4c8e, 0x82,0x64, 0xbb,0xe4,0x5c,0xb3,0xd5,0xdd)
   3103 #endif
   3104 #else
   3105 typedef struct ID3D11HullShaderVtbl {
   3106     BEGIN_INTERFACE
   3107 
   3108     /*** IUnknown methods ***/
   3109     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3110         ID3D11HullShader* This,
   3111         REFIID riid,
   3112         void **ppvObject);
   3113 
   3114     ULONG (STDMETHODCALLTYPE *AddRef)(
   3115         ID3D11HullShader* This);
   3116 
   3117     ULONG (STDMETHODCALLTYPE *Release)(
   3118         ID3D11HullShader* This);
   3119 
   3120     /*** ID3D11DeviceChild methods ***/
   3121     void (STDMETHODCALLTYPE *GetDevice)(
   3122         ID3D11HullShader* This,
   3123         ID3D11Device **ppDevice);
   3124 
   3125     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   3126         ID3D11HullShader* This,
   3127         REFGUID guid,
   3128         UINT *pDataSize,
   3129         void *pData);
   3130 
   3131     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   3132         ID3D11HullShader* This,
   3133         REFGUID guid,
   3134         UINT DataSize,
   3135         const void *pData);
   3136 
   3137     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   3138         ID3D11HullShader* This,
   3139         REFGUID guid,
   3140         const IUnknown *pData);
   3141 
   3142     END_INTERFACE
   3143 } ID3D11HullShaderVtbl;
   3144 interface ID3D11HullShader {
   3145     CONST_VTBL ID3D11HullShaderVtbl* lpVtbl;
   3146 };
   3147 
   3148 #ifdef COBJMACROS
   3149 #ifndef WIDL_C_INLINE_WRAPPERS
   3150 /*** IUnknown methods ***/
   3151 #define ID3D11HullShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3152 #define ID3D11HullShader_AddRef(This) (This)->lpVtbl->AddRef(This)
   3153 #define ID3D11HullShader_Release(This) (This)->lpVtbl->Release(This)
   3154 /*** ID3D11DeviceChild methods ***/
   3155 #define ID3D11HullShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   3156 #define ID3D11HullShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   3157 #define ID3D11HullShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   3158 #define ID3D11HullShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   3159 #else
   3160 /*** IUnknown methods ***/
   3161 static FORCEINLINE HRESULT ID3D11HullShader_QueryInterface(ID3D11HullShader* This,REFIID riid,void **ppvObject) {
   3162     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3163 }
   3164 static FORCEINLINE ULONG ID3D11HullShader_AddRef(ID3D11HullShader* This) {
   3165     return This->lpVtbl->AddRef(This);
   3166 }
   3167 static FORCEINLINE ULONG ID3D11HullShader_Release(ID3D11HullShader* This) {
   3168     return This->lpVtbl->Release(This);
   3169 }
   3170 /*** ID3D11DeviceChild methods ***/
   3171 static FORCEINLINE void ID3D11HullShader_GetDevice(ID3D11HullShader* This,ID3D11Device **ppDevice) {
   3172     This->lpVtbl->GetDevice(This,ppDevice);
   3173 }
   3174 static FORCEINLINE HRESULT ID3D11HullShader_GetPrivateData(ID3D11HullShader* This,REFGUID guid,UINT *pDataSize,void *pData) {
   3175     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   3176 }
   3177 static FORCEINLINE HRESULT ID3D11HullShader_SetPrivateData(ID3D11HullShader* This,REFGUID guid,UINT DataSize,const void *pData) {
   3178     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   3179 }
   3180 static FORCEINLINE HRESULT ID3D11HullShader_SetPrivateDataInterface(ID3D11HullShader* This,REFGUID guid,const IUnknown *pData) {
   3181     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   3182 }
   3183 #endif
   3184 #endif
   3185 
   3186 #endif
   3187 
   3188 
   3189 #endif  /* __ID3D11HullShader_INTERFACE_DEFINED__ */
   3190 
   3191 /*****************************************************************************
   3192  * ID3D11InputLayout interface
   3193  */
   3194 #ifndef __ID3D11InputLayout_INTERFACE_DEFINED__
   3195 #define __ID3D11InputLayout_INTERFACE_DEFINED__
   3196 
   3197 DEFINE_GUID(IID_ID3D11InputLayout, 0xe4819ddc, 0x4cf0, 0x4025, 0xbd,0x26, 0x5d,0xe8,0x2a,0x3e,0x07,0xb7);
   3198 #if defined(__cplusplus) && !defined(CINTERFACE)
   3199 MIDL_INTERFACE("e4819ddc-4cf0-4025-bd26-5de82a3e07b7")
   3200 ID3D11InputLayout : public ID3D11DeviceChild
   3201 {
   3202 };
   3203 #ifdef __CRT_UUID_DECL
   3204 __CRT_UUID_DECL(ID3D11InputLayout, 0xe4819ddc, 0x4cf0, 0x4025, 0xbd,0x26, 0x5d,0xe8,0x2a,0x3e,0x07,0xb7)
   3205 #endif
   3206 #else
   3207 typedef struct ID3D11InputLayoutVtbl {
   3208     BEGIN_INTERFACE
   3209 
   3210     /*** IUnknown methods ***/
   3211     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3212         ID3D11InputLayout* This,
   3213         REFIID riid,
   3214         void **ppvObject);
   3215 
   3216     ULONG (STDMETHODCALLTYPE *AddRef)(
   3217         ID3D11InputLayout* This);
   3218 
   3219     ULONG (STDMETHODCALLTYPE *Release)(
   3220         ID3D11InputLayout* This);
   3221 
   3222     /*** ID3D11DeviceChild methods ***/
   3223     void (STDMETHODCALLTYPE *GetDevice)(
   3224         ID3D11InputLayout* This,
   3225         ID3D11Device **ppDevice);
   3226 
   3227     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   3228         ID3D11InputLayout* This,
   3229         REFGUID guid,
   3230         UINT *pDataSize,
   3231         void *pData);
   3232 
   3233     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   3234         ID3D11InputLayout* This,
   3235         REFGUID guid,
   3236         UINT DataSize,
   3237         const void *pData);
   3238 
   3239     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   3240         ID3D11InputLayout* This,
   3241         REFGUID guid,
   3242         const IUnknown *pData);
   3243 
   3244     END_INTERFACE
   3245 } ID3D11InputLayoutVtbl;
   3246 interface ID3D11InputLayout {
   3247     CONST_VTBL ID3D11InputLayoutVtbl* lpVtbl;
   3248 };
   3249 
   3250 #ifdef COBJMACROS
   3251 #ifndef WIDL_C_INLINE_WRAPPERS
   3252 /*** IUnknown methods ***/
   3253 #define ID3D11InputLayout_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3254 #define ID3D11InputLayout_AddRef(This) (This)->lpVtbl->AddRef(This)
   3255 #define ID3D11InputLayout_Release(This) (This)->lpVtbl->Release(This)
   3256 /*** ID3D11DeviceChild methods ***/
   3257 #define ID3D11InputLayout_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   3258 #define ID3D11InputLayout_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   3259 #define ID3D11InputLayout_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   3260 #define ID3D11InputLayout_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   3261 #else
   3262 /*** IUnknown methods ***/
   3263 static FORCEINLINE HRESULT ID3D11InputLayout_QueryInterface(ID3D11InputLayout* This,REFIID riid,void **ppvObject) {
   3264     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3265 }
   3266 static FORCEINLINE ULONG ID3D11InputLayout_AddRef(ID3D11InputLayout* This) {
   3267     return This->lpVtbl->AddRef(This);
   3268 }
   3269 static FORCEINLINE ULONG ID3D11InputLayout_Release(ID3D11InputLayout* This) {
   3270     return This->lpVtbl->Release(This);
   3271 }
   3272 /*** ID3D11DeviceChild methods ***/
   3273 static FORCEINLINE void ID3D11InputLayout_GetDevice(ID3D11InputLayout* This,ID3D11Device **ppDevice) {
   3274     This->lpVtbl->GetDevice(This,ppDevice);
   3275 }
   3276 static FORCEINLINE HRESULT ID3D11InputLayout_GetPrivateData(ID3D11InputLayout* This,REFGUID guid,UINT *pDataSize,void *pData) {
   3277     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   3278 }
   3279 static FORCEINLINE HRESULT ID3D11InputLayout_SetPrivateData(ID3D11InputLayout* This,REFGUID guid,UINT DataSize,const void *pData) {
   3280     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   3281 }
   3282 static FORCEINLINE HRESULT ID3D11InputLayout_SetPrivateDataInterface(ID3D11InputLayout* This,REFGUID guid,const IUnknown *pData) {
   3283     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   3284 }
   3285 #endif
   3286 #endif
   3287 
   3288 #endif
   3289 
   3290 
   3291 #endif  /* __ID3D11InputLayout_INTERFACE_DEFINED__ */
   3292 
   3293 /*****************************************************************************
   3294  * ID3D11PixelShader interface
   3295  */
   3296 #ifndef __ID3D11PixelShader_INTERFACE_DEFINED__
   3297 #define __ID3D11PixelShader_INTERFACE_DEFINED__
   3298 
   3299 DEFINE_GUID(IID_ID3D11PixelShader, 0xea82e40d, 0x51dc, 0x4f33, 0x93,0xd4, 0xdb,0x7c,0x91,0x25,0xae,0x8c);
   3300 #if defined(__cplusplus) && !defined(CINTERFACE)
   3301 MIDL_INTERFACE("ea82e40d-51dc-4f33-93d4-db7c9125ae8c")
   3302 ID3D11PixelShader : public ID3D11DeviceChild
   3303 {
   3304 };
   3305 #ifdef __CRT_UUID_DECL
   3306 __CRT_UUID_DECL(ID3D11PixelShader, 0xea82e40d, 0x51dc, 0x4f33, 0x93,0xd4, 0xdb,0x7c,0x91,0x25,0xae,0x8c)
   3307 #endif
   3308 #else
   3309 typedef struct ID3D11PixelShaderVtbl {
   3310     BEGIN_INTERFACE
   3311 
   3312     /*** IUnknown methods ***/
   3313     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3314         ID3D11PixelShader* This,
   3315         REFIID riid,
   3316         void **ppvObject);
   3317 
   3318     ULONG (STDMETHODCALLTYPE *AddRef)(
   3319         ID3D11PixelShader* This);
   3320 
   3321     ULONG (STDMETHODCALLTYPE *Release)(
   3322         ID3D11PixelShader* This);
   3323 
   3324     /*** ID3D11DeviceChild methods ***/
   3325     void (STDMETHODCALLTYPE *GetDevice)(
   3326         ID3D11PixelShader* This,
   3327         ID3D11Device **ppDevice);
   3328 
   3329     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   3330         ID3D11PixelShader* This,
   3331         REFGUID guid,
   3332         UINT *pDataSize,
   3333         void *pData);
   3334 
   3335     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   3336         ID3D11PixelShader* This,
   3337         REFGUID guid,
   3338         UINT DataSize,
   3339         const void *pData);
   3340 
   3341     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   3342         ID3D11PixelShader* This,
   3343         REFGUID guid,
   3344         const IUnknown *pData);
   3345 
   3346     END_INTERFACE
   3347 } ID3D11PixelShaderVtbl;
   3348 interface ID3D11PixelShader {
   3349     CONST_VTBL ID3D11PixelShaderVtbl* lpVtbl;
   3350 };
   3351 
   3352 #ifdef COBJMACROS
   3353 #ifndef WIDL_C_INLINE_WRAPPERS
   3354 /*** IUnknown methods ***/
   3355 #define ID3D11PixelShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3356 #define ID3D11PixelShader_AddRef(This) (This)->lpVtbl->AddRef(This)
   3357 #define ID3D11PixelShader_Release(This) (This)->lpVtbl->Release(This)
   3358 /*** ID3D11DeviceChild methods ***/
   3359 #define ID3D11PixelShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   3360 #define ID3D11PixelShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   3361 #define ID3D11PixelShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   3362 #define ID3D11PixelShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   3363 #else
   3364 /*** IUnknown methods ***/
   3365 static FORCEINLINE HRESULT ID3D11PixelShader_QueryInterface(ID3D11PixelShader* This,REFIID riid,void **ppvObject) {
   3366     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3367 }
   3368 static FORCEINLINE ULONG ID3D11PixelShader_AddRef(ID3D11PixelShader* This) {
   3369     return This->lpVtbl->AddRef(This);
   3370 }
   3371 static FORCEINLINE ULONG ID3D11PixelShader_Release(ID3D11PixelShader* This) {
   3372     return This->lpVtbl->Release(This);
   3373 }
   3374 /*** ID3D11DeviceChild methods ***/
   3375 static FORCEINLINE void ID3D11PixelShader_GetDevice(ID3D11PixelShader* This,ID3D11Device **ppDevice) {
   3376     This->lpVtbl->GetDevice(This,ppDevice);
   3377 }
   3378 static FORCEINLINE HRESULT ID3D11PixelShader_GetPrivateData(ID3D11PixelShader* This,REFGUID guid,UINT *pDataSize,void *pData) {
   3379     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   3380 }
   3381 static FORCEINLINE HRESULT ID3D11PixelShader_SetPrivateData(ID3D11PixelShader* This,REFGUID guid,UINT DataSize,const void *pData) {
   3382     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   3383 }
   3384 static FORCEINLINE HRESULT ID3D11PixelShader_SetPrivateDataInterface(ID3D11PixelShader* This,REFGUID guid,const IUnknown *pData) {
   3385     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   3386 }
   3387 #endif
   3388 #endif
   3389 
   3390 #endif
   3391 
   3392 
   3393 #endif  /* __ID3D11PixelShader_INTERFACE_DEFINED__ */
   3394 
   3395 /*****************************************************************************
   3396  * ID3D11Predicate interface
   3397  */
   3398 #ifndef __ID3D11Predicate_INTERFACE_DEFINED__
   3399 #define __ID3D11Predicate_INTERFACE_DEFINED__
   3400 
   3401 DEFINE_GUID(IID_ID3D11Predicate, 0x9eb576dd, 0x9f77, 0x4d86, 0x81,0xaa, 0x8b,0xab,0x5f,0xe4,0x90,0xe2);
   3402 #if defined(__cplusplus) && !defined(CINTERFACE)
   3403 MIDL_INTERFACE("9eb576dd-9f77-4d86-81aa-8bab5fe490e2")
   3404 ID3D11Predicate : public ID3D11Query
   3405 {
   3406 };
   3407 #ifdef __CRT_UUID_DECL
   3408 __CRT_UUID_DECL(ID3D11Predicate, 0x9eb576dd, 0x9f77, 0x4d86, 0x81,0xaa, 0x8b,0xab,0x5f,0xe4,0x90,0xe2)
   3409 #endif
   3410 #else
   3411 typedef struct ID3D11PredicateVtbl {
   3412     BEGIN_INTERFACE
   3413 
   3414     /*** IUnknown methods ***/
   3415     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3416         ID3D11Predicate* This,
   3417         REFIID riid,
   3418         void **ppvObject);
   3419 
   3420     ULONG (STDMETHODCALLTYPE *AddRef)(
   3421         ID3D11Predicate* This);
   3422 
   3423     ULONG (STDMETHODCALLTYPE *Release)(
   3424         ID3D11Predicate* This);
   3425 
   3426     /*** ID3D11DeviceChild methods ***/
   3427     void (STDMETHODCALLTYPE *GetDevice)(
   3428         ID3D11Predicate* This,
   3429         ID3D11Device **ppDevice);
   3430 
   3431     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   3432         ID3D11Predicate* This,
   3433         REFGUID guid,
   3434         UINT *pDataSize,
   3435         void *pData);
   3436 
   3437     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   3438         ID3D11Predicate* This,
   3439         REFGUID guid,
   3440         UINT DataSize,
   3441         const void *pData);
   3442 
   3443     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   3444         ID3D11Predicate* This,
   3445         REFGUID guid,
   3446         const IUnknown *pData);
   3447 
   3448     /*** ID3D11Asynchronous methods ***/
   3449     UINT (STDMETHODCALLTYPE *GetDataSize)(
   3450         ID3D11Predicate* This);
   3451 
   3452     /*** ID3D11Query methods ***/
   3453     void (STDMETHODCALLTYPE *GetDesc)(
   3454         ID3D11Predicate* This,
   3455         D3D11_QUERY_DESC *pDesc);
   3456 
   3457     END_INTERFACE
   3458 } ID3D11PredicateVtbl;
   3459 interface ID3D11Predicate {
   3460     CONST_VTBL ID3D11PredicateVtbl* lpVtbl;
   3461 };
   3462 
   3463 #ifdef COBJMACROS
   3464 #ifndef WIDL_C_INLINE_WRAPPERS
   3465 /*** IUnknown methods ***/
   3466 #define ID3D11Predicate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3467 #define ID3D11Predicate_AddRef(This) (This)->lpVtbl->AddRef(This)
   3468 #define ID3D11Predicate_Release(This) (This)->lpVtbl->Release(This)
   3469 /*** ID3D11DeviceChild methods ***/
   3470 #define ID3D11Predicate_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   3471 #define ID3D11Predicate_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   3472 #define ID3D11Predicate_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   3473 #define ID3D11Predicate_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   3474 /*** ID3D11Asynchronous methods ***/
   3475 #define ID3D11Predicate_GetDataSize(This) (This)->lpVtbl->GetDataSize(This)
   3476 /*** ID3D11Query methods ***/
   3477 #define ID3D11Predicate_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   3478 #else
   3479 /*** IUnknown methods ***/
   3480 static FORCEINLINE HRESULT ID3D11Predicate_QueryInterface(ID3D11Predicate* This,REFIID riid,void **ppvObject) {
   3481     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3482 }
   3483 static FORCEINLINE ULONG ID3D11Predicate_AddRef(ID3D11Predicate* This) {
   3484     return This->lpVtbl->AddRef(This);
   3485 }
   3486 static FORCEINLINE ULONG ID3D11Predicate_Release(ID3D11Predicate* This) {
   3487     return This->lpVtbl->Release(This);
   3488 }
   3489 /*** ID3D11DeviceChild methods ***/
   3490 static FORCEINLINE void ID3D11Predicate_GetDevice(ID3D11Predicate* This,ID3D11Device **ppDevice) {
   3491     This->lpVtbl->GetDevice(This,ppDevice);
   3492 }
   3493 static FORCEINLINE HRESULT ID3D11Predicate_GetPrivateData(ID3D11Predicate* This,REFGUID guid,UINT *pDataSize,void *pData) {
   3494     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   3495 }
   3496 static FORCEINLINE HRESULT ID3D11Predicate_SetPrivateData(ID3D11Predicate* This,REFGUID guid,UINT DataSize,const void *pData) {
   3497     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   3498 }
   3499 static FORCEINLINE HRESULT ID3D11Predicate_SetPrivateDataInterface(ID3D11Predicate* This,REFGUID guid,const IUnknown *pData) {
   3500     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   3501 }
   3502 /*** ID3D11Asynchronous methods ***/
   3503 static FORCEINLINE UINT ID3D11Predicate_GetDataSize(ID3D11Predicate* This) {
   3504     return This->lpVtbl->GetDataSize(This);
   3505 }
   3506 /*** ID3D11Query methods ***/
   3507 static FORCEINLINE void ID3D11Predicate_GetDesc(ID3D11Predicate* This,D3D11_QUERY_DESC *pDesc) {
   3508     This->lpVtbl->GetDesc(This,pDesc);
   3509 }
   3510 #endif
   3511 #endif
   3512 
   3513 #endif
   3514 
   3515 
   3516 #endif  /* __ID3D11Predicate_INTERFACE_DEFINED__ */
   3517 
   3518 /*****************************************************************************
   3519  * ID3D11RasterizerState interface
   3520  */
   3521 #ifndef __ID3D11RasterizerState_INTERFACE_DEFINED__
   3522 #define __ID3D11RasterizerState_INTERFACE_DEFINED__
   3523 
   3524 DEFINE_GUID(IID_ID3D11RasterizerState, 0x9bb4ab81, 0xab1a, 0x4d8f, 0xb5,0x06, 0xfc,0x04,0x20,0x0b,0x6e,0xe7);
   3525 #if defined(__cplusplus) && !defined(CINTERFACE)
   3526 MIDL_INTERFACE("9bb4ab81-ab1a-4d8f-b506-fc04200b6ee7")
   3527 ID3D11RasterizerState : public ID3D11DeviceChild
   3528 {
   3529     virtual void STDMETHODCALLTYPE GetDesc(
   3530         D3D11_RASTERIZER_DESC *pDesc) = 0;
   3531 
   3532 };
   3533 #ifdef __CRT_UUID_DECL
   3534 __CRT_UUID_DECL(ID3D11RasterizerState, 0x9bb4ab81, 0xab1a, 0x4d8f, 0xb5,0x06, 0xfc,0x04,0x20,0x0b,0x6e,0xe7)
   3535 #endif
   3536 #else
   3537 typedef struct ID3D11RasterizerStateVtbl {
   3538     BEGIN_INTERFACE
   3539 
   3540     /*** IUnknown methods ***/
   3541     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3542         ID3D11RasterizerState* This,
   3543         REFIID riid,
   3544         void **ppvObject);
   3545 
   3546     ULONG (STDMETHODCALLTYPE *AddRef)(
   3547         ID3D11RasterizerState* This);
   3548 
   3549     ULONG (STDMETHODCALLTYPE *Release)(
   3550         ID3D11RasterizerState* This);
   3551 
   3552     /*** ID3D11DeviceChild methods ***/
   3553     void (STDMETHODCALLTYPE *GetDevice)(
   3554         ID3D11RasterizerState* This,
   3555         ID3D11Device **ppDevice);
   3556 
   3557     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   3558         ID3D11RasterizerState* This,
   3559         REFGUID guid,
   3560         UINT *pDataSize,
   3561         void *pData);
   3562 
   3563     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   3564         ID3D11RasterizerState* This,
   3565         REFGUID guid,
   3566         UINT DataSize,
   3567         const void *pData);
   3568 
   3569     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   3570         ID3D11RasterizerState* This,
   3571         REFGUID guid,
   3572         const IUnknown *pData);
   3573 
   3574     /*** ID3D11RasterizerState methods ***/
   3575     void (STDMETHODCALLTYPE *GetDesc)(
   3576         ID3D11RasterizerState* This,
   3577         D3D11_RASTERIZER_DESC *pDesc);
   3578 
   3579     END_INTERFACE
   3580 } ID3D11RasterizerStateVtbl;
   3581 interface ID3D11RasterizerState {
   3582     CONST_VTBL ID3D11RasterizerStateVtbl* lpVtbl;
   3583 };
   3584 
   3585 #ifdef COBJMACROS
   3586 #ifndef WIDL_C_INLINE_WRAPPERS
   3587 /*** IUnknown methods ***/
   3588 #define ID3D11RasterizerState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3589 #define ID3D11RasterizerState_AddRef(This) (This)->lpVtbl->AddRef(This)
   3590 #define ID3D11RasterizerState_Release(This) (This)->lpVtbl->Release(This)
   3591 /*** ID3D11DeviceChild methods ***/
   3592 #define ID3D11RasterizerState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   3593 #define ID3D11RasterizerState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   3594 #define ID3D11RasterizerState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   3595 #define ID3D11RasterizerState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   3596 /*** ID3D11RasterizerState methods ***/
   3597 #define ID3D11RasterizerState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   3598 #else
   3599 /*** IUnknown methods ***/
   3600 static FORCEINLINE HRESULT ID3D11RasterizerState_QueryInterface(ID3D11RasterizerState* This,REFIID riid,void **ppvObject) {
   3601     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3602 }
   3603 static FORCEINLINE ULONG ID3D11RasterizerState_AddRef(ID3D11RasterizerState* This) {
   3604     return This->lpVtbl->AddRef(This);
   3605 }
   3606 static FORCEINLINE ULONG ID3D11RasterizerState_Release(ID3D11RasterizerState* This) {
   3607     return This->lpVtbl->Release(This);
   3608 }
   3609 /*** ID3D11DeviceChild methods ***/
   3610 static FORCEINLINE void ID3D11RasterizerState_GetDevice(ID3D11RasterizerState* This,ID3D11Device **ppDevice) {
   3611     This->lpVtbl->GetDevice(This,ppDevice);
   3612 }
   3613 static FORCEINLINE HRESULT ID3D11RasterizerState_GetPrivateData(ID3D11RasterizerState* This,REFGUID guid,UINT *pDataSize,void *pData) {
   3614     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   3615 }
   3616 static FORCEINLINE HRESULT ID3D11RasterizerState_SetPrivateData(ID3D11RasterizerState* This,REFGUID guid,UINT DataSize,const void *pData) {
   3617     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   3618 }
   3619 static FORCEINLINE HRESULT ID3D11RasterizerState_SetPrivateDataInterface(ID3D11RasterizerState* This,REFGUID guid,const IUnknown *pData) {
   3620     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   3621 }
   3622 /*** ID3D11RasterizerState methods ***/
   3623 static FORCEINLINE void ID3D11RasterizerState_GetDesc(ID3D11RasterizerState* This,D3D11_RASTERIZER_DESC *pDesc) {
   3624     This->lpVtbl->GetDesc(This,pDesc);
   3625 }
   3626 #endif
   3627 #endif
   3628 
   3629 #endif
   3630 
   3631 void STDMETHODCALLTYPE ID3D11RasterizerState_GetDesc_Proxy(
   3632     ID3D11RasterizerState* This,
   3633     D3D11_RASTERIZER_DESC *pDesc);
   3634 void __RPC_STUB ID3D11RasterizerState_GetDesc_Stub(
   3635     IRpcStubBuffer* This,
   3636     IRpcChannelBuffer* pRpcChannelBuffer,
   3637     PRPC_MESSAGE pRpcMessage,
   3638     DWORD* pdwStubPhase);
   3639 
   3640 #endif  /* __ID3D11RasterizerState_INTERFACE_DEFINED__ */
   3641 
   3642 /*****************************************************************************
   3643  * ID3D11RenderTargetView interface
   3644  */
   3645 #ifndef __ID3D11RenderTargetView_INTERFACE_DEFINED__
   3646 #define __ID3D11RenderTargetView_INTERFACE_DEFINED__
   3647 
   3648 DEFINE_GUID(IID_ID3D11RenderTargetView, 0xdfdba067, 0x0b8d, 0x4865, 0x87,0x5b, 0xd7,0xb4,0x51,0x6c,0xc1,0x64);
   3649 #if defined(__cplusplus) && !defined(CINTERFACE)
   3650 MIDL_INTERFACE("dfdba067-0b8d-4865-875b-d7b4516cc164")
   3651 ID3D11RenderTargetView : public ID3D11View
   3652 {
   3653     virtual void STDMETHODCALLTYPE GetDesc(
   3654         D3D11_RENDER_TARGET_VIEW_DESC *pDesc) = 0;
   3655 
   3656 };
   3657 #ifdef __CRT_UUID_DECL
   3658 __CRT_UUID_DECL(ID3D11RenderTargetView, 0xdfdba067, 0x0b8d, 0x4865, 0x87,0x5b, 0xd7,0xb4,0x51,0x6c,0xc1,0x64)
   3659 #endif
   3660 #else
   3661 typedef struct ID3D11RenderTargetViewVtbl {
   3662     BEGIN_INTERFACE
   3663 
   3664     /*** IUnknown methods ***/
   3665     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3666         ID3D11RenderTargetView* This,
   3667         REFIID riid,
   3668         void **ppvObject);
   3669 
   3670     ULONG (STDMETHODCALLTYPE *AddRef)(
   3671         ID3D11RenderTargetView* This);
   3672 
   3673     ULONG (STDMETHODCALLTYPE *Release)(
   3674         ID3D11RenderTargetView* This);
   3675 
   3676     /*** ID3D11DeviceChild methods ***/
   3677     void (STDMETHODCALLTYPE *GetDevice)(
   3678         ID3D11RenderTargetView* This,
   3679         ID3D11Device **ppDevice);
   3680 
   3681     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   3682         ID3D11RenderTargetView* This,
   3683         REFGUID guid,
   3684         UINT *pDataSize,
   3685         void *pData);
   3686 
   3687     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   3688         ID3D11RenderTargetView* This,
   3689         REFGUID guid,
   3690         UINT DataSize,
   3691         const void *pData);
   3692 
   3693     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   3694         ID3D11RenderTargetView* This,
   3695         REFGUID guid,
   3696         const IUnknown *pData);
   3697 
   3698     /*** ID3D11View methods ***/
   3699     void (STDMETHODCALLTYPE *GetResource)(
   3700         ID3D11RenderTargetView* This,
   3701         ID3D11Resource **ppResource);
   3702 
   3703     /*** ID3D11RenderTargetView methods ***/
   3704     void (STDMETHODCALLTYPE *GetDesc)(
   3705         ID3D11RenderTargetView* This,
   3706         D3D11_RENDER_TARGET_VIEW_DESC *pDesc);
   3707 
   3708     END_INTERFACE
   3709 } ID3D11RenderTargetViewVtbl;
   3710 interface ID3D11RenderTargetView {
   3711     CONST_VTBL ID3D11RenderTargetViewVtbl* lpVtbl;
   3712 };
   3713 
   3714 #ifdef COBJMACROS
   3715 #ifndef WIDL_C_INLINE_WRAPPERS
   3716 /*** IUnknown methods ***/
   3717 #define ID3D11RenderTargetView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3718 #define ID3D11RenderTargetView_AddRef(This) (This)->lpVtbl->AddRef(This)
   3719 #define ID3D11RenderTargetView_Release(This) (This)->lpVtbl->Release(This)
   3720 /*** ID3D11DeviceChild methods ***/
   3721 #define ID3D11RenderTargetView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   3722 #define ID3D11RenderTargetView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   3723 #define ID3D11RenderTargetView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   3724 #define ID3D11RenderTargetView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   3725 /*** ID3D11View methods ***/
   3726 #define ID3D11RenderTargetView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
   3727 /*** ID3D11RenderTargetView methods ***/
   3728 #define ID3D11RenderTargetView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   3729 #else
   3730 /*** IUnknown methods ***/
   3731 static FORCEINLINE HRESULT ID3D11RenderTargetView_QueryInterface(ID3D11RenderTargetView* This,REFIID riid,void **ppvObject) {
   3732     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3733 }
   3734 static FORCEINLINE ULONG ID3D11RenderTargetView_AddRef(ID3D11RenderTargetView* This) {
   3735     return This->lpVtbl->AddRef(This);
   3736 }
   3737 static FORCEINLINE ULONG ID3D11RenderTargetView_Release(ID3D11RenderTargetView* This) {
   3738     return This->lpVtbl->Release(This);
   3739 }
   3740 /*** ID3D11DeviceChild methods ***/
   3741 static FORCEINLINE void ID3D11RenderTargetView_GetDevice(ID3D11RenderTargetView* This,ID3D11Device **ppDevice) {
   3742     This->lpVtbl->GetDevice(This,ppDevice);
   3743 }
   3744 static FORCEINLINE HRESULT ID3D11RenderTargetView_GetPrivateData(ID3D11RenderTargetView* This,REFGUID guid,UINT *pDataSize,void *pData) {
   3745     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   3746 }
   3747 static FORCEINLINE HRESULT ID3D11RenderTargetView_SetPrivateData(ID3D11RenderTargetView* This,REFGUID guid,UINT DataSize,const void *pData) {
   3748     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   3749 }
   3750 static FORCEINLINE HRESULT ID3D11RenderTargetView_SetPrivateDataInterface(ID3D11RenderTargetView* This,REFGUID guid,const IUnknown *pData) {
   3751     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   3752 }
   3753 /*** ID3D11View methods ***/
   3754 static FORCEINLINE void ID3D11RenderTargetView_GetResource(ID3D11RenderTargetView* This,ID3D11Resource **ppResource) {
   3755     This->lpVtbl->GetResource(This,ppResource);
   3756 }
   3757 /*** ID3D11RenderTargetView methods ***/
   3758 static FORCEINLINE void ID3D11RenderTargetView_GetDesc(ID3D11RenderTargetView* This,D3D11_RENDER_TARGET_VIEW_DESC *pDesc) {
   3759     This->lpVtbl->GetDesc(This,pDesc);
   3760 }
   3761 #endif
   3762 #endif
   3763 
   3764 #endif
   3765 
   3766 void STDMETHODCALLTYPE ID3D11RenderTargetView_GetDesc_Proxy(
   3767     ID3D11RenderTargetView* This,
   3768     D3D11_RENDER_TARGET_VIEW_DESC *pDesc);
   3769 void __RPC_STUB ID3D11RenderTargetView_GetDesc_Stub(
   3770     IRpcStubBuffer* This,
   3771     IRpcChannelBuffer* pRpcChannelBuffer,
   3772     PRPC_MESSAGE pRpcMessage,
   3773     DWORD* pdwStubPhase);
   3774 
   3775 #endif  /* __ID3D11RenderTargetView_INTERFACE_DEFINED__ */
   3776 
   3777 /*****************************************************************************
   3778  * ID3D11SamplerState interface
   3779  */
   3780 #ifndef __ID3D11SamplerState_INTERFACE_DEFINED__
   3781 #define __ID3D11SamplerState_INTERFACE_DEFINED__
   3782 
   3783 DEFINE_GUID(IID_ID3D11SamplerState, 0xda6fea51, 0x564c, 0x4487, 0x98,0x10, 0xf0,0xd0,0xf9,0xb4,0xe3,0xa5);
   3784 #if defined(__cplusplus) && !defined(CINTERFACE)
   3785 MIDL_INTERFACE("da6fea51-564c-4487-9810-f0d0f9b4e3a5")
   3786 ID3D11SamplerState : public ID3D11DeviceChild
   3787 {
   3788     virtual void STDMETHODCALLTYPE GetDesc(
   3789         D3D11_SAMPLER_DESC *pDesc) = 0;
   3790 
   3791 };
   3792 #ifdef __CRT_UUID_DECL
   3793 __CRT_UUID_DECL(ID3D11SamplerState, 0xda6fea51, 0x564c, 0x4487, 0x98,0x10, 0xf0,0xd0,0xf9,0xb4,0xe3,0xa5)
   3794 #endif
   3795 #else
   3796 typedef struct ID3D11SamplerStateVtbl {
   3797     BEGIN_INTERFACE
   3798 
   3799     /*** IUnknown methods ***/
   3800     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3801         ID3D11SamplerState* This,
   3802         REFIID riid,
   3803         void **ppvObject);
   3804 
   3805     ULONG (STDMETHODCALLTYPE *AddRef)(
   3806         ID3D11SamplerState* This);
   3807 
   3808     ULONG (STDMETHODCALLTYPE *Release)(
   3809         ID3D11SamplerState* This);
   3810 
   3811     /*** ID3D11DeviceChild methods ***/
   3812     void (STDMETHODCALLTYPE *GetDevice)(
   3813         ID3D11SamplerState* This,
   3814         ID3D11Device **ppDevice);
   3815 
   3816     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   3817         ID3D11SamplerState* This,
   3818         REFGUID guid,
   3819         UINT *pDataSize,
   3820         void *pData);
   3821 
   3822     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   3823         ID3D11SamplerState* This,
   3824         REFGUID guid,
   3825         UINT DataSize,
   3826         const void *pData);
   3827 
   3828     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   3829         ID3D11SamplerState* This,
   3830         REFGUID guid,
   3831         const IUnknown *pData);
   3832 
   3833     /*** ID3D11SamplerState methods ***/
   3834     void (STDMETHODCALLTYPE *GetDesc)(
   3835         ID3D11SamplerState* This,
   3836         D3D11_SAMPLER_DESC *pDesc);
   3837 
   3838     END_INTERFACE
   3839 } ID3D11SamplerStateVtbl;
   3840 interface ID3D11SamplerState {
   3841     CONST_VTBL ID3D11SamplerStateVtbl* lpVtbl;
   3842 };
   3843 
   3844 #ifdef COBJMACROS
   3845 #ifndef WIDL_C_INLINE_WRAPPERS
   3846 /*** IUnknown methods ***/
   3847 #define ID3D11SamplerState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3848 #define ID3D11SamplerState_AddRef(This) (This)->lpVtbl->AddRef(This)
   3849 #define ID3D11SamplerState_Release(This) (This)->lpVtbl->Release(This)
   3850 /*** ID3D11DeviceChild methods ***/
   3851 #define ID3D11SamplerState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   3852 #define ID3D11SamplerState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   3853 #define ID3D11SamplerState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   3854 #define ID3D11SamplerState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   3855 /*** ID3D11SamplerState methods ***/
   3856 #define ID3D11SamplerState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   3857 #else
   3858 /*** IUnknown methods ***/
   3859 static FORCEINLINE HRESULT ID3D11SamplerState_QueryInterface(ID3D11SamplerState* This,REFIID riid,void **ppvObject) {
   3860     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3861 }
   3862 static FORCEINLINE ULONG ID3D11SamplerState_AddRef(ID3D11SamplerState* This) {
   3863     return This->lpVtbl->AddRef(This);
   3864 }
   3865 static FORCEINLINE ULONG ID3D11SamplerState_Release(ID3D11SamplerState* This) {
   3866     return This->lpVtbl->Release(This);
   3867 }
   3868 /*** ID3D11DeviceChild methods ***/
   3869 static FORCEINLINE void ID3D11SamplerState_GetDevice(ID3D11SamplerState* This,ID3D11Device **ppDevice) {
   3870     This->lpVtbl->GetDevice(This,ppDevice);
   3871 }
   3872 static FORCEINLINE HRESULT ID3D11SamplerState_GetPrivateData(ID3D11SamplerState* This,REFGUID guid,UINT *pDataSize,void *pData) {
   3873     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   3874 }
   3875 static FORCEINLINE HRESULT ID3D11SamplerState_SetPrivateData(ID3D11SamplerState* This,REFGUID guid,UINT DataSize,const void *pData) {
   3876     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   3877 }
   3878 static FORCEINLINE HRESULT ID3D11SamplerState_SetPrivateDataInterface(ID3D11SamplerState* This,REFGUID guid,const IUnknown *pData) {
   3879     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   3880 }
   3881 /*** ID3D11SamplerState methods ***/
   3882 static FORCEINLINE void ID3D11SamplerState_GetDesc(ID3D11SamplerState* This,D3D11_SAMPLER_DESC *pDesc) {
   3883     This->lpVtbl->GetDesc(This,pDesc);
   3884 }
   3885 #endif
   3886 #endif
   3887 
   3888 #endif
   3889 
   3890 void STDMETHODCALLTYPE ID3D11SamplerState_GetDesc_Proxy(
   3891     ID3D11SamplerState* This,
   3892     D3D11_SAMPLER_DESC *pDesc);
   3893 void __RPC_STUB ID3D11SamplerState_GetDesc_Stub(
   3894     IRpcStubBuffer* This,
   3895     IRpcChannelBuffer* pRpcChannelBuffer,
   3896     PRPC_MESSAGE pRpcMessage,
   3897     DWORD* pdwStubPhase);
   3898 
   3899 #endif  /* __ID3D11SamplerState_INTERFACE_DEFINED__ */
   3900 
   3901 /*****************************************************************************
   3902  * ID3D11ShaderResourceView interface
   3903  */
   3904 #ifndef __ID3D11ShaderResourceView_INTERFACE_DEFINED__
   3905 #define __ID3D11ShaderResourceView_INTERFACE_DEFINED__
   3906 
   3907 DEFINE_GUID(IID_ID3D11ShaderResourceView, 0xb0e06fe0, 0x8192, 0x4e1a, 0xb1,0xca, 0x36,0xd7,0x41,0x47,0x10,0xb2);
   3908 #if defined(__cplusplus) && !defined(CINTERFACE)
   3909 MIDL_INTERFACE("b0e06fe0-8192-4e1a-b1ca-36d7414710b2")
   3910 ID3D11ShaderResourceView : public ID3D11View
   3911 {
   3912     virtual void STDMETHODCALLTYPE GetDesc(
   3913         D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc) = 0;
   3914 
   3915 };
   3916 #ifdef __CRT_UUID_DECL
   3917 __CRT_UUID_DECL(ID3D11ShaderResourceView, 0xb0e06fe0, 0x8192, 0x4e1a, 0xb1,0xca, 0x36,0xd7,0x41,0x47,0x10,0xb2)
   3918 #endif
   3919 #else
   3920 typedef struct ID3D11ShaderResourceViewVtbl {
   3921     BEGIN_INTERFACE
   3922 
   3923     /*** IUnknown methods ***/
   3924     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3925         ID3D11ShaderResourceView* This,
   3926         REFIID riid,
   3927         void **ppvObject);
   3928 
   3929     ULONG (STDMETHODCALLTYPE *AddRef)(
   3930         ID3D11ShaderResourceView* This);
   3931 
   3932     ULONG (STDMETHODCALLTYPE *Release)(
   3933         ID3D11ShaderResourceView* This);
   3934 
   3935     /*** ID3D11DeviceChild methods ***/
   3936     void (STDMETHODCALLTYPE *GetDevice)(
   3937         ID3D11ShaderResourceView* This,
   3938         ID3D11Device **ppDevice);
   3939 
   3940     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   3941         ID3D11ShaderResourceView* This,
   3942         REFGUID guid,
   3943         UINT *pDataSize,
   3944         void *pData);
   3945 
   3946     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   3947         ID3D11ShaderResourceView* This,
   3948         REFGUID guid,
   3949         UINT DataSize,
   3950         const void *pData);
   3951 
   3952     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   3953         ID3D11ShaderResourceView* This,
   3954         REFGUID guid,
   3955         const IUnknown *pData);
   3956 
   3957     /*** ID3D11View methods ***/
   3958     void (STDMETHODCALLTYPE *GetResource)(
   3959         ID3D11ShaderResourceView* This,
   3960         ID3D11Resource **ppResource);
   3961 
   3962     /*** ID3D11ShaderResourceView methods ***/
   3963     void (STDMETHODCALLTYPE *GetDesc)(
   3964         ID3D11ShaderResourceView* This,
   3965         D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc);
   3966 
   3967     END_INTERFACE
   3968 } ID3D11ShaderResourceViewVtbl;
   3969 interface ID3D11ShaderResourceView {
   3970     CONST_VTBL ID3D11ShaderResourceViewVtbl* lpVtbl;
   3971 };
   3972 
   3973 #ifdef COBJMACROS
   3974 #ifndef WIDL_C_INLINE_WRAPPERS
   3975 /*** IUnknown methods ***/
   3976 #define ID3D11ShaderResourceView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3977 #define ID3D11ShaderResourceView_AddRef(This) (This)->lpVtbl->AddRef(This)
   3978 #define ID3D11ShaderResourceView_Release(This) (This)->lpVtbl->Release(This)
   3979 /*** ID3D11DeviceChild methods ***/
   3980 #define ID3D11ShaderResourceView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   3981 #define ID3D11ShaderResourceView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   3982 #define ID3D11ShaderResourceView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   3983 #define ID3D11ShaderResourceView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   3984 /*** ID3D11View methods ***/
   3985 #define ID3D11ShaderResourceView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
   3986 /*** ID3D11ShaderResourceView methods ***/
   3987 #define ID3D11ShaderResourceView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   3988 #else
   3989 /*** IUnknown methods ***/
   3990 static FORCEINLINE HRESULT ID3D11ShaderResourceView_QueryInterface(ID3D11ShaderResourceView* This,REFIID riid,void **ppvObject) {
   3991     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3992 }
   3993 static FORCEINLINE ULONG ID3D11ShaderResourceView_AddRef(ID3D11ShaderResourceView* This) {
   3994     return This->lpVtbl->AddRef(This);
   3995 }
   3996 static FORCEINLINE ULONG ID3D11ShaderResourceView_Release(ID3D11ShaderResourceView* This) {
   3997     return This->lpVtbl->Release(This);
   3998 }
   3999 /*** ID3D11DeviceChild methods ***/
   4000 static FORCEINLINE void ID3D11ShaderResourceView_GetDevice(ID3D11ShaderResourceView* This,ID3D11Device **ppDevice) {
   4001     This->lpVtbl->GetDevice(This,ppDevice);
   4002 }
   4003 static FORCEINLINE HRESULT ID3D11ShaderResourceView_GetPrivateData(ID3D11ShaderResourceView* This,REFGUID guid,UINT *pDataSize,void *pData) {
   4004     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   4005 }
   4006 static FORCEINLINE HRESULT ID3D11ShaderResourceView_SetPrivateData(ID3D11ShaderResourceView* This,REFGUID guid,UINT DataSize,const void *pData) {
   4007     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   4008 }
   4009 static FORCEINLINE HRESULT ID3D11ShaderResourceView_SetPrivateDataInterface(ID3D11ShaderResourceView* This,REFGUID guid,const IUnknown *pData) {
   4010     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   4011 }
   4012 /*** ID3D11View methods ***/
   4013 static FORCEINLINE void ID3D11ShaderResourceView_GetResource(ID3D11ShaderResourceView* This,ID3D11Resource **ppResource) {
   4014     This->lpVtbl->GetResource(This,ppResource);
   4015 }
   4016 /*** ID3D11ShaderResourceView methods ***/
   4017 static FORCEINLINE void ID3D11ShaderResourceView_GetDesc(ID3D11ShaderResourceView* This,D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc) {
   4018     This->lpVtbl->GetDesc(This,pDesc);
   4019 }
   4020 #endif
   4021 #endif
   4022 
   4023 #endif
   4024 
   4025 void STDMETHODCALLTYPE ID3D11ShaderResourceView_GetDesc_Proxy(
   4026     ID3D11ShaderResourceView* This,
   4027     D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc);
   4028 void __RPC_STUB ID3D11ShaderResourceView_GetDesc_Stub(
   4029     IRpcStubBuffer* This,
   4030     IRpcChannelBuffer* pRpcChannelBuffer,
   4031     PRPC_MESSAGE pRpcMessage,
   4032     DWORD* pdwStubPhase);
   4033 
   4034 #endif  /* __ID3D11ShaderResourceView_INTERFACE_DEFINED__ */
   4035 
   4036 /*****************************************************************************
   4037  * ID3D11Texture1D interface
   4038  */
   4039 #ifndef __ID3D11Texture1D_INTERFACE_DEFINED__
   4040 #define __ID3D11Texture1D_INTERFACE_DEFINED__
   4041 
   4042 DEFINE_GUID(IID_ID3D11Texture1D, 0xf8fb5c27, 0xc6b3, 0x4f75, 0xa4,0xc8, 0x43,0x9a,0xf2,0xef,0x56,0x4c);
   4043 #if defined(__cplusplus) && !defined(CINTERFACE)
   4044 MIDL_INTERFACE("f8fb5c27-c6b3-4f75-a4c8-439af2ef564c")
   4045 ID3D11Texture1D : public ID3D11Resource
   4046 {
   4047     virtual void STDMETHODCALLTYPE GetDesc(
   4048         D3D11_TEXTURE1D_DESC *pDesc) = 0;
   4049 
   4050 };
   4051 #ifdef __CRT_UUID_DECL
   4052 __CRT_UUID_DECL(ID3D11Texture1D, 0xf8fb5c27, 0xc6b3, 0x4f75, 0xa4,0xc8, 0x43,0x9a,0xf2,0xef,0x56,0x4c)
   4053 #endif
   4054 #else
   4055 typedef struct ID3D11Texture1DVtbl {
   4056     BEGIN_INTERFACE
   4057 
   4058     /*** IUnknown methods ***/
   4059     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   4060         ID3D11Texture1D* This,
   4061         REFIID riid,
   4062         void **ppvObject);
   4063 
   4064     ULONG (STDMETHODCALLTYPE *AddRef)(
   4065         ID3D11Texture1D* This);
   4066 
   4067     ULONG (STDMETHODCALLTYPE *Release)(
   4068         ID3D11Texture1D* This);
   4069 
   4070     /*** ID3D11DeviceChild methods ***/
   4071     void (STDMETHODCALLTYPE *GetDevice)(
   4072         ID3D11Texture1D* This,
   4073         ID3D11Device **ppDevice);
   4074 
   4075     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   4076         ID3D11Texture1D* This,
   4077         REFGUID guid,
   4078         UINT *pDataSize,
   4079         void *pData);
   4080 
   4081     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   4082         ID3D11Texture1D* This,
   4083         REFGUID guid,
   4084         UINT DataSize,
   4085         const void *pData);
   4086 
   4087     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   4088         ID3D11Texture1D* This,
   4089         REFGUID guid,
   4090         const IUnknown *pData);
   4091 
   4092     /*** ID3D11Resource methods ***/
   4093     void (STDMETHODCALLTYPE *GetType)(
   4094         ID3D11Texture1D* This,
   4095         D3D11_RESOURCE_DIMENSION *pResourceDimension);
   4096 
   4097     void (STDMETHODCALLTYPE *SetEvictionPriority)(
   4098         ID3D11Texture1D* This,
   4099         UINT EvictionPriority);
   4100 
   4101     UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
   4102         ID3D11Texture1D* This);
   4103 
   4104     /*** ID3D11Texture1D methods ***/
   4105     void (STDMETHODCALLTYPE *GetDesc)(
   4106         ID3D11Texture1D* This,
   4107         D3D11_TEXTURE1D_DESC *pDesc);
   4108 
   4109     END_INTERFACE
   4110 } ID3D11Texture1DVtbl;
   4111 interface ID3D11Texture1D {
   4112     CONST_VTBL ID3D11Texture1DVtbl* lpVtbl;
   4113 };
   4114 
   4115 #ifdef COBJMACROS
   4116 #ifndef WIDL_C_INLINE_WRAPPERS
   4117 /*** IUnknown methods ***/
   4118 #define ID3D11Texture1D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4119 #define ID3D11Texture1D_AddRef(This) (This)->lpVtbl->AddRef(This)
   4120 #define ID3D11Texture1D_Release(This) (This)->lpVtbl->Release(This)
   4121 /*** ID3D11DeviceChild methods ***/
   4122 #define ID3D11Texture1D_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   4123 #define ID3D11Texture1D_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   4124 #define ID3D11Texture1D_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   4125 #define ID3D11Texture1D_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   4126 /*** ID3D11Resource methods ***/
   4127 #define ID3D11Texture1D_GetType(This,pResourceDimension) (This)->lpVtbl->GetType(This,pResourceDimension)
   4128 #define ID3D11Texture1D_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority)
   4129 #define ID3D11Texture1D_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This)
   4130 /*** ID3D11Texture1D methods ***/
   4131 #define ID3D11Texture1D_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   4132 #else
   4133 /*** IUnknown methods ***/
   4134 static FORCEINLINE HRESULT ID3D11Texture1D_QueryInterface(ID3D11Texture1D* This,REFIID riid,void **ppvObject) {
   4135     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4136 }
   4137 static FORCEINLINE ULONG ID3D11Texture1D_AddRef(ID3D11Texture1D* This) {
   4138     return This->lpVtbl->AddRef(This);
   4139 }
   4140 static FORCEINLINE ULONG ID3D11Texture1D_Release(ID3D11Texture1D* This) {
   4141     return This->lpVtbl->Release(This);
   4142 }
   4143 /*** ID3D11DeviceChild methods ***/
   4144 static FORCEINLINE void ID3D11Texture1D_GetDevice(ID3D11Texture1D* This,ID3D11Device **ppDevice) {
   4145     This->lpVtbl->GetDevice(This,ppDevice);
   4146 }
   4147 static FORCEINLINE HRESULT ID3D11Texture1D_GetPrivateData(ID3D11Texture1D* This,REFGUID guid,UINT *pDataSize,void *pData) {
   4148     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   4149 }
   4150 static FORCEINLINE HRESULT ID3D11Texture1D_SetPrivateData(ID3D11Texture1D* This,REFGUID guid,UINT DataSize,const void *pData) {
   4151     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   4152 }
   4153 static FORCEINLINE HRESULT ID3D11Texture1D_SetPrivateDataInterface(ID3D11Texture1D* This,REFGUID guid,const IUnknown *pData) {
   4154     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   4155 }
   4156 /*** ID3D11Resource methods ***/
   4157 static FORCEINLINE void ID3D11Texture1D_GetType(ID3D11Texture1D* This,D3D11_RESOURCE_DIMENSION *pResourceDimension) {
   4158     This->lpVtbl->GetType(This,pResourceDimension);
   4159 }
   4160 static FORCEINLINE void ID3D11Texture1D_SetEvictionPriority(ID3D11Texture1D* This,UINT EvictionPriority) {
   4161     This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
   4162 }
   4163 static FORCEINLINE UINT ID3D11Texture1D_GetEvictionPriority(ID3D11Texture1D* This) {
   4164     return This->lpVtbl->GetEvictionPriority(This);
   4165 }
   4166 /*** ID3D11Texture1D methods ***/
   4167 static FORCEINLINE void ID3D11Texture1D_GetDesc(ID3D11Texture1D* This,D3D11_TEXTURE1D_DESC *pDesc) {
   4168     This->lpVtbl->GetDesc(This,pDesc);
   4169 }
   4170 #endif
   4171 #endif
   4172 
   4173 #endif
   4174 
   4175 void STDMETHODCALLTYPE ID3D11Texture1D_GetDesc_Proxy(
   4176     ID3D11Texture1D* This,
   4177     D3D11_TEXTURE1D_DESC *pDesc);
   4178 void __RPC_STUB ID3D11Texture1D_GetDesc_Stub(
   4179     IRpcStubBuffer* This,
   4180     IRpcChannelBuffer* pRpcChannelBuffer,
   4181     PRPC_MESSAGE pRpcMessage,
   4182     DWORD* pdwStubPhase);
   4183 
   4184 #endif  /* __ID3D11Texture1D_INTERFACE_DEFINED__ */
   4185 
   4186 /*****************************************************************************
   4187  * ID3D11Texture2D interface
   4188  */
   4189 #ifndef __ID3D11Texture2D_INTERFACE_DEFINED__
   4190 #define __ID3D11Texture2D_INTERFACE_DEFINED__
   4191 
   4192 DEFINE_GUID(IID_ID3D11Texture2D, 0x6f15aaf2, 0xd208, 0x4e89, 0x9a,0xb4, 0x48,0x95,0x35,0xd3,0x4f,0x9c);
   4193 #if defined(__cplusplus) && !defined(CINTERFACE)
   4194 MIDL_INTERFACE("6f15aaf2-d208-4e89-9ab4-489535d34f9c")
   4195 ID3D11Texture2D : public ID3D11Resource
   4196 {
   4197     virtual void STDMETHODCALLTYPE GetDesc(
   4198         D3D11_TEXTURE2D_DESC *pDesc) = 0;
   4199 
   4200 };
   4201 #ifdef __CRT_UUID_DECL
   4202 __CRT_UUID_DECL(ID3D11Texture2D, 0x6f15aaf2, 0xd208, 0x4e89, 0x9a,0xb4, 0x48,0x95,0x35,0xd3,0x4f,0x9c)
   4203 #endif
   4204 #else
   4205 typedef struct ID3D11Texture2DVtbl {
   4206     BEGIN_INTERFACE
   4207 
   4208     /*** IUnknown methods ***/
   4209     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   4210         ID3D11Texture2D* This,
   4211         REFIID riid,
   4212         void **ppvObject);
   4213 
   4214     ULONG (STDMETHODCALLTYPE *AddRef)(
   4215         ID3D11Texture2D* This);
   4216 
   4217     ULONG (STDMETHODCALLTYPE *Release)(
   4218         ID3D11Texture2D* This);
   4219 
   4220     /*** ID3D11DeviceChild methods ***/
   4221     void (STDMETHODCALLTYPE *GetDevice)(
   4222         ID3D11Texture2D* This,
   4223         ID3D11Device **ppDevice);
   4224 
   4225     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   4226         ID3D11Texture2D* This,
   4227         REFGUID guid,
   4228         UINT *pDataSize,
   4229         void *pData);
   4230 
   4231     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   4232         ID3D11Texture2D* This,
   4233         REFGUID guid,
   4234         UINT DataSize,
   4235         const void *pData);
   4236 
   4237     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   4238         ID3D11Texture2D* This,
   4239         REFGUID guid,
   4240         const IUnknown *pData);
   4241 
   4242     /*** ID3D11Resource methods ***/
   4243     void (STDMETHODCALLTYPE *GetType)(
   4244         ID3D11Texture2D* This,
   4245         D3D11_RESOURCE_DIMENSION *pResourceDimension);
   4246 
   4247     void (STDMETHODCALLTYPE *SetEvictionPriority)(
   4248         ID3D11Texture2D* This,
   4249         UINT EvictionPriority);
   4250 
   4251     UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
   4252         ID3D11Texture2D* This);
   4253 
   4254     /*** ID3D11Texture2D methods ***/
   4255     void (STDMETHODCALLTYPE *GetDesc)(
   4256         ID3D11Texture2D* This,
   4257         D3D11_TEXTURE2D_DESC *pDesc);
   4258 
   4259     END_INTERFACE
   4260 } ID3D11Texture2DVtbl;
   4261 interface ID3D11Texture2D {
   4262     CONST_VTBL ID3D11Texture2DVtbl* lpVtbl;
   4263 };
   4264 
   4265 #ifdef COBJMACROS
   4266 #ifndef WIDL_C_INLINE_WRAPPERS
   4267 /*** IUnknown methods ***/
   4268 #define ID3D11Texture2D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4269 #define ID3D11Texture2D_AddRef(This) (This)->lpVtbl->AddRef(This)
   4270 #define ID3D11Texture2D_Release(This) (This)->lpVtbl->Release(This)
   4271 /*** ID3D11DeviceChild methods ***/
   4272 #define ID3D11Texture2D_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   4273 #define ID3D11Texture2D_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   4274 #define ID3D11Texture2D_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   4275 #define ID3D11Texture2D_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   4276 /*** ID3D11Resource methods ***/
   4277 #define ID3D11Texture2D_GetType(This,pResourceDimension) (This)->lpVtbl->GetType(This,pResourceDimension)
   4278 #define ID3D11Texture2D_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority)
   4279 #define ID3D11Texture2D_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This)
   4280 /*** ID3D11Texture2D methods ***/
   4281 #define ID3D11Texture2D_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   4282 #else
   4283 /*** IUnknown methods ***/
   4284 static FORCEINLINE HRESULT ID3D11Texture2D_QueryInterface(ID3D11Texture2D* This,REFIID riid,void **ppvObject) {
   4285     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4286 }
   4287 static FORCEINLINE ULONG ID3D11Texture2D_AddRef(ID3D11Texture2D* This) {
   4288     return This->lpVtbl->AddRef(This);
   4289 }
   4290 static FORCEINLINE ULONG ID3D11Texture2D_Release(ID3D11Texture2D* This) {
   4291     return This->lpVtbl->Release(This);
   4292 }
   4293 /*** ID3D11DeviceChild methods ***/
   4294 static FORCEINLINE void ID3D11Texture2D_GetDevice(ID3D11Texture2D* This,ID3D11Device **ppDevice) {
   4295     This->lpVtbl->GetDevice(This,ppDevice);
   4296 }
   4297 static FORCEINLINE HRESULT ID3D11Texture2D_GetPrivateData(ID3D11Texture2D* This,REFGUID guid,UINT *pDataSize,void *pData) {
   4298     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   4299 }
   4300 static FORCEINLINE HRESULT ID3D11Texture2D_SetPrivateData(ID3D11Texture2D* This,REFGUID guid,UINT DataSize,const void *pData) {
   4301     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   4302 }
   4303 static FORCEINLINE HRESULT ID3D11Texture2D_SetPrivateDataInterface(ID3D11Texture2D* This,REFGUID guid,const IUnknown *pData) {
   4304     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   4305 }
   4306 /*** ID3D11Resource methods ***/
   4307 static FORCEINLINE void ID3D11Texture2D_GetType(ID3D11Texture2D* This,D3D11_RESOURCE_DIMENSION *pResourceDimension) {
   4308     This->lpVtbl->GetType(This,pResourceDimension);
   4309 }
   4310 static FORCEINLINE void ID3D11Texture2D_SetEvictionPriority(ID3D11Texture2D* This,UINT EvictionPriority) {
   4311     This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
   4312 }
   4313 static FORCEINLINE UINT ID3D11Texture2D_GetEvictionPriority(ID3D11Texture2D* This) {
   4314     return This->lpVtbl->GetEvictionPriority(This);
   4315 }
   4316 /*** ID3D11Texture2D methods ***/
   4317 static FORCEINLINE void ID3D11Texture2D_GetDesc(ID3D11Texture2D* This,D3D11_TEXTURE2D_DESC *pDesc) {
   4318     This->lpVtbl->GetDesc(This,pDesc);
   4319 }
   4320 #endif
   4321 #endif
   4322 
   4323 #endif
   4324 
   4325 void STDMETHODCALLTYPE ID3D11Texture2D_GetDesc_Proxy(
   4326     ID3D11Texture2D* This,
   4327     D3D11_TEXTURE2D_DESC *pDesc);
   4328 void __RPC_STUB ID3D11Texture2D_GetDesc_Stub(
   4329     IRpcStubBuffer* This,
   4330     IRpcChannelBuffer* pRpcChannelBuffer,
   4331     PRPC_MESSAGE pRpcMessage,
   4332     DWORD* pdwStubPhase);
   4333 
   4334 #endif  /* __ID3D11Texture2D_INTERFACE_DEFINED__ */
   4335 
   4336 /*****************************************************************************
   4337  * ID3D11Texture3D interface
   4338  */
   4339 #ifndef __ID3D11Texture3D_INTERFACE_DEFINED__
   4340 #define __ID3D11Texture3D_INTERFACE_DEFINED__
   4341 
   4342 DEFINE_GUID(IID_ID3D11Texture3D, 0x037e866e, 0xf56d, 0x4357, 0xa8,0xaf, 0x9d,0xab,0xbe,0x6e,0x25,0x0e);
   4343 #if defined(__cplusplus) && !defined(CINTERFACE)
   4344 MIDL_INTERFACE("037e866e-f56d-4357-a8af-9dabbe6e250e")
   4345 ID3D11Texture3D : public ID3D11Resource
   4346 {
   4347     virtual void STDMETHODCALLTYPE GetDesc(
   4348         D3D11_TEXTURE3D_DESC *pDesc) = 0;
   4349 
   4350 };
   4351 #ifdef __CRT_UUID_DECL
   4352 __CRT_UUID_DECL(ID3D11Texture3D, 0x037e866e, 0xf56d, 0x4357, 0xa8,0xaf, 0x9d,0xab,0xbe,0x6e,0x25,0x0e)
   4353 #endif
   4354 #else
   4355 typedef struct ID3D11Texture3DVtbl {
   4356     BEGIN_INTERFACE
   4357 
   4358     /*** IUnknown methods ***/
   4359     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   4360         ID3D11Texture3D* This,
   4361         REFIID riid,
   4362         void **ppvObject);
   4363 
   4364     ULONG (STDMETHODCALLTYPE *AddRef)(
   4365         ID3D11Texture3D* This);
   4366 
   4367     ULONG (STDMETHODCALLTYPE *Release)(
   4368         ID3D11Texture3D* This);
   4369 
   4370     /*** ID3D11DeviceChild methods ***/
   4371     void (STDMETHODCALLTYPE *GetDevice)(
   4372         ID3D11Texture3D* This,
   4373         ID3D11Device **ppDevice);
   4374 
   4375     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   4376         ID3D11Texture3D* This,
   4377         REFGUID guid,
   4378         UINT *pDataSize,
   4379         void *pData);
   4380 
   4381     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   4382         ID3D11Texture3D* This,
   4383         REFGUID guid,
   4384         UINT DataSize,
   4385         const void *pData);
   4386 
   4387     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   4388         ID3D11Texture3D* This,
   4389         REFGUID guid,
   4390         const IUnknown *pData);
   4391 
   4392     /*** ID3D11Resource methods ***/
   4393     void (STDMETHODCALLTYPE *GetType)(
   4394         ID3D11Texture3D* This,
   4395         D3D11_RESOURCE_DIMENSION *pResourceDimension);
   4396 
   4397     void (STDMETHODCALLTYPE *SetEvictionPriority)(
   4398         ID3D11Texture3D* This,
   4399         UINT EvictionPriority);
   4400 
   4401     UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
   4402         ID3D11Texture3D* This);
   4403 
   4404     /*** ID3D11Texture3D methods ***/
   4405     void (STDMETHODCALLTYPE *GetDesc)(
   4406         ID3D11Texture3D* This,
   4407         D3D11_TEXTURE3D_DESC *pDesc);
   4408 
   4409     END_INTERFACE
   4410 } ID3D11Texture3DVtbl;
   4411 interface ID3D11Texture3D {
   4412     CONST_VTBL ID3D11Texture3DVtbl* lpVtbl;
   4413 };
   4414 
   4415 #ifdef COBJMACROS
   4416 #ifndef WIDL_C_INLINE_WRAPPERS
   4417 /*** IUnknown methods ***/
   4418 #define ID3D11Texture3D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4419 #define ID3D11Texture3D_AddRef(This) (This)->lpVtbl->AddRef(This)
   4420 #define ID3D11Texture3D_Release(This) (This)->lpVtbl->Release(This)
   4421 /*** ID3D11DeviceChild methods ***/
   4422 #define ID3D11Texture3D_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   4423 #define ID3D11Texture3D_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   4424 #define ID3D11Texture3D_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   4425 #define ID3D11Texture3D_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   4426 /*** ID3D11Resource methods ***/
   4427 #define ID3D11Texture3D_GetType(This,pResourceDimension) (This)->lpVtbl->GetType(This,pResourceDimension)
   4428 #define ID3D11Texture3D_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority)
   4429 #define ID3D11Texture3D_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This)
   4430 /*** ID3D11Texture3D methods ***/
   4431 #define ID3D11Texture3D_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   4432 #else
   4433 /*** IUnknown methods ***/
   4434 static FORCEINLINE HRESULT ID3D11Texture3D_QueryInterface(ID3D11Texture3D* This,REFIID riid,void **ppvObject) {
   4435     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4436 }
   4437 static FORCEINLINE ULONG ID3D11Texture3D_AddRef(ID3D11Texture3D* This) {
   4438     return This->lpVtbl->AddRef(This);
   4439 }
   4440 static FORCEINLINE ULONG ID3D11Texture3D_Release(ID3D11Texture3D* This) {
   4441     return This->lpVtbl->Release(This);
   4442 }
   4443 /*** ID3D11DeviceChild methods ***/
   4444 static FORCEINLINE void ID3D11Texture3D_GetDevice(ID3D11Texture3D* This,ID3D11Device **ppDevice) {
   4445     This->lpVtbl->GetDevice(This,ppDevice);
   4446 }
   4447 static FORCEINLINE HRESULT ID3D11Texture3D_GetPrivateData(ID3D11Texture3D* This,REFGUID guid,UINT *pDataSize,void *pData) {
   4448     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   4449 }
   4450 static FORCEINLINE HRESULT ID3D11Texture3D_SetPrivateData(ID3D11Texture3D* This,REFGUID guid,UINT DataSize,const void *pData) {
   4451     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   4452 }
   4453 static FORCEINLINE HRESULT ID3D11Texture3D_SetPrivateDataInterface(ID3D11Texture3D* This,REFGUID guid,const IUnknown *pData) {
   4454     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   4455 }
   4456 /*** ID3D11Resource methods ***/
   4457 static FORCEINLINE void ID3D11Texture3D_GetType(ID3D11Texture3D* This,D3D11_RESOURCE_DIMENSION *pResourceDimension) {
   4458     This->lpVtbl->GetType(This,pResourceDimension);
   4459 }
   4460 static FORCEINLINE void ID3D11Texture3D_SetEvictionPriority(ID3D11Texture3D* This,UINT EvictionPriority) {
   4461     This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
   4462 }
   4463 static FORCEINLINE UINT ID3D11Texture3D_GetEvictionPriority(ID3D11Texture3D* This) {
   4464     return This->lpVtbl->GetEvictionPriority(This);
   4465 }
   4466 /*** ID3D11Texture3D methods ***/
   4467 static FORCEINLINE void ID3D11Texture3D_GetDesc(ID3D11Texture3D* This,D3D11_TEXTURE3D_DESC *pDesc) {
   4468     This->lpVtbl->GetDesc(This,pDesc);
   4469 }
   4470 #endif
   4471 #endif
   4472 
   4473 #endif
   4474 
   4475 void STDMETHODCALLTYPE ID3D11Texture3D_GetDesc_Proxy(
   4476     ID3D11Texture3D* This,
   4477     D3D11_TEXTURE3D_DESC *pDesc);
   4478 void __RPC_STUB ID3D11Texture3D_GetDesc_Stub(
   4479     IRpcStubBuffer* This,
   4480     IRpcChannelBuffer* pRpcChannelBuffer,
   4481     PRPC_MESSAGE pRpcMessage,
   4482     DWORD* pdwStubPhase);
   4483 
   4484 #endif  /* __ID3D11Texture3D_INTERFACE_DEFINED__ */
   4485 
   4486 /*****************************************************************************
   4487  * ID3D11UnorderedAccessView interface
   4488  */
   4489 #ifndef __ID3D11UnorderedAccessView_INTERFACE_DEFINED__
   4490 #define __ID3D11UnorderedAccessView_INTERFACE_DEFINED__
   4491 
   4492 DEFINE_GUID(IID_ID3D11UnorderedAccessView, 0x28acf509, 0x7f5c, 0x48f6, 0x86,0x11, 0xf3,0x16,0x01,0x0a,0x63,0x80);
   4493 #if defined(__cplusplus) && !defined(CINTERFACE)
   4494 MIDL_INTERFACE("28acf509-7f5c-48f6-8611-f316010a6380")
   4495 ID3D11UnorderedAccessView : public ID3D11View
   4496 {
   4497     virtual void STDMETHODCALLTYPE GetDesc(
   4498         D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc) = 0;
   4499 
   4500 };
   4501 #ifdef __CRT_UUID_DECL
   4502 __CRT_UUID_DECL(ID3D11UnorderedAccessView, 0x28acf509, 0x7f5c, 0x48f6, 0x86,0x11, 0xf3,0x16,0x01,0x0a,0x63,0x80)
   4503 #endif
   4504 #else
   4505 typedef struct ID3D11UnorderedAccessViewVtbl {
   4506     BEGIN_INTERFACE
   4507 
   4508     /*** IUnknown methods ***/
   4509     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   4510         ID3D11UnorderedAccessView* This,
   4511         REFIID riid,
   4512         void **ppvObject);
   4513 
   4514     ULONG (STDMETHODCALLTYPE *AddRef)(
   4515         ID3D11UnorderedAccessView* This);
   4516 
   4517     ULONG (STDMETHODCALLTYPE *Release)(
   4518         ID3D11UnorderedAccessView* This);
   4519 
   4520     /*** ID3D11DeviceChild methods ***/
   4521     void (STDMETHODCALLTYPE *GetDevice)(
   4522         ID3D11UnorderedAccessView* This,
   4523         ID3D11Device **ppDevice);
   4524 
   4525     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   4526         ID3D11UnorderedAccessView* This,
   4527         REFGUID guid,
   4528         UINT *pDataSize,
   4529         void *pData);
   4530 
   4531     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   4532         ID3D11UnorderedAccessView* This,
   4533         REFGUID guid,
   4534         UINT DataSize,
   4535         const void *pData);
   4536 
   4537     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   4538         ID3D11UnorderedAccessView* This,
   4539         REFGUID guid,
   4540         const IUnknown *pData);
   4541 
   4542     /*** ID3D11View methods ***/
   4543     void (STDMETHODCALLTYPE *GetResource)(
   4544         ID3D11UnorderedAccessView* This,
   4545         ID3D11Resource **ppResource);
   4546 
   4547     /*** ID3D11UnorderedAccessView methods ***/
   4548     void (STDMETHODCALLTYPE *GetDesc)(
   4549         ID3D11UnorderedAccessView* This,
   4550         D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc);
   4551 
   4552     END_INTERFACE
   4553 } ID3D11UnorderedAccessViewVtbl;
   4554 interface ID3D11UnorderedAccessView {
   4555     CONST_VTBL ID3D11UnorderedAccessViewVtbl* lpVtbl;
   4556 };
   4557 
   4558 #ifdef COBJMACROS
   4559 #ifndef WIDL_C_INLINE_WRAPPERS
   4560 /*** IUnknown methods ***/
   4561 #define ID3D11UnorderedAccessView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4562 #define ID3D11UnorderedAccessView_AddRef(This) (This)->lpVtbl->AddRef(This)
   4563 #define ID3D11UnorderedAccessView_Release(This) (This)->lpVtbl->Release(This)
   4564 /*** ID3D11DeviceChild methods ***/
   4565 #define ID3D11UnorderedAccessView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   4566 #define ID3D11UnorderedAccessView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   4567 #define ID3D11UnorderedAccessView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   4568 #define ID3D11UnorderedAccessView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   4569 /*** ID3D11View methods ***/
   4570 #define ID3D11UnorderedAccessView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
   4571 /*** ID3D11UnorderedAccessView methods ***/
   4572 #define ID3D11UnorderedAccessView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
   4573 #else
   4574 /*** IUnknown methods ***/
   4575 static FORCEINLINE HRESULT ID3D11UnorderedAccessView_QueryInterface(ID3D11UnorderedAccessView* This,REFIID riid,void **ppvObject) {
   4576     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4577 }
   4578 static FORCEINLINE ULONG ID3D11UnorderedAccessView_AddRef(ID3D11UnorderedAccessView* This) {
   4579     return This->lpVtbl->AddRef(This);
   4580 }
   4581 static FORCEINLINE ULONG ID3D11UnorderedAccessView_Release(ID3D11UnorderedAccessView* This) {
   4582     return This->lpVtbl->Release(This);
   4583 }
   4584 /*** ID3D11DeviceChild methods ***/
   4585 static FORCEINLINE void ID3D11UnorderedAccessView_GetDevice(ID3D11UnorderedAccessView* This,ID3D11Device **ppDevice) {
   4586     This->lpVtbl->GetDevice(This,ppDevice);
   4587 }
   4588 static FORCEINLINE HRESULT ID3D11UnorderedAccessView_GetPrivateData(ID3D11UnorderedAccessView* This,REFGUID guid,UINT *pDataSize,void *pData) {
   4589     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   4590 }
   4591 static FORCEINLINE HRESULT ID3D11UnorderedAccessView_SetPrivateData(ID3D11UnorderedAccessView* This,REFGUID guid,UINT DataSize,const void *pData) {
   4592     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   4593 }
   4594 static FORCEINLINE HRESULT ID3D11UnorderedAccessView_SetPrivateDataInterface(ID3D11UnorderedAccessView* This,REFGUID guid,const IUnknown *pData) {
   4595     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   4596 }
   4597 /*** ID3D11View methods ***/
   4598 static FORCEINLINE void ID3D11UnorderedAccessView_GetResource(ID3D11UnorderedAccessView* This,ID3D11Resource **ppResource) {
   4599     This->lpVtbl->GetResource(This,ppResource);
   4600 }
   4601 /*** ID3D11UnorderedAccessView methods ***/
   4602 static FORCEINLINE void ID3D11UnorderedAccessView_GetDesc(ID3D11UnorderedAccessView* This,D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc) {
   4603     This->lpVtbl->GetDesc(This,pDesc);
   4604 }
   4605 #endif
   4606 #endif
   4607 
   4608 #endif
   4609 
   4610 void STDMETHODCALLTYPE ID3D11UnorderedAccessView_GetDesc_Proxy(
   4611     ID3D11UnorderedAccessView* This,
   4612     D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc);
   4613 void __RPC_STUB ID3D11UnorderedAccessView_GetDesc_Stub(
   4614     IRpcStubBuffer* This,
   4615     IRpcChannelBuffer* pRpcChannelBuffer,
   4616     PRPC_MESSAGE pRpcMessage,
   4617     DWORD* pdwStubPhase);
   4618 
   4619 #endif  /* __ID3D11UnorderedAccessView_INTERFACE_DEFINED__ */
   4620 
   4621 /*****************************************************************************
   4622  * ID3D11VertexShader interface
   4623  */
   4624 #ifndef __ID3D11VertexShader_INTERFACE_DEFINED__
   4625 #define __ID3D11VertexShader_INTERFACE_DEFINED__
   4626 
   4627 DEFINE_GUID(IID_ID3D11VertexShader, 0x3b301d64, 0xd678, 0x4289, 0x88,0x97, 0x22,0xf8,0x92,0x8b,0x72,0xf3);
   4628 #if defined(__cplusplus) && !defined(CINTERFACE)
   4629 MIDL_INTERFACE("3b301d64-d678-4289-8897-22f8928b72f3")
   4630 ID3D11VertexShader : public ID3D11DeviceChild
   4631 {
   4632 };
   4633 #ifdef __CRT_UUID_DECL
   4634 __CRT_UUID_DECL(ID3D11VertexShader, 0x3b301d64, 0xd678, 0x4289, 0x88,0x97, 0x22,0xf8,0x92,0x8b,0x72,0xf3)
   4635 #endif
   4636 #else
   4637 typedef struct ID3D11VertexShaderVtbl {
   4638     BEGIN_INTERFACE
   4639 
   4640     /*** IUnknown methods ***/
   4641     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   4642         ID3D11VertexShader* This,
   4643         REFIID riid,
   4644         void **ppvObject);
   4645 
   4646     ULONG (STDMETHODCALLTYPE *AddRef)(
   4647         ID3D11VertexShader* This);
   4648 
   4649     ULONG (STDMETHODCALLTYPE *Release)(
   4650         ID3D11VertexShader* This);
   4651 
   4652     /*** ID3D11DeviceChild methods ***/
   4653     void (STDMETHODCALLTYPE *GetDevice)(
   4654         ID3D11VertexShader* This,
   4655         ID3D11Device **ppDevice);
   4656 
   4657     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   4658         ID3D11VertexShader* This,
   4659         REFGUID guid,
   4660         UINT *pDataSize,
   4661         void *pData);
   4662 
   4663     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   4664         ID3D11VertexShader* This,
   4665         REFGUID guid,
   4666         UINT DataSize,
   4667         const void *pData);
   4668 
   4669     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   4670         ID3D11VertexShader* This,
   4671         REFGUID guid,
   4672         const IUnknown *pData);
   4673 
   4674     END_INTERFACE
   4675 } ID3D11VertexShaderVtbl;
   4676 interface ID3D11VertexShader {
   4677     CONST_VTBL ID3D11VertexShaderVtbl* lpVtbl;
   4678 };
   4679 
   4680 #ifdef COBJMACROS
   4681 #ifndef WIDL_C_INLINE_WRAPPERS
   4682 /*** IUnknown methods ***/
   4683 #define ID3D11VertexShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4684 #define ID3D11VertexShader_AddRef(This) (This)->lpVtbl->AddRef(This)
   4685 #define ID3D11VertexShader_Release(This) (This)->lpVtbl->Release(This)
   4686 /*** ID3D11DeviceChild methods ***/
   4687 #define ID3D11VertexShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   4688 #define ID3D11VertexShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   4689 #define ID3D11VertexShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   4690 #define ID3D11VertexShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   4691 #else
   4692 /*** IUnknown methods ***/
   4693 static FORCEINLINE HRESULT ID3D11VertexShader_QueryInterface(ID3D11VertexShader* This,REFIID riid,void **ppvObject) {
   4694     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   4695 }
   4696 static FORCEINLINE ULONG ID3D11VertexShader_AddRef(ID3D11VertexShader* This) {
   4697     return This->lpVtbl->AddRef(This);
   4698 }
   4699 static FORCEINLINE ULONG ID3D11VertexShader_Release(ID3D11VertexShader* This) {
   4700     return This->lpVtbl->Release(This);
   4701 }
   4702 /*** ID3D11DeviceChild methods ***/
   4703 static FORCEINLINE void ID3D11VertexShader_GetDevice(ID3D11VertexShader* This,ID3D11Device **ppDevice) {
   4704     This->lpVtbl->GetDevice(This,ppDevice);
   4705 }
   4706 static FORCEINLINE HRESULT ID3D11VertexShader_GetPrivateData(ID3D11VertexShader* This,REFGUID guid,UINT *pDataSize,void *pData) {
   4707     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   4708 }
   4709 static FORCEINLINE HRESULT ID3D11VertexShader_SetPrivateData(ID3D11VertexShader* This,REFGUID guid,UINT DataSize,const void *pData) {
   4710     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   4711 }
   4712 static FORCEINLINE HRESULT ID3D11VertexShader_SetPrivateDataInterface(ID3D11VertexShader* This,REFGUID guid,const IUnknown *pData) {
   4713     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   4714 }
   4715 #endif
   4716 #endif
   4717 
   4718 #endif
   4719 
   4720 
   4721 #endif  /* __ID3D11VertexShader_INTERFACE_DEFINED__ */
   4722 
   4723 /*****************************************************************************
   4724  * ID3D11DeviceContext interface
   4725  */
   4726 #ifndef __ID3D11DeviceContext_INTERFACE_DEFINED__
   4727 #define __ID3D11DeviceContext_INTERFACE_DEFINED__
   4728 
   4729 DEFINE_GUID(IID_ID3D11DeviceContext, 0xc0bfa96c, 0xe089, 0x44fb, 0x8e,0xaf, 0x26,0xf8,0x79,0x61,0x90,0xda);
   4730 #if defined(__cplusplus) && !defined(CINTERFACE)
   4731 MIDL_INTERFACE("c0bfa96c-e089-44fb-8eaf-26f8796190da")
   4732 ID3D11DeviceContext : public ID3D11DeviceChild
   4733 {
   4734     virtual void STDMETHODCALLTYPE VSSetConstantBuffers(
   4735         UINT StartSlot,
   4736         UINT NumBuffers,
   4737         ID3D11Buffer *const *ppConstantBuffers) = 0;
   4738 
   4739     virtual void STDMETHODCALLTYPE PSSetShaderResources(
   4740         UINT StartSlot,
   4741         UINT NumViews,
   4742         ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0;
   4743 
   4744     virtual void STDMETHODCALLTYPE PSSetShader(
   4745         ID3D11PixelShader *pPixelShader,
   4746         ID3D11ClassInstance *const *ppClassInstances,
   4747         UINT NumClassInstances) = 0;
   4748 
   4749     virtual void STDMETHODCALLTYPE PSSetSamplers(
   4750         UINT StartSlot,
   4751         UINT NumSamplers,
   4752         ID3D11SamplerState *const *ppSamplers) = 0;
   4753 
   4754     virtual void STDMETHODCALLTYPE VSSetShader(
   4755         ID3D11VertexShader *pVertexShader,
   4756         ID3D11ClassInstance *const *ppClassInstances,
   4757         UINT NumClassInstances) = 0;
   4758 
   4759     virtual void STDMETHODCALLTYPE DrawIndexed(
   4760         UINT IndexCount,
   4761         UINT StartIndexLocation,
   4762         INT BaseVertexLocation) = 0;
   4763 
   4764     virtual void STDMETHODCALLTYPE Draw(
   4765         UINT VertexCount,
   4766         UINT StartVertexLocation) = 0;
   4767 
   4768     virtual HRESULT STDMETHODCALLTYPE Map(
   4769         ID3D11Resource *pResource,
   4770         UINT Subresource,
   4771         D3D11_MAP MapType,
   4772         UINT MapFlags,
   4773         D3D11_MAPPED_SUBRESOURCE *pMappedResource) = 0;
   4774 
   4775     virtual void STDMETHODCALLTYPE Unmap(
   4776         ID3D11Resource *pResource,
   4777         UINT Subresource) = 0;
   4778 
   4779     virtual void STDMETHODCALLTYPE PSSetConstantBuffers(
   4780         UINT StartSlot,
   4781         UINT NumBuffers,
   4782         ID3D11Buffer *const *ppConstantBuffers) = 0;
   4783 
   4784     virtual void STDMETHODCALLTYPE IASetInputLayout(
   4785         ID3D11InputLayout *pInputLayout) = 0;
   4786 
   4787     virtual void STDMETHODCALLTYPE IASetVertexBuffers(
   4788         UINT StartSlot,
   4789         UINT NumBuffers,
   4790         ID3D11Buffer *const *ppVertexBuffers,
   4791         const UINT *pStrides,
   4792         const UINT *pOffsets) = 0;
   4793 
   4794     virtual void STDMETHODCALLTYPE IASetIndexBuffer(
   4795         ID3D11Buffer *pIndexBuffer,
   4796         DXGI_FORMAT Format,
   4797         UINT Offset) = 0;
   4798 
   4799     virtual void STDMETHODCALLTYPE DrawIndexedInstanced(
   4800         UINT IndexCountPerInstance,
   4801         UINT InstanceCount,
   4802         UINT StartIndexLocation,
   4803         INT BaseVertexLocation,
   4804         UINT StartInstanceLocation) = 0;
   4805 
   4806     virtual void STDMETHODCALLTYPE DrawInstanced(
   4807         UINT VertexCountPerInstance,
   4808         UINT InstanceCount,
   4809         UINT StartVertexLocation,
   4810         UINT StartInstanceLocation) = 0;
   4811 
   4812     virtual void STDMETHODCALLTYPE GSSetConstantBuffers(
   4813         UINT StartSlot,
   4814         UINT NumBuffers,
   4815         ID3D11Buffer *const *ppConstantBuffers) = 0;
   4816 
   4817     virtual void STDMETHODCALLTYPE GSSetShader(
   4818         ID3D11GeometryShader *pShader,
   4819         ID3D11ClassInstance *const *ppClassInstances,
   4820         UINT NumClassInstances) = 0;
   4821 
   4822     virtual void STDMETHODCALLTYPE IASetPrimitiveTopology(
   4823         D3D11_PRIMITIVE_TOPOLOGY Topology) = 0;
   4824 
   4825     virtual void STDMETHODCALLTYPE VSSetShaderResources(
   4826         UINT StartSlot,
   4827         UINT NumViews,
   4828         ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0;
   4829 
   4830     virtual void STDMETHODCALLTYPE VSSetSamplers(
   4831         UINT StartSlot,
   4832         UINT NumSamplers,
   4833         ID3D11SamplerState *const *ppSamplers) = 0;
   4834 
   4835     virtual void STDMETHODCALLTYPE Begin(
   4836         ID3D11Asynchronous *pAsync) = 0;
   4837 
   4838     virtual void STDMETHODCALLTYPE End(
   4839         ID3D11Asynchronous *pAsync) = 0;
   4840 
   4841     virtual HRESULT STDMETHODCALLTYPE GetData(
   4842         ID3D11Asynchronous *pAsync,
   4843         void *pData,
   4844         UINT DataSize,
   4845         UINT GetDataFlags) = 0;
   4846 
   4847     virtual void STDMETHODCALLTYPE SetPredication(
   4848         ID3D11Predicate *pPredicate,
   4849         WINBOOL PredicateValue) = 0;
   4850 
   4851     virtual void STDMETHODCALLTYPE GSSetShaderResources(
   4852         UINT StartSlot,
   4853         UINT NumViews,
   4854         ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0;
   4855 
   4856     virtual void STDMETHODCALLTYPE GSSetSamplers(
   4857         UINT StartSlot,
   4858         UINT NumSamplers,
   4859         ID3D11SamplerState *const *ppSamplers) = 0;
   4860 
   4861     virtual void STDMETHODCALLTYPE OMSetRenderTargets(
   4862         UINT NumViews,
   4863         ID3D11RenderTargetView *const *ppRenderTargetViews,
   4864         ID3D11DepthStencilView *pDepthStencilView) = 0;
   4865 
   4866     virtual void STDMETHODCALLTYPE OMSetRenderTargetsAndUnorderedAccessViews(
   4867         UINT NumRTVs,
   4868         ID3D11RenderTargetView *const *ppRenderTargetViews,
   4869         ID3D11DepthStencilView *pDepthStencilView,
   4870         UINT UAVStartSlot,
   4871         UINT NumUAVs,
   4872         ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
   4873         const UINT *pUAVInitialCounts) = 0;
   4874 
   4875     virtual void STDMETHODCALLTYPE OMSetBlendState(
   4876         ID3D11BlendState *pBlendState,
   4877         const FLOAT BlendFactor[4],
   4878         UINT SampleMask) = 0;
   4879 
   4880     virtual void STDMETHODCALLTYPE OMSetDepthStencilState(
   4881         ID3D11DepthStencilState *pDepthStencilState,
   4882         UINT StencilRef) = 0;
   4883 
   4884     virtual void STDMETHODCALLTYPE SOSetTargets(
   4885         UINT NumBuffers,
   4886         ID3D11Buffer *const *ppSOTargets,
   4887         const UINT *pOffsets) = 0;
   4888 
   4889     virtual void STDMETHODCALLTYPE DrawAuto(
   4890         ) = 0;
   4891 
   4892     virtual void STDMETHODCALLTYPE DrawIndexedInstancedIndirect(
   4893         ID3D11Buffer *pBufferForArgs,
   4894         UINT AlignedByteOffsetForArgs) = 0;
   4895 
   4896     virtual void STDMETHODCALLTYPE DrawInstancedIndirect(
   4897         ID3D11Buffer *pBufferForArgs,
   4898         UINT AlignedByteOffsetForArgs) = 0;
   4899 
   4900     virtual void STDMETHODCALLTYPE Dispatch(
   4901         UINT ThreadGroupCountX,
   4902         UINT ThreadGroupCountY,
   4903         UINT ThreadGroupCountZ) = 0;
   4904 
   4905     virtual void STDMETHODCALLTYPE DispatchIndirect(
   4906         ID3D11Buffer *pBufferForArgs,
   4907         UINT AlignedByteOffsetForArgs) = 0;
   4908 
   4909     virtual void STDMETHODCALLTYPE RSSetState(
   4910         ID3D11RasterizerState *pRasterizerState) = 0;
   4911 
   4912     virtual void STDMETHODCALLTYPE RSSetViewports(
   4913         UINT NumViewports,
   4914         const D3D11_VIEWPORT *pViewports) = 0;
   4915 
   4916     virtual void STDMETHODCALLTYPE RSSetScissorRects(
   4917         UINT NumRects,
   4918         const D3D11_RECT *pRects) = 0;
   4919 
   4920     virtual void STDMETHODCALLTYPE CopySubresourceRegion(
   4921         ID3D11Resource *pDstResource,
   4922         UINT DstSubresource,
   4923         UINT DstX,
   4924         UINT DstY,
   4925         UINT DstZ,
   4926         ID3D11Resource *pSrcResource,
   4927         UINT SrcSubresource,
   4928         const D3D11_BOX *pSrcBox) = 0;
   4929 
   4930     virtual void STDMETHODCALLTYPE CopyResource(
   4931         ID3D11Resource *pDstResource,
   4932         ID3D11Resource *pSrcResource) = 0;
   4933 
   4934     virtual void STDMETHODCALLTYPE UpdateSubresource(
   4935         ID3D11Resource *pDstResource,
   4936         UINT DstSubresource,
   4937         const D3D11_BOX *pDstBox,
   4938         const void *pSrcData,
   4939         UINT SrcRowPitch,
   4940         UINT SrcDepthPitch) = 0;
   4941 
   4942     virtual void STDMETHODCALLTYPE CopyStructureCount(
   4943         ID3D11Buffer *pDstBuffer,
   4944         UINT DstAlignedByteOffset,
   4945         ID3D11UnorderedAccessView *pSrcView) = 0;
   4946 
   4947     virtual void STDMETHODCALLTYPE ClearRenderTargetView(
   4948         ID3D11RenderTargetView *pRenderTargetView,
   4949         const FLOAT ColorRGBA[4]) = 0;
   4950 
   4951     virtual void STDMETHODCALLTYPE ClearUnorderedAccessViewUint(
   4952         ID3D11UnorderedAccessView *pUnorderedAccessView,
   4953         const UINT Values[4]) = 0;
   4954 
   4955     virtual void STDMETHODCALLTYPE ClearUnorderedAccessViewFloat(
   4956         ID3D11UnorderedAccessView *pUnorderedAccessView,
   4957         const FLOAT Values[4]) = 0;
   4958 
   4959     virtual void STDMETHODCALLTYPE ClearDepthStencilView(
   4960         ID3D11DepthStencilView *pDepthStencilView,
   4961         UINT ClearFlags,
   4962         FLOAT Depth,
   4963         UINT8 Stencil) = 0;
   4964 
   4965     virtual void STDMETHODCALLTYPE GenerateMips(
   4966         ID3D11ShaderResourceView *pShaderResourceView) = 0;
   4967 
   4968     virtual void STDMETHODCALLTYPE SetResourceMinLOD(
   4969         ID3D11Resource *pResource,
   4970         FLOAT MinLOD) = 0;
   4971 
   4972     virtual FLOAT STDMETHODCALLTYPE GetResourceMinLOD(
   4973         ID3D11Resource *pResource) = 0;
   4974 
   4975     virtual void STDMETHODCALLTYPE ResolveSubresource(
   4976         ID3D11Resource *pDstResource,
   4977         UINT DstSubresource,
   4978         ID3D11Resource *pSrcResource,
   4979         UINT SrcSubresource,
   4980         DXGI_FORMAT Format) = 0;
   4981 
   4982     virtual void STDMETHODCALLTYPE ExecuteCommandList(
   4983         ID3D11CommandList *pCommandList,
   4984         WINBOOL RestoreContextState) = 0;
   4985 
   4986     virtual void STDMETHODCALLTYPE HSSetShaderResources(
   4987         UINT StartSlot,
   4988         UINT NumViews,
   4989         ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0;
   4990 
   4991     virtual void STDMETHODCALLTYPE HSSetShader(
   4992         ID3D11HullShader *pHullShader,
   4993         ID3D11ClassInstance *const *ppClassInstances,
   4994         UINT NumClassInstances) = 0;
   4995 
   4996     virtual void STDMETHODCALLTYPE HSSetSamplers(
   4997         UINT StartSlot,
   4998         UINT NumSamplers,
   4999         ID3D11SamplerState *const *ppSamplers) = 0;
   5000 
   5001     virtual void STDMETHODCALLTYPE HSSetConstantBuffers(
   5002         UINT StartSlot,
   5003         UINT NumBuffers,
   5004         ID3D11Buffer *const *ppConstantBuffers) = 0;
   5005 
   5006     virtual void STDMETHODCALLTYPE DSSetShaderResources(
   5007         UINT StartSlot,
   5008         UINT NumViews,
   5009         ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0;
   5010 
   5011     virtual void STDMETHODCALLTYPE DSSetShader(
   5012         ID3D11DomainShader *pDomainShader,
   5013         ID3D11ClassInstance *const *ppClassInstances,
   5014         UINT NumClassInstances) = 0;
   5015 
   5016     virtual void STDMETHODCALLTYPE DSSetSamplers(
   5017         UINT StartSlot,
   5018         UINT NumSamplers,
   5019         ID3D11SamplerState *const *ppSamplers) = 0;
   5020 
   5021     virtual void STDMETHODCALLTYPE DSSetConstantBuffers(
   5022         UINT StartSlot,
   5023         UINT NumBuffers,
   5024         ID3D11Buffer *const *ppConstantBuffers) = 0;
   5025 
   5026     virtual void STDMETHODCALLTYPE CSSetShaderResources(
   5027         UINT StartSlot,
   5028         UINT NumViews,
   5029         ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0;
   5030 
   5031     virtual void STDMETHODCALLTYPE CSSetUnorderedAccessViews(
   5032         UINT StartSlot,
   5033         UINT NumUAVs,
   5034         ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
   5035         const UINT *pUAVInitialCounts) = 0;
   5036 
   5037     virtual void STDMETHODCALLTYPE CSSetShader(
   5038         ID3D11ComputeShader *pComputeShader,
   5039         ID3D11ClassInstance *const *ppClassInstances,
   5040         UINT NumClassInstances) = 0;
   5041 
   5042     virtual void STDMETHODCALLTYPE CSSetSamplers(
   5043         UINT StartSlot,
   5044         UINT NumSamplers,
   5045         ID3D11SamplerState *const *ppSamplers) = 0;
   5046 
   5047     virtual void STDMETHODCALLTYPE CSSetConstantBuffers(
   5048         UINT StartSlot,
   5049         UINT NumBuffers,
   5050         ID3D11Buffer *const *ppConstantBuffers) = 0;
   5051 
   5052     virtual void STDMETHODCALLTYPE VSGetConstantBuffers(
   5053         UINT StartSlot,
   5054         UINT NumBuffers,
   5055         ID3D11Buffer **ppConstantBuffers) = 0;
   5056 
   5057     virtual void STDMETHODCALLTYPE PSGetShaderResources(
   5058         UINT StartSlot,
   5059         UINT NumViews,
   5060         ID3D11ShaderResourceView **ppShaderResourceViews) = 0;
   5061 
   5062     virtual void STDMETHODCALLTYPE PSGetShader(
   5063         ID3D11PixelShader **ppPixelShader,
   5064         ID3D11ClassInstance **ppClassInstances,
   5065         UINT *pNumClassInstances) = 0;
   5066 
   5067     virtual void STDMETHODCALLTYPE PSGetSamplers(
   5068         UINT StartSlot,
   5069         UINT NumSamplers,
   5070         ID3D11SamplerState **ppSamplers) = 0;
   5071 
   5072     virtual void STDMETHODCALLTYPE VSGetShader(
   5073         ID3D11VertexShader **ppVertexShader,
   5074         ID3D11ClassInstance **ppClassInstances,
   5075         UINT *pNumClassInstances) = 0;
   5076 
   5077     virtual void STDMETHODCALLTYPE PSGetConstantBuffers(
   5078         UINT StartSlot,
   5079         UINT NumBuffers,
   5080         ID3D11Buffer **ppConstantBuffers) = 0;
   5081 
   5082     virtual void STDMETHODCALLTYPE IAGetInputLayout(
   5083         ID3D11InputLayout **ppInputLayout) = 0;
   5084 
   5085     virtual void STDMETHODCALLTYPE IAGetVertexBuffers(
   5086         UINT StartSlot,
   5087         UINT NumBuffers,
   5088         ID3D11Buffer **ppVertexBuffers,
   5089         UINT *pStrides,
   5090         UINT *pOffsets) = 0;
   5091 
   5092     virtual void STDMETHODCALLTYPE IAGetIndexBuffer(
   5093         ID3D11Buffer **pIndexBuffer,
   5094         DXGI_FORMAT *Format,
   5095         UINT *Offset) = 0;
   5096 
   5097     virtual void STDMETHODCALLTYPE GSGetConstantBuffers(
   5098         UINT StartSlot,
   5099         UINT NumBuffers,
   5100         ID3D11Buffer **ppConstantBuffers) = 0;
   5101 
   5102     virtual void STDMETHODCALLTYPE GSGetShader(
   5103         ID3D11GeometryShader **ppGeometryShader,
   5104         ID3D11ClassInstance **ppClassInstances,
   5105         UINT *pNumClassInstances) = 0;
   5106 
   5107     virtual void STDMETHODCALLTYPE IAGetPrimitiveTopology(
   5108         D3D11_PRIMITIVE_TOPOLOGY *pTopology) = 0;
   5109 
   5110     virtual void STDMETHODCALLTYPE VSGetShaderResources(
   5111         UINT StartSlot,
   5112         UINT NumViews,
   5113         ID3D11ShaderResourceView **ppShaderResourceViews) = 0;
   5114 
   5115     virtual void STDMETHODCALLTYPE VSGetSamplers(
   5116         UINT StartSlot,
   5117         UINT NumSamplers,
   5118         ID3D11SamplerState **ppSamplers) = 0;
   5119 
   5120     virtual void STDMETHODCALLTYPE GetPredication(
   5121         ID3D11Predicate **ppPredicate,
   5122         WINBOOL *pPredicateValue) = 0;
   5123 
   5124     virtual void STDMETHODCALLTYPE GSGetShaderResources(
   5125         UINT StartSlot,
   5126         UINT NumViews,
   5127         ID3D11ShaderResourceView **ppShaderResourceViews) = 0;
   5128 
   5129     virtual void STDMETHODCALLTYPE GSGetSamplers(
   5130         UINT StartSlot,
   5131         UINT NumSamplers,
   5132         ID3D11SamplerState **ppSamplers) = 0;
   5133 
   5134     virtual void STDMETHODCALLTYPE OMGetRenderTargets(
   5135         UINT NumViews,
   5136         ID3D11RenderTargetView **ppRenderTargetViews,
   5137         ID3D11DepthStencilView **ppDepthStencilView) = 0;
   5138 
   5139     virtual void STDMETHODCALLTYPE OMGetRenderTargetsAndUnorderedAccessViews(
   5140         UINT NumRTVs,
   5141         ID3D11RenderTargetView **ppRenderTargetViews,
   5142         ID3D11DepthStencilView **ppDepthStencilView,
   5143         UINT UAVStartSlot,
   5144         UINT NumUAVs,
   5145         ID3D11UnorderedAccessView **ppUnorderedAccessViews) = 0;
   5146 
   5147     virtual void STDMETHODCALLTYPE OMGetBlendState(
   5148         ID3D11BlendState **ppBlendState,
   5149         FLOAT BlendFactor[4],
   5150         UINT *pSampleMask) = 0;
   5151 
   5152     virtual void STDMETHODCALLTYPE OMGetDepthStencilState(
   5153         ID3D11DepthStencilState **ppDepthStencilState,
   5154         UINT *pStencilRef) = 0;
   5155 
   5156     virtual void STDMETHODCALLTYPE SOGetTargets(
   5157         UINT NumBuffers,
   5158         ID3D11Buffer **ppSOTargets) = 0;
   5159 
   5160     virtual void STDMETHODCALLTYPE RSGetState(
   5161         ID3D11RasterizerState **ppRasterizerState) = 0;
   5162 
   5163     virtual void STDMETHODCALLTYPE RSGetViewports(
   5164         UINT *pNumViewports,
   5165         D3D11_VIEWPORT *pViewports) = 0;
   5166 
   5167     virtual void STDMETHODCALLTYPE RSGetScissorRects(
   5168         UINT *pNumRects,
   5169         D3D11_RECT *pRects) = 0;
   5170 
   5171     virtual void STDMETHODCALLTYPE HSGetShaderResources(
   5172         UINT StartSlot,
   5173         UINT NumViews,
   5174         ID3D11ShaderResourceView **ppShaderResourceViews) = 0;
   5175 
   5176     virtual void STDMETHODCALLTYPE HSGetShader(
   5177         ID3D11HullShader **ppHullShader,
   5178         ID3D11ClassInstance **ppClassInstances,
   5179         UINT *pNumClassInstances) = 0;
   5180 
   5181     virtual void STDMETHODCALLTYPE HSGetSamplers(
   5182         UINT StartSlot,
   5183         UINT NumSamplers,
   5184         ID3D11SamplerState **ppSamplers) = 0;
   5185 
   5186     virtual void STDMETHODCALLTYPE HSGetConstantBuffers(
   5187         UINT StartSlot,
   5188         UINT NumBuffers,
   5189         ID3D11Buffer **ppConstantBuffers) = 0;
   5190 
   5191     virtual void STDMETHODCALLTYPE DSGetShaderResources(
   5192         UINT StartSlot,
   5193         UINT NumViews,
   5194         ID3D11ShaderResourceView **ppShaderResourceViews) = 0;
   5195 
   5196     virtual void STDMETHODCALLTYPE DSGetShader(
   5197         ID3D11DomainShader **ppDomainShader,
   5198         ID3D11ClassInstance **ppClassInstances,
   5199         UINT *pNumClassInstances) = 0;
   5200 
   5201     virtual void STDMETHODCALLTYPE DSGetSamplers(
   5202         UINT StartSlot,
   5203         UINT NumSamplers,
   5204         ID3D11SamplerState **ppSamplers) = 0;
   5205 
   5206     virtual void STDMETHODCALLTYPE DSGetConstantBuffers(
   5207         UINT StartSlot,
   5208         UINT NumBuffers,
   5209         ID3D11Buffer **ppConstantBuffers) = 0;
   5210 
   5211     virtual void STDMETHODCALLTYPE CSGetShaderResources(
   5212         UINT StartSlot,
   5213         UINT NumViews,
   5214         ID3D11ShaderResourceView **ppShaderResourceViews) = 0;
   5215 
   5216     virtual void STDMETHODCALLTYPE CSGetUnorderedAccessViews(
   5217         UINT StartSlot,
   5218         UINT NumUAVs,
   5219         ID3D11UnorderedAccessView **ppUnorderedAccessViews) = 0;
   5220 
   5221     virtual void STDMETHODCALLTYPE CSGetShader(
   5222         ID3D11ComputeShader **ppComputeShader,
   5223         ID3D11ClassInstance **ppClassInstances,
   5224         UINT *pNumClassInstances) = 0;
   5225 
   5226     virtual void STDMETHODCALLTYPE CSGetSamplers(
   5227         UINT StartSlot,
   5228         UINT NumSamplers,
   5229         ID3D11SamplerState **ppSamplers) = 0;
   5230 
   5231     virtual void STDMETHODCALLTYPE CSGetConstantBuffers(
   5232         UINT StartSlot,
   5233         UINT NumBuffers,
   5234         ID3D11Buffer **ppConstantBuffers) = 0;
   5235 
   5236     virtual void STDMETHODCALLTYPE ClearState(
   5237         ) = 0;
   5238 
   5239     virtual void STDMETHODCALLTYPE Flush(
   5240         ) = 0;
   5241 
   5242     virtual D3D11_DEVICE_CONTEXT_TYPE STDMETHODCALLTYPE GetType(
   5243         ) = 0;
   5244 
   5245     virtual UINT STDMETHODCALLTYPE GetContextFlags(
   5246         ) = 0;
   5247 
   5248     virtual HRESULT STDMETHODCALLTYPE FinishCommandList(
   5249         WINBOOL RestoreDeferredContextState,
   5250         ID3D11CommandList **ppCommandList) = 0;
   5251 
   5252 };
   5253 #ifdef __CRT_UUID_DECL
   5254 __CRT_UUID_DECL(ID3D11DeviceContext, 0xc0bfa96c, 0xe089, 0x44fb, 0x8e,0xaf, 0x26,0xf8,0x79,0x61,0x90,0xda)
   5255 #endif
   5256 #else
   5257 typedef struct ID3D11DeviceContextVtbl {
   5258     BEGIN_INTERFACE
   5259 
   5260     /*** IUnknown methods ***/
   5261     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   5262         ID3D11DeviceContext* This,
   5263         REFIID riid,
   5264         void **ppvObject);
   5265 
   5266     ULONG (STDMETHODCALLTYPE *AddRef)(
   5267         ID3D11DeviceContext* This);
   5268 
   5269     ULONG (STDMETHODCALLTYPE *Release)(
   5270         ID3D11DeviceContext* This);
   5271 
   5272     /*** ID3D11DeviceChild methods ***/
   5273     void (STDMETHODCALLTYPE *GetDevice)(
   5274         ID3D11DeviceContext* This,
   5275         ID3D11Device **ppDevice);
   5276 
   5277     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   5278         ID3D11DeviceContext* This,
   5279         REFGUID guid,
   5280         UINT *pDataSize,
   5281         void *pData);
   5282 
   5283     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   5284         ID3D11DeviceContext* This,
   5285         REFGUID guid,
   5286         UINT DataSize,
   5287         const void *pData);
   5288 
   5289     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   5290         ID3D11DeviceContext* This,
   5291         REFGUID guid,
   5292         const IUnknown *pData);
   5293 
   5294     /*** ID3D11DeviceContext methods ***/
   5295     void (STDMETHODCALLTYPE *VSSetConstantBuffers)(
   5296         ID3D11DeviceContext* This,
   5297         UINT StartSlot,
   5298         UINT NumBuffers,
   5299         ID3D11Buffer *const *ppConstantBuffers);
   5300 
   5301     void (STDMETHODCALLTYPE *PSSetShaderResources)(
   5302         ID3D11DeviceContext* This,
   5303         UINT StartSlot,
   5304         UINT NumViews,
   5305         ID3D11ShaderResourceView *const *ppShaderResourceViews);
   5306 
   5307     void (STDMETHODCALLTYPE *PSSetShader)(
   5308         ID3D11DeviceContext* This,
   5309         ID3D11PixelShader *pPixelShader,
   5310         ID3D11ClassInstance *const *ppClassInstances,
   5311         UINT NumClassInstances);
   5312 
   5313     void (STDMETHODCALLTYPE *PSSetSamplers)(
   5314         ID3D11DeviceContext* This,
   5315         UINT StartSlot,
   5316         UINT NumSamplers,
   5317         ID3D11SamplerState *const *ppSamplers);
   5318 
   5319     void (STDMETHODCALLTYPE *VSSetShader)(
   5320         ID3D11DeviceContext* This,
   5321         ID3D11VertexShader *pVertexShader,
   5322         ID3D11ClassInstance *const *ppClassInstances,
   5323         UINT NumClassInstances);
   5324 
   5325     void (STDMETHODCALLTYPE *DrawIndexed)(
   5326         ID3D11DeviceContext* This,
   5327         UINT IndexCount,
   5328         UINT StartIndexLocation,
   5329         INT BaseVertexLocation);
   5330 
   5331     void (STDMETHODCALLTYPE *Draw)(
   5332         ID3D11DeviceContext* This,
   5333         UINT VertexCount,
   5334         UINT StartVertexLocation);
   5335 
   5336     HRESULT (STDMETHODCALLTYPE *Map)(
   5337         ID3D11DeviceContext* This,
   5338         ID3D11Resource *pResource,
   5339         UINT Subresource,
   5340         D3D11_MAP MapType,
   5341         UINT MapFlags,
   5342         D3D11_MAPPED_SUBRESOURCE *pMappedResource);
   5343 
   5344     void (STDMETHODCALLTYPE *Unmap)(
   5345         ID3D11DeviceContext* This,
   5346         ID3D11Resource *pResource,
   5347         UINT Subresource);
   5348 
   5349     void (STDMETHODCALLTYPE *PSSetConstantBuffers)(
   5350         ID3D11DeviceContext* This,
   5351         UINT StartSlot,
   5352         UINT NumBuffers,
   5353         ID3D11Buffer *const *ppConstantBuffers);
   5354 
   5355     void (STDMETHODCALLTYPE *IASetInputLayout)(
   5356         ID3D11DeviceContext* This,
   5357         ID3D11InputLayout *pInputLayout);
   5358 
   5359     void (STDMETHODCALLTYPE *IASetVertexBuffers)(
   5360         ID3D11DeviceContext* This,
   5361         UINT StartSlot,
   5362         UINT NumBuffers,
   5363         ID3D11Buffer *const *ppVertexBuffers,
   5364         const UINT *pStrides,
   5365         const UINT *pOffsets);
   5366 
   5367     void (STDMETHODCALLTYPE *IASetIndexBuffer)(
   5368         ID3D11DeviceContext* This,
   5369         ID3D11Buffer *pIndexBuffer,
   5370         DXGI_FORMAT Format,
   5371         UINT Offset);
   5372 
   5373     void (STDMETHODCALLTYPE *DrawIndexedInstanced)(
   5374         ID3D11DeviceContext* This,
   5375         UINT IndexCountPerInstance,
   5376         UINT InstanceCount,
   5377         UINT StartIndexLocation,
   5378         INT BaseVertexLocation,
   5379         UINT StartInstanceLocation);
   5380 
   5381     void (STDMETHODCALLTYPE *DrawInstanced)(
   5382         ID3D11DeviceContext* This,
   5383         UINT VertexCountPerInstance,
   5384         UINT InstanceCount,
   5385         UINT StartVertexLocation,
   5386         UINT StartInstanceLocation);
   5387 
   5388     void (STDMETHODCALLTYPE *GSSetConstantBuffers)(
   5389         ID3D11DeviceContext* This,
   5390         UINT StartSlot,
   5391         UINT NumBuffers,
   5392         ID3D11Buffer *const *ppConstantBuffers);
   5393 
   5394     void (STDMETHODCALLTYPE *GSSetShader)(
   5395         ID3D11DeviceContext* This,
   5396         ID3D11GeometryShader *pShader,
   5397         ID3D11ClassInstance *const *ppClassInstances,
   5398         UINT NumClassInstances);
   5399 
   5400     void (STDMETHODCALLTYPE *IASetPrimitiveTopology)(
   5401         ID3D11DeviceContext* This,
   5402         D3D11_PRIMITIVE_TOPOLOGY Topology);
   5403 
   5404     void (STDMETHODCALLTYPE *VSSetShaderResources)(
   5405         ID3D11DeviceContext* This,
   5406         UINT StartSlot,
   5407         UINT NumViews,
   5408         ID3D11ShaderResourceView *const *ppShaderResourceViews);
   5409 
   5410     void (STDMETHODCALLTYPE *VSSetSamplers)(
   5411         ID3D11DeviceContext* This,
   5412         UINT StartSlot,
   5413         UINT NumSamplers,
   5414         ID3D11SamplerState *const *ppSamplers);
   5415 
   5416     void (STDMETHODCALLTYPE *Begin)(
   5417         ID3D11DeviceContext* This,
   5418         ID3D11Asynchronous *pAsync);
   5419 
   5420     void (STDMETHODCALLTYPE *End)(
   5421         ID3D11DeviceContext* This,
   5422         ID3D11Asynchronous *pAsync);
   5423 
   5424     HRESULT (STDMETHODCALLTYPE *GetData)(
   5425         ID3D11DeviceContext* This,
   5426         ID3D11Asynchronous *pAsync,
   5427         void *pData,
   5428         UINT DataSize,
   5429         UINT GetDataFlags);
   5430 
   5431     void (STDMETHODCALLTYPE *SetPredication)(
   5432         ID3D11DeviceContext* This,
   5433         ID3D11Predicate *pPredicate,
   5434         WINBOOL PredicateValue);
   5435 
   5436     void (STDMETHODCALLTYPE *GSSetShaderResources)(
   5437         ID3D11DeviceContext* This,
   5438         UINT StartSlot,
   5439         UINT NumViews,
   5440         ID3D11ShaderResourceView *const *ppShaderResourceViews);
   5441 
   5442     void (STDMETHODCALLTYPE *GSSetSamplers)(
   5443         ID3D11DeviceContext* This,
   5444         UINT StartSlot,
   5445         UINT NumSamplers,
   5446         ID3D11SamplerState *const *ppSamplers);
   5447 
   5448     void (STDMETHODCALLTYPE *OMSetRenderTargets)(
   5449         ID3D11DeviceContext* This,
   5450         UINT NumViews,
   5451         ID3D11RenderTargetView *const *ppRenderTargetViews,
   5452         ID3D11DepthStencilView *pDepthStencilView);
   5453 
   5454     void (STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews)(
   5455         ID3D11DeviceContext* This,
   5456         UINT NumRTVs,
   5457         ID3D11RenderTargetView *const *ppRenderTargetViews,
   5458         ID3D11DepthStencilView *pDepthStencilView,
   5459         UINT UAVStartSlot,
   5460         UINT NumUAVs,
   5461         ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
   5462         const UINT *pUAVInitialCounts);
   5463 
   5464     void (STDMETHODCALLTYPE *OMSetBlendState)(
   5465         ID3D11DeviceContext* This,
   5466         ID3D11BlendState *pBlendState,
   5467         const FLOAT BlendFactor[4],
   5468         UINT SampleMask);
   5469 
   5470     void (STDMETHODCALLTYPE *OMSetDepthStencilState)(
   5471         ID3D11DeviceContext* This,
   5472         ID3D11DepthStencilState *pDepthStencilState,
   5473         UINT StencilRef);
   5474 
   5475     void (STDMETHODCALLTYPE *SOSetTargets)(
   5476         ID3D11DeviceContext* This,
   5477         UINT NumBuffers,
   5478         ID3D11Buffer *const *ppSOTargets,
   5479         const UINT *pOffsets);
   5480 
   5481     void (STDMETHODCALLTYPE *DrawAuto)(
   5482         ID3D11DeviceContext* This);
   5483 
   5484     void (STDMETHODCALLTYPE *DrawIndexedInstancedIndirect)(
   5485         ID3D11DeviceContext* This,
   5486         ID3D11Buffer *pBufferForArgs,
   5487         UINT AlignedByteOffsetForArgs);
   5488 
   5489     void (STDMETHODCALLTYPE *DrawInstancedIndirect)(
   5490         ID3D11DeviceContext* This,
   5491         ID3D11Buffer *pBufferForArgs,
   5492         UINT AlignedByteOffsetForArgs);
   5493 
   5494     void (STDMETHODCALLTYPE *Dispatch)(
   5495         ID3D11DeviceContext* This,
   5496         UINT ThreadGroupCountX,
   5497         UINT ThreadGroupCountY,
   5498         UINT ThreadGroupCountZ);
   5499 
   5500     void (STDMETHODCALLTYPE *DispatchIndirect)(
   5501         ID3D11DeviceContext* This,
   5502         ID3D11Buffer *pBufferForArgs,
   5503         UINT AlignedByteOffsetForArgs);
   5504 
   5505     void (STDMETHODCALLTYPE *RSSetState)(
   5506         ID3D11DeviceContext* This,
   5507         ID3D11RasterizerState *pRasterizerState);
   5508 
   5509     void (STDMETHODCALLTYPE *RSSetViewports)(
   5510         ID3D11DeviceContext* This,
   5511         UINT NumViewports,
   5512         const D3D11_VIEWPORT *pViewports);
   5513 
   5514     void (STDMETHODCALLTYPE *RSSetScissorRects)(
   5515         ID3D11DeviceContext* This,
   5516         UINT NumRects,
   5517         const D3D11_RECT *pRects);
   5518 
   5519     void (STDMETHODCALLTYPE *CopySubresourceRegion)(
   5520         ID3D11DeviceContext* This,
   5521         ID3D11Resource *pDstResource,
   5522         UINT DstSubresource,
   5523         UINT DstX,
   5524         UINT DstY,
   5525         UINT DstZ,
   5526         ID3D11Resource *pSrcResource,
   5527         UINT SrcSubresource,
   5528         const D3D11_BOX *pSrcBox);
   5529 
   5530     void (STDMETHODCALLTYPE *CopyResource)(
   5531         ID3D11DeviceContext* This,
   5532         ID3D11Resource *pDstResource,
   5533         ID3D11Resource *pSrcResource);
   5534 
   5535     void (STDMETHODCALLTYPE *UpdateSubresource)(
   5536         ID3D11DeviceContext* This,
   5537         ID3D11Resource *pDstResource,
   5538         UINT DstSubresource,
   5539         const D3D11_BOX *pDstBox,
   5540         const void *pSrcData,
   5541         UINT SrcRowPitch,
   5542         UINT SrcDepthPitch);
   5543 
   5544     void (STDMETHODCALLTYPE *CopyStructureCount)(
   5545         ID3D11DeviceContext* This,
   5546         ID3D11Buffer *pDstBuffer,
   5547         UINT DstAlignedByteOffset,
   5548         ID3D11UnorderedAccessView *pSrcView);
   5549 
   5550     void (STDMETHODCALLTYPE *ClearRenderTargetView)(
   5551         ID3D11DeviceContext* This,
   5552         ID3D11RenderTargetView *pRenderTargetView,
   5553         const FLOAT ColorRGBA[4]);
   5554 
   5555     void (STDMETHODCALLTYPE *ClearUnorderedAccessViewUint)(
   5556         ID3D11DeviceContext* This,
   5557         ID3D11UnorderedAccessView *pUnorderedAccessView,
   5558         const UINT Values[4]);
   5559 
   5560     void (STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat)(
   5561         ID3D11DeviceContext* This,
   5562         ID3D11UnorderedAccessView *pUnorderedAccessView,
   5563         const FLOAT Values[4]);
   5564 
   5565     void (STDMETHODCALLTYPE *ClearDepthStencilView)(
   5566         ID3D11DeviceContext* This,
   5567         ID3D11DepthStencilView *pDepthStencilView,
   5568         UINT ClearFlags,
   5569         FLOAT Depth,
   5570         UINT8 Stencil);
   5571 
   5572     void (STDMETHODCALLTYPE *GenerateMips)(
   5573         ID3D11DeviceContext* This,
   5574         ID3D11ShaderResourceView *pShaderResourceView);
   5575 
   5576     void (STDMETHODCALLTYPE *SetResourceMinLOD)(
   5577         ID3D11DeviceContext* This,
   5578         ID3D11Resource *pResource,
   5579         FLOAT MinLOD);
   5580 
   5581     FLOAT (STDMETHODCALLTYPE *GetResourceMinLOD)(
   5582         ID3D11DeviceContext* This,
   5583         ID3D11Resource *pResource);
   5584 
   5585     void (STDMETHODCALLTYPE *ResolveSubresource)(
   5586         ID3D11DeviceContext* This,
   5587         ID3D11Resource *pDstResource,
   5588         UINT DstSubresource,
   5589         ID3D11Resource *pSrcResource,
   5590         UINT SrcSubresource,
   5591         DXGI_FORMAT Format);
   5592 
   5593     void (STDMETHODCALLTYPE *ExecuteCommandList)(
   5594         ID3D11DeviceContext* This,
   5595         ID3D11CommandList *pCommandList,
   5596         WINBOOL RestoreContextState);
   5597 
   5598     void (STDMETHODCALLTYPE *HSSetShaderResources)(
   5599         ID3D11DeviceContext* This,
   5600         UINT StartSlot,
   5601         UINT NumViews,
   5602         ID3D11ShaderResourceView *const *ppShaderResourceViews);
   5603 
   5604     void (STDMETHODCALLTYPE *HSSetShader)(
   5605         ID3D11DeviceContext* This,
   5606         ID3D11HullShader *pHullShader,
   5607         ID3D11ClassInstance *const *ppClassInstances,
   5608         UINT NumClassInstances);
   5609 
   5610     void (STDMETHODCALLTYPE *HSSetSamplers)(
   5611         ID3D11DeviceContext* This,
   5612         UINT StartSlot,
   5613         UINT NumSamplers,
   5614         ID3D11SamplerState *const *ppSamplers);
   5615 
   5616     void (STDMETHODCALLTYPE *HSSetConstantBuffers)(
   5617         ID3D11DeviceContext* This,
   5618         UINT StartSlot,
   5619         UINT NumBuffers,
   5620         ID3D11Buffer *const *ppConstantBuffers);
   5621 
   5622     void (STDMETHODCALLTYPE *DSSetShaderResources)(
   5623         ID3D11DeviceContext* This,
   5624         UINT StartSlot,
   5625         UINT NumViews,
   5626         ID3D11ShaderResourceView *const *ppShaderResourceViews);
   5627 
   5628     void (STDMETHODCALLTYPE *DSSetShader)(
   5629         ID3D11DeviceContext* This,
   5630         ID3D11DomainShader *pDomainShader,
   5631         ID3D11ClassInstance *const *ppClassInstances,
   5632         UINT NumClassInstances);
   5633 
   5634     void (STDMETHODCALLTYPE *DSSetSamplers)(
   5635         ID3D11DeviceContext* This,
   5636         UINT StartSlot,
   5637         UINT NumSamplers,
   5638         ID3D11SamplerState *const *ppSamplers);
   5639 
   5640     void (STDMETHODCALLTYPE *DSSetConstantBuffers)(
   5641         ID3D11DeviceContext* This,
   5642         UINT StartSlot,
   5643         UINT NumBuffers,
   5644         ID3D11Buffer *const *ppConstantBuffers);
   5645 
   5646     void (STDMETHODCALLTYPE *CSSetShaderResources)(
   5647         ID3D11DeviceContext* This,
   5648         UINT StartSlot,
   5649         UINT NumViews,
   5650         ID3D11ShaderResourceView *const *ppShaderResourceViews);
   5651 
   5652     void (STDMETHODCALLTYPE *CSSetUnorderedAccessViews)(
   5653         ID3D11DeviceContext* This,
   5654         UINT StartSlot,
   5655         UINT NumUAVs,
   5656         ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
   5657         const UINT *pUAVInitialCounts);
   5658 
   5659     void (STDMETHODCALLTYPE *CSSetShader)(
   5660         ID3D11DeviceContext* This,
   5661         ID3D11ComputeShader *pComputeShader,
   5662         ID3D11ClassInstance *const *ppClassInstances,
   5663         UINT NumClassInstances);
   5664 
   5665     void (STDMETHODCALLTYPE *CSSetSamplers)(
   5666         ID3D11DeviceContext* This,
   5667         UINT StartSlot,
   5668         UINT NumSamplers,
   5669         ID3D11SamplerState *const *ppSamplers);
   5670 
   5671     void (STDMETHODCALLTYPE *CSSetConstantBuffers)(
   5672         ID3D11DeviceContext* This,
   5673         UINT StartSlot,
   5674         UINT NumBuffers,
   5675         ID3D11Buffer *const *ppConstantBuffers);
   5676 
   5677     void (STDMETHODCALLTYPE *VSGetConstantBuffers)(
   5678         ID3D11DeviceContext* This,
   5679         UINT StartSlot,
   5680         UINT NumBuffers,
   5681         ID3D11Buffer **ppConstantBuffers);
   5682 
   5683     void (STDMETHODCALLTYPE *PSGetShaderResources)(
   5684         ID3D11DeviceContext* This,
   5685         UINT StartSlot,
   5686         UINT NumViews,
   5687         ID3D11ShaderResourceView **ppShaderResourceViews);
   5688 
   5689     void (STDMETHODCALLTYPE *PSGetShader)(
   5690         ID3D11DeviceContext* This,
   5691         ID3D11PixelShader **ppPixelShader,
   5692         ID3D11ClassInstance **ppClassInstances,
   5693         UINT *pNumClassInstances);
   5694 
   5695     void (STDMETHODCALLTYPE *PSGetSamplers)(
   5696         ID3D11DeviceContext* This,
   5697         UINT StartSlot,
   5698         UINT NumSamplers,
   5699         ID3D11SamplerState **ppSamplers);
   5700 
   5701     void (STDMETHODCALLTYPE *VSGetShader)(
   5702         ID3D11DeviceContext* This,
   5703         ID3D11VertexShader **ppVertexShader,
   5704         ID3D11ClassInstance **ppClassInstances,
   5705         UINT *pNumClassInstances);
   5706 
   5707     void (STDMETHODCALLTYPE *PSGetConstantBuffers)(
   5708         ID3D11DeviceContext* This,
   5709         UINT StartSlot,
   5710         UINT NumBuffers,
   5711         ID3D11Buffer **ppConstantBuffers);
   5712 
   5713     void (STDMETHODCALLTYPE *IAGetInputLayout)(
   5714         ID3D11DeviceContext* This,
   5715         ID3D11InputLayout **ppInputLayout);
   5716 
   5717     void (STDMETHODCALLTYPE *IAGetVertexBuffers)(
   5718         ID3D11DeviceContext* This,
   5719         UINT StartSlot,
   5720         UINT NumBuffers,
   5721         ID3D11Buffer **ppVertexBuffers,
   5722         UINT *pStrides,
   5723         UINT *pOffsets);
   5724 
   5725     void (STDMETHODCALLTYPE *IAGetIndexBuffer)(
   5726         ID3D11DeviceContext* This,
   5727         ID3D11Buffer **pIndexBuffer,
   5728         DXGI_FORMAT *Format,
   5729         UINT *Offset);
   5730 
   5731     void (STDMETHODCALLTYPE *GSGetConstantBuffers)(
   5732         ID3D11DeviceContext* This,
   5733         UINT StartSlot,
   5734         UINT NumBuffers,
   5735         ID3D11Buffer **ppConstantBuffers);
   5736 
   5737     void (STDMETHODCALLTYPE *GSGetShader)(
   5738         ID3D11DeviceContext* This,
   5739         ID3D11GeometryShader **ppGeometryShader,
   5740         ID3D11ClassInstance **ppClassInstances,
   5741         UINT *pNumClassInstances);
   5742 
   5743     void (STDMETHODCALLTYPE *IAGetPrimitiveTopology)(
   5744         ID3D11DeviceContext* This,
   5745         D3D11_PRIMITIVE_TOPOLOGY *pTopology);
   5746 
   5747     void (STDMETHODCALLTYPE *VSGetShaderResources)(
   5748         ID3D11DeviceContext* This,
   5749         UINT StartSlot,
   5750         UINT NumViews,
   5751         ID3D11ShaderResourceView **ppShaderResourceViews);
   5752 
   5753     void (STDMETHODCALLTYPE *VSGetSamplers)(
   5754         ID3D11DeviceContext* This,
   5755         UINT StartSlot,
   5756         UINT NumSamplers,
   5757         ID3D11SamplerState **ppSamplers);
   5758 
   5759     void (STDMETHODCALLTYPE *GetPredication)(
   5760         ID3D11DeviceContext* This,
   5761         ID3D11Predicate **ppPredicate,
   5762         WINBOOL *pPredicateValue);
   5763 
   5764     void (STDMETHODCALLTYPE *GSGetShaderResources)(
   5765         ID3D11DeviceContext* This,
   5766         UINT StartSlot,
   5767         UINT NumViews,
   5768         ID3D11ShaderResourceView **ppShaderResourceViews);
   5769 
   5770     void (STDMETHODCALLTYPE *GSGetSamplers)(
   5771         ID3D11DeviceContext* This,
   5772         UINT StartSlot,
   5773         UINT NumSamplers,
   5774         ID3D11SamplerState **ppSamplers);
   5775 
   5776     void (STDMETHODCALLTYPE *OMGetRenderTargets)(
   5777         ID3D11DeviceContext* This,
   5778         UINT NumViews,
   5779         ID3D11RenderTargetView **ppRenderTargetViews,
   5780         ID3D11DepthStencilView **ppDepthStencilView);
   5781 
   5782     void (STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews)(
   5783         ID3D11DeviceContext* This,
   5784         UINT NumRTVs,
   5785         ID3D11RenderTargetView **ppRenderTargetViews,
   5786         ID3D11DepthStencilView **ppDepthStencilView,
   5787         UINT UAVStartSlot,
   5788         UINT NumUAVs,
   5789         ID3D11UnorderedAccessView **ppUnorderedAccessViews);
   5790 
   5791     void (STDMETHODCALLTYPE *OMGetBlendState)(
   5792         ID3D11DeviceContext* This,
   5793         ID3D11BlendState **ppBlendState,
   5794         FLOAT BlendFactor[4],
   5795         UINT *pSampleMask);
   5796 
   5797     void (STDMETHODCALLTYPE *OMGetDepthStencilState)(
   5798         ID3D11DeviceContext* This,
   5799         ID3D11DepthStencilState **ppDepthStencilState,
   5800         UINT *pStencilRef);
   5801 
   5802     void (STDMETHODCALLTYPE *SOGetTargets)(
   5803         ID3D11DeviceContext* This,
   5804         UINT NumBuffers,
   5805         ID3D11Buffer **ppSOTargets);
   5806 
   5807     void (STDMETHODCALLTYPE *RSGetState)(
   5808         ID3D11DeviceContext* This,
   5809         ID3D11RasterizerState **ppRasterizerState);
   5810 
   5811     void (STDMETHODCALLTYPE *RSGetViewports)(
   5812         ID3D11DeviceContext* This,
   5813         UINT *pNumViewports,
   5814         D3D11_VIEWPORT *pViewports);
   5815 
   5816     void (STDMETHODCALLTYPE *RSGetScissorRects)(
   5817         ID3D11DeviceContext* This,
   5818         UINT *pNumRects,
   5819         D3D11_RECT *pRects);
   5820 
   5821     void (STDMETHODCALLTYPE *HSGetShaderResources)(
   5822         ID3D11DeviceContext* This,
   5823         UINT StartSlot,
   5824         UINT NumViews,
   5825         ID3D11ShaderResourceView **ppShaderResourceViews);
   5826 
   5827     void (STDMETHODCALLTYPE *HSGetShader)(
   5828         ID3D11DeviceContext* This,
   5829         ID3D11HullShader **ppHullShader,
   5830         ID3D11ClassInstance **ppClassInstances,
   5831         UINT *pNumClassInstances);
   5832 
   5833     void (STDMETHODCALLTYPE *HSGetSamplers)(
   5834         ID3D11DeviceContext* This,
   5835         UINT StartSlot,
   5836         UINT NumSamplers,
   5837         ID3D11SamplerState **ppSamplers);
   5838 
   5839     void (STDMETHODCALLTYPE *HSGetConstantBuffers)(
   5840         ID3D11DeviceContext* This,
   5841         UINT StartSlot,
   5842         UINT NumBuffers,
   5843         ID3D11Buffer **ppConstantBuffers);
   5844 
   5845     void (STDMETHODCALLTYPE *DSGetShaderResources)(
   5846         ID3D11DeviceContext* This,
   5847         UINT StartSlot,
   5848         UINT NumViews,
   5849         ID3D11ShaderResourceView **ppShaderResourceViews);
   5850 
   5851     void (STDMETHODCALLTYPE *DSGetShader)(
   5852         ID3D11DeviceContext* This,
   5853         ID3D11DomainShader **ppDomainShader,
   5854         ID3D11ClassInstance **ppClassInstances,
   5855         UINT *pNumClassInstances);
   5856 
   5857     void (STDMETHODCALLTYPE *DSGetSamplers)(
   5858         ID3D11DeviceContext* This,
   5859         UINT StartSlot,
   5860         UINT NumSamplers,
   5861         ID3D11SamplerState **ppSamplers);
   5862 
   5863     void (STDMETHODCALLTYPE *DSGetConstantBuffers)(
   5864         ID3D11DeviceContext* This,
   5865         UINT StartSlot,
   5866         UINT NumBuffers,
   5867         ID3D11Buffer **ppConstantBuffers);
   5868 
   5869     void (STDMETHODCALLTYPE *CSGetShaderResources)(
   5870         ID3D11DeviceContext* This,
   5871         UINT StartSlot,
   5872         UINT NumViews,
   5873         ID3D11ShaderResourceView **ppShaderResourceViews);
   5874 
   5875     void (STDMETHODCALLTYPE *CSGetUnorderedAccessViews)(
   5876         ID3D11DeviceContext* This,
   5877         UINT StartSlot,
   5878         UINT NumUAVs,
   5879         ID3D11UnorderedAccessView **ppUnorderedAccessViews);
   5880 
   5881     void (STDMETHODCALLTYPE *CSGetShader)(
   5882         ID3D11DeviceContext* This,
   5883         ID3D11ComputeShader **ppComputeShader,
   5884         ID3D11ClassInstance **ppClassInstances,
   5885         UINT *pNumClassInstances);
   5886 
   5887     void (STDMETHODCALLTYPE *CSGetSamplers)(
   5888         ID3D11DeviceContext* This,
   5889         UINT StartSlot,
   5890         UINT NumSamplers,
   5891         ID3D11SamplerState **ppSamplers);
   5892 
   5893     void (STDMETHODCALLTYPE *CSGetConstantBuffers)(
   5894         ID3D11DeviceContext* This,
   5895         UINT StartSlot,
   5896         UINT NumBuffers,
   5897         ID3D11Buffer **ppConstantBuffers);
   5898 
   5899     void (STDMETHODCALLTYPE *ClearState)(
   5900         ID3D11DeviceContext* This);
   5901 
   5902     void (STDMETHODCALLTYPE *Flush)(
   5903         ID3D11DeviceContext* This);
   5904 
   5905     D3D11_DEVICE_CONTEXT_TYPE (STDMETHODCALLTYPE *GetType)(
   5906         ID3D11DeviceContext* This);
   5907 
   5908     UINT (STDMETHODCALLTYPE *GetContextFlags)(
   5909         ID3D11DeviceContext* This);
   5910 
   5911     HRESULT (STDMETHODCALLTYPE *FinishCommandList)(
   5912         ID3D11DeviceContext* This,
   5913         WINBOOL RestoreDeferredContextState,
   5914         ID3D11CommandList **ppCommandList);
   5915 
   5916     END_INTERFACE
   5917 } ID3D11DeviceContextVtbl;
   5918 interface ID3D11DeviceContext {
   5919     CONST_VTBL ID3D11DeviceContextVtbl* lpVtbl;
   5920 };
   5921 
   5922 #ifdef COBJMACROS
   5923 #ifndef WIDL_C_INLINE_WRAPPERS
   5924 /*** IUnknown methods ***/
   5925 #define ID3D11DeviceContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5926 #define ID3D11DeviceContext_AddRef(This) (This)->lpVtbl->AddRef(This)
   5927 #define ID3D11DeviceContext_Release(This) (This)->lpVtbl->Release(This)
   5928 /*** ID3D11DeviceChild methods ***/
   5929 #define ID3D11DeviceContext_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
   5930 #define ID3D11DeviceContext_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   5931 #define ID3D11DeviceContext_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   5932 #define ID3D11DeviceContext_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   5933 /*** ID3D11DeviceContext methods ***/
   5934 #define ID3D11DeviceContext_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
   5935 #define ID3D11DeviceContext_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
   5936 #define ID3D11DeviceContext_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances)
   5937 #define ID3D11DeviceContext_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
   5938 #define ID3D11DeviceContext_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances)
   5939 #define ID3D11DeviceContext_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) (This)->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation)
   5940 #define ID3D11DeviceContext_Draw(This,VertexCount,StartVertexLocation) (This)->lpVtbl->Draw(This,VertexCount,StartVertexLocation)
   5941 #define ID3D11DeviceContext_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) (This)->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource)
   5942 #define ID3D11DeviceContext_Unmap(This,pResource,Subresource) (This)->lpVtbl->Unmap(This,pResource,Subresource)
   5943 #define ID3D11DeviceContext_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
   5944 #define ID3D11DeviceContext_IASetInputLayout(This,pInputLayout) (This)->lpVtbl->IASetInputLayout(This,pInputLayout)
   5945 #define ID3D11DeviceContext_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets)
   5946 #define ID3D11DeviceContext_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset)
   5947 #define ID3D11DeviceContext_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation)
   5948 #define ID3D11DeviceContext_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation)
   5949 #define ID3D11DeviceContext_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
   5950 #define ID3D11DeviceContext_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances)
   5951 #define ID3D11DeviceContext_IASetPrimitiveTopology(This,Topology) (This)->lpVtbl->IASetPrimitiveTopology(This,Topology)
   5952 #define ID3D11DeviceContext_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
   5953 #define ID3D11DeviceContext_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
   5954 #define ID3D11DeviceContext_Begin(This,pAsync) (This)->lpVtbl->Begin(This,pAsync)
   5955 #define ID3D11DeviceContext_End(This,pAsync) (This)->lpVtbl->End(This,pAsync)
   5956 #define ID3D11DeviceContext_GetData(This,pAsync,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags)
   5957 #define ID3D11DeviceContext_SetPredication(This,pPredicate,PredicateValue) (This)->lpVtbl->SetPredication(This,pPredicate,PredicateValue)
   5958 #define ID3D11DeviceContext_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
   5959 #define ID3D11DeviceContext_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
   5960 #define ID3D11DeviceContext_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) (This)->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView)
   5961 #define ID3D11DeviceContext_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts)
   5962 #define ID3D11DeviceContext_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) (This)->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask)
   5963 #define ID3D11DeviceContext_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) (This)->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef)
   5964 #define ID3D11DeviceContext_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets)
   5965 #define ID3D11DeviceContext_DrawAuto(This) (This)->lpVtbl->DrawAuto(This)
   5966 #define ID3D11DeviceContext_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs)
   5967 #define ID3D11DeviceContext_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs)
   5968 #define ID3D11DeviceContext_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) (This)->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ)
   5969 #define ID3D11DeviceContext_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs)
   5970 #define ID3D11DeviceContext_RSSetState(This,pRasterizerState) (This)->lpVtbl->RSSetState(This,pRasterizerState)
   5971 #define ID3D11DeviceContext_RSSetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSSetViewports(This,NumViewports,pViewports)
   5972 #define ID3D11DeviceContext_RSSetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSSetScissorRects(This,NumRects,pRects)
   5973 #define ID3D11DeviceContext_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) (This)->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox)
   5974 #define ID3D11DeviceContext_CopyResource(This,pDstResource,pSrcResource) (This)->lpVtbl->CopyResource(This,pDstResource,pSrcResource)
   5975 #define ID3D11DeviceContext_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) (This)->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch)
   5976 #define ID3D11DeviceContext_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) (This)->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView)
   5977 #define ID3D11DeviceContext_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) (This)->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA)
   5978 #define ID3D11DeviceContext_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values)
   5979 #define ID3D11DeviceContext_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values)
   5980 #define ID3D11DeviceContext_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) (This)->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil)
   5981 #define ID3D11DeviceContext_GenerateMips(This,pShaderResourceView) (This)->lpVtbl->GenerateMips(This,pShaderResourceView)
   5982 #define ID3D11DeviceContext_SetResourceMinLOD(This,pResource,MinLOD) (This)->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD)
   5983 #define ID3D11DeviceContext_GetResourceMinLOD(This,pResource) (This)->lpVtbl->GetResourceMinLOD(This,pResource)
   5984 #define ID3D11DeviceContext_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) (This)->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format)
   5985 #define ID3D11DeviceContext_ExecuteCommandList(This,pCommandList,RestoreContextState) (This)->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState)
   5986 #define ID3D11DeviceContext_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
   5987 #define ID3D11DeviceContext_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances)
   5988 #define ID3D11DeviceContext_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
   5989 #define ID3D11DeviceContext_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
   5990 #define ID3D11DeviceContext_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
   5991 #define ID3D11DeviceContext_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances)
   5992 #define ID3D11DeviceContext_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
   5993 #define ID3D11DeviceContext_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
   5994 #define ID3D11DeviceContext_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
   5995 #define ID3D11DeviceContext_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts)
   5996 #define ID3D11DeviceContext_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances)
   5997 #define ID3D11DeviceContext_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
   5998 #define ID3D11DeviceContext_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
   5999 #define ID3D11DeviceContext_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
   6000 #define ID3D11DeviceContext_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
   6001 #define ID3D11DeviceContext_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances)
   6002 #define ID3D11DeviceContext_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
   6003 #define ID3D11DeviceContext_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances)
   6004 #define ID3D11DeviceContext_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
   6005 #define ID3D11DeviceContext_IAGetInputLayout(This,ppInputLayout) (This)->lpVtbl->IAGetInputLayout(This,ppInputLayout)
   6006 #define ID3D11DeviceContext_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets)
   6007 #define ID3D11DeviceContext_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset)
   6008 #define ID3D11DeviceContext_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
   6009 #define ID3D11DeviceContext_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances)
   6010 #define ID3D11DeviceContext_IAGetPrimitiveTopology(This,pTopology) (This)->lpVtbl->IAGetPrimitiveTopology(This,pTopology)
   6011 #define ID3D11DeviceContext_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
   6012 #define ID3D11DeviceContext_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
   6013 #define ID3D11DeviceContext_GetPredication(This,ppPredicate,pPredicateValue) (This)->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue)
   6014 #define ID3D11DeviceContext_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
   6015 #define ID3D11DeviceContext_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
   6016 #define ID3D11DeviceContext_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) (This)->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView)
   6017 #define ID3D11DeviceContext_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews)
   6018 #define ID3D11DeviceContext_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) (This)->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask)
   6019 #define ID3D11DeviceContext_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) (This)->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef)
   6020 #define ID3D11DeviceContext_SOGetTargets(This,NumBuffers,ppSOTargets) (This)->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets)
   6021 #define ID3D11DeviceContext_RSGetState(This,ppRasterizerState) (This)->lpVtbl->RSGetState(This,ppRasterizerState)
   6022 #define ID3D11DeviceContext_RSGetViewports(This,pNumViewports,pViewports) (This)->lpVtbl->RSGetViewports(This,pNumViewports,pViewports)
   6023 #define ID3D11DeviceContext_RSGetScissorRects(This,pNumRects,pRects) (This)->lpVtbl->RSGetScissorRects(This,pNumRects,pRects)
   6024 #define ID3D11DeviceContext_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
   6025 #define ID3D11DeviceContext_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances)
   6026 #define ID3D11DeviceContext_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
   6027 #define ID3D11DeviceContext_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
   6028 #define ID3D11DeviceContext_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
   6029 #define ID3D11DeviceContext_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances)
   6030 #define ID3D11DeviceContext_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
   6031 #define ID3D11DeviceContext_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
   6032 #define ID3D11DeviceContext_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
   6033 #define ID3D11DeviceContext_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews)
   6034 #define ID3D11DeviceContext_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances)
   6035 #define ID3D11DeviceContext_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
   6036 #define ID3D11DeviceContext_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
   6037 #define ID3D11DeviceContext_ClearState(This) (This)->lpVtbl->ClearState(This)
   6038 #define ID3D11DeviceContext_Flush(This) (This)->lpVtbl->Flush(This)
   6039 #define ID3D11DeviceContext_GetType(This) (This)->lpVtbl->GetType(This)
   6040 #define ID3D11DeviceContext_GetContextFlags(This) (This)->lpVtbl->GetContextFlags(This)
   6041 #define ID3D11DeviceContext_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) (This)->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList)
   6042 #else
   6043 /*** IUnknown methods ***/
   6044 static FORCEINLINE HRESULT ID3D11DeviceContext_QueryInterface(ID3D11DeviceContext* This,REFIID riid,void **ppvObject) {
   6045     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   6046 }
   6047 static FORCEINLINE ULONG ID3D11DeviceContext_AddRef(ID3D11DeviceContext* This) {
   6048     return This->lpVtbl->AddRef(This);
   6049 }
   6050 static FORCEINLINE ULONG ID3D11DeviceContext_Release(ID3D11DeviceContext* This) {
   6051     return This->lpVtbl->Release(This);
   6052 }
   6053 /*** ID3D11DeviceChild methods ***/
   6054 static FORCEINLINE void ID3D11DeviceContext_GetDevice(ID3D11DeviceContext* This,ID3D11Device **ppDevice) {
   6055     This->lpVtbl->GetDevice(This,ppDevice);
   6056 }
   6057 static FORCEINLINE HRESULT ID3D11DeviceContext_GetPrivateData(ID3D11DeviceContext* This,REFGUID guid,UINT *pDataSize,void *pData) {
   6058     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   6059 }
   6060 static FORCEINLINE HRESULT ID3D11DeviceContext_SetPrivateData(ID3D11DeviceContext* This,REFGUID guid,UINT DataSize,const void *pData) {
   6061     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   6062 }
   6063 static FORCEINLINE HRESULT ID3D11DeviceContext_SetPrivateDataInterface(ID3D11DeviceContext* This,REFGUID guid,const IUnknown *pData) {
   6064     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   6065 }
   6066 /*** ID3D11DeviceContext methods ***/
   6067 static FORCEINLINE void ID3D11DeviceContext_VSSetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
   6068     This->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
   6069 }
   6070 static FORCEINLINE void ID3D11DeviceContext_PSSetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
   6071     This->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
   6072 }
   6073 static FORCEINLINE void ID3D11DeviceContext_PSSetShader(ID3D11DeviceContext* This,ID3D11PixelShader *pPixelShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
   6074     This->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances);
   6075 }
   6076 static FORCEINLINE void ID3D11DeviceContext_PSSetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
   6077     This->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
   6078 }
   6079 static FORCEINLINE void ID3D11DeviceContext_VSSetShader(ID3D11DeviceContext* This,ID3D11VertexShader *pVertexShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
   6080     This->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances);
   6081 }
   6082 static FORCEINLINE void ID3D11DeviceContext_DrawIndexed(ID3D11DeviceContext* This,UINT IndexCount,UINT StartIndexLocation,INT BaseVertexLocation) {
   6083     This->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation);
   6084 }
   6085 static FORCEINLINE void ID3D11DeviceContext_Draw(ID3D11DeviceContext* This,UINT VertexCount,UINT StartVertexLocation) {
   6086     This->lpVtbl->Draw(This,VertexCount,StartVertexLocation);
   6087 }
   6088 static FORCEINLINE HRESULT ID3D11DeviceContext_Map(ID3D11DeviceContext* This,ID3D11Resource *pResource,UINT Subresource,D3D11_MAP MapType,UINT MapFlags,D3D11_MAPPED_SUBRESOURCE *pMappedResource) {
   6089     return This->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource);
   6090 }
   6091 static FORCEINLINE void ID3D11DeviceContext_Unmap(ID3D11DeviceContext* This,ID3D11Resource *pResource,UINT Subresource) {
   6092     This->lpVtbl->Unmap(This,pResource,Subresource);
   6093 }
   6094 static FORCEINLINE void ID3D11DeviceContext_PSSetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
   6095     This->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
   6096 }
   6097 static FORCEINLINE void ID3D11DeviceContext_IASetInputLayout(ID3D11DeviceContext* This,ID3D11InputLayout *pInputLayout) {
   6098     This->lpVtbl->IASetInputLayout(This,pInputLayout);
   6099 }
   6100 static FORCEINLINE void ID3D11DeviceContext_IASetVertexBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppVertexBuffers,const UINT *pStrides,const UINT *pOffsets) {
   6101     This->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets);
   6102 }
   6103 static FORCEINLINE void ID3D11DeviceContext_IASetIndexBuffer(ID3D11DeviceContext* This,ID3D11Buffer *pIndexBuffer,DXGI_FORMAT Format,UINT Offset) {
   6104     This->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset);
   6105 }
   6106 static FORCEINLINE void ID3D11DeviceContext_DrawIndexedInstanced(ID3D11DeviceContext* This,UINT IndexCountPerInstance,UINT InstanceCount,UINT StartIndexLocation,INT BaseVertexLocation,UINT StartInstanceLocation) {
   6107     This->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation);
   6108 }
   6109 static FORCEINLINE void ID3D11DeviceContext_DrawInstanced(ID3D11DeviceContext* This,UINT VertexCountPerInstance,UINT InstanceCount,UINT StartVertexLocation,UINT StartInstanceLocation) {
   6110     This->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation);
   6111 }
   6112 static FORCEINLINE void ID3D11DeviceContext_GSSetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
   6113     This->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
   6114 }
   6115 static FORCEINLINE void ID3D11DeviceContext_GSSetShader(ID3D11DeviceContext* This,ID3D11GeometryShader *pShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
   6116     This->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances);
   6117 }
   6118 static FORCEINLINE void ID3D11DeviceContext_IASetPrimitiveTopology(ID3D11DeviceContext* This,D3D11_PRIMITIVE_TOPOLOGY Topology) {
   6119     This->lpVtbl->IASetPrimitiveTopology(This,Topology);
   6120 }
   6121 static FORCEINLINE void ID3D11DeviceContext_VSSetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
   6122     This->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
   6123 }
   6124 static FORCEINLINE void ID3D11DeviceContext_VSSetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
   6125     This->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
   6126 }
   6127 static FORCEINLINE void ID3D11DeviceContext_Begin(ID3D11DeviceContext* This,ID3D11Asynchronous *pAsync) {
   6128     This->lpVtbl->Begin(This,pAsync);
   6129 }
   6130 static FORCEINLINE void ID3D11DeviceContext_End(ID3D11DeviceContext* This,ID3D11Asynchronous *pAsync) {
   6131     This->lpVtbl->End(This,pAsync);
   6132 }
   6133 static FORCEINLINE HRESULT ID3D11DeviceContext_GetData(ID3D11DeviceContext* This,ID3D11Asynchronous *pAsync,void *pData,UINT DataSize,UINT GetDataFlags) {
   6134     return This->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags);
   6135 }
   6136 static FORCEINLINE void ID3D11DeviceContext_SetPredication(ID3D11DeviceContext* This,ID3D11Predicate *pPredicate,WINBOOL PredicateValue) {
   6137     This->lpVtbl->SetPredication(This,pPredicate,PredicateValue);
   6138 }
   6139 static FORCEINLINE void ID3D11DeviceContext_GSSetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
   6140     This->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
   6141 }
   6142 static FORCEINLINE void ID3D11DeviceContext_GSSetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
   6143     This->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
   6144 }
   6145 static FORCEINLINE void ID3D11DeviceContext_OMSetRenderTargets(ID3D11DeviceContext* This,UINT NumViews,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView) {
   6146     This->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView);
   6147 }
   6148 static FORCEINLINE void ID3D11DeviceContext_OMSetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext* This,UINT NumRTVs,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) {
   6149     This->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts);
   6150 }
   6151 static FORCEINLINE void ID3D11DeviceContext_OMSetBlendState(ID3D11DeviceContext* This,ID3D11BlendState *pBlendState,const FLOAT BlendFactor[4],UINT SampleMask) {
   6152     This->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask);
   6153 }
   6154 static FORCEINLINE void ID3D11DeviceContext_OMSetDepthStencilState(ID3D11DeviceContext* This,ID3D11DepthStencilState *pDepthStencilState,UINT StencilRef) {
   6155     This->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef);
   6156 }
   6157 static FORCEINLINE void ID3D11DeviceContext_SOSetTargets(ID3D11DeviceContext* This,UINT NumBuffers,ID3D11Buffer *const *ppSOTargets,const UINT *pOffsets) {
   6158     This->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets);
   6159 }
   6160 static FORCEINLINE void ID3D11DeviceContext_DrawAuto(ID3D11DeviceContext* This) {
   6161     This->lpVtbl->DrawAuto(This);
   6162 }
   6163 static FORCEINLINE void ID3D11DeviceContext_DrawIndexedInstancedIndirect(ID3D11DeviceContext* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) {
   6164     This->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs);
   6165 }
   6166 static FORCEINLINE void ID3D11DeviceContext_DrawInstancedIndirect(ID3D11DeviceContext* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) {
   6167     This->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs);
   6168 }
   6169 static FORCEINLINE void ID3D11DeviceContext_Dispatch(ID3D11DeviceContext* This,UINT ThreadGroupCountX,UINT ThreadGroupCountY,UINT ThreadGroupCountZ) {
   6170     This->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ);
   6171 }
   6172 static FORCEINLINE void ID3D11DeviceContext_DispatchIndirect(ID3D11DeviceContext* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) {
   6173     This->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs);
   6174 }
   6175 static FORCEINLINE void ID3D11DeviceContext_RSSetState(ID3D11DeviceContext* This,ID3D11RasterizerState *pRasterizerState) {
   6176     This->lpVtbl->RSSetState(This,pRasterizerState);
   6177 }
   6178 static FORCEINLINE void ID3D11DeviceContext_RSSetViewports(ID3D11DeviceContext* This,UINT NumViewports,const D3D11_VIEWPORT *pViewports) {
   6179     This->lpVtbl->RSSetViewports(This,NumViewports,pViewports);
   6180 }
   6181 static FORCEINLINE void ID3D11DeviceContext_RSSetScissorRects(ID3D11DeviceContext* This,UINT NumRects,const D3D11_RECT *pRects) {
   6182     This->lpVtbl->RSSetScissorRects(This,NumRects,pRects);
   6183 }
   6184 static FORCEINLINE void ID3D11DeviceContext_CopySubresourceRegion(ID3D11DeviceContext* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox) {
   6185     This->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox);
   6186 }
   6187 static FORCEINLINE void ID3D11DeviceContext_CopyResource(ID3D11DeviceContext* This,ID3D11Resource *pDstResource,ID3D11Resource *pSrcResource) {
   6188     This->lpVtbl->CopyResource(This,pDstResource,pSrcResource);
   6189 }
   6190 static FORCEINLINE void ID3D11DeviceContext_UpdateSubresource(ID3D11DeviceContext* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch) {
   6191     This->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch);
   6192 }
   6193 static FORCEINLINE void ID3D11DeviceContext_CopyStructureCount(ID3D11DeviceContext* This,ID3D11Buffer *pDstBuffer,UINT DstAlignedByteOffset,ID3D11UnorderedAccessView *pSrcView) {
   6194     This->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView);
   6195 }
   6196 static FORCEINLINE void ID3D11DeviceContext_ClearRenderTargetView(ID3D11DeviceContext* This,ID3D11RenderTargetView *pRenderTargetView,const FLOAT ColorRGBA[4]) {
   6197     This->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA);
   6198 }
   6199 static FORCEINLINE void ID3D11DeviceContext_ClearUnorderedAccessViewUint(ID3D11DeviceContext* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const UINT Values[4]) {
   6200     This->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values);
   6201 }
   6202 static FORCEINLINE void ID3D11DeviceContext_ClearUnorderedAccessViewFloat(ID3D11DeviceContext* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const FLOAT Values[4]) {
   6203     This->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values);
   6204 }
   6205 static FORCEINLINE void ID3D11DeviceContext_ClearDepthStencilView(ID3D11DeviceContext* This,ID3D11DepthStencilView *pDepthStencilView,UINT ClearFlags,FLOAT Depth,UINT8 Stencil) {
   6206     This->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil);
   6207 }
   6208 static FORCEINLINE void ID3D11DeviceContext_GenerateMips(ID3D11DeviceContext* This,ID3D11ShaderResourceView *pShaderResourceView) {
   6209     This->lpVtbl->GenerateMips(This,pShaderResourceView);
   6210 }
   6211 static FORCEINLINE void ID3D11DeviceContext_SetResourceMinLOD(ID3D11DeviceContext* This,ID3D11Resource *pResource,FLOAT MinLOD) {
   6212     This->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD);
   6213 }
   6214 static FORCEINLINE FLOAT ID3D11DeviceContext_GetResourceMinLOD(ID3D11DeviceContext* This,ID3D11Resource *pResource) {
   6215     return This->lpVtbl->GetResourceMinLOD(This,pResource);
   6216 }
   6217 static FORCEINLINE void ID3D11DeviceContext_ResolveSubresource(ID3D11DeviceContext* This,ID3D11Resource *pDstResource,UINT DstSubresource,ID3D11Resource *pSrcResource,UINT SrcSubresource,DXGI_FORMAT Format) {
   6218     This->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format);
   6219 }
   6220 static FORCEINLINE void ID3D11DeviceContext_ExecuteCommandList(ID3D11DeviceContext* This,ID3D11CommandList *pCommandList,WINBOOL RestoreContextState) {
   6221     This->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState);
   6222 }
   6223 static FORCEINLINE void ID3D11DeviceContext_HSSetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
   6224     This->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
   6225 }
   6226 static FORCEINLINE void ID3D11DeviceContext_HSSetShader(ID3D11DeviceContext* This,ID3D11HullShader *pHullShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
   6227     This->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances);
   6228 }
   6229 static FORCEINLINE void ID3D11DeviceContext_HSSetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
   6230     This->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
   6231 }
   6232 static FORCEINLINE void ID3D11DeviceContext_HSSetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
   6233     This->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
   6234 }
   6235 static FORCEINLINE void ID3D11DeviceContext_DSSetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
   6236     This->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
   6237 }
   6238 static FORCEINLINE void ID3D11DeviceContext_DSSetShader(ID3D11DeviceContext* This,ID3D11DomainShader *pDomainShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
   6239     This->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances);
   6240 }
   6241 static FORCEINLINE void ID3D11DeviceContext_DSSetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
   6242     This->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
   6243 }
   6244 static FORCEINLINE void ID3D11DeviceContext_DSSetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
   6245     This->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
   6246 }
   6247 static FORCEINLINE void ID3D11DeviceContext_CSSetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) {
   6248     This->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
   6249 }
   6250 static FORCEINLINE void ID3D11DeviceContext_CSSetUnorderedAccessViews(ID3D11DeviceContext* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) {
   6251     This->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts);
   6252 }
   6253 static FORCEINLINE void ID3D11DeviceContext_CSSetShader(ID3D11DeviceContext* This,ID3D11ComputeShader *pComputeShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) {
   6254     This->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances);
   6255 }
   6256 static FORCEINLINE void ID3D11DeviceContext_CSSetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) {
   6257     This->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
   6258 }
   6259 static FORCEINLINE void ID3D11DeviceContext_CSSetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) {
   6260     This->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
   6261 }
   6262 static FORCEINLINE void ID3D11DeviceContext_VSGetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
   6263     This->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
   6264 }
   6265 static FORCEINLINE void ID3D11DeviceContext_PSGetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
   6266     This->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
   6267 }
   6268 static FORCEINLINE void ID3D11DeviceContext_PSGetShader(ID3D11DeviceContext* This,ID3D11PixelShader **ppPixelShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
   6269     This->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances);
   6270 }
   6271 static FORCEINLINE void ID3D11DeviceContext_PSGetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
   6272     This->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
   6273 }
   6274 static FORCEINLINE void ID3D11DeviceContext_VSGetShader(ID3D11DeviceContext* This,ID3D11VertexShader **ppVertexShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
   6275     This->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances);
   6276 }
   6277 static FORCEINLINE void ID3D11DeviceContext_PSGetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
   6278     This->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
   6279 }
   6280 static FORCEINLINE void ID3D11DeviceContext_IAGetInputLayout(ID3D11DeviceContext* This,ID3D11InputLayout **ppInputLayout) {
   6281     This->lpVtbl->IAGetInputLayout(This,ppInputLayout);
   6282 }
   6283 static FORCEINLINE void ID3D11DeviceContext_IAGetVertexBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppVertexBuffers,UINT *pStrides,UINT *pOffsets) {
   6284     This->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets);
   6285 }
   6286 static FORCEINLINE void ID3D11DeviceContext_IAGetIndexBuffer(ID3D11DeviceContext* This,ID3D11Buffer **pIndexBuffer,DXGI_FORMAT *Format,UINT *Offset) {
   6287     This->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset);
   6288 }
   6289 static FORCEINLINE void ID3D11DeviceContext_GSGetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
   6290     This->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
   6291 }
   6292 static FORCEINLINE void ID3D11DeviceContext_GSGetShader(ID3D11DeviceContext* This,ID3D11GeometryShader **ppGeometryShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
   6293     This->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances);
   6294 }
   6295 static FORCEINLINE void ID3D11DeviceContext_IAGetPrimitiveTopology(ID3D11DeviceContext* This,D3D11_PRIMITIVE_TOPOLOGY *pTopology) {
   6296     This->lpVtbl->IAGetPrimitiveTopology(This,pTopology);
   6297 }
   6298 static FORCEINLINE void ID3D11DeviceContext_VSGetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
   6299     This->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
   6300 }
   6301 static FORCEINLINE void ID3D11DeviceContext_VSGetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
   6302     This->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
   6303 }
   6304 static FORCEINLINE void ID3D11DeviceContext_GetPredication(ID3D11DeviceContext* This,ID3D11Predicate **ppPredicate,WINBOOL *pPredicateValue) {
   6305     This->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue);
   6306 }
   6307 static FORCEINLINE void ID3D11DeviceContext_GSGetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
   6308     This->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
   6309 }
   6310 static FORCEINLINE void ID3D11DeviceContext_GSGetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
   6311     This->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
   6312 }
   6313 static FORCEINLINE void ID3D11DeviceContext_OMGetRenderTargets(ID3D11DeviceContext* This,UINT NumViews,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView) {
   6314     This->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView);
   6315 }
   6316 static FORCEINLINE void ID3D11DeviceContext_OMGetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext* This,UINT NumRTVs,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) {
   6317     This->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews);
   6318 }
   6319 static FORCEINLINE void ID3D11DeviceContext_OMGetBlendState(ID3D11DeviceContext* This,ID3D11BlendState **ppBlendState,FLOAT BlendFactor[4],UINT *pSampleMask) {
   6320     This->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask);
   6321 }
   6322 static FORCEINLINE void ID3D11DeviceContext_OMGetDepthStencilState(ID3D11DeviceContext* This,ID3D11DepthStencilState **ppDepthStencilState,UINT *pStencilRef) {
   6323     This->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef);
   6324 }
   6325 static FORCEINLINE void ID3D11DeviceContext_SOGetTargets(ID3D11DeviceContext* This,UINT NumBuffers,ID3D11Buffer **ppSOTargets) {
   6326     This->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets);
   6327 }
   6328 static FORCEINLINE void ID3D11DeviceContext_RSGetState(ID3D11DeviceContext* This,ID3D11RasterizerState **ppRasterizerState) {
   6329     This->lpVtbl->RSGetState(This,ppRasterizerState);
   6330 }
   6331 static FORCEINLINE void ID3D11DeviceContext_RSGetViewports(ID3D11DeviceContext* This,UINT *pNumViewports,D3D11_VIEWPORT *pViewports) {
   6332     This->lpVtbl->RSGetViewports(This,pNumViewports,pViewports);
   6333 }
   6334 static FORCEINLINE void ID3D11DeviceContext_RSGetScissorRects(ID3D11DeviceContext* This,UINT *pNumRects,D3D11_RECT *pRects) {
   6335     This->lpVtbl->RSGetScissorRects(This,pNumRects,pRects);
   6336 }
   6337 static FORCEINLINE void ID3D11DeviceContext_HSGetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
   6338     This->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
   6339 }
   6340 static FORCEINLINE void ID3D11DeviceContext_HSGetShader(ID3D11DeviceContext* This,ID3D11HullShader **ppHullShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
   6341     This->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances);
   6342 }
   6343 static FORCEINLINE void ID3D11DeviceContext_HSGetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
   6344     This->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
   6345 }
   6346 static FORCEINLINE void ID3D11DeviceContext_HSGetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
   6347     This->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
   6348 }
   6349 static FORCEINLINE void ID3D11DeviceContext_DSGetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
   6350     This->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
   6351 }
   6352 static FORCEINLINE void ID3D11DeviceContext_DSGetShader(ID3D11DeviceContext* This,ID3D11DomainShader **ppDomainShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
   6353     This->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances);
   6354 }
   6355 static FORCEINLINE void ID3D11DeviceContext_DSGetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
   6356     This->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
   6357 }
   6358 static FORCEINLINE void ID3D11DeviceContext_DSGetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
   6359     This->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
   6360 }
   6361 static FORCEINLINE void ID3D11DeviceContext_CSGetShaderResources(ID3D11DeviceContext* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) {
   6362     This->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
   6363 }
   6364 static FORCEINLINE void ID3D11DeviceContext_CSGetUnorderedAccessViews(ID3D11DeviceContext* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) {
   6365     This->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews);
   6366 }
   6367 static FORCEINLINE void ID3D11DeviceContext_CSGetShader(ID3D11DeviceContext* This,ID3D11ComputeShader **ppComputeShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) {
   6368     This->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances);
   6369 }
   6370 static FORCEINLINE void ID3D11DeviceContext_CSGetSamplers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) {
   6371     This->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
   6372 }
   6373 static FORCEINLINE void ID3D11DeviceContext_CSGetConstantBuffers(ID3D11DeviceContext* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) {
   6374     This->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
   6375 }
   6376 static FORCEINLINE void ID3D11DeviceContext_ClearState(ID3D11DeviceContext* This) {
   6377     This->lpVtbl->ClearState(This);
   6378 }
   6379 static FORCEINLINE void ID3D11DeviceContext_Flush(ID3D11DeviceContext* This) {
   6380     This->lpVtbl->Flush(This);
   6381 }
   6382 static FORCEINLINE D3D11_DEVICE_CONTEXT_TYPE ID3D11DeviceContext_GetType(ID3D11DeviceContext* This) {
   6383     return This->lpVtbl->GetType(This);
   6384 }
   6385 static FORCEINLINE UINT ID3D11DeviceContext_GetContextFlags(ID3D11DeviceContext* This) {
   6386     return This->lpVtbl->GetContextFlags(This);
   6387 }
   6388 static FORCEINLINE HRESULT ID3D11DeviceContext_FinishCommandList(ID3D11DeviceContext* This,WINBOOL RestoreDeferredContextState,ID3D11CommandList **ppCommandList) {
   6389     return This->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList);
   6390 }
   6391 #endif
   6392 #endif
   6393 
   6394 #endif
   6395 
   6396 void STDMETHODCALLTYPE ID3D11DeviceContext_VSSetConstantBuffers_Proxy(
   6397     ID3D11DeviceContext* This,
   6398     UINT StartSlot,
   6399     UINT NumBuffers,
   6400     ID3D11Buffer *const *ppConstantBuffers);
   6401 void __RPC_STUB ID3D11DeviceContext_VSSetConstantBuffers_Stub(
   6402     IRpcStubBuffer* This,
   6403     IRpcChannelBuffer* pRpcChannelBuffer,
   6404     PRPC_MESSAGE pRpcMessage,
   6405     DWORD* pdwStubPhase);
   6406 void STDMETHODCALLTYPE ID3D11DeviceContext_PSSetShaderResources_Proxy(
   6407     ID3D11DeviceContext* This,
   6408     UINT StartSlot,
   6409     UINT NumViews,
   6410     ID3D11ShaderResourceView *const *ppShaderResourceViews);
   6411 void __RPC_STUB ID3D11DeviceContext_PSSetShaderResources_Stub(
   6412     IRpcStubBuffer* This,
   6413     IRpcChannelBuffer* pRpcChannelBuffer,
   6414     PRPC_MESSAGE pRpcMessage,
   6415     DWORD* pdwStubPhase);
   6416 void STDMETHODCALLTYPE ID3D11DeviceContext_PSSetShader_Proxy(
   6417     ID3D11DeviceContext* This,
   6418     ID3D11PixelShader *pPixelShader,
   6419     ID3D11ClassInstance *const *ppClassInstances,
   6420     UINT NumClassInstances);
   6421 void __RPC_STUB ID3D11DeviceContext_PSSetShader_Stub(
   6422     IRpcStubBuffer* This,
   6423     IRpcChannelBuffer* pRpcChannelBuffer,
   6424     PRPC_MESSAGE pRpcMessage,
   6425     DWORD* pdwStubPhase);
   6426 void STDMETHODCALLTYPE ID3D11DeviceContext_PSSetSamplers_Proxy(
   6427     ID3D11DeviceContext* This,
   6428     UINT StartSlot,
   6429     UINT NumSamplers,
   6430     ID3D11SamplerState *const *ppSamplers);
   6431 void __RPC_STUB ID3D11DeviceContext_PSSetSamplers_Stub(
   6432     IRpcStubBuffer* This,
   6433     IRpcChannelBuffer* pRpcChannelBuffer,
   6434     PRPC_MESSAGE pRpcMessage,
   6435     DWORD* pdwStubPhase);
   6436 void STDMETHODCALLTYPE ID3D11DeviceContext_VSSetShader_Proxy(
   6437     ID3D11DeviceContext* This,
   6438     ID3D11VertexShader *pVertexShader,
   6439     ID3D11ClassInstance *const *ppClassInstances,
   6440     UINT NumClassInstances);
   6441 void __RPC_STUB ID3D11DeviceContext_VSSetShader_Stub(
   6442     IRpcStubBuffer* This,
   6443     IRpcChannelBuffer* pRpcChannelBuffer,
   6444     PRPC_MESSAGE pRpcMessage,
   6445     DWORD* pdwStubPhase);
   6446 void STDMETHODCALLTYPE ID3D11DeviceContext_DrawIndexed_Proxy(
   6447     ID3D11DeviceContext* This,
   6448     UINT IndexCount,
   6449     UINT StartIndexLocation,
   6450     INT BaseVertexLocation);
   6451 void __RPC_STUB ID3D11DeviceContext_DrawIndexed_Stub(
   6452     IRpcStubBuffer* This,
   6453     IRpcChannelBuffer* pRpcChannelBuffer,
   6454     PRPC_MESSAGE pRpcMessage,
   6455     DWORD* pdwStubPhase);
   6456 void STDMETHODCALLTYPE ID3D11DeviceContext_Draw_Proxy(
   6457     ID3D11DeviceContext* This,
   6458     UINT VertexCount,
   6459     UINT StartVertexLocation);
   6460 void __RPC_STUB ID3D11DeviceContext_Draw_Stub(
   6461     IRpcStubBuffer* This,
   6462     IRpcChannelBuffer* pRpcChannelBuffer,
   6463     PRPC_MESSAGE pRpcMessage,
   6464     DWORD* pdwStubPhase);
   6465 HRESULT STDMETHODCALLTYPE ID3D11DeviceContext_Map_Proxy(
   6466     ID3D11DeviceContext* This,
   6467     ID3D11Resource *pResource,
   6468     UINT Subresource,
   6469     D3D11_MAP MapType,
   6470     UINT MapFlags,
   6471     D3D11_MAPPED_SUBRESOURCE *pMappedResource);
   6472 void __RPC_STUB ID3D11DeviceContext_Map_Stub(
   6473     IRpcStubBuffer* This,
   6474     IRpcChannelBuffer* pRpcChannelBuffer,
   6475     PRPC_MESSAGE pRpcMessage,
   6476     DWORD* pdwStubPhase);
   6477 void STDMETHODCALLTYPE ID3D11DeviceContext_Unmap_Proxy(
   6478     ID3D11DeviceContext* This,
   6479     ID3D11Resource *pResource,
   6480     UINT Subresource);
   6481 void __RPC_STUB ID3D11DeviceContext_Unmap_Stub(
   6482     IRpcStubBuffer* This,
   6483     IRpcChannelBuffer* pRpcChannelBuffer,
   6484     PRPC_MESSAGE pRpcMessage,
   6485     DWORD* pdwStubPhase);
   6486 void STDMETHODCALLTYPE ID3D11DeviceContext_PSSetConstantBuffers_Proxy(
   6487     ID3D11DeviceContext* This,
   6488     UINT StartSlot,
   6489     UINT NumBuffers,
   6490     ID3D11Buffer *const *ppConstantBuffers);
   6491 void __RPC_STUB ID3D11DeviceContext_PSSetConstantBuffers_Stub(
   6492     IRpcStubBuffer* This,
   6493     IRpcChannelBuffer* pRpcChannelBuffer,
   6494     PRPC_MESSAGE pRpcMessage,
   6495     DWORD* pdwStubPhase);
   6496 void STDMETHODCALLTYPE ID3D11DeviceContext_IASetInputLayout_Proxy(
   6497     ID3D11DeviceContext* This,
   6498     ID3D11InputLayout *pInputLayout);
   6499 void __RPC_STUB ID3D11DeviceContext_IASetInputLayout_Stub(
   6500     IRpcStubBuffer* This,
   6501     IRpcChannelBuffer* pRpcChannelBuffer,
   6502     PRPC_MESSAGE pRpcMessage,
   6503     DWORD* pdwStubPhase);
   6504 void STDMETHODCALLTYPE ID3D11DeviceContext_IASetVertexBuffers_Proxy(
   6505     ID3D11DeviceContext* This,
   6506     UINT StartSlot,
   6507     UINT NumBuffers,
   6508     ID3D11Buffer *const *ppVertexBuffers,
   6509     const UINT *pStrides,
   6510     const UINT *pOffsets);
   6511 void __RPC_STUB ID3D11DeviceContext_IASetVertexBuffers_Stub(
   6512     IRpcStubBuffer* This,
   6513     IRpcChannelBuffer* pRpcChannelBuffer,
   6514     PRPC_MESSAGE pRpcMessage,
   6515     DWORD* pdwStubPhase);
   6516 void STDMETHODCALLTYPE ID3D11DeviceContext_IASetIndexBuffer_Proxy(
   6517     ID3D11DeviceContext* This,
   6518     ID3D11Buffer *pIndexBuffer,
   6519     DXGI_FORMAT Format,
   6520     UINT Offset);
   6521 void __RPC_STUB ID3D11DeviceContext_IASetIndexBuffer_Stub(
   6522     IRpcStubBuffer* This,
   6523     IRpcChannelBuffer* pRpcChannelBuffer,
   6524     PRPC_MESSAGE pRpcMessage,
   6525     DWORD* pdwStubPhase);
   6526 void STDMETHODCALLTYPE ID3D11DeviceContext_DrawIndexedInstanced_Proxy(
   6527     ID3D11DeviceContext* This,
   6528     UINT IndexCountPerInstance,
   6529     UINT InstanceCount,
   6530     UINT StartIndexLocation,
   6531     INT BaseVertexLocation,
   6532     UINT StartInstanceLocation);
   6533 void __RPC_STUB ID3D11DeviceContext_DrawIndexedInstanced_Stub(
   6534     IRpcStubBuffer* This,
   6535     IRpcChannelBuffer* pRpcChannelBuffer,
   6536     PRPC_MESSAGE pRpcMessage,
   6537     DWORD* pdwStubPhase);
   6538 void STDMETHODCALLTYPE ID3D11DeviceContext_DrawInstanced_Proxy(
   6539     ID3D11DeviceContext* This,
   6540     UINT VertexCountPerInstance,
   6541     UINT InstanceCount,
   6542     UINT StartVertexLocation,
   6543     UINT StartInstanceLocation);
   6544 void __RPC_STUB ID3D11DeviceContext_DrawInstanced_Stub(
   6545     IRpcStubBuffer* This,
   6546     IRpcChannelBuffer* pRpcChannelBuffer,
   6547     PRPC_MESSAGE pRpcMessage,
   6548     DWORD* pdwStubPhase);
   6549 void STDMETHODCALLTYPE ID3D11DeviceContext_GSSetConstantBuffers_Proxy(
   6550     ID3D11DeviceContext* This,
   6551     UINT StartSlot,
   6552     UINT NumBuffers,
   6553     ID3D11Buffer *const *ppConstantBuffers);
   6554 void __RPC_STUB ID3D11DeviceContext_GSSetConstantBuffers_Stub(
   6555     IRpcStubBuffer* This,
   6556     IRpcChannelBuffer* pRpcChannelBuffer,
   6557     PRPC_MESSAGE pRpcMessage,
   6558     DWORD* pdwStubPhase);
   6559 void STDMETHODCALLTYPE ID3D11DeviceContext_GSSetShader_Proxy(
   6560     ID3D11DeviceContext* This,
   6561     ID3D11GeometryShader *pShader,
   6562     ID3D11ClassInstance *const *ppClassInstances,
   6563     UINT NumClassInstances);
   6564 void __RPC_STUB ID3D11DeviceContext_GSSetShader_Stub(
   6565     IRpcStubBuffer* This,
   6566     IRpcChannelBuffer* pRpcChannelBuffer,
   6567     PRPC_MESSAGE pRpcMessage,
   6568     DWORD* pdwStubPhase);
   6569 void STDMETHODCALLTYPE ID3D11DeviceContext_IASetPrimitiveTopology_Proxy(
   6570     ID3D11DeviceContext* This,
   6571     D3D11_PRIMITIVE_TOPOLOGY Topology);
   6572 void __RPC_STUB ID3D11DeviceContext_IASetPrimitiveTopology_Stub(
   6573     IRpcStubBuffer* This,
   6574     IRpcChannelBuffer* pRpcChannelBuffer,
   6575     PRPC_MESSAGE pRpcMessage,
   6576     DWORD* pdwStubPhase);
   6577 void STDMETHODCALLTYPE ID3D11DeviceContext_VSSetShaderResources_Proxy(
   6578     ID3D11DeviceContext* This,
   6579     UINT StartSlot,
   6580     UINT NumViews,
   6581     ID3D11ShaderResourceView *const *ppShaderResourceViews);
   6582 void __RPC_STUB ID3D11DeviceContext_VSSetShaderResources_Stub(
   6583     IRpcStubBuffer* This,
   6584     IRpcChannelBuffer* pRpcChannelBuffer,
   6585     PRPC_MESSAGE pRpcMessage,
   6586     DWORD* pdwStubPhase);
   6587 void STDMETHODCALLTYPE ID3D11DeviceContext_VSSetSamplers_Proxy(
   6588     ID3D11DeviceContext* This,
   6589     UINT StartSlot,
   6590     UINT NumSamplers,
   6591     ID3D11SamplerState *const *ppSamplers);
   6592 void __RPC_STUB ID3D11DeviceContext_VSSetSamplers_Stub(
   6593     IRpcStubBuffer* This,
   6594     IRpcChannelBuffer* pRpcChannelBuffer,
   6595     PRPC_MESSAGE pRpcMessage,
   6596     DWORD* pdwStubPhase);
   6597 void STDMETHODCALLTYPE ID3D11DeviceContext_Begin_Proxy(
   6598     ID3D11DeviceContext* This,
   6599     ID3D11Asynchronous *pAsync);
   6600 void __RPC_STUB ID3D11DeviceContext_Begin_Stub(
   6601     IRpcStubBuffer* This,
   6602     IRpcChannelBuffer* pRpcChannelBuffer,
   6603     PRPC_MESSAGE pRpcMessage,
   6604     DWORD* pdwStubPhase);
   6605 void STDMETHODCALLTYPE ID3D11DeviceContext_End_Proxy(
   6606     ID3D11DeviceContext* This,
   6607     ID3D11Asynchronous *pAsync);
   6608 void __RPC_STUB ID3D11DeviceContext_End_Stub(
   6609     IRpcStubBuffer* This,
   6610     IRpcChannelBuffer* pRpcChannelBuffer,
   6611     PRPC_MESSAGE pRpcMessage,
   6612     DWORD* pdwStubPhase);
   6613 HRESULT STDMETHODCALLTYPE ID3D11DeviceContext_GetData_Proxy(
   6614     ID3D11DeviceContext* This,
   6615     ID3D11Asynchronous *pAsync,
   6616     void *pData,
   6617     UINT DataSize,
   6618     UINT GetDataFlags);
   6619 void __RPC_STUB ID3D11DeviceContext_GetData_Stub(
   6620     IRpcStubBuffer* This,
   6621     IRpcChannelBuffer* pRpcChannelBuffer,
   6622     PRPC_MESSAGE pRpcMessage,
   6623     DWORD* pdwStubPhase);
   6624 void STDMETHODCALLTYPE ID3D11DeviceContext_SetPredication_Proxy(
   6625     ID3D11DeviceContext* This,
   6626     ID3D11Predicate *pPredicate,
   6627     WINBOOL PredicateValue);
   6628 void __RPC_STUB ID3D11DeviceContext_SetPredication_Stub(
   6629     IRpcStubBuffer* This,
   6630     IRpcChannelBuffer* pRpcChannelBuffer,
   6631     PRPC_MESSAGE pRpcMessage,
   6632     DWORD* pdwStubPhase);
   6633 void STDMETHODCALLTYPE ID3D11DeviceContext_GSSetShaderResources_Proxy(
   6634     ID3D11DeviceContext* This,
   6635     UINT StartSlot,
   6636     UINT NumViews,
   6637     ID3D11ShaderResourceView *const *ppShaderResourceViews);
   6638 void __RPC_STUB ID3D11DeviceContext_GSSetShaderResources_Stub(
   6639     IRpcStubBuffer* This,
   6640     IRpcChannelBuffer* pRpcChannelBuffer,
   6641     PRPC_MESSAGE pRpcMessage,
   6642     DWORD* pdwStubPhase);
   6643 void STDMETHODCALLTYPE ID3D11DeviceContext_GSSetSamplers_Proxy(
   6644     ID3D11DeviceContext* This,
   6645     UINT StartSlot,
   6646     UINT NumSamplers,
   6647     ID3D11SamplerState *const *ppSamplers);
   6648 void __RPC_STUB ID3D11DeviceContext_GSSetSamplers_Stub(
   6649     IRpcStubBuffer* This,
   6650     IRpcChannelBuffer* pRpcChannelBuffer,
   6651     PRPC_MESSAGE pRpcMessage,
   6652     DWORD* pdwStubPhase);
   6653 void STDMETHODCALLTYPE ID3D11DeviceContext_OMSetRenderTargets_Proxy(
   6654     ID3D11DeviceContext* This,
   6655     UINT NumViews,
   6656     ID3D11RenderTargetView *const *ppRenderTargetViews,
   6657     ID3D11DepthStencilView *pDepthStencilView);
   6658 void __RPC_STUB ID3D11DeviceContext_OMSetRenderTargets_Stub(
   6659     IRpcStubBuffer* This,
   6660     IRpcChannelBuffer* pRpcChannelBuffer,
   6661     PRPC_MESSAGE pRpcMessage,
   6662     DWORD* pdwStubPhase);
   6663 void STDMETHODCALLTYPE ID3D11DeviceContext_OMSetRenderTargetsAndUnorderedAccessViews_Proxy(
   6664     ID3D11DeviceContext* This,
   6665     UINT NumRTVs,
   6666     ID3D11RenderTargetView *const *ppRenderTargetViews,
   6667     ID3D11DepthStencilView *pDepthStencilView,
   6668     UINT UAVStartSlot,
   6669     UINT NumUAVs,
   6670     ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
   6671     const UINT *pUAVInitialCounts);
   6672 void __RPC_STUB ID3D11DeviceContext_OMSetRenderTargetsAndUnorderedAccessViews_Stub(
   6673     IRpcStubBuffer* This,
   6674     IRpcChannelBuffer* pRpcChannelBuffer,
   6675     PRPC_MESSAGE pRpcMessage,
   6676     DWORD* pdwStubPhase);
   6677 void STDMETHODCALLTYPE ID3D11DeviceContext_OMSetBlendState_Proxy(
   6678     ID3D11DeviceContext* This,
   6679     ID3D11BlendState *pBlendState,
   6680     const FLOAT BlendFactor[4],
   6681     UINT SampleMask);
   6682 void __RPC_STUB ID3D11DeviceContext_OMSetBlendState_Stub(
   6683     IRpcStubBuffer* This,
   6684     IRpcChannelBuffer* pRpcChannelBuffer,
   6685     PRPC_MESSAGE pRpcMessage,
   6686     DWORD* pdwStubPhase);
   6687 void STDMETHODCALLTYPE ID3D11DeviceContext_OMSetDepthStencilState_Proxy(
   6688     ID3D11DeviceContext* This,
   6689     ID3D11DepthStencilState *pDepthStencilState,
   6690     UINT StencilRef);
   6691 void __RPC_STUB ID3D11DeviceContext_OMSetDepthStencilState_Stub(
   6692     IRpcStubBuffer* This,
   6693     IRpcChannelBuffer* pRpcChannelBuffer,
   6694     PRPC_MESSAGE pRpcMessage,
   6695     DWORD* pdwStubPhase);
   6696 void STDMETHODCALLTYPE ID3D11DeviceContext_SOSetTargets_Proxy(
   6697     ID3D11DeviceContext* This,
   6698     UINT NumBuffers,
   6699     ID3D11Buffer *const *ppSOTargets,
   6700     const UINT *pOffsets);
   6701 void __RPC_STUB ID3D11DeviceContext_SOSetTargets_Stub(
   6702     IRpcStubBuffer* This,
   6703     IRpcChannelBuffer* pRpcChannelBuffer,
   6704     PRPC_MESSAGE pRpcMessage,
   6705     DWORD* pdwStubPhase);
   6706 void STDMETHODCALLTYPE ID3D11DeviceContext_DrawAuto_Proxy(
   6707     ID3D11DeviceContext* This);
   6708 void __RPC_STUB ID3D11DeviceContext_DrawAuto_Stub(
   6709     IRpcStubBuffer* This,
   6710     IRpcChannelBuffer* pRpcChannelBuffer,
   6711     PRPC_MESSAGE pRpcMessage,
   6712     DWORD* pdwStubPhase);
   6713 void STDMETHODCALLTYPE ID3D11DeviceContext_DrawIndexedInstancedIndirect_Proxy(
   6714     ID3D11DeviceContext* This,
   6715     ID3D11Buffer *pBufferForArgs,
   6716     UINT AlignedByteOffsetForArgs);
   6717 void __RPC_STUB ID3D11DeviceContext_DrawIndexedInstancedIndirect_Stub(
   6718     IRpcStubBuffer* This,
   6719     IRpcChannelBuffer* pRpcChannelBuffer,
   6720     PRPC_MESSAGE pRpcMessage,
   6721     DWORD* pdwStubPhase);
   6722 void STDMETHODCALLTYPE ID3D11DeviceContext_DrawInstancedIndirect_Proxy(
   6723     ID3D11DeviceContext* This,
   6724     ID3D11Buffer *pBufferForArgs,
   6725     UINT AlignedByteOffsetForArgs);
   6726 void __RPC_STUB ID3D11DeviceContext_DrawInstancedIndirect_Stub(
   6727     IRpcStubBuffer* This,
   6728     IRpcChannelBuffer* pRpcChannelBuffer,
   6729     PRPC_MESSAGE pRpcMessage,
   6730     DWORD* pdwStubPhase);
   6731 void STDMETHODCALLTYPE ID3D11DeviceContext_Dispatch_Proxy(
   6732     ID3D11DeviceContext* This,
   6733     UINT ThreadGroupCountX,
   6734     UINT ThreadGroupCountY,
   6735     UINT ThreadGroupCountZ);
   6736 void __RPC_STUB ID3D11DeviceContext_Dispatch_Stub(
   6737     IRpcStubBuffer* This,
   6738     IRpcChannelBuffer* pRpcChannelBuffer,
   6739     PRPC_MESSAGE pRpcMessage,
   6740     DWORD* pdwStubPhase);
   6741 void STDMETHODCALLTYPE ID3D11DeviceContext_DispatchIndirect_Proxy(
   6742     ID3D11DeviceContext* This,
   6743     ID3D11Buffer *pBufferForArgs,
   6744     UINT AlignedByteOffsetForArgs);
   6745 void __RPC_STUB ID3D11DeviceContext_DispatchIndirect_Stub(
   6746     IRpcStubBuffer* This,
   6747     IRpcChannelBuffer* pRpcChannelBuffer,
   6748     PRPC_MESSAGE pRpcMessage,
   6749     DWORD* pdwStubPhase);
   6750 void STDMETHODCALLTYPE ID3D11DeviceContext_RSSetState_Proxy(
   6751     ID3D11DeviceContext* This,
   6752     ID3D11RasterizerState *pRasterizerState);
   6753 void __RPC_STUB ID3D11DeviceContext_RSSetState_Stub(
   6754     IRpcStubBuffer* This,
   6755     IRpcChannelBuffer* pRpcChannelBuffer,
   6756     PRPC_MESSAGE pRpcMessage,
   6757     DWORD* pdwStubPhase);
   6758 void STDMETHODCALLTYPE ID3D11DeviceContext_RSSetViewports_Proxy(
   6759     ID3D11DeviceContext* This,
   6760     UINT NumViewports,
   6761     const D3D11_VIEWPORT *pViewports);
   6762 void __RPC_STUB ID3D11DeviceContext_RSSetViewports_Stub(
   6763     IRpcStubBuffer* This,
   6764     IRpcChannelBuffer* pRpcChannelBuffer,
   6765     PRPC_MESSAGE pRpcMessage,
   6766     DWORD* pdwStubPhase);
   6767 void STDMETHODCALLTYPE ID3D11DeviceContext_RSSetScissorRects_Proxy(
   6768     ID3D11DeviceContext* This,
   6769     UINT NumRects,
   6770     const D3D11_RECT *pRects);
   6771 void __RPC_STUB ID3D11DeviceContext_RSSetScissorRects_Stub(
   6772     IRpcStubBuffer* This,
   6773     IRpcChannelBuffer* pRpcChannelBuffer,
   6774     PRPC_MESSAGE pRpcMessage,
   6775     DWORD* pdwStubPhase);
   6776 void STDMETHODCALLTYPE ID3D11DeviceContext_CopySubresourceRegion_Proxy(
   6777     ID3D11DeviceContext* This,
   6778     ID3D11Resource *pDstResource,
   6779     UINT DstSubresource,
   6780     UINT DstX,
   6781     UINT DstY,
   6782     UINT DstZ,
   6783     ID3D11Resource *pSrcResource,
   6784     UINT SrcSubresource,
   6785     const D3D11_BOX *pSrcBox);
   6786 void __RPC_STUB ID3D11DeviceContext_CopySubresourceRegion_Stub(
   6787     IRpcStubBuffer* This,
   6788     IRpcChannelBuffer* pRpcChannelBuffer,
   6789     PRPC_MESSAGE pRpcMessage,
   6790     DWORD* pdwStubPhase);
   6791 void STDMETHODCALLTYPE ID3D11DeviceContext_CopyResource_Proxy(
   6792     ID3D11DeviceContext* This,
   6793     ID3D11Resource *pDstResource,
   6794     ID3D11Resource *pSrcResource);
   6795 void __RPC_STUB ID3D11DeviceContext_CopyResource_Stub(
   6796     IRpcStubBuffer* This,
   6797     IRpcChannelBuffer* pRpcChannelBuffer,
   6798     PRPC_MESSAGE pRpcMessage,
   6799     DWORD* pdwStubPhase);
   6800 void STDMETHODCALLTYPE ID3D11DeviceContext_UpdateSubresource_Proxy(
   6801     ID3D11DeviceContext* This,
   6802     ID3D11Resource *pDstResource,
   6803     UINT DstSubresource,
   6804     const D3D11_BOX *pDstBox,
   6805     const void *pSrcData,
   6806     UINT SrcRowPitch,
   6807     UINT SrcDepthPitch);
   6808 void __RPC_STUB ID3D11DeviceContext_UpdateSubresource_Stub(
   6809     IRpcStubBuffer* This,
   6810     IRpcChannelBuffer* pRpcChannelBuffer,
   6811     PRPC_MESSAGE pRpcMessage,
   6812     DWORD* pdwStubPhase);
   6813 void STDMETHODCALLTYPE ID3D11DeviceContext_CopyStructureCount_Proxy(
   6814     ID3D11DeviceContext* This,
   6815     ID3D11Buffer *pDstBuffer,
   6816     UINT DstAlignedByteOffset,
   6817     ID3D11UnorderedAccessView *pSrcView);
   6818 void __RPC_STUB ID3D11DeviceContext_CopyStructureCount_Stub(
   6819     IRpcStubBuffer* This,
   6820     IRpcChannelBuffer* pRpcChannelBuffer,
   6821     PRPC_MESSAGE pRpcMessage,
   6822     DWORD* pdwStubPhase);
   6823 void STDMETHODCALLTYPE ID3D11DeviceContext_ClearRenderTargetView_Proxy(
   6824     ID3D11DeviceContext* This,
   6825     ID3D11RenderTargetView *pRenderTargetView,
   6826     const FLOAT ColorRGBA[4]);
   6827 void __RPC_STUB ID3D11DeviceContext_ClearRenderTargetView_Stub(
   6828     IRpcStubBuffer* This,
   6829     IRpcChannelBuffer* pRpcChannelBuffer,
   6830     PRPC_MESSAGE pRpcMessage,
   6831     DWORD* pdwStubPhase);
   6832 void STDMETHODCALLTYPE ID3D11DeviceContext_ClearUnorderedAccessViewUint_Proxy(
   6833     ID3D11DeviceContext* This,
   6834     ID3D11UnorderedAccessView *pUnorderedAccessView,
   6835     const UINT Values[4]);
   6836 void __RPC_STUB ID3D11DeviceContext_ClearUnorderedAccessViewUint_Stub(
   6837     IRpcStubBuffer* This,
   6838     IRpcChannelBuffer* pRpcChannelBuffer,
   6839     PRPC_MESSAGE pRpcMessage,
   6840     DWORD* pdwStubPhase);
   6841 void STDMETHODCALLTYPE ID3D11DeviceContext_ClearUnorderedAccessViewFloat_Proxy(
   6842     ID3D11DeviceContext* This,
   6843     ID3D11UnorderedAccessView *pUnorderedAccessView,
   6844     const FLOAT Values[4]);
   6845 void __RPC_STUB ID3D11DeviceContext_ClearUnorderedAccessViewFloat_Stub(
   6846     IRpcStubBuffer* This,
   6847     IRpcChannelBuffer* pRpcChannelBuffer,
   6848     PRPC_MESSAGE pRpcMessage,
   6849     DWORD* pdwStubPhase);
   6850 void STDMETHODCALLTYPE ID3D11DeviceContext_ClearDepthStencilView_Proxy(
   6851     ID3D11DeviceContext* This,
   6852     ID3D11DepthStencilView *pDepthStencilView,
   6853     UINT ClearFlags,
   6854     FLOAT Depth,
   6855     UINT8 Stencil);
   6856 void __RPC_STUB ID3D11DeviceContext_ClearDepthStencilView_Stub(
   6857     IRpcStubBuffer* This,
   6858     IRpcChannelBuffer* pRpcChannelBuffer,
   6859     PRPC_MESSAGE pRpcMessage,
   6860     DWORD* pdwStubPhase);
   6861 void STDMETHODCALLTYPE ID3D11DeviceContext_GenerateMips_Proxy(
   6862     ID3D11DeviceContext* This,
   6863     ID3D11ShaderResourceView *pShaderResourceView);
   6864 void __RPC_STUB ID3D11DeviceContext_GenerateMips_Stub(
   6865     IRpcStubBuffer* This,
   6866     IRpcChannelBuffer* pRpcChannelBuffer,
   6867     PRPC_MESSAGE pRpcMessage,
   6868     DWORD* pdwStubPhase);
   6869 void STDMETHODCALLTYPE ID3D11DeviceContext_SetResourceMinLOD_Proxy(
   6870     ID3D11DeviceContext* This,
   6871     ID3D11Resource *pResource,
   6872     FLOAT MinLOD);
   6873 void __RPC_STUB ID3D11DeviceContext_SetResourceMinLOD_Stub(
   6874     IRpcStubBuffer* This,
   6875     IRpcChannelBuffer* pRpcChannelBuffer,
   6876     PRPC_MESSAGE pRpcMessage,
   6877     DWORD* pdwStubPhase);
   6878 FLOAT STDMETHODCALLTYPE ID3D11DeviceContext_GetResourceMinLOD_Proxy(
   6879     ID3D11DeviceContext* This,
   6880     ID3D11Resource *pResource);
   6881 void __RPC_STUB ID3D11DeviceContext_GetResourceMinLOD_Stub(
   6882     IRpcStubBuffer* This,
   6883     IRpcChannelBuffer* pRpcChannelBuffer,
   6884     PRPC_MESSAGE pRpcMessage,
   6885     DWORD* pdwStubPhase);
   6886 void STDMETHODCALLTYPE ID3D11DeviceContext_ResolveSubresource_Proxy(
   6887     ID3D11DeviceContext* This,
   6888     ID3D11Resource *pDstResource,
   6889     UINT DstSubresource,
   6890     ID3D11Resource *pSrcResource,
   6891     UINT SrcSubresource,
   6892     DXGI_FORMAT Format);
   6893 void __RPC_STUB ID3D11DeviceContext_ResolveSubresource_Stub(
   6894     IRpcStubBuffer* This,
   6895     IRpcChannelBuffer* pRpcChannelBuffer,
   6896     PRPC_MESSAGE pRpcMessage,
   6897     DWORD* pdwStubPhase);
   6898 void STDMETHODCALLTYPE ID3D11DeviceContext_ExecuteCommandList_Proxy(
   6899     ID3D11DeviceContext* This,
   6900     ID3D11CommandList *pCommandList,
   6901     WINBOOL RestoreContextState);
   6902 void __RPC_STUB ID3D11DeviceContext_ExecuteCommandList_Stub(
   6903     IRpcStubBuffer* This,
   6904     IRpcChannelBuffer* pRpcChannelBuffer,
   6905     PRPC_MESSAGE pRpcMessage,
   6906     DWORD* pdwStubPhase);
   6907 void STDMETHODCALLTYPE ID3D11DeviceContext_HSSetShaderResources_Proxy(
   6908     ID3D11DeviceContext* This,
   6909     UINT StartSlot,
   6910     UINT NumViews,
   6911     ID3D11ShaderResourceView *const *ppShaderResourceViews);
   6912 void __RPC_STUB ID3D11DeviceContext_HSSetShaderResources_Stub(
   6913     IRpcStubBuffer* This,
   6914     IRpcChannelBuffer* pRpcChannelBuffer,
   6915     PRPC_MESSAGE pRpcMessage,
   6916     DWORD* pdwStubPhase);
   6917 void STDMETHODCALLTYPE ID3D11DeviceContext_HSSetShader_Proxy(
   6918     ID3D11DeviceContext* This,
   6919     ID3D11HullShader *pHullShader,
   6920     ID3D11ClassInstance *const *ppClassInstances,
   6921     UINT NumClassInstances);
   6922 void __RPC_STUB ID3D11DeviceContext_HSSetShader_Stub(
   6923     IRpcStubBuffer* This,
   6924     IRpcChannelBuffer* pRpcChannelBuffer,
   6925     PRPC_MESSAGE pRpcMessage,
   6926     DWORD* pdwStubPhase);
   6927 void STDMETHODCALLTYPE ID3D11DeviceContext_HSSetSamplers_Proxy(
   6928     ID3D11DeviceContext* This,
   6929     UINT StartSlot,
   6930     UINT NumSamplers,
   6931     ID3D11SamplerState *const *ppSamplers);
   6932 void __RPC_STUB ID3D11DeviceContext_HSSetSamplers_Stub(
   6933     IRpcStubBuffer* This,
   6934     IRpcChannelBuffer* pRpcChannelBuffer,
   6935     PRPC_MESSAGE pRpcMessage,
   6936     DWORD* pdwStubPhase);
   6937 void STDMETHODCALLTYPE ID3D11DeviceContext_HSSetConstantBuffers_Proxy(
   6938     ID3D11DeviceContext* This,
   6939     UINT StartSlot,
   6940     UINT NumBuffers,
   6941     ID3D11Buffer *const *ppConstantBuffers);
   6942 void __RPC_STUB ID3D11DeviceContext_HSSetConstantBuffers_Stub(
   6943     IRpcStubBuffer* This,
   6944     IRpcChannelBuffer* pRpcChannelBuffer,
   6945     PRPC_MESSAGE pRpcMessage,
   6946     DWORD* pdwStubPhase);
   6947 void STDMETHODCALLTYPE ID3D11DeviceContext_DSSetShaderResources_Proxy(
   6948     ID3D11DeviceContext* This,
   6949     UINT StartSlot,
   6950     UINT NumViews,
   6951     ID3D11ShaderResourceView *const *ppShaderResourceViews);
   6952 void __RPC_STUB ID3D11DeviceContext_DSSetShaderResources_Stub(
   6953     IRpcStubBuffer* This,
   6954     IRpcChannelBuffer* pRpcChannelBuffer,
   6955     PRPC_MESSAGE pRpcMessage,
   6956     DWORD* pdwStubPhase);
   6957 void STDMETHODCALLTYPE ID3D11DeviceContext_DSSetShader_Proxy(
   6958     ID3D11DeviceContext* This,
   6959     ID3D11DomainShader *pDomainShader,
   6960     ID3D11ClassInstance *const *ppClassInstances,
   6961     UINT NumClassInstances);
   6962 void __RPC_STUB ID3D11DeviceContext_DSSetShader_Stub(
   6963     IRpcStubBuffer* This,
   6964     IRpcChannelBuffer* pRpcChannelBuffer,
   6965     PRPC_MESSAGE pRpcMessage,
   6966     DWORD* pdwStubPhase);
   6967 void STDMETHODCALLTYPE ID3D11DeviceContext_DSSetSamplers_Proxy(
   6968     ID3D11DeviceContext* This,
   6969     UINT StartSlot,
   6970     UINT NumSamplers,
   6971     ID3D11SamplerState *const *ppSamplers);
   6972 void __RPC_STUB ID3D11DeviceContext_DSSetSamplers_Stub(
   6973     IRpcStubBuffer* This,
   6974     IRpcChannelBuffer* pRpcChannelBuffer,
   6975     PRPC_MESSAGE pRpcMessage,
   6976     DWORD* pdwStubPhase);
   6977 void STDMETHODCALLTYPE ID3D11DeviceContext_DSSetConstantBuffers_Proxy(
   6978     ID3D11DeviceContext* This,
   6979     UINT StartSlot,
   6980     UINT NumBuffers,
   6981     ID3D11Buffer *const *ppConstantBuffers);
   6982 void __RPC_STUB ID3D11DeviceContext_DSSetConstantBuffers_Stub(
   6983     IRpcStubBuffer* This,
   6984     IRpcChannelBuffer* pRpcChannelBuffer,
   6985     PRPC_MESSAGE pRpcMessage,
   6986     DWORD* pdwStubPhase);
   6987 void STDMETHODCALLTYPE ID3D11DeviceContext_CSSetShaderResources_Proxy(
   6988     ID3D11DeviceContext* This,
   6989     UINT StartSlot,
   6990     UINT NumViews,
   6991     ID3D11ShaderResourceView *const *ppShaderResourceViews);
   6992 void __RPC_STUB ID3D11DeviceContext_CSSetShaderResources_Stub(
   6993     IRpcStubBuffer* This,
   6994     IRpcChannelBuffer* pRpcChannelBuffer,
   6995     PRPC_MESSAGE pRpcMessage,
   6996     DWORD* pdwStubPhase);
   6997 void STDMETHODCALLTYPE ID3D11DeviceContext_CSSetUnorderedAccessViews_Proxy(
   6998     ID3D11DeviceContext* This,
   6999     UINT StartSlot,
   7000     UINT NumUAVs,
   7001     ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
   7002     const UINT *pUAVInitialCounts);
   7003 void __RPC_STUB ID3D11DeviceContext_CSSetUnorderedAccessViews_Stub(
   7004     IRpcStubBuffer* This,
   7005     IRpcChannelBuffer* pRpcChannelBuffer,
   7006     PRPC_MESSAGE pRpcMessage,
   7007     DWORD* pdwStubPhase);
   7008 void STDMETHODCALLTYPE ID3D11DeviceContext_CSSetShader_Proxy(
   7009     ID3D11DeviceContext* This,
   7010     ID3D11ComputeShader *pComputeShader,
   7011     ID3D11ClassInstance *const *ppClassInstances,
   7012     UINT NumClassInstances);
   7013 void __RPC_STUB ID3D11DeviceContext_CSSetShader_Stub(
   7014     IRpcStubBuffer* This,
   7015     IRpcChannelBuffer* pRpcChannelBuffer,
   7016     PRPC_MESSAGE pRpcMessage,
   7017     DWORD* pdwStubPhase);
   7018 void STDMETHODCALLTYPE ID3D11DeviceContext_CSSetSamplers_Proxy(
   7019     ID3D11DeviceContext* This,
   7020     UINT StartSlot,
   7021     UINT NumSamplers,
   7022     ID3D11SamplerState *const *ppSamplers);
   7023 void __RPC_STUB ID3D11DeviceContext_CSSetSamplers_Stub(
   7024     IRpcStubBuffer* This,
   7025     IRpcChannelBuffer* pRpcChannelBuffer,
   7026     PRPC_MESSAGE pRpcMessage,
   7027     DWORD* pdwStubPhase);
   7028 void STDMETHODCALLTYPE ID3D11DeviceContext_CSSetConstantBuffers_Proxy(
   7029     ID3D11DeviceContext* This,
   7030     UINT StartSlot,
   7031     UINT NumBuffers,
   7032     ID3D11Buffer *const *ppConstantBuffers);
   7033 void __RPC_STUB ID3D11DeviceContext_CSSetConstantBuffers_Stub(
   7034     IRpcStubBuffer* This,
   7035     IRpcChannelBuffer* pRpcChannelBuffer,
   7036     PRPC_MESSAGE pRpcMessage,
   7037     DWORD* pdwStubPhase);
   7038 void STDMETHODCALLTYPE ID3D11DeviceContext_VSGetConstantBuffers_Proxy(
   7039     ID3D11DeviceContext* This,
   7040     UINT StartSlot,
   7041     UINT NumBuffers,
   7042     ID3D11Buffer **ppConstantBuffers);
   7043 void __RPC_STUB ID3D11DeviceContext_VSGetConstantBuffers_Stub(
   7044     IRpcStubBuffer* This,
   7045     IRpcChannelBuffer* pRpcChannelBuffer,
   7046     PRPC_MESSAGE pRpcMessage,
   7047     DWORD* pdwStubPhase);
   7048 void STDMETHODCALLTYPE ID3D11DeviceContext_PSGetShaderResources_Proxy(
   7049     ID3D11DeviceContext* This,
   7050     UINT StartSlot,
   7051     UINT NumViews,
   7052     ID3D11ShaderResourceView **ppShaderResourceViews);
   7053 void __RPC_STUB ID3D11DeviceContext_PSGetShaderResources_Stub(
   7054     IRpcStubBuffer* This,
   7055     IRpcChannelBuffer* pRpcChannelBuffer,
   7056     PRPC_MESSAGE pRpcMessage,
   7057     DWORD* pdwStubPhase);
   7058 void STDMETHODCALLTYPE ID3D11DeviceContext_PSGetShader_Proxy(
   7059     ID3D11DeviceContext* This,
   7060     ID3D11PixelShader **ppPixelShader,
   7061     ID3D11ClassInstance **ppClassInstances,
   7062     UINT *pNumClassInstances);
   7063 void __RPC_STUB ID3D11DeviceContext_PSGetShader_Stub(
   7064     IRpcStubBuffer* This,
   7065     IRpcChannelBuffer* pRpcChannelBuffer,
   7066     PRPC_MESSAGE pRpcMessage,
   7067     DWORD* pdwStubPhase);
   7068 void STDMETHODCALLTYPE ID3D11DeviceContext_PSGetSamplers_Proxy(
   7069     ID3D11DeviceContext* This,
   7070     UINT StartSlot,
   7071     UINT NumSamplers,
   7072     ID3D11SamplerState **ppSamplers);
   7073 void __RPC_STUB ID3D11DeviceContext_PSGetSamplers_Stub(
   7074     IRpcStubBuffer* This,
   7075     IRpcChannelBuffer* pRpcChannelBuffer,
   7076     PRPC_MESSAGE pRpcMessage,
   7077     DWORD* pdwStubPhase);
   7078 void STDMETHODCALLTYPE ID3D11DeviceContext_VSGetShader_Proxy(
   7079     ID3D11DeviceContext* This,
   7080     ID3D11VertexShader **ppVertexShader,
   7081     ID3D11ClassInstance **ppClassInstances,
   7082     UINT *pNumClassInstances);
   7083 void __RPC_STUB ID3D11DeviceContext_VSGetShader_Stub(
   7084     IRpcStubBuffer* This,
   7085     IRpcChannelBuffer* pRpcChannelBuffer,
   7086     PRPC_MESSAGE pRpcMessage,
   7087     DWORD* pdwStubPhase);
   7088 void STDMETHODCALLTYPE ID3D11DeviceContext_PSGetConstantBuffers_Proxy(
   7089     ID3D11DeviceContext* This,
   7090     UINT StartSlot,
   7091     UINT NumBuffers,
   7092     ID3D11Buffer **ppConstantBuffers);
   7093 void __RPC_STUB ID3D11DeviceContext_PSGetConstantBuffers_Stub(
   7094     IRpcStubBuffer* This,
   7095     IRpcChannelBuffer* pRpcChannelBuffer,
   7096     PRPC_MESSAGE pRpcMessage,
   7097     DWORD* pdwStubPhase);
   7098 void STDMETHODCALLTYPE ID3D11DeviceContext_IAGetInputLayout_Proxy(
   7099     ID3D11DeviceContext* This,
   7100     ID3D11InputLayout **ppInputLayout);
   7101 void __RPC_STUB ID3D11DeviceContext_IAGetInputLayout_Stub(
   7102     IRpcStubBuffer* This,
   7103     IRpcChannelBuffer* pRpcChannelBuffer,
   7104     PRPC_MESSAGE pRpcMessage,
   7105     DWORD* pdwStubPhase);
   7106 void STDMETHODCALLTYPE ID3D11DeviceContext_IAGetVertexBuffers_Proxy(
   7107     ID3D11DeviceContext* This,
   7108     UINT StartSlot,
   7109     UINT NumBuffers,
   7110     ID3D11Buffer **ppVertexBuffers,
   7111     UINT *pStrides,
   7112     UINT *pOffsets);
   7113 void __RPC_STUB ID3D11DeviceContext_IAGetVertexBuffers_Stub(
   7114     IRpcStubBuffer* This,
   7115     IRpcChannelBuffer* pRpcChannelBuffer,
   7116     PRPC_MESSAGE pRpcMessage,
   7117     DWORD* pdwStubPhase);
   7118 void STDMETHODCALLTYPE ID3D11DeviceContext_IAGetIndexBuffer_Proxy(
   7119     ID3D11DeviceContext* This,
   7120     ID3D11Buffer **pIndexBuffer,
   7121     DXGI_FORMAT *Format,
   7122     UINT *Offset);
   7123 void __RPC_STUB ID3D11DeviceContext_IAGetIndexBuffer_Stub(
   7124     IRpcStubBuffer* This,
   7125     IRpcChannelBuffer* pRpcChannelBuffer,
   7126     PRPC_MESSAGE pRpcMessage,
   7127     DWORD* pdwStubPhase);
   7128 void STDMETHODCALLTYPE ID3D11DeviceContext_GSGetConstantBuffers_Proxy(
   7129     ID3D11DeviceContext* This,
   7130     UINT StartSlot,
   7131     UINT NumBuffers,
   7132     ID3D11Buffer **ppConstantBuffers);
   7133 void __RPC_STUB ID3D11DeviceContext_GSGetConstantBuffers_Stub(
   7134     IRpcStubBuffer* This,
   7135     IRpcChannelBuffer* pRpcChannelBuffer,
   7136     PRPC_MESSAGE pRpcMessage,
   7137     DWORD* pdwStubPhase);
   7138 void STDMETHODCALLTYPE ID3D11DeviceContext_GSGetShader_Proxy(
   7139     ID3D11DeviceContext* This,
   7140     ID3D11GeometryShader **ppGeometryShader,
   7141     ID3D11ClassInstance **ppClassInstances,
   7142     UINT *pNumClassInstances);
   7143 void __RPC_STUB ID3D11DeviceContext_GSGetShader_Stub(
   7144     IRpcStubBuffer* This,
   7145     IRpcChannelBuffer* pRpcChannelBuffer,
   7146     PRPC_MESSAGE pRpcMessage,
   7147     DWORD* pdwStubPhase);
   7148 void STDMETHODCALLTYPE ID3D11DeviceContext_IAGetPrimitiveTopology_Proxy(
   7149     ID3D11DeviceContext* This,
   7150     D3D11_PRIMITIVE_TOPOLOGY *pTopology);
   7151 void __RPC_STUB ID3D11DeviceContext_IAGetPrimitiveTopology_Stub(
   7152     IRpcStubBuffer* This,
   7153     IRpcChannelBuffer* pRpcChannelBuffer,
   7154     PRPC_MESSAGE pRpcMessage,
   7155     DWORD* pdwStubPhase);
   7156 void STDMETHODCALLTYPE ID3D11DeviceContext_VSGetShaderResources_Proxy(
   7157     ID3D11DeviceContext* This,
   7158     UINT StartSlot,
   7159     UINT NumViews,
   7160     ID3D11ShaderResourceView **ppShaderResourceViews);
   7161 void __RPC_STUB ID3D11DeviceContext_VSGetShaderResources_Stub(
   7162     IRpcStubBuffer* This,
   7163     IRpcChannelBuffer* pRpcChannelBuffer,
   7164     PRPC_MESSAGE pRpcMessage,
   7165     DWORD* pdwStubPhase);
   7166 void STDMETHODCALLTYPE ID3D11DeviceContext_VSGetSamplers_Proxy(
   7167     ID3D11DeviceContext* This,
   7168     UINT StartSlot,
   7169     UINT NumSamplers,
   7170     ID3D11SamplerState **ppSamplers);
   7171 void __RPC_STUB ID3D11DeviceContext_VSGetSamplers_Stub(
   7172     IRpcStubBuffer* This,
   7173     IRpcChannelBuffer* pRpcChannelBuffer,
   7174     PRPC_MESSAGE pRpcMessage,
   7175     DWORD* pdwStubPhase);
   7176 void STDMETHODCALLTYPE ID3D11DeviceContext_GetPredication_Proxy(
   7177     ID3D11DeviceContext* This,
   7178     ID3D11Predicate **ppPredicate,
   7179     WINBOOL *pPredicateValue);
   7180 void __RPC_STUB ID3D11DeviceContext_GetPredication_Stub(
   7181     IRpcStubBuffer* This,
   7182     IRpcChannelBuffer* pRpcChannelBuffer,
   7183     PRPC_MESSAGE pRpcMessage,
   7184     DWORD* pdwStubPhase);
   7185 void STDMETHODCALLTYPE ID3D11DeviceContext_GSGetShaderResources_Proxy(
   7186     ID3D11DeviceContext* This,
   7187     UINT StartSlot,
   7188     UINT NumViews,
   7189     ID3D11ShaderResourceView **ppShaderResourceViews);
   7190 void __RPC_STUB ID3D11DeviceContext_GSGetShaderResources_Stub(
   7191     IRpcStubBuffer* This,
   7192     IRpcChannelBuffer* pRpcChannelBuffer,
   7193     PRPC_MESSAGE pRpcMessage,
   7194     DWORD* pdwStubPhase);
   7195 void STDMETHODCALLTYPE ID3D11DeviceContext_GSGetSamplers_Proxy(
   7196     ID3D11DeviceContext* This,
   7197     UINT StartSlot,
   7198     UINT NumSamplers,
   7199     ID3D11SamplerState **ppSamplers);
   7200 void __RPC_STUB ID3D11DeviceContext_GSGetSamplers_Stub(
   7201     IRpcStubBuffer* This,
   7202     IRpcChannelBuffer* pRpcChannelBuffer,
   7203     PRPC_MESSAGE pRpcMessage,
   7204     DWORD* pdwStubPhase);
   7205 void STDMETHODCALLTYPE ID3D11DeviceContext_OMGetRenderTargets_Proxy(
   7206     ID3D11DeviceContext* This,
   7207     UINT NumViews,
   7208     ID3D11RenderTargetView **ppRenderTargetViews,
   7209     ID3D11DepthStencilView **ppDepthStencilView);
   7210 void __RPC_STUB ID3D11DeviceContext_OMGetRenderTargets_Stub(
   7211     IRpcStubBuffer* This,
   7212     IRpcChannelBuffer* pRpcChannelBuffer,
   7213     PRPC_MESSAGE pRpcMessage,
   7214     DWORD* pdwStubPhase);
   7215 void STDMETHODCALLTYPE ID3D11DeviceContext_OMGetRenderTargetsAndUnorderedAccessViews_Proxy(
   7216     ID3D11DeviceContext* This,
   7217     UINT NumRTVs,
   7218     ID3D11RenderTargetView **ppRenderTargetViews,
   7219     ID3D11DepthStencilView **ppDepthStencilView,
   7220     UINT UAVStartSlot,
   7221     UINT NumUAVs,
   7222     ID3D11UnorderedAccessView **ppUnorderedAccessViews);
   7223 void __RPC_STUB ID3D11DeviceContext_OMGetRenderTargetsAndUnorderedAccessViews_Stub(
   7224     IRpcStubBuffer* This,
   7225     IRpcChannelBuffer* pRpcChannelBuffer,
   7226     PRPC_MESSAGE pRpcMessage,
   7227     DWORD* pdwStubPhase);
   7228 void STDMETHODCALLTYPE ID3D11DeviceContext_OMGetBlendState_Proxy(
   7229     ID3D11DeviceContext* This,
   7230     ID3D11BlendState **ppBlendState,
   7231     FLOAT BlendFactor[4],
   7232     UINT *pSampleMask);
   7233 void __RPC_STUB ID3D11DeviceContext_OMGetBlendState_Stub(
   7234     IRpcStubBuffer* This,
   7235     IRpcChannelBuffer* pRpcChannelBuffer,
   7236     PRPC_MESSAGE pRpcMessage,
   7237     DWORD* pdwStubPhase);
   7238 void STDMETHODCALLTYPE ID3D11DeviceContext_OMGetDepthStencilState_Proxy(
   7239     ID3D11DeviceContext* This,
   7240     ID3D11DepthStencilState **ppDepthStencilState,
   7241     UINT *pStencilRef);
   7242 void __RPC_STUB ID3D11DeviceContext_OMGetDepthStencilState_Stub(
   7243     IRpcStubBuffer* This,
   7244     IRpcChannelBuffer* pRpcChannelBuffer,
   7245     PRPC_MESSAGE pRpcMessage,
   7246     DWORD* pdwStubPhase);
   7247 void STDMETHODCALLTYPE ID3D11DeviceContext_SOGetTargets_Proxy(
   7248     ID3D11DeviceContext* This,
   7249     UINT NumBuffers,
   7250     ID3D11Buffer **ppSOTargets);
   7251 void __RPC_STUB ID3D11DeviceContext_SOGetTargets_Stub(
   7252     IRpcStubBuffer* This,
   7253     IRpcChannelBuffer* pRpcChannelBuffer,
   7254     PRPC_MESSAGE pRpcMessage,
   7255     DWORD* pdwStubPhase);
   7256 void STDMETHODCALLTYPE ID3D11DeviceContext_RSGetState_Proxy(
   7257     ID3D11DeviceContext* This,
   7258     ID3D11RasterizerState **ppRasterizerState);
   7259 void __RPC_STUB ID3D11DeviceContext_RSGetState_Stub(
   7260     IRpcStubBuffer* This,
   7261     IRpcChannelBuffer* pRpcChannelBuffer,
   7262     PRPC_MESSAGE pRpcMessage,
   7263     DWORD* pdwStubPhase);
   7264 void STDMETHODCALLTYPE ID3D11DeviceContext_RSGetViewports_Proxy(
   7265     ID3D11DeviceContext* This,
   7266     UINT *pNumViewports,
   7267     D3D11_VIEWPORT *pViewports);
   7268 void __RPC_STUB ID3D11DeviceContext_RSGetViewports_Stub(
   7269     IRpcStubBuffer* This,
   7270     IRpcChannelBuffer* pRpcChannelBuffer,
   7271     PRPC_MESSAGE pRpcMessage,
   7272     DWORD* pdwStubPhase);
   7273 void STDMETHODCALLTYPE ID3D11DeviceContext_RSGetScissorRects_Proxy(
   7274     ID3D11DeviceContext* This,
   7275     UINT *pNumRects,
   7276     D3D11_RECT *pRects);
   7277 void __RPC_STUB ID3D11DeviceContext_RSGetScissorRects_Stub(
   7278     IRpcStubBuffer* This,
   7279     IRpcChannelBuffer* pRpcChannelBuffer,
   7280     PRPC_MESSAGE pRpcMessage,
   7281     DWORD* pdwStubPhase);
   7282 void STDMETHODCALLTYPE ID3D11DeviceContext_HSGetShaderResources_Proxy(
   7283     ID3D11DeviceContext* This,
   7284     UINT StartSlot,
   7285     UINT NumViews,
   7286     ID3D11ShaderResourceView **ppShaderResourceViews);
   7287 void __RPC_STUB ID3D11DeviceContext_HSGetShaderResources_Stub(
   7288     IRpcStubBuffer* This,
   7289     IRpcChannelBuffer* pRpcChannelBuffer,
   7290     PRPC_MESSAGE pRpcMessage,
   7291     DWORD* pdwStubPhase);
   7292 void STDMETHODCALLTYPE ID3D11DeviceContext_HSGetShader_Proxy(
   7293     ID3D11DeviceContext* This,
   7294     ID3D11HullShader **ppHullShader,
   7295     ID3D11ClassInstance **ppClassInstances,
   7296     UINT *pNumClassInstances);
   7297 void __RPC_STUB ID3D11DeviceContext_HSGetShader_Stub(
   7298     IRpcStubBuffer* This,
   7299     IRpcChannelBuffer* pRpcChannelBuffer,
   7300     PRPC_MESSAGE pRpcMessage,
   7301     DWORD* pdwStubPhase);
   7302 void STDMETHODCALLTYPE ID3D11DeviceContext_HSGetSamplers_Proxy(
   7303     ID3D11DeviceContext* This,
   7304     UINT StartSlot,
   7305     UINT NumSamplers,
   7306     ID3D11SamplerState **ppSamplers);
   7307 void __RPC_STUB ID3D11DeviceContext_HSGetSamplers_Stub(
   7308     IRpcStubBuffer* This,
   7309     IRpcChannelBuffer* pRpcChannelBuffer,
   7310     PRPC_MESSAGE pRpcMessage,
   7311     DWORD* pdwStubPhase);
   7312 void STDMETHODCALLTYPE ID3D11DeviceContext_HSGetConstantBuffers_Proxy(
   7313     ID3D11DeviceContext* This,
   7314     UINT StartSlot,
   7315     UINT NumBuffers,
   7316     ID3D11Buffer **ppConstantBuffers);
   7317 void __RPC_STUB ID3D11DeviceContext_HSGetConstantBuffers_Stub(
   7318     IRpcStubBuffer* This,
   7319     IRpcChannelBuffer* pRpcChannelBuffer,
   7320     PRPC_MESSAGE pRpcMessage,
   7321     DWORD* pdwStubPhase);
   7322 void STDMETHODCALLTYPE ID3D11DeviceContext_DSGetShaderResources_Proxy(
   7323     ID3D11DeviceContext* This,
   7324     UINT StartSlot,
   7325     UINT NumViews,
   7326     ID3D11ShaderResourceView **ppShaderResourceViews);
   7327 void __RPC_STUB ID3D11DeviceContext_DSGetShaderResources_Stub(
   7328     IRpcStubBuffer* This,
   7329     IRpcChannelBuffer* pRpcChannelBuffer,
   7330     PRPC_MESSAGE pRpcMessage,
   7331     DWORD* pdwStubPhase);
   7332 void STDMETHODCALLTYPE ID3D11DeviceContext_DSGetShader_Proxy(
   7333     ID3D11DeviceContext* This,
   7334     ID3D11DomainShader **ppDomainShader,
   7335     ID3D11ClassInstance **ppClassInstances,
   7336     UINT *pNumClassInstances);
   7337 void __RPC_STUB ID3D11DeviceContext_DSGetShader_Stub(
   7338     IRpcStubBuffer* This,
   7339     IRpcChannelBuffer* pRpcChannelBuffer,
   7340     PRPC_MESSAGE pRpcMessage,
   7341     DWORD* pdwStubPhase);
   7342 void STDMETHODCALLTYPE ID3D11DeviceContext_DSGetSamplers_Proxy(
   7343     ID3D11DeviceContext* This,
   7344     UINT StartSlot,
   7345     UINT NumSamplers,
   7346     ID3D11SamplerState **ppSamplers);
   7347 void __RPC_STUB ID3D11DeviceContext_DSGetSamplers_Stub(
   7348     IRpcStubBuffer* This,
   7349     IRpcChannelBuffer* pRpcChannelBuffer,
   7350     PRPC_MESSAGE pRpcMessage,
   7351     DWORD* pdwStubPhase);
   7352 void STDMETHODCALLTYPE ID3D11DeviceContext_DSGetConstantBuffers_Proxy(
   7353     ID3D11DeviceContext* This,
   7354     UINT StartSlot,
   7355     UINT NumBuffers,
   7356     ID3D11Buffer **ppConstantBuffers);
   7357 void __RPC_STUB ID3D11DeviceContext_DSGetConstantBuffers_Stub(
   7358     IRpcStubBuffer* This,
   7359     IRpcChannelBuffer* pRpcChannelBuffer,
   7360     PRPC_MESSAGE pRpcMessage,
   7361     DWORD* pdwStubPhase);
   7362 void STDMETHODCALLTYPE ID3D11DeviceContext_CSGetShaderResources_Proxy(
   7363     ID3D11DeviceContext* This,
   7364     UINT StartSlot,
   7365     UINT NumViews,
   7366     ID3D11ShaderResourceView **ppShaderResourceViews);
   7367 void __RPC_STUB ID3D11DeviceContext_CSGetShaderResources_Stub(
   7368     IRpcStubBuffer* This,
   7369     IRpcChannelBuffer* pRpcChannelBuffer,
   7370     PRPC_MESSAGE pRpcMessage,
   7371     DWORD* pdwStubPhase);
   7372 void STDMETHODCALLTYPE ID3D11DeviceContext_CSGetUnorderedAccessViews_Proxy(
   7373     ID3D11DeviceContext* This,
   7374     UINT StartSlot,
   7375     UINT NumUAVs,
   7376     ID3D11UnorderedAccessView **ppUnorderedAccessViews);
   7377 void __RPC_STUB ID3D11DeviceContext_CSGetUnorderedAccessViews_Stub(
   7378     IRpcStubBuffer* This,
   7379     IRpcChannelBuffer* pRpcChannelBuffer,
   7380     PRPC_MESSAGE pRpcMessage,
   7381     DWORD* pdwStubPhase);
   7382 void STDMETHODCALLTYPE ID3D11DeviceContext_CSGetShader_Proxy(
   7383     ID3D11DeviceContext* This,
   7384     ID3D11ComputeShader **ppComputeShader,
   7385     ID3D11ClassInstance **ppClassInstances,
   7386     UINT *pNumClassInstances);
   7387 void __RPC_STUB ID3D11DeviceContext_CSGetShader_Stub(
   7388     IRpcStubBuffer* This,
   7389     IRpcChannelBuffer* pRpcChannelBuffer,
   7390     PRPC_MESSAGE pRpcMessage,
   7391     DWORD* pdwStubPhase);
   7392 void STDMETHODCALLTYPE ID3D11DeviceContext_CSGetSamplers_Proxy(
   7393     ID3D11DeviceContext* This,
   7394     UINT StartSlot,
   7395     UINT NumSamplers,
   7396     ID3D11SamplerState **ppSamplers);
   7397 void __RPC_STUB ID3D11DeviceContext_CSGetSamplers_Stub(
   7398     IRpcStubBuffer* This,
   7399     IRpcChannelBuffer* pRpcChannelBuffer,
   7400     PRPC_MESSAGE pRpcMessage,
   7401     DWORD* pdwStubPhase);
   7402 void STDMETHODCALLTYPE ID3D11DeviceContext_CSGetConstantBuffers_Proxy(
   7403     ID3D11DeviceContext* This,
   7404     UINT StartSlot,
   7405     UINT NumBuffers,
   7406     ID3D11Buffer **ppConstantBuffers);
   7407 void __RPC_STUB ID3D11DeviceContext_CSGetConstantBuffers_Stub(
   7408     IRpcStubBuffer* This,
   7409     IRpcChannelBuffer* pRpcChannelBuffer,
   7410     PRPC_MESSAGE pRpcMessage,
   7411     DWORD* pdwStubPhase);
   7412 void STDMETHODCALLTYPE ID3D11DeviceContext_ClearState_Proxy(
   7413     ID3D11DeviceContext* This);
   7414 void __RPC_STUB ID3D11DeviceContext_ClearState_Stub(
   7415     IRpcStubBuffer* This,
   7416     IRpcChannelBuffer* pRpcChannelBuffer,
   7417     PRPC_MESSAGE pRpcMessage,
   7418     DWORD* pdwStubPhase);
   7419 void STDMETHODCALLTYPE ID3D11DeviceContext_Flush_Proxy(
   7420     ID3D11DeviceContext* This);
   7421 void __RPC_STUB ID3D11DeviceContext_Flush_Stub(
   7422     IRpcStubBuffer* This,
   7423     IRpcChannelBuffer* pRpcChannelBuffer,
   7424     PRPC_MESSAGE pRpcMessage,
   7425     DWORD* pdwStubPhase);
   7426 D3D11_DEVICE_CONTEXT_TYPE STDMETHODCALLTYPE ID3D11DeviceContext_GetType_Proxy(
   7427     ID3D11DeviceContext* This);
   7428 void __RPC_STUB ID3D11DeviceContext_GetType_Stub(
   7429     IRpcStubBuffer* This,
   7430     IRpcChannelBuffer* pRpcChannelBuffer,
   7431     PRPC_MESSAGE pRpcMessage,
   7432     DWORD* pdwStubPhase);
   7433 UINT STDMETHODCALLTYPE ID3D11DeviceContext_GetContextFlags_Proxy(
   7434     ID3D11DeviceContext* This);
   7435 void __RPC_STUB ID3D11DeviceContext_GetContextFlags_Stub(
   7436     IRpcStubBuffer* This,
   7437     IRpcChannelBuffer* pRpcChannelBuffer,
   7438     PRPC_MESSAGE pRpcMessage,
   7439     DWORD* pdwStubPhase);
   7440 HRESULT STDMETHODCALLTYPE ID3D11DeviceContext_FinishCommandList_Proxy(
   7441     ID3D11DeviceContext* This,
   7442     WINBOOL RestoreDeferredContextState,
   7443     ID3D11CommandList **ppCommandList);
   7444 void __RPC_STUB ID3D11DeviceContext_FinishCommandList_Stub(
   7445     IRpcStubBuffer* This,
   7446     IRpcChannelBuffer* pRpcChannelBuffer,
   7447     PRPC_MESSAGE pRpcMessage,
   7448     DWORD* pdwStubPhase);
   7449 
   7450 #endif  /* __ID3D11DeviceContext_INTERFACE_DEFINED__ */
   7451 
   7452 /*****************************************************************************
   7453  * ID3D11Device interface
   7454  */
   7455 #ifndef __ID3D11Device_INTERFACE_DEFINED__
   7456 #define __ID3D11Device_INTERFACE_DEFINED__
   7457 
   7458 DEFINE_GUID(IID_ID3D11Device, 0xdb6f6ddb, 0xac77, 0x4e88, 0x82,0x53, 0x81,0x9d,0xf9,0xbb,0xf1,0x40);
   7459 #if defined(__cplusplus) && !defined(CINTERFACE)
   7460 MIDL_INTERFACE("db6f6ddb-ac77-4e88-8253-819df9bbf140")
   7461 ID3D11Device : public IUnknown
   7462 {
   7463     virtual HRESULT STDMETHODCALLTYPE CreateBuffer(
   7464         const D3D11_BUFFER_DESC *pDesc,
   7465         const D3D11_SUBRESOURCE_DATA *pInitialData,
   7466         ID3D11Buffer **ppBuffer) = 0;
   7467 
   7468     virtual HRESULT STDMETHODCALLTYPE CreateTexture1D(
   7469         const D3D11_TEXTURE1D_DESC *pDesc,
   7470         const D3D11_SUBRESOURCE_DATA *pInitialData,
   7471         ID3D11Texture1D **ppTexture1D) = 0;
   7472 
   7473     virtual HRESULT STDMETHODCALLTYPE CreateTexture2D(
   7474         const D3D11_TEXTURE2D_DESC *pDesc,
   7475         const D3D11_SUBRESOURCE_DATA *pInitialData,
   7476         ID3D11Texture2D **ppTexture2D) = 0;
   7477 
   7478     virtual HRESULT STDMETHODCALLTYPE CreateTexture3D(
   7479         const D3D11_TEXTURE3D_DESC *pDesc,
   7480         const D3D11_SUBRESOURCE_DATA *pInitialData,
   7481         ID3D11Texture3D **ppTexture3D) = 0;
   7482 
   7483     virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView(
   7484         ID3D11Resource *pResource,
   7485         const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
   7486         ID3D11ShaderResourceView **ppSRView) = 0;
   7487 
   7488     virtual HRESULT STDMETHODCALLTYPE CreateUnorderedAccessView(
   7489         ID3D11Resource *pResource,
   7490         const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
   7491         ID3D11UnorderedAccessView **ppUAView) = 0;
   7492 
   7493     virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView(
   7494         ID3D11Resource *pResource,
   7495         const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
   7496         ID3D11RenderTargetView **ppRTView) = 0;
   7497 
   7498     virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilView(
   7499         ID3D11Resource *pResource,
   7500         const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
   7501         ID3D11DepthStencilView **ppDepthStencilView) = 0;
   7502 
   7503     virtual HRESULT STDMETHODCALLTYPE CreateInputLayout(
   7504         const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
   7505         UINT NumElements,
   7506         const void *pShaderBytecodeWithInputSignature,
   7507         SIZE_T BytecodeLength,
   7508         ID3D11InputLayout **ppInputLayout) = 0;
   7509 
   7510     virtual HRESULT STDMETHODCALLTYPE CreateVertexShader(
   7511         const void *pShaderBytecode,
   7512         SIZE_T BytecodeLength,
   7513         ID3D11ClassLinkage *pClassLinkage,
   7514         ID3D11VertexShader **ppVertexShader) = 0;
   7515 
   7516     virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader(
   7517         const void *pShaderBytecode,
   7518         SIZE_T BytecodeLength,
   7519         ID3D11ClassLinkage *pClassLinkage,
   7520         ID3D11GeometryShader **ppGeometryShader) = 0;
   7521 
   7522     virtual HRESULT STDMETHODCALLTYPE CreateGeometryShaderWithStreamOutput(
   7523         const void *pShaderBytecode,
   7524         SIZE_T BytecodeLength,
   7525         const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
   7526         UINT NumEntries,
   7527         const UINT *pBufferStrides,
   7528         UINT NumStrides,
   7529         UINT RasterizedStream,
   7530         ID3D11ClassLinkage *pClassLinkage,
   7531         ID3D11GeometryShader **ppGeometryShader) = 0;
   7532 
   7533     virtual HRESULT STDMETHODCALLTYPE CreatePixelShader(
   7534         const void *pShaderBytecode,
   7535         SIZE_T BytecodeLength,
   7536         ID3D11ClassLinkage *pClassLinkage,
   7537         ID3D11PixelShader **ppPixelShader) = 0;
   7538 
   7539     virtual HRESULT STDMETHODCALLTYPE CreateHullShader(
   7540         const void *pShaderBytecode,
   7541         SIZE_T BytecodeLength,
   7542         ID3D11ClassLinkage *pClassLinkage,
   7543         ID3D11HullShader **ppHullShader) = 0;
   7544 
   7545     virtual HRESULT STDMETHODCALLTYPE CreateDomainShader(
   7546         const void *pShaderBytecode,
   7547         SIZE_T BytecodeLength,
   7548         ID3D11ClassLinkage *pClassLinkage,
   7549         ID3D11DomainShader **ppDomainShader) = 0;
   7550 
   7551     virtual HRESULT STDMETHODCALLTYPE CreateComputeShader(
   7552         const void *pShaderBytecode,
   7553         SIZE_T BytecodeLength,
   7554         ID3D11ClassLinkage *pClassLinkage,
   7555         ID3D11ComputeShader **ppComputeShader) = 0;
   7556 
   7557     virtual HRESULT STDMETHODCALLTYPE CreateClassLinkage(
   7558         ID3D11ClassLinkage **ppLinkage) = 0;
   7559 
   7560     virtual HRESULT STDMETHODCALLTYPE CreateBlendState(
   7561         const D3D11_BLEND_DESC *pBlendStateDesc,
   7562         ID3D11BlendState **ppBlendState) = 0;
   7563 
   7564     virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilState(
   7565         const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
   7566         ID3D11DepthStencilState **ppDepthStencilState) = 0;
   7567 
   7568     virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState(
   7569         const D3D11_RASTERIZER_DESC *pRasterizerDesc,
   7570         ID3D11RasterizerState **ppRasterizerState) = 0;
   7571 
   7572     virtual HRESULT STDMETHODCALLTYPE CreateSamplerState(
   7573         const D3D11_SAMPLER_DESC *pSamplerDesc,
   7574         ID3D11SamplerState **ppSamplerState) = 0;
   7575 
   7576     virtual HRESULT STDMETHODCALLTYPE CreateQuery(
   7577         const D3D11_QUERY_DESC *pQueryDesc,
   7578         ID3D11Query **ppQuery) = 0;
   7579 
   7580     virtual HRESULT STDMETHODCALLTYPE CreatePredicate(
   7581         const D3D11_QUERY_DESC *pPredicateDesc,
   7582         ID3D11Predicate **ppPredicate) = 0;
   7583 
   7584     virtual HRESULT STDMETHODCALLTYPE CreateCounter(
   7585         const D3D11_COUNTER_DESC *pCounterDesc,
   7586         ID3D11Counter **ppCounter) = 0;
   7587 
   7588     virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext(
   7589         UINT ContextFlags,
   7590         ID3D11DeviceContext **ppDeferredContext) = 0;
   7591 
   7592     virtual HRESULT STDMETHODCALLTYPE OpenSharedResource(
   7593         HANDLE hResource,
   7594         REFIID ReturnedInterface,
   7595         void **ppResource) = 0;
   7596 
   7597     virtual HRESULT STDMETHODCALLTYPE CheckFormatSupport(
   7598         DXGI_FORMAT Format,
   7599         UINT *pFormatSupport) = 0;
   7600 
   7601     virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels(
   7602         DXGI_FORMAT Format,
   7603         UINT SampleCount,
   7604         UINT *pNumQualityLevels) = 0;
   7605 
   7606     virtual void STDMETHODCALLTYPE CheckCounterInfo(
   7607         D3D11_COUNTER_INFO *pCounterInfo) = 0;
   7608 
   7609     virtual HRESULT STDMETHODCALLTYPE CheckCounter(
   7610         const D3D11_COUNTER_DESC *pDesc,
   7611         D3D11_COUNTER_TYPE *pType,
   7612         UINT *pActiveCounters,
   7613         LPSTR szName,
   7614         UINT *pNameLength,
   7615         LPSTR szUnits,
   7616         UINT *pUnitsLength,
   7617         LPSTR szDescription,
   7618         UINT *pDescriptionLength) = 0;
   7619 
   7620     virtual HRESULT STDMETHODCALLTYPE CheckFeatureSupport(
   7621         D3D11_FEATURE Feature,
   7622         void *pFeatureSupportData,
   7623         UINT FeatureSupportDataSize) = 0;
   7624 
   7625     virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
   7626         REFGUID guid,
   7627         UINT *pDataSize,
   7628         void *pData) = 0;
   7629 
   7630     virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
   7631         REFGUID guid,
   7632         UINT DataSize,
   7633         const void *pData) = 0;
   7634 
   7635     virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
   7636         REFGUID guid,
   7637         const IUnknown *pData) = 0;
   7638 
   7639     virtual D3D_FEATURE_LEVEL STDMETHODCALLTYPE GetFeatureLevel(
   7640         ) = 0;
   7641 
   7642     virtual UINT STDMETHODCALLTYPE GetCreationFlags(
   7643         ) = 0;
   7644 
   7645     virtual HRESULT STDMETHODCALLTYPE GetDeviceRemovedReason(
   7646         ) = 0;
   7647 
   7648     virtual void STDMETHODCALLTYPE GetImmediateContext(
   7649         ID3D11DeviceContext **ppImmediateContext) = 0;
   7650 
   7651     virtual HRESULT STDMETHODCALLTYPE SetExceptionMode(
   7652         UINT RaiseFlags) = 0;
   7653 
   7654     virtual UINT STDMETHODCALLTYPE GetExceptionMode(
   7655         ) = 0;
   7656 
   7657 };
   7658 #ifdef __CRT_UUID_DECL
   7659 __CRT_UUID_DECL(ID3D11Device, 0xdb6f6ddb, 0xac77, 0x4e88, 0x82,0x53, 0x81,0x9d,0xf9,0xbb,0xf1,0x40)
   7660 #endif
   7661 #else
   7662 typedef struct ID3D11DeviceVtbl {
   7663     BEGIN_INTERFACE
   7664 
   7665     /*** IUnknown methods ***/
   7666     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   7667         ID3D11Device* This,
   7668         REFIID riid,
   7669         void **ppvObject);
   7670 
   7671     ULONG (STDMETHODCALLTYPE *AddRef)(
   7672         ID3D11Device* This);
   7673 
   7674     ULONG (STDMETHODCALLTYPE *Release)(
   7675         ID3D11Device* This);
   7676 
   7677     /*** ID3D11Device methods ***/
   7678     HRESULT (STDMETHODCALLTYPE *CreateBuffer)(
   7679         ID3D11Device* This,
   7680         const D3D11_BUFFER_DESC *pDesc,
   7681         const D3D11_SUBRESOURCE_DATA *pInitialData,
   7682         ID3D11Buffer **ppBuffer);
   7683 
   7684     HRESULT (STDMETHODCALLTYPE *CreateTexture1D)(
   7685         ID3D11Device* This,
   7686         const D3D11_TEXTURE1D_DESC *pDesc,
   7687         const D3D11_SUBRESOURCE_DATA *pInitialData,
   7688         ID3D11Texture1D **ppTexture1D);
   7689 
   7690     HRESULT (STDMETHODCALLTYPE *CreateTexture2D)(
   7691         ID3D11Device* This,
   7692         const D3D11_TEXTURE2D_DESC *pDesc,
   7693         const D3D11_SUBRESOURCE_DATA *pInitialData,
   7694         ID3D11Texture2D **ppTexture2D);
   7695 
   7696     HRESULT (STDMETHODCALLTYPE *CreateTexture3D)(
   7697         ID3D11Device* This,
   7698         const D3D11_TEXTURE3D_DESC *pDesc,
   7699         const D3D11_SUBRESOURCE_DATA *pInitialData,
   7700         ID3D11Texture3D **ppTexture3D);
   7701 
   7702     HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)(
   7703         ID3D11Device* This,
   7704         ID3D11Resource *pResource,
   7705         const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
   7706         ID3D11ShaderResourceView **ppSRView);
   7707 
   7708     HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView)(
   7709         ID3D11Device* This,
   7710         ID3D11Resource *pResource,
   7711         const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
   7712         ID3D11UnorderedAccessView **ppUAView);
   7713 
   7714     HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)(
   7715         ID3D11Device* This,
   7716         ID3D11Resource *pResource,
   7717         const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
   7718         ID3D11RenderTargetView **ppRTView);
   7719 
   7720     HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)(
   7721         ID3D11Device* This,
   7722         ID3D11Resource *pResource,
   7723         const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
   7724         ID3D11DepthStencilView **ppDepthStencilView);
   7725 
   7726     HRESULT (STDMETHODCALLTYPE *CreateInputLayout)(
   7727         ID3D11Device* This,
   7728         const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
   7729         UINT NumElements,
   7730         const void *pShaderBytecodeWithInputSignature,
   7731         SIZE_T BytecodeLength,
   7732         ID3D11InputLayout **ppInputLayout);
   7733 
   7734     HRESULT (STDMETHODCALLTYPE *CreateVertexShader)(
   7735         ID3D11Device* This,
   7736         const void *pShaderBytecode,
   7737         SIZE_T BytecodeLength,
   7738         ID3D11ClassLinkage *pClassLinkage,
   7739         ID3D11VertexShader **ppVertexShader);
   7740 
   7741     HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)(
   7742         ID3D11Device* This,
   7743         const void *pShaderBytecode,
   7744         SIZE_T BytecodeLength,
   7745         ID3D11ClassLinkage *pClassLinkage,
   7746         ID3D11GeometryShader **ppGeometryShader);
   7747 
   7748     HRESULT (STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput)(
   7749         ID3D11Device* This,
   7750         const void *pShaderBytecode,
   7751         SIZE_T BytecodeLength,
   7752         const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
   7753         UINT NumEntries,
   7754         const UINT *pBufferStrides,
   7755         UINT NumStrides,
   7756         UINT RasterizedStream,
   7757         ID3D11ClassLinkage *pClassLinkage,
   7758         ID3D11GeometryShader **ppGeometryShader);
   7759 
   7760     HRESULT (STDMETHODCALLTYPE *CreatePixelShader)(
   7761         ID3D11Device* This,
   7762         const void *pShaderBytecode,
   7763         SIZE_T BytecodeLength,
   7764         ID3D11ClassLinkage *pClassLinkage,
   7765         ID3D11PixelShader **ppPixelShader);
   7766 
   7767     HRESULT (STDMETHODCALLTYPE *CreateHullShader)(
   7768         ID3D11Device* This,
   7769         const void *pShaderBytecode,
   7770         SIZE_T BytecodeLength,
   7771         ID3D11ClassLinkage *pClassLinkage,
   7772         ID3D11HullShader **ppHullShader);
   7773 
   7774     HRESULT (STDMETHODCALLTYPE *CreateDomainShader)(
   7775         ID3D11Device* This,
   7776         const void *pShaderBytecode,
   7777         SIZE_T BytecodeLength,
   7778         ID3D11ClassLinkage *pClassLinkage,
   7779         ID3D11DomainShader **ppDomainShader);
   7780 
   7781     HRESULT (STDMETHODCALLTYPE *CreateComputeShader)(
   7782         ID3D11Device* This,
   7783         const void *pShaderBytecode,
   7784         SIZE_T BytecodeLength,
   7785         ID3D11ClassLinkage *pClassLinkage,
   7786         ID3D11ComputeShader **ppComputeShader);
   7787 
   7788     HRESULT (STDMETHODCALLTYPE *CreateClassLinkage)(
   7789         ID3D11Device* This,
   7790         ID3D11ClassLinkage **ppLinkage);
   7791 
   7792     HRESULT (STDMETHODCALLTYPE *CreateBlendState)(
   7793         ID3D11Device* This,
   7794         const D3D11_BLEND_DESC *pBlendStateDesc,
   7795         ID3D11BlendState **ppBlendState);
   7796 
   7797     HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)(
   7798         ID3D11Device* This,
   7799         const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
   7800         ID3D11DepthStencilState **ppDepthStencilState);
   7801 
   7802     HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)(
   7803         ID3D11Device* This,
   7804         const D3D11_RASTERIZER_DESC *pRasterizerDesc,
   7805         ID3D11RasterizerState **ppRasterizerState);
   7806 
   7807     HRESULT (STDMETHODCALLTYPE *CreateSamplerState)(
   7808         ID3D11Device* This,
   7809         const D3D11_SAMPLER_DESC *pSamplerDesc,
   7810         ID3D11SamplerState **ppSamplerState);
   7811 
   7812     HRESULT (STDMETHODCALLTYPE *CreateQuery)(
   7813         ID3D11Device* This,
   7814         const D3D11_QUERY_DESC *pQueryDesc,
   7815         ID3D11Query **ppQuery);
   7816 
   7817     HRESULT (STDMETHODCALLTYPE *CreatePredicate)(
   7818         ID3D11Device* This,
   7819         const D3D11_QUERY_DESC *pPredicateDesc,
   7820         ID3D11Predicate **ppPredicate);
   7821 
   7822     HRESULT (STDMETHODCALLTYPE *CreateCounter)(
   7823         ID3D11Device* This,
   7824         const D3D11_COUNTER_DESC *pCounterDesc,
   7825         ID3D11Counter **ppCounter);
   7826 
   7827     HRESULT (STDMETHODCALLTYPE *CreateDeferredContext)(
   7828         ID3D11Device* This,
   7829         UINT ContextFlags,
   7830         ID3D11DeviceContext **ppDeferredContext);
   7831 
   7832     HRESULT (STDMETHODCALLTYPE *OpenSharedResource)(
   7833         ID3D11Device* This,
   7834         HANDLE hResource,
   7835         REFIID ReturnedInterface,
   7836         void **ppResource);
   7837 
   7838     HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)(
   7839         ID3D11Device* This,
   7840         DXGI_FORMAT Format,
   7841         UINT *pFormatSupport);
   7842 
   7843     HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)(
   7844         ID3D11Device* This,
   7845         DXGI_FORMAT Format,
   7846         UINT SampleCount,
   7847         UINT *pNumQualityLevels);
   7848 
   7849     void (STDMETHODCALLTYPE *CheckCounterInfo)(
   7850         ID3D11Device* This,
   7851         D3D11_COUNTER_INFO *pCounterInfo);
   7852 
   7853     HRESULT (STDMETHODCALLTYPE *CheckCounter)(
   7854         ID3D11Device* This,
   7855         const D3D11_COUNTER_DESC *pDesc,
   7856         D3D11_COUNTER_TYPE *pType,
   7857         UINT *pActiveCounters,
   7858         LPSTR szName,
   7859         UINT *pNameLength,
   7860         LPSTR szUnits,
   7861         UINT *pUnitsLength,
   7862         LPSTR szDescription,
   7863         UINT *pDescriptionLength);
   7864 
   7865     HRESULT (STDMETHODCALLTYPE *CheckFeatureSupport)(
   7866         ID3D11Device* This,
   7867         D3D11_FEATURE Feature,
   7868         void *pFeatureSupportData,
   7869         UINT FeatureSupportDataSize);
   7870 
   7871     HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
   7872         ID3D11Device* This,
   7873         REFGUID guid,
   7874         UINT *pDataSize,
   7875         void *pData);
   7876 
   7877     HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
   7878         ID3D11Device* This,
   7879         REFGUID guid,
   7880         UINT DataSize,
   7881         const void *pData);
   7882 
   7883     HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
   7884         ID3D11Device* This,
   7885         REFGUID guid,
   7886         const IUnknown *pData);
   7887 
   7888     D3D_FEATURE_LEVEL (STDMETHODCALLTYPE *GetFeatureLevel)(
   7889         ID3D11Device* This);
   7890 
   7891     UINT (STDMETHODCALLTYPE *GetCreationFlags)(
   7892         ID3D11Device* This);
   7893 
   7894     HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)(
   7895         ID3D11Device* This);
   7896 
   7897     void (STDMETHODCALLTYPE *GetImmediateContext)(
   7898         ID3D11Device* This,
   7899         ID3D11DeviceContext **ppImmediateContext);
   7900 
   7901     HRESULT (STDMETHODCALLTYPE *SetExceptionMode)(
   7902         ID3D11Device* This,
   7903         UINT RaiseFlags);
   7904 
   7905     UINT (STDMETHODCALLTYPE *GetExceptionMode)(
   7906         ID3D11Device* This);
   7907 
   7908     END_INTERFACE
   7909 } ID3D11DeviceVtbl;
   7910 interface ID3D11Device {
   7911     CONST_VTBL ID3D11DeviceVtbl* lpVtbl;
   7912 };
   7913 
   7914 #ifdef COBJMACROS
   7915 #ifndef WIDL_C_INLINE_WRAPPERS
   7916 /*** IUnknown methods ***/
   7917 #define ID3D11Device_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   7918 #define ID3D11Device_AddRef(This) (This)->lpVtbl->AddRef(This)
   7919 #define ID3D11Device_Release(This) (This)->lpVtbl->Release(This)
   7920 /*** ID3D11Device methods ***/
   7921 #define ID3D11Device_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer)
   7922 #define ID3D11Device_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D)
   7923 #define ID3D11Device_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D)
   7924 #define ID3D11Device_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D)
   7925 #define ID3D11Device_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView)
   7926 #define ID3D11Device_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) (This)->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView)
   7927 #define ID3D11Device_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView)
   7928 #define ID3D11Device_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView)
   7929 #define ID3D11Device_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout)
   7930 #define ID3D11Device_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader)
   7931 #define ID3D11Device_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader)
   7932 #define ID3D11Device_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader)
   7933 #define ID3D11Device_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader)
   7934 #define ID3D11Device_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) (This)->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader)
   7935 #define ID3D11Device_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) (This)->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader)
   7936 #define ID3D11Device_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) (This)->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader)
   7937 #define ID3D11Device_CreateClassLinkage(This,ppLinkage) (This)->lpVtbl->CreateClassLinkage(This,ppLinkage)
   7938 #define ID3D11Device_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState)
   7939 #define ID3D11Device_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState)
   7940 #define ID3D11Device_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState)
   7941 #define ID3D11Device_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState)
   7942 #define ID3D11Device_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery)
   7943 #define ID3D11Device_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate)
   7944 #define ID3D11Device_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter)
   7945 #define ID3D11Device_CreateDeferredContext(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext)
   7946 #define ID3D11Device_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource)
   7947 #define ID3D11Device_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport)
   7948 #define ID3D11Device_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels)
   7949 #define ID3D11Device_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo)
   7950 #define ID3D11Device_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) (This)->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength)
   7951 #define ID3D11Device_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) (This)->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize)
   7952 #define ID3D11Device_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
   7953 #define ID3D11Device_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
   7954 #define ID3D11Device_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
   7955 #define ID3D11Device_GetFeatureLevel(This) (This)->lpVtbl->GetFeatureLevel(This)
   7956 #define ID3D11Device_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This)
   7957 #define ID3D11Device_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This)
   7958 #define ID3D11Device_GetImmediateContext(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext(This,ppImmediateContext)
   7959 #define ID3D11Device_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags)
   7960 #define ID3D11Device_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This)
   7961 #else
   7962 /*** IUnknown methods ***/
   7963 static FORCEINLINE HRESULT ID3D11Device_QueryInterface(ID3D11Device* This,REFIID riid,void **ppvObject) {
   7964     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   7965 }
   7966 static FORCEINLINE ULONG ID3D11Device_AddRef(ID3D11Device* This) {
   7967     return This->lpVtbl->AddRef(This);
   7968 }
   7969 static FORCEINLINE ULONG ID3D11Device_Release(ID3D11Device* This) {
   7970     return This->lpVtbl->Release(This);
   7971 }
   7972 /*** ID3D11Device methods ***/
   7973 static FORCEINLINE HRESULT ID3D11Device_CreateBuffer(ID3D11Device* This,const D3D11_BUFFER_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Buffer **ppBuffer) {
   7974     return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer);
   7975 }
   7976 static FORCEINLINE HRESULT ID3D11Device_CreateTexture1D(ID3D11Device* This,const D3D11_TEXTURE1D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture1D **ppTexture1D) {
   7977     return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D);
   7978 }
   7979 static FORCEINLINE HRESULT ID3D11Device_CreateTexture2D(ID3D11Device* This,const D3D11_TEXTURE2D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture2D **ppTexture2D) {
   7980     return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D);
   7981 }
   7982 static FORCEINLINE HRESULT ID3D11Device_CreateTexture3D(ID3D11Device* This,const D3D11_TEXTURE3D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture3D **ppTexture3D) {
   7983     return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D);
   7984 }
   7985 static FORCEINLINE HRESULT ID3D11Device_CreateShaderResourceView(ID3D11Device* This,ID3D11Resource *pResource,const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D11ShaderResourceView **ppSRView) {
   7986     return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView);
   7987 }
   7988 static FORCEINLINE HRESULT ID3D11Device_CreateUnorderedAccessView(ID3D11Device* This,ID3D11Resource *pResource,const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,ID3D11UnorderedAccessView **ppUAView) {
   7989     return This->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView);
   7990 }
   7991 static FORCEINLINE HRESULT ID3D11Device_CreateRenderTargetView(ID3D11Device* This,ID3D11Resource *pResource,const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,ID3D11RenderTargetView **ppRTView) {
   7992     return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView);
   7993 }
   7994 static FORCEINLINE HRESULT ID3D11Device_CreateDepthStencilView(ID3D11Device* This,ID3D11Resource *pResource,const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D11DepthStencilView **ppDepthStencilView) {
   7995     return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView);
   7996 }
   7997 static FORCEINLINE HRESULT ID3D11Device_CreateInputLayout(ID3D11Device* This,const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D11InputLayout **ppInputLayout) {
   7998     return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout);
   7999 }
   8000 static FORCEINLINE HRESULT ID3D11Device_CreateVertexShader(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11VertexShader **ppVertexShader) {
   8001     return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader);
   8002 }
   8003 static FORCEINLINE HRESULT ID3D11Device_CreateGeometryShader(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) {
   8004     return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader);
   8005 }
   8006 static FORCEINLINE HRESULT ID3D11Device_CreateGeometryShaderWithStreamOutput(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,UINT NumEntries,const UINT *pBufferStrides,UINT NumStrides,UINT RasterizedStream,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) {
   8007     return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader);
   8008 }
   8009 static FORCEINLINE HRESULT ID3D11Device_CreatePixelShader(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11PixelShader **ppPixelShader) {
   8010     return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader);
   8011 }
   8012 static FORCEINLINE HRESULT ID3D11Device_CreateHullShader(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11HullShader **ppHullShader) {
   8013     return This->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader);
   8014 }
   8015 static FORCEINLINE HRESULT ID3D11Device_CreateDomainShader(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11DomainShader **ppDomainShader) {
   8016     return This->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader);
   8017 }
   8018 static FORCEINLINE HRESULT ID3D11Device_CreateComputeShader(ID3D11Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11ComputeShader **ppComputeShader) {
   8019     return This->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader);
   8020 }
   8021 static FORCEINLINE HRESULT ID3D11Device_CreateClassLinkage(ID3D11Device* This,ID3D11ClassLinkage **ppLinkage) {
   8022     return This->lpVtbl->CreateClassLinkage(This,ppLinkage);
   8023 }
   8024 static FORCEINLINE HRESULT ID3D11Device_CreateBlendState(ID3D11Device* This,const D3D11_BLEND_DESC *pBlendStateDesc,ID3D11BlendState **ppBlendState) {
   8025     return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState);
   8026 }
   8027 static FORCEINLINE HRESULT ID3D11Device_CreateDepthStencilState(ID3D11Device* This,const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D11DepthStencilState **ppDepthStencilState) {
   8028     return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState);
   8029 }
   8030 static FORCEINLINE HRESULT ID3D11Device_CreateRasterizerState(ID3D11Device* This,const D3D11_RASTERIZER_DESC *pRasterizerDesc,ID3D11RasterizerState **ppRasterizerState) {
   8031     return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState);
   8032 }
   8033 static FORCEINLINE HRESULT ID3D11Device_CreateSamplerState(ID3D11Device* This,const D3D11_SAMPLER_DESC *pSamplerDesc,ID3D11SamplerState **ppSamplerState) {
   8034     return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState);
   8035 }
   8036 static FORCEINLINE HRESULT ID3D11Device_CreateQuery(ID3D11Device* This,const D3D11_QUERY_DESC *pQueryDesc,ID3D11Query **ppQuery) {
   8037     return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery);
   8038 }
   8039 static FORCEINLINE HRESULT ID3D11Device_CreatePredicate(ID3D11Device* This,const D3D11_QUERY_DESC *pPredicateDesc,ID3D11Predicate **ppPredicate) {
   8040     return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate);
   8041 }
   8042 static FORCEINLINE HRESULT ID3D11Device_CreateCounter(ID3D11Device* This,const D3D11_COUNTER_DESC *pCounterDesc,ID3D11Counter **ppCounter) {
   8043     return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter);
   8044 }
   8045 static FORCEINLINE HRESULT ID3D11Device_CreateDeferredContext(ID3D11Device* This,UINT ContextFlags,ID3D11DeviceContext **ppDeferredContext) {
   8046     return This->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext);
   8047 }
   8048 static FORCEINLINE HRESULT ID3D11Device_OpenSharedResource(ID3D11Device* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) {
   8049     return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource);
   8050 }
   8051 static FORCEINLINE HRESULT ID3D11Device_CheckFormatSupport(ID3D11Device* This,DXGI_FORMAT Format,UINT *pFormatSupport) {
   8052     return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport);
   8053 }
   8054 static FORCEINLINE HRESULT ID3D11Device_CheckMultisampleQualityLevels(ID3D11Device* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) {
   8055     return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels);
   8056 }
   8057 static FORCEINLINE void ID3D11Device_CheckCounterInfo(ID3D11Device* This,D3D11_COUNTER_INFO *pCounterInfo) {
   8058     This->lpVtbl->CheckCounterInfo(This,pCounterInfo);
   8059 }
   8060 static FORCEINLINE HRESULT ID3D11Device_CheckCounter(ID3D11Device* This,const D3D11_COUNTER_DESC *pDesc,D3D11_COUNTER_TYPE *pType,UINT *pActiveCounters,LPSTR szName,UINT *pNameLength,LPSTR szUnits,UINT *pUnitsLength,LPSTR szDescription,UINT *pDescriptionLength) {
   8061     return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength);
   8062 }
   8063 static FORCEINLINE HRESULT ID3D11Device_CheckFeatureSupport(ID3D11Device* This,D3D11_FEATURE Feature,void *pFeatureSupportData,UINT FeatureSupportDataSize) {
   8064     return This->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize);
   8065 }
   8066 static FORCEINLINE HRESULT ID3D11Device_GetPrivateData(ID3D11Device* This,REFGUID guid,UINT *pDataSize,void *pData) {
   8067     return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
   8068 }
   8069 static FORCEINLINE HRESULT ID3D11Device_SetPrivateData(ID3D11Device* This,REFGUID guid,UINT DataSize,const void *pData) {
   8070     return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
   8071 }
   8072 static FORCEINLINE HRESULT ID3D11Device_SetPrivateDataInterface(ID3D11Device* This,REFGUID guid,const IUnknown *pData) {
   8073     return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
   8074 }
   8075 static FORCEINLINE D3D_FEATURE_LEVEL ID3D11Device_GetFeatureLevel(ID3D11Device* This) {
   8076     return This->lpVtbl->GetFeatureLevel(This);
   8077 }
   8078 static FORCEINLINE UINT ID3D11Device_GetCreationFlags(ID3D11Device* This) {
   8079     return This->lpVtbl->GetCreationFlags(This);
   8080 }
   8081 static FORCEINLINE HRESULT ID3D11Device_GetDeviceRemovedReason(ID3D11Device* This) {
   8082     return This->lpVtbl->GetDeviceRemovedReason(This);
   8083 }
   8084 static FORCEINLINE void ID3D11Device_GetImmediateContext(ID3D11Device* This,ID3D11DeviceContext **ppImmediateContext) {
   8085     This->lpVtbl->GetImmediateContext(This,ppImmediateContext);
   8086 }
   8087 static FORCEINLINE HRESULT ID3D11Device_SetExceptionMode(ID3D11Device* This,UINT RaiseFlags) {
   8088     return This->lpVtbl->SetExceptionMode(This,RaiseFlags);
   8089 }
   8090 static FORCEINLINE UINT ID3D11Device_GetExceptionMode(ID3D11Device* This) {
   8091     return This->lpVtbl->GetExceptionMode(This);
   8092 }
   8093 #endif
   8094 #endif
   8095 
   8096 #endif
   8097 
   8098 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateBuffer_Proxy(
   8099     ID3D11Device* This,
   8100     const D3D11_BUFFER_DESC *pDesc,
   8101     const D3D11_SUBRESOURCE_DATA *pInitialData,
   8102     ID3D11Buffer **ppBuffer);
   8103 void __RPC_STUB ID3D11Device_CreateBuffer_Stub(
   8104     IRpcStubBuffer* This,
   8105     IRpcChannelBuffer* pRpcChannelBuffer,
   8106     PRPC_MESSAGE pRpcMessage,
   8107     DWORD* pdwStubPhase);
   8108 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateTexture1D_Proxy(
   8109     ID3D11Device* This,
   8110     const D3D11_TEXTURE1D_DESC *pDesc,
   8111     const D3D11_SUBRESOURCE_DATA *pInitialData,
   8112     ID3D11Texture1D **ppTexture1D);
   8113 void __RPC_STUB ID3D11Device_CreateTexture1D_Stub(
   8114     IRpcStubBuffer* This,
   8115     IRpcChannelBuffer* pRpcChannelBuffer,
   8116     PRPC_MESSAGE pRpcMessage,
   8117     DWORD* pdwStubPhase);
   8118 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateTexture2D_Proxy(
   8119     ID3D11Device* This,
   8120     const D3D11_TEXTURE2D_DESC *pDesc,
   8121     const D3D11_SUBRESOURCE_DATA *pInitialData,
   8122     ID3D11Texture2D **ppTexture2D);
   8123 void __RPC_STUB ID3D11Device_CreateTexture2D_Stub(
   8124     IRpcStubBuffer* This,
   8125     IRpcChannelBuffer* pRpcChannelBuffer,
   8126     PRPC_MESSAGE pRpcMessage,
   8127     DWORD* pdwStubPhase);
   8128 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateTexture3D_Proxy(
   8129     ID3D11Device* This,
   8130     const D3D11_TEXTURE3D_DESC *pDesc,
   8131     const D3D11_SUBRESOURCE_DATA *pInitialData,
   8132     ID3D11Texture3D **ppTexture3D);
   8133 void __RPC_STUB ID3D11Device_CreateTexture3D_Stub(
   8134     IRpcStubBuffer* This,
   8135     IRpcChannelBuffer* pRpcChannelBuffer,
   8136     PRPC_MESSAGE pRpcMessage,
   8137     DWORD* pdwStubPhase);
   8138 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateShaderResourceView_Proxy(
   8139     ID3D11Device* This,
   8140     ID3D11Resource *pResource,
   8141     const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
   8142     ID3D11ShaderResourceView **ppSRView);
   8143 void __RPC_STUB ID3D11Device_CreateShaderResourceView_Stub(
   8144     IRpcStubBuffer* This,
   8145     IRpcChannelBuffer* pRpcChannelBuffer,
   8146     PRPC_MESSAGE pRpcMessage,
   8147     DWORD* pdwStubPhase);
   8148 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateUnorderedAccessView_Proxy(
   8149     ID3D11Device* This,
   8150     ID3D11Resource *pResource,
   8151     const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
   8152     ID3D11UnorderedAccessView **ppUAView);
   8153 void __RPC_STUB ID3D11Device_CreateUnorderedAccessView_Stub(
   8154     IRpcStubBuffer* This,
   8155     IRpcChannelBuffer* pRpcChannelBuffer,
   8156     PRPC_MESSAGE pRpcMessage,
   8157     DWORD* pdwStubPhase);
   8158 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateRenderTargetView_Proxy(
   8159     ID3D11Device* This,
   8160     ID3D11Resource *pResource,
   8161     const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
   8162     ID3D11RenderTargetView **ppRTView);
   8163 void __RPC_STUB ID3D11Device_CreateRenderTargetView_Stub(
   8164     IRpcStubBuffer* This,
   8165     IRpcChannelBuffer* pRpcChannelBuffer,
   8166     PRPC_MESSAGE pRpcMessage,
   8167     DWORD* pdwStubPhase);
   8168 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateDepthStencilView_Proxy(
   8169     ID3D11Device* This,
   8170     ID3D11Resource *pResource,
   8171     const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
   8172     ID3D11DepthStencilView **ppDepthStencilView);
   8173 void __RPC_STUB ID3D11Device_CreateDepthStencilView_Stub(
   8174     IRpcStubBuffer* This,
   8175     IRpcChannelBuffer* pRpcChannelBuffer,
   8176     PRPC_MESSAGE pRpcMessage,
   8177     DWORD* pdwStubPhase);
   8178 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateInputLayout_Proxy(
   8179     ID3D11Device* This,
   8180     const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
   8181     UINT NumElements,
   8182     const void *pShaderBytecodeWithInputSignature,
   8183     SIZE_T BytecodeLength,
   8184     ID3D11InputLayout **ppInputLayout);
   8185 void __RPC_STUB ID3D11Device_CreateInputLayout_Stub(
   8186     IRpcStubBuffer* This,
   8187     IRpcChannelBuffer* pRpcChannelBuffer,
   8188     PRPC_MESSAGE pRpcMessage,
   8189     DWORD* pdwStubPhase);
   8190 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateVertexShader_Proxy(
   8191     ID3D11Device* This,
   8192     const void *pShaderBytecode,
   8193     SIZE_T BytecodeLength,
   8194     ID3D11ClassLinkage *pClassLinkage,
   8195     ID3D11VertexShader **ppVertexShader);
   8196 void __RPC_STUB ID3D11Device_CreateVertexShader_Stub(
   8197     IRpcStubBuffer* This,
   8198     IRpcChannelBuffer* pRpcChannelBuffer,
   8199     PRPC_MESSAGE pRpcMessage,
   8200     DWORD* pdwStubPhase);
   8201 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateGeometryShader_Proxy(
   8202     ID3D11Device* This,
   8203     const void *pShaderBytecode,
   8204     SIZE_T BytecodeLength,
   8205     ID3D11ClassLinkage *pClassLinkage,
   8206     ID3D11GeometryShader **ppGeometryShader);
   8207 void __RPC_STUB ID3D11Device_CreateGeometryShader_Stub(
   8208     IRpcStubBuffer* This,
   8209     IRpcChannelBuffer* pRpcChannelBuffer,
   8210     PRPC_MESSAGE pRpcMessage,
   8211     DWORD* pdwStubPhase);
   8212 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateGeometryShaderWithStreamOutput_Proxy(
   8213     ID3D11Device* This,
   8214     const void *pShaderBytecode,
   8215     SIZE_T BytecodeLength,
   8216     const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
   8217     UINT NumEntries,
   8218     const UINT *pBufferStrides,
   8219     UINT NumStrides,
   8220     UINT RasterizedStream,
   8221     ID3D11ClassLinkage *pClassLinkage,
   8222     ID3D11GeometryShader **ppGeometryShader);
   8223 void __RPC_STUB ID3D11Device_CreateGeometryShaderWithStreamOutput_Stub(
   8224     IRpcStubBuffer* This,
   8225     IRpcChannelBuffer* pRpcChannelBuffer,
   8226     PRPC_MESSAGE pRpcMessage,
   8227     DWORD* pdwStubPhase);
   8228 HRESULT STDMETHODCALLTYPE ID3D11Device_CreatePixelShader_Proxy(
   8229     ID3D11Device* This,
   8230     const void *pShaderBytecode,
   8231     SIZE_T BytecodeLength,
   8232     ID3D11ClassLinkage *pClassLinkage,
   8233     ID3D11PixelShader **ppPixelShader);
   8234 void __RPC_STUB ID3D11Device_CreatePixelShader_Stub(
   8235     IRpcStubBuffer* This,
   8236     IRpcChannelBuffer* pRpcChannelBuffer,
   8237     PRPC_MESSAGE pRpcMessage,
   8238     DWORD* pdwStubPhase);
   8239 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateHullShader_Proxy(
   8240     ID3D11Device* This,
   8241     const void *pShaderBytecode,
   8242     SIZE_T BytecodeLength,
   8243     ID3D11ClassLinkage *pClassLinkage,
   8244     ID3D11HullShader **ppHullShader);
   8245 void __RPC_STUB ID3D11Device_CreateHullShader_Stub(
   8246     IRpcStubBuffer* This,
   8247     IRpcChannelBuffer* pRpcChannelBuffer,
   8248     PRPC_MESSAGE pRpcMessage,
   8249     DWORD* pdwStubPhase);
   8250 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateDomainShader_Proxy(
   8251     ID3D11Device* This,
   8252     const void *pShaderBytecode,
   8253     SIZE_T BytecodeLength,
   8254     ID3D11ClassLinkage *pClassLinkage,
   8255     ID3D11DomainShader **ppDomainShader);
   8256 void __RPC_STUB ID3D11Device_CreateDomainShader_Stub(
   8257     IRpcStubBuffer* This,
   8258     IRpcChannelBuffer* pRpcChannelBuffer,
   8259     PRPC_MESSAGE pRpcMessage,
   8260     DWORD* pdwStubPhase);
   8261 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateComputeShader_Proxy(
   8262     ID3D11Device* This,
   8263     const void *pShaderBytecode,
   8264     SIZE_T BytecodeLength,
   8265     ID3D11ClassLinkage *pClassLinkage,
   8266     ID3D11ComputeShader **ppComputeShader);
   8267 void __RPC_STUB ID3D11Device_CreateComputeShader_Stub(
   8268     IRpcStubBuffer* This,
   8269     IRpcChannelBuffer* pRpcChannelBuffer,
   8270     PRPC_MESSAGE pRpcMessage,
   8271     DWORD* pdwStubPhase);
   8272 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateClassLinkage_Proxy(
   8273     ID3D11Device* This,
   8274     ID3D11ClassLinkage **ppLinkage);
   8275 void __RPC_STUB ID3D11Device_CreateClassLinkage_Stub(
   8276     IRpcStubBuffer* This,
   8277     IRpcChannelBuffer* pRpcChannelBuffer,
   8278     PRPC_MESSAGE pRpcMessage,
   8279     DWORD* pdwStubPhase);
   8280 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateBlendState_Proxy(
   8281     ID3D11Device* This,
   8282     const D3D11_BLEND_DESC *pBlendStateDesc,
   8283     ID3D11BlendState **ppBlendState);
   8284 void __RPC_STUB ID3D11Device_CreateBlendState_Stub(
   8285     IRpcStubBuffer* This,
   8286     IRpcChannelBuffer* pRpcChannelBuffer,
   8287     PRPC_MESSAGE pRpcMessage,
   8288     DWORD* pdwStubPhase);
   8289 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateDepthStencilState_Proxy(
   8290     ID3D11Device* This,
   8291     const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
   8292     ID3D11DepthStencilState **ppDepthStencilState);
   8293 void __RPC_STUB ID3D11Device_CreateDepthStencilState_Stub(
   8294     IRpcStubBuffer* This,
   8295     IRpcChannelBuffer* pRpcChannelBuffer,
   8296     PRPC_MESSAGE pRpcMessage,
   8297     DWORD* pdwStubPhase);
   8298 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateRasterizerState_Proxy(
   8299     ID3D11Device* This,
   8300     const D3D11_RASTERIZER_DESC *pRasterizerDesc,
   8301     ID3D11RasterizerState **ppRasterizerState);
   8302 void __RPC_STUB ID3D11Device_CreateRasterizerState_Stub(
   8303     IRpcStubBuffer* This,
   8304     IRpcChannelBuffer* pRpcChannelBuffer,
   8305     PRPC_MESSAGE pRpcMessage,
   8306     DWORD* pdwStubPhase);
   8307 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateSamplerState_Proxy(
   8308     ID3D11Device* This,
   8309     const D3D11_SAMPLER_DESC *pSamplerDesc,
   8310     ID3D11SamplerState **ppSamplerState);
   8311 void __RPC_STUB ID3D11Device_CreateSamplerState_Stub(
   8312     IRpcStubBuffer* This,
   8313     IRpcChannelBuffer* pRpcChannelBuffer,
   8314     PRPC_MESSAGE pRpcMessage,
   8315     DWORD* pdwStubPhase);
   8316 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateQuery_Proxy(
   8317     ID3D11Device* This,
   8318     const D3D11_QUERY_DESC *pQueryDesc,
   8319     ID3D11Query **ppQuery);
   8320 void __RPC_STUB ID3D11Device_CreateQuery_Stub(
   8321     IRpcStubBuffer* This,
   8322     IRpcChannelBuffer* pRpcChannelBuffer,
   8323     PRPC_MESSAGE pRpcMessage,
   8324     DWORD* pdwStubPhase);
   8325 HRESULT STDMETHODCALLTYPE ID3D11Device_CreatePredicate_Proxy(
   8326     ID3D11Device* This,
   8327     const D3D11_QUERY_DESC *pPredicateDesc,
   8328     ID3D11Predicate **ppPredicate);
   8329 void __RPC_STUB ID3D11Device_CreatePredicate_Stub(
   8330     IRpcStubBuffer* This,
   8331     IRpcChannelBuffer* pRpcChannelBuffer,
   8332     PRPC_MESSAGE pRpcMessage,
   8333     DWORD* pdwStubPhase);
   8334 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateCounter_Proxy(
   8335     ID3D11Device* This,
   8336     const D3D11_COUNTER_DESC *pCounterDesc,
   8337     ID3D11Counter **ppCounter);
   8338 void __RPC_STUB ID3D11Device_CreateCounter_Stub(
   8339     IRpcStubBuffer* This,
   8340     IRpcChannelBuffer* pRpcChannelBuffer,
   8341     PRPC_MESSAGE pRpcMessage,
   8342     DWORD* pdwStubPhase);
   8343 HRESULT STDMETHODCALLTYPE ID3D11Device_CreateDeferredContext_Proxy(
   8344     ID3D11Device* This,
   8345     UINT ContextFlags,
   8346     ID3D11DeviceContext **ppDeferredContext);
   8347 void __RPC_STUB ID3D11Device_CreateDeferredContext_Stub(
   8348     IRpcStubBuffer* This,
   8349     IRpcChannelBuffer* pRpcChannelBuffer,
   8350     PRPC_MESSAGE pRpcMessage,
   8351     DWORD* pdwStubPhase);
   8352 HRESULT STDMETHODCALLTYPE ID3D11Device_OpenSharedResource_Proxy(
   8353     ID3D11Device* This,
   8354     HANDLE hResource,
   8355     REFIID ReturnedInterface,
   8356     void **ppResource);
   8357 void __RPC_STUB ID3D11Device_OpenSharedResource_Stub(
   8358     IRpcStubBuffer* This,
   8359     IRpcChannelBuffer* pRpcChannelBuffer,
   8360     PRPC_MESSAGE pRpcMessage,
   8361     DWORD* pdwStubPhase);
   8362 HRESULT STDMETHODCALLTYPE ID3D11Device_CheckFormatSupport_Proxy(
   8363     ID3D11Device* This,
   8364     DXGI_FORMAT Format,
   8365     UINT *pFormatSupport);
   8366 void __RPC_STUB ID3D11Device_CheckFormatSupport_Stub(
   8367     IRpcStubBuffer* This,
   8368     IRpcChannelBuffer* pRpcChannelBuffer,
   8369     PRPC_MESSAGE pRpcMessage,
   8370     DWORD* pdwStubPhase);
   8371 HRESULT STDMETHODCALLTYPE ID3D11Device_CheckMultisampleQualityLevels_Proxy(
   8372     ID3D11Device* This,
   8373     DXGI_FORMAT Format,
   8374     UINT SampleCount,
   8375     UINT *pNumQualityLevels);
   8376 void __RPC_STUB ID3D11Device_CheckMultisampleQualityLevels_Stub(
   8377     IRpcStubBuffer* This,
   8378     IRpcChannelBuffer* pRpcChannelBuffer,
   8379     PRPC_MESSAGE pRpcMessage,
   8380     DWORD* pdwStubPhase);
   8381 void STDMETHODCALLTYPE ID3D11Device_CheckCounterInfo_Proxy(
   8382     ID3D11Device* This,
   8383     D3D11_COUNTER_INFO *pCounterInfo);
   8384 void __RPC_STUB ID3D11Device_CheckCounterInfo_Stub(
   8385     IRpcStubBuffer* This,
   8386     IRpcChannelBuffer* pRpcChannelBuffer,
   8387     PRPC_MESSAGE pRpcMessage,
   8388     DWORD* pdwStubPhase);
   8389 HRESULT STDMETHODCALLTYPE ID3D11Device_CheckCounter_Proxy(
   8390     ID3D11Device* This,
   8391     const D3D11_COUNTER_DESC *pDesc,
   8392     D3D11_COUNTER_TYPE *pType,
   8393     UINT *pActiveCounters,
   8394     LPSTR szName,
   8395     UINT *pNameLength,
   8396     LPSTR szUnits,
   8397     UINT *pUnitsLength,
   8398     LPSTR szDescription,
   8399     UINT *pDescriptionLength);
   8400 void __RPC_STUB ID3D11Device_CheckCounter_Stub(
   8401     IRpcStubBuffer* This,
   8402     IRpcChannelBuffer* pRpcChannelBuffer,
   8403     PRPC_MESSAGE pRpcMessage,
   8404     DWORD* pdwStubPhase);
   8405 HRESULT STDMETHODCALLTYPE ID3D11Device_CheckFeatureSupport_Proxy(
   8406     ID3D11Device* This,
   8407     D3D11_FEATURE Feature,
   8408     void *pFeatureSupportData,
   8409     UINT FeatureSupportDataSize);
   8410 void __RPC_STUB ID3D11Device_CheckFeatureSupport_Stub(
   8411     IRpcStubBuffer* This,
   8412     IRpcChannelBuffer* pRpcChannelBuffer,
   8413     PRPC_MESSAGE pRpcMessage,
   8414     DWORD* pdwStubPhase);
   8415 HRESULT STDMETHODCALLTYPE ID3D11Device_GetPrivateData_Proxy(
   8416     ID3D11Device* This,
   8417     REFGUID guid,
   8418     UINT *pDataSize,
   8419     void *pData);
   8420 void __RPC_STUB ID3D11Device_GetPrivateData_Stub(
   8421     IRpcStubBuffer* This,
   8422     IRpcChannelBuffer* pRpcChannelBuffer,
   8423     PRPC_MESSAGE pRpcMessage,
   8424     DWORD* pdwStubPhase);
   8425 HRESULT STDMETHODCALLTYPE ID3D11Device_SetPrivateData_Proxy(
   8426     ID3D11Device* This,
   8427     REFGUID guid,
   8428     UINT DataSize,
   8429     const void *pData);
   8430 void __RPC_STUB ID3D11Device_SetPrivateData_Stub(
   8431     IRpcStubBuffer* This,
   8432     IRpcChannelBuffer* pRpcChannelBuffer,
   8433     PRPC_MESSAGE pRpcMessage,
   8434     DWORD* pdwStubPhase);
   8435 HRESULT STDMETHODCALLTYPE ID3D11Device_SetPrivateDataInterface_Proxy(
   8436     ID3D11Device* This,
   8437     REFGUID guid,
   8438     const IUnknown *pData);
   8439 void __RPC_STUB ID3D11Device_SetPrivateDataInterface_Stub(
   8440     IRpcStubBuffer* This,
   8441     IRpcChannelBuffer* pRpcChannelBuffer,
   8442     PRPC_MESSAGE pRpcMessage,
   8443     DWORD* pdwStubPhase);
   8444 D3D_FEATURE_LEVEL STDMETHODCALLTYPE ID3D11Device_GetFeatureLevel_Proxy(
   8445     ID3D11Device* This);
   8446 void __RPC_STUB ID3D11Device_GetFeatureLevel_Stub(
   8447     IRpcStubBuffer* This,
   8448     IRpcChannelBuffer* pRpcChannelBuffer,
   8449     PRPC_MESSAGE pRpcMessage,
   8450     DWORD* pdwStubPhase);
   8451 UINT STDMETHODCALLTYPE ID3D11Device_GetCreationFlags_Proxy(
   8452     ID3D11Device* This);
   8453 void __RPC_STUB ID3D11Device_GetCreationFlags_Stub(
   8454     IRpcStubBuffer* This,
   8455     IRpcChannelBuffer* pRpcChannelBuffer,
   8456     PRPC_MESSAGE pRpcMessage,
   8457     DWORD* pdwStubPhase);
   8458 HRESULT STDMETHODCALLTYPE ID3D11Device_GetDeviceRemovedReason_Proxy(
   8459     ID3D11Device* This);
   8460 void __RPC_STUB ID3D11Device_GetDeviceRemovedReason_Stub(
   8461     IRpcStubBuffer* This,
   8462     IRpcChannelBuffer* pRpcChannelBuffer,
   8463     PRPC_MESSAGE pRpcMessage,
   8464     DWORD* pdwStubPhase);
   8465 void STDMETHODCALLTYPE ID3D11Device_GetImmediateContext_Proxy(
   8466     ID3D11Device* This,
   8467     ID3D11DeviceContext **ppImmediateContext);
   8468 void __RPC_STUB ID3D11Device_GetImmediateContext_Stub(
   8469     IRpcStubBuffer* This,
   8470     IRpcChannelBuffer* pRpcChannelBuffer,
   8471     PRPC_MESSAGE pRpcMessage,
   8472     DWORD* pdwStubPhase);
   8473 HRESULT STDMETHODCALLTYPE ID3D11Device_SetExceptionMode_Proxy(
   8474     ID3D11Device* This,
   8475     UINT RaiseFlags);
   8476 void __RPC_STUB ID3D11Device_SetExceptionMode_Stub(
   8477     IRpcStubBuffer* This,
   8478     IRpcChannelBuffer* pRpcChannelBuffer,
   8479     PRPC_MESSAGE pRpcMessage,
   8480     DWORD* pdwStubPhase);
   8481 UINT STDMETHODCALLTYPE ID3D11Device_GetExceptionMode_Proxy(
   8482     ID3D11Device* This);
   8483 void __RPC_STUB ID3D11Device_GetExceptionMode_Stub(
   8484     IRpcStubBuffer* This,
   8485     IRpcChannelBuffer* pRpcChannelBuffer,
   8486     PRPC_MESSAGE pRpcMessage,
   8487     DWORD* pdwStubPhase);
   8488 
   8489 #endif  /* __ID3D11Device_INTERFACE_DEFINED__ */
   8490 
   8491 typedef enum D3D11_CREATE_DEVICE_FLAG {
   8492     D3D11_CREATE_DEVICE_SINGLETHREADED = 0x1,
   8493     D3D11_CREATE_DEVICE_DEBUG = 0x2,
   8494     D3D11_CREATE_DEVICE_SWITCH_TO_REF = 0x4,
   8495     D3D11_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS = 0x8,
   8496     D3D11_CREATE_DEVICE_BGRA_SUPPORT = 0x20,
   8497     D3D11_CREATE_DEVICE_DEBUGGABLE = 0x40,
   8498     D3D11_CREATE_DEVICE_PREVENT_ALTERING_LAYER_SETTINGS_FROM_REGISTRY = 0x80,
   8499     D3D11_CREATE_DEVICE_DISABLE_GPU_TIMEOUT = 0x100,
   8500     D3D11_CREATE_DEVICE_VIDEO_SUPPORT = 0x800
   8501 } D3D11_CREATE_DEVICE_FLAG;
   8502 #define D3D11_SDK_VERSION (7)
   8503 
   8504 #include <d3d10_1.h>
   8505 #ifndef D3D11_IGNORE_SDK_LAYERS
   8506 /* FIXME: # include <d3d11sdklayers.h> */
   8507 #endif
   8508 #include <d3d10misc.h>
   8509 #include <d3d10shader.h>
   8510 #include <d3d10effect.h>
   8511 #include <d3d10_1shader.h>
   8512 /* Begin additional prototypes for all interfaces */
   8513 
   8514 
   8515 /* End additional prototypes */
   8516 
   8517 #ifdef __cplusplus
   8518 }
   8519 #endif
   8520 
   8521 #endif /* __d3d11_h__ */
   8522