1 /*** Autogenerated by WIDL 1.6 from direct-x/include/d3d11_1.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_1_h__ 16 #define __d3d11_1_h__ 17 18 /* Forward declarations */ 19 20 #ifndef __ID3D11BlendState1_FWD_DEFINED__ 21 #define __ID3D11BlendState1_FWD_DEFINED__ 22 typedef interface ID3D11BlendState1 ID3D11BlendState1; 23 #endif 24 25 #ifndef __ID3DDeviceContextState_FWD_DEFINED__ 26 #define __ID3DDeviceContextState_FWD_DEFINED__ 27 typedef interface ID3DDeviceContextState ID3DDeviceContextState; 28 #endif 29 30 #ifndef __ID3D11DeviceContext1_FWD_DEFINED__ 31 #define __ID3D11DeviceContext1_FWD_DEFINED__ 32 typedef interface ID3D11DeviceContext1 ID3D11DeviceContext1; 33 #endif 34 35 #ifndef __ID3DUserDefinedAnnotation_FWD_DEFINED__ 36 #define __ID3DUserDefinedAnnotation_FWD_DEFINED__ 37 typedef interface ID3DUserDefinedAnnotation ID3DUserDefinedAnnotation; 38 #endif 39 40 #ifndef __ID3D11RasterizerState1_FWD_DEFINED__ 41 #define __ID3D11RasterizerState1_FWD_DEFINED__ 42 typedef interface ID3D11RasterizerState1 ID3D11RasterizerState1; 43 #endif 44 45 #ifndef __ID3D11Device1_FWD_DEFINED__ 46 #define __ID3D11Device1_FWD_DEFINED__ 47 typedef interface ID3D11Device1 ID3D11Device1; 48 #endif 49 50 /* Headers for imported files */ 51 52 #include <oaidl.h> 53 #include <ocidl.h> 54 #include <dxgi1_2.h> 55 #include <d3dcommon.h> 56 #include <d3d11.h> 57 58 #ifdef __cplusplus 59 extern "C" { 60 #endif 61 62 typedef enum D3D11_LOGIC_OP { 63 D3D11_LOGIC_OP_CLEAR = 0, 64 D3D11_LOGIC_OP_SET = 1, 65 D3D11_LOGIC_OP_COPY = 2, 66 D3D11_LOGIC_OP_COPY_INVERTED = 3, 67 D3D11_LOGIC_OP_NOOP = 4, 68 D3D11_LOGIC_OP_INVERT = 5, 69 D3D11_LOGIC_OP_AND = 6, 70 D3D11_LOGIC_OP_NAND = 7, 71 D3D11_LOGIC_OP_OR = 8, 72 D3D11_LOGIC_OP_NOR = 9, 73 D3D11_LOGIC_OP_XOR = 10, 74 D3D11_LOGIC_OP_EQUIV = 11, 75 D3D11_LOGIC_OP_AND_REVERSE = 12, 76 D3D11_LOGIC_OP_AND_INVERTED = 13, 77 D3D11_LOGIC_OP_OR_REVERSE = 14, 78 D3D11_LOGIC_OP_OR_INVERTED = 15 79 } D3D11_LOGIC_OP; 80 typedef struct _D3D11_RENDER_TARGET_BLEND_DESC1 { 81 WINBOOL BlendEnable; 82 WINBOOL LogicOpEnable; 83 D3D11_BLEND SrcBlend; 84 D3D11_BLEND DestBlend; 85 D3D11_BLEND_OP BlendOp; 86 D3D11_BLEND SrcBlendAlpha; 87 D3D11_BLEND DestBlendAlpha; 88 D3D11_BLEND_OP BlendOpAlpha; 89 D3D11_LOGIC_OP LogicOp; 90 UINT8 RenderTargetWriteMask; 91 } D3D11_RENDER_TARGET_BLEND_DESC1; 92 typedef struct _D3D11_BLEND_DESC1 { 93 WINBOOL AlphaToCoverageEnable; 94 WINBOOL IndependentBlendEnable; 95 D3D11_RENDER_TARGET_BLEND_DESC1 RenderTarget[8]; 96 } D3D11_BLEND_DESC1; 97 typedef struct _D3D11_RASTERIZER_DESC1 { 98 D3D11_FILL_MODE FillMode; 99 D3D11_CULL_MODE CullMode; 100 WINBOOL FrontCounterClockwise; 101 INT DepthBias; 102 FLOAT DepthBiasClamp; 103 FLOAT SlopeScaledDepthBias; 104 WINBOOL DepthClipEnable; 105 WINBOOL ScissorEnable; 106 WINBOOL MultisampleEnable; 107 WINBOOL AntialiasedLineEnable; 108 UINT ForcedSampleCount; 109 } D3D11_RASTERIZER_DESC1; 110 /***************************************************************************** 111 * ID3D11BlendState1 interface 112 */ 113 #ifndef __ID3D11BlendState1_INTERFACE_DEFINED__ 114 #define __ID3D11BlendState1_INTERFACE_DEFINED__ 115 116 DEFINE_GUID(IID_ID3D11BlendState1, 0xcc86fabe, 0xda55, 0x401d, 0x85,0xe7, 0xe3,0xc9,0xde,0x28,0x77,0xe9); 117 #if defined(__cplusplus) && !defined(CINTERFACE) 118 MIDL_INTERFACE("cc86fabe-da55-401d-85e7-e3c9de2877e9") 119 ID3D11BlendState1 : public ID3D11BlendState 120 { 121 virtual void STDMETHODCALLTYPE GetDesc1( 122 D3D11_BLEND_DESC1 *pDesc) = 0; 123 124 }; 125 #ifdef __CRT_UUID_DECL 126 __CRT_UUID_DECL(ID3D11BlendState1, 0xcc86fabe, 0xda55, 0x401d, 0x85,0xe7, 0xe3,0xc9,0xde,0x28,0x77,0xe9) 127 #endif 128 #else 129 typedef struct ID3D11BlendState1Vtbl { 130 BEGIN_INTERFACE 131 132 /*** IUnknown methods ***/ 133 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 134 ID3D11BlendState1* This, 135 REFIID riid, 136 void **ppvObject); 137 138 ULONG (STDMETHODCALLTYPE *AddRef)( 139 ID3D11BlendState1* This); 140 141 ULONG (STDMETHODCALLTYPE *Release)( 142 ID3D11BlendState1* This); 143 144 /*** ID3D11DeviceChild methods ***/ 145 void (STDMETHODCALLTYPE *GetDevice)( 146 ID3D11BlendState1* This, 147 ID3D11Device **ppDevice); 148 149 HRESULT (STDMETHODCALLTYPE *GetPrivateData)( 150 ID3D11BlendState1* This, 151 REFGUID guid, 152 UINT *pDataSize, 153 void *pData); 154 155 HRESULT (STDMETHODCALLTYPE *SetPrivateData)( 156 ID3D11BlendState1* This, 157 REFGUID guid, 158 UINT DataSize, 159 const void *pData); 160 161 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( 162 ID3D11BlendState1* This, 163 REFGUID guid, 164 const IUnknown *pData); 165 166 /*** ID3D11BlendState methods ***/ 167 void (STDMETHODCALLTYPE *GetDesc)( 168 ID3D11BlendState1* This, 169 D3D11_BLEND_DESC *pDesc); 170 171 /*** ID3D11BlendState1 methods ***/ 172 void (STDMETHODCALLTYPE *GetDesc1)( 173 ID3D11BlendState1* This, 174 D3D11_BLEND_DESC1 *pDesc); 175 176 END_INTERFACE 177 } ID3D11BlendState1Vtbl; 178 interface ID3D11BlendState1 { 179 CONST_VTBL ID3D11BlendState1Vtbl* lpVtbl; 180 }; 181 182 #ifdef COBJMACROS 183 #ifndef WIDL_C_INLINE_WRAPPERS 184 /*** IUnknown methods ***/ 185 #define ID3D11BlendState1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 186 #define ID3D11BlendState1_AddRef(This) (This)->lpVtbl->AddRef(This) 187 #define ID3D11BlendState1_Release(This) (This)->lpVtbl->Release(This) 188 /*** ID3D11DeviceChild methods ***/ 189 #define ID3D11BlendState1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) 190 #define ID3D11BlendState1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) 191 #define ID3D11BlendState1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) 192 #define ID3D11BlendState1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) 193 /*** ID3D11BlendState methods ***/ 194 #define ID3D11BlendState1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) 195 /*** ID3D11BlendState1 methods ***/ 196 #define ID3D11BlendState1_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) 197 #else 198 /*** IUnknown methods ***/ 199 static FORCEINLINE HRESULT ID3D11BlendState1_QueryInterface(ID3D11BlendState1* This,REFIID riid,void **ppvObject) { 200 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 201 } 202 static FORCEINLINE ULONG ID3D11BlendState1_AddRef(ID3D11BlendState1* This) { 203 return This->lpVtbl->AddRef(This); 204 } 205 static FORCEINLINE ULONG ID3D11BlendState1_Release(ID3D11BlendState1* This) { 206 return This->lpVtbl->Release(This); 207 } 208 /*** ID3D11DeviceChild methods ***/ 209 static FORCEINLINE void ID3D11BlendState1_GetDevice(ID3D11BlendState1* This,ID3D11Device **ppDevice) { 210 This->lpVtbl->GetDevice(This,ppDevice); 211 } 212 static FORCEINLINE HRESULT ID3D11BlendState1_GetPrivateData(ID3D11BlendState1* This,REFGUID guid,UINT *pDataSize,void *pData) { 213 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); 214 } 215 static FORCEINLINE HRESULT ID3D11BlendState1_SetPrivateData(ID3D11BlendState1* This,REFGUID guid,UINT DataSize,const void *pData) { 216 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); 217 } 218 static FORCEINLINE HRESULT ID3D11BlendState1_SetPrivateDataInterface(ID3D11BlendState1* This,REFGUID guid,const IUnknown *pData) { 219 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); 220 } 221 /*** ID3D11BlendState methods ***/ 222 static FORCEINLINE void ID3D11BlendState1_GetDesc(ID3D11BlendState1* This,D3D11_BLEND_DESC *pDesc) { 223 This->lpVtbl->GetDesc(This,pDesc); 224 } 225 /*** ID3D11BlendState1 methods ***/ 226 static FORCEINLINE void ID3D11BlendState1_GetDesc1(ID3D11BlendState1* This,D3D11_BLEND_DESC1 *pDesc) { 227 This->lpVtbl->GetDesc1(This,pDesc); 228 } 229 #endif 230 #endif 231 232 #endif 233 234 void STDMETHODCALLTYPE ID3D11BlendState1_GetDesc1_Proxy( 235 ID3D11BlendState1* This, 236 D3D11_BLEND_DESC1 *pDesc); 237 void __RPC_STUB ID3D11BlendState1_GetDesc1_Stub( 238 IRpcStubBuffer* This, 239 IRpcChannelBuffer* pRpcChannelBuffer, 240 PRPC_MESSAGE pRpcMessage, 241 DWORD* pdwStubPhase); 242 243 #endif /* __ID3D11BlendState1_INTERFACE_DEFINED__ */ 244 245 /***************************************************************************** 246 * ID3DDeviceContextState interface 247 */ 248 #ifndef __ID3DDeviceContextState_INTERFACE_DEFINED__ 249 #define __ID3DDeviceContextState_INTERFACE_DEFINED__ 250 251 DEFINE_GUID(IID_ID3DDeviceContextState, 0x5c1e0d8a, 0x7c23, 0x48f9, 0x8c,0x59, 0xa9,0x29,0x58,0xce,0xff,0x11); 252 #if defined(__cplusplus) && !defined(CINTERFACE) 253 MIDL_INTERFACE("5c1e0d8a-7c23-48f9-8c59-a92958ceff11") 254 ID3DDeviceContextState : public ID3D11DeviceChild 255 { 256 }; 257 #ifdef __CRT_UUID_DECL 258 __CRT_UUID_DECL(ID3DDeviceContextState, 0x5c1e0d8a, 0x7c23, 0x48f9, 0x8c,0x59, 0xa9,0x29,0x58,0xce,0xff,0x11) 259 #endif 260 #else 261 typedef struct ID3DDeviceContextStateVtbl { 262 BEGIN_INTERFACE 263 264 /*** IUnknown methods ***/ 265 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 266 ID3DDeviceContextState* This, 267 REFIID riid, 268 void **ppvObject); 269 270 ULONG (STDMETHODCALLTYPE *AddRef)( 271 ID3DDeviceContextState* This); 272 273 ULONG (STDMETHODCALLTYPE *Release)( 274 ID3DDeviceContextState* This); 275 276 /*** ID3D11DeviceChild methods ***/ 277 void (STDMETHODCALLTYPE *GetDevice)( 278 ID3DDeviceContextState* This, 279 ID3D11Device **ppDevice); 280 281 HRESULT (STDMETHODCALLTYPE *GetPrivateData)( 282 ID3DDeviceContextState* This, 283 REFGUID guid, 284 UINT *pDataSize, 285 void *pData); 286 287 HRESULT (STDMETHODCALLTYPE *SetPrivateData)( 288 ID3DDeviceContextState* This, 289 REFGUID guid, 290 UINT DataSize, 291 const void *pData); 292 293 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( 294 ID3DDeviceContextState* This, 295 REFGUID guid, 296 const IUnknown *pData); 297 298 END_INTERFACE 299 } ID3DDeviceContextStateVtbl; 300 interface ID3DDeviceContextState { 301 CONST_VTBL ID3DDeviceContextStateVtbl* lpVtbl; 302 }; 303 304 #ifdef COBJMACROS 305 #ifndef WIDL_C_INLINE_WRAPPERS 306 /*** IUnknown methods ***/ 307 #define ID3DDeviceContextState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 308 #define ID3DDeviceContextState_AddRef(This) (This)->lpVtbl->AddRef(This) 309 #define ID3DDeviceContextState_Release(This) (This)->lpVtbl->Release(This) 310 /*** ID3D11DeviceChild methods ***/ 311 #define ID3DDeviceContextState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) 312 #define ID3DDeviceContextState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) 313 #define ID3DDeviceContextState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) 314 #define ID3DDeviceContextState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) 315 #else 316 /*** IUnknown methods ***/ 317 static FORCEINLINE HRESULT ID3DDeviceContextState_QueryInterface(ID3DDeviceContextState* This,REFIID riid,void **ppvObject) { 318 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 319 } 320 static FORCEINLINE ULONG ID3DDeviceContextState_AddRef(ID3DDeviceContextState* This) { 321 return This->lpVtbl->AddRef(This); 322 } 323 static FORCEINLINE ULONG ID3DDeviceContextState_Release(ID3DDeviceContextState* This) { 324 return This->lpVtbl->Release(This); 325 } 326 /*** ID3D11DeviceChild methods ***/ 327 static FORCEINLINE void ID3DDeviceContextState_GetDevice(ID3DDeviceContextState* This,ID3D11Device **ppDevice) { 328 This->lpVtbl->GetDevice(This,ppDevice); 329 } 330 static FORCEINLINE HRESULT ID3DDeviceContextState_GetPrivateData(ID3DDeviceContextState* This,REFGUID guid,UINT *pDataSize,void *pData) { 331 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); 332 } 333 static FORCEINLINE HRESULT ID3DDeviceContextState_SetPrivateData(ID3DDeviceContextState* This,REFGUID guid,UINT DataSize,const void *pData) { 334 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); 335 } 336 static FORCEINLINE HRESULT ID3DDeviceContextState_SetPrivateDataInterface(ID3DDeviceContextState* This,REFGUID guid,const IUnknown *pData) { 337 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); 338 } 339 #endif 340 #endif 341 342 #endif 343 344 345 #endif /* __ID3DDeviceContextState_INTERFACE_DEFINED__ */ 346 347 /***************************************************************************** 348 * ID3D11DeviceContext1 interface 349 */ 350 #ifndef __ID3D11DeviceContext1_INTERFACE_DEFINED__ 351 #define __ID3D11DeviceContext1_INTERFACE_DEFINED__ 352 353 DEFINE_GUID(IID_ID3D11DeviceContext1, 0xbb2c6faa, 0xb5fb, 0x4082, 0x8e,0x6b, 0x38,0x8b,0x8c,0xfa,0x90,0xe1); 354 #if defined(__cplusplus) && !defined(CINTERFACE) 355 MIDL_INTERFACE("bb2c6faa-b5fb-4082-8e6b-388b8cfa90e1") 356 ID3D11DeviceContext1 : public ID3D11DeviceContext 357 { 358 virtual void STDMETHODCALLTYPE CopySubresourceRegion1( 359 ID3D11Resource *pDstResource, 360 UINT DstSubresource, 361 UINT DstX, 362 UINT DstY, 363 UINT DstZ, 364 ID3D11Resource *pSrcResource, 365 UINT SrcSubresource, 366 const D3D11_BOX *pSrcBox, 367 UINT CopyFlags) = 0; 368 369 virtual void STDMETHODCALLTYPE UpdateSubresource1( 370 ID3D11Resource *pDstResource, 371 UINT DstSubresource, 372 const D3D11_BOX *pDstBox, 373 const void *pSrcData, 374 UINT SrcRowPitch, 375 UINT SrcDepthPitch, 376 UINT CopyFlags) = 0; 377 378 virtual void STDMETHODCALLTYPE DiscardResource( 379 ID3D11Resource *pResource) = 0; 380 381 virtual void STDMETHODCALLTYPE DiscardView( 382 ID3D11View *pResourceView) = 0; 383 384 virtual void STDMETHODCALLTYPE VSSetConstantBuffers1( 385 UINT StartSlot, 386 UINT NumBuffers, 387 ID3D11Buffer *const *ppConstantBuffers, 388 const UINT *pFirstConstant, 389 const UINT *pNumConstants) = 0; 390 391 virtual void STDMETHODCALLTYPE HSSetConstantBuffers1( 392 UINT StartSlot, 393 UINT NumBuffers, 394 ID3D11Buffer *const *ppConstantBuffers, 395 const UINT *pFirstConstant, 396 const UINT *pNumConstants) = 0; 397 398 virtual void STDMETHODCALLTYPE DSSetConstantBuffers1( 399 UINT StartSlot, 400 UINT NumBuffers, 401 ID3D11Buffer *const *ppConstantBuffers, 402 const UINT *pFirstConstant, 403 const UINT *pNumConstants) = 0; 404 405 virtual void STDMETHODCALLTYPE GSSetConstantBuffers1( 406 UINT StartSlot, 407 UINT NumBuffers, 408 ID3D11Buffer *const *ppConstantBuffers, 409 const UINT *pFirstConstant, 410 const UINT *pNumConstants) = 0; 411 412 virtual void STDMETHODCALLTYPE PSSetConstantBuffers1( 413 UINT StartSlot, 414 UINT NumBuffers, 415 ID3D11Buffer *const *ppConstantBuffers, 416 const UINT *pFirstConstant, 417 const UINT *pNumConstants) = 0; 418 419 virtual void STDMETHODCALLTYPE CSSetConstantBuffers1( 420 UINT StartSlot, 421 UINT NumBuffers, 422 ID3D11Buffer *const *ppConstantBuffers, 423 const UINT *pFirstConstant, 424 const UINT *pNumConstants) = 0; 425 426 virtual void STDMETHODCALLTYPE VSGetConstantBuffers1( 427 UINT StartSlot, 428 UINT NumBuffers, 429 ID3D11Buffer **ppConstantBuffers, 430 UINT *pFirstConstant, 431 UINT *pNumConstants) = 0; 432 433 virtual void STDMETHODCALLTYPE HSGetConstantBuffers1( 434 UINT StartSlot, 435 UINT NumBuffers, 436 ID3D11Buffer **ppConstantBuffers, 437 UINT *pFirstConstant, 438 UINT *pNumConstants) = 0; 439 440 virtual void STDMETHODCALLTYPE DSGetConstantBuffers1( 441 UINT StartSlot, 442 UINT NumBuffers, 443 ID3D11Buffer **ppConstantBuffers, 444 UINT *pFirstConstant, 445 UINT *pNumConstants) = 0; 446 447 virtual void STDMETHODCALLTYPE GSGetConstantBuffers1( 448 UINT StartSlot, 449 UINT NumBuffers, 450 ID3D11Buffer **ppConstantBuffers, 451 UINT *pFirstConstant, 452 UINT *pNumConstants) = 0; 453 454 virtual void STDMETHODCALLTYPE PSGetConstantBuffers1( 455 UINT StartSlot, 456 UINT NumBuffers, 457 ID3D11Buffer **ppConstantBuffers, 458 UINT *pFirstConstant, 459 UINT *pNumConstants) = 0; 460 461 virtual void STDMETHODCALLTYPE CSGetConstantBuffers1( 462 UINT StartSlot, 463 UINT NumBuffers, 464 ID3D11Buffer **ppConstantBuffers, 465 UINT *pFirstConstant, 466 UINT *pNumConstants) = 0; 467 468 virtual void STDMETHODCALLTYPE SwapDeviceContextState( 469 ID3DDeviceContextState *pState, 470 ID3DDeviceContextState **ppPreviousState) = 0; 471 472 virtual void STDMETHODCALLTYPE ClearView( 473 ID3D11View *pView, 474 const FLOAT Color[4], 475 const D3D11_RECT *pRect, 476 UINT NumRects) = 0; 477 478 virtual void STDMETHODCALLTYPE DiscardView1( 479 ID3D11View *pResourceView, 480 const D3D11_RECT *pRects, 481 UINT NumRects) = 0; 482 483 }; 484 #ifdef __CRT_UUID_DECL 485 __CRT_UUID_DECL(ID3D11DeviceContext1, 0xbb2c6faa, 0xb5fb, 0x4082, 0x8e,0x6b, 0x38,0x8b,0x8c,0xfa,0x90,0xe1) 486 #endif 487 #else 488 typedef struct ID3D11DeviceContext1Vtbl { 489 BEGIN_INTERFACE 490 491 /*** IUnknown methods ***/ 492 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 493 ID3D11DeviceContext1* This, 494 REFIID riid, 495 void **ppvObject); 496 497 ULONG (STDMETHODCALLTYPE *AddRef)( 498 ID3D11DeviceContext1* This); 499 500 ULONG (STDMETHODCALLTYPE *Release)( 501 ID3D11DeviceContext1* This); 502 503 /*** ID3D11DeviceChild methods ***/ 504 void (STDMETHODCALLTYPE *GetDevice)( 505 ID3D11DeviceContext1* This, 506 ID3D11Device **ppDevice); 507 508 HRESULT (STDMETHODCALLTYPE *GetPrivateData)( 509 ID3D11DeviceContext1* This, 510 REFGUID guid, 511 UINT *pDataSize, 512 void *pData); 513 514 HRESULT (STDMETHODCALLTYPE *SetPrivateData)( 515 ID3D11DeviceContext1* This, 516 REFGUID guid, 517 UINT DataSize, 518 const void *pData); 519 520 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( 521 ID3D11DeviceContext1* This, 522 REFGUID guid, 523 const IUnknown *pData); 524 525 /*** ID3D11DeviceContext methods ***/ 526 void (STDMETHODCALLTYPE *VSSetConstantBuffers)( 527 ID3D11DeviceContext1* This, 528 UINT StartSlot, 529 UINT NumBuffers, 530 ID3D11Buffer *const *ppConstantBuffers); 531 532 void (STDMETHODCALLTYPE *PSSetShaderResources)( 533 ID3D11DeviceContext1* This, 534 UINT StartSlot, 535 UINT NumViews, 536 ID3D11ShaderResourceView *const *ppShaderResourceViews); 537 538 void (STDMETHODCALLTYPE *PSSetShader)( 539 ID3D11DeviceContext1* This, 540 ID3D11PixelShader *pPixelShader, 541 ID3D11ClassInstance *const *ppClassInstances, 542 UINT NumClassInstances); 543 544 void (STDMETHODCALLTYPE *PSSetSamplers)( 545 ID3D11DeviceContext1* This, 546 UINT StartSlot, 547 UINT NumSamplers, 548 ID3D11SamplerState *const *ppSamplers); 549 550 void (STDMETHODCALLTYPE *VSSetShader)( 551 ID3D11DeviceContext1* This, 552 ID3D11VertexShader *pVertexShader, 553 ID3D11ClassInstance *const *ppClassInstances, 554 UINT NumClassInstances); 555 556 void (STDMETHODCALLTYPE *DrawIndexed)( 557 ID3D11DeviceContext1* This, 558 UINT IndexCount, 559 UINT StartIndexLocation, 560 INT BaseVertexLocation); 561 562 void (STDMETHODCALLTYPE *Draw)( 563 ID3D11DeviceContext1* This, 564 UINT VertexCount, 565 UINT StartVertexLocation); 566 567 HRESULT (STDMETHODCALLTYPE *Map)( 568 ID3D11DeviceContext1* This, 569 ID3D11Resource *pResource, 570 UINT Subresource, 571 D3D11_MAP MapType, 572 UINT MapFlags, 573 D3D11_MAPPED_SUBRESOURCE *pMappedResource); 574 575 void (STDMETHODCALLTYPE *Unmap)( 576 ID3D11DeviceContext1* This, 577 ID3D11Resource *pResource, 578 UINT Subresource); 579 580 void (STDMETHODCALLTYPE *PSSetConstantBuffers)( 581 ID3D11DeviceContext1* This, 582 UINT StartSlot, 583 UINT NumBuffers, 584 ID3D11Buffer *const *ppConstantBuffers); 585 586 void (STDMETHODCALLTYPE *IASetInputLayout)( 587 ID3D11DeviceContext1* This, 588 ID3D11InputLayout *pInputLayout); 589 590 void (STDMETHODCALLTYPE *IASetVertexBuffers)( 591 ID3D11DeviceContext1* This, 592 UINT StartSlot, 593 UINT NumBuffers, 594 ID3D11Buffer *const *ppVertexBuffers, 595 const UINT *pStrides, 596 const UINT *pOffsets); 597 598 void (STDMETHODCALLTYPE *IASetIndexBuffer)( 599 ID3D11DeviceContext1* This, 600 ID3D11Buffer *pIndexBuffer, 601 DXGI_FORMAT Format, 602 UINT Offset); 603 604 void (STDMETHODCALLTYPE *DrawIndexedInstanced)( 605 ID3D11DeviceContext1* This, 606 UINT IndexCountPerInstance, 607 UINT InstanceCount, 608 UINT StartIndexLocation, 609 INT BaseVertexLocation, 610 UINT StartInstanceLocation); 611 612 void (STDMETHODCALLTYPE *DrawInstanced)( 613 ID3D11DeviceContext1* This, 614 UINT VertexCountPerInstance, 615 UINT InstanceCount, 616 UINT StartVertexLocation, 617 UINT StartInstanceLocation); 618 619 void (STDMETHODCALLTYPE *GSSetConstantBuffers)( 620 ID3D11DeviceContext1* This, 621 UINT StartSlot, 622 UINT NumBuffers, 623 ID3D11Buffer *const *ppConstantBuffers); 624 625 void (STDMETHODCALLTYPE *GSSetShader)( 626 ID3D11DeviceContext1* This, 627 ID3D11GeometryShader *pShader, 628 ID3D11ClassInstance *const *ppClassInstances, 629 UINT NumClassInstances); 630 631 void (STDMETHODCALLTYPE *IASetPrimitiveTopology)( 632 ID3D11DeviceContext1* This, 633 D3D11_PRIMITIVE_TOPOLOGY Topology); 634 635 void (STDMETHODCALLTYPE *VSSetShaderResources)( 636 ID3D11DeviceContext1* This, 637 UINT StartSlot, 638 UINT NumViews, 639 ID3D11ShaderResourceView *const *ppShaderResourceViews); 640 641 void (STDMETHODCALLTYPE *VSSetSamplers)( 642 ID3D11DeviceContext1* This, 643 UINT StartSlot, 644 UINT NumSamplers, 645 ID3D11SamplerState *const *ppSamplers); 646 647 void (STDMETHODCALLTYPE *Begin)( 648 ID3D11DeviceContext1* This, 649 ID3D11Asynchronous *pAsync); 650 651 void (STDMETHODCALLTYPE *End)( 652 ID3D11DeviceContext1* This, 653 ID3D11Asynchronous *pAsync); 654 655 HRESULT (STDMETHODCALLTYPE *GetData)( 656 ID3D11DeviceContext1* This, 657 ID3D11Asynchronous *pAsync, 658 void *pData, 659 UINT DataSize, 660 UINT GetDataFlags); 661 662 void (STDMETHODCALLTYPE *SetPredication)( 663 ID3D11DeviceContext1* This, 664 ID3D11Predicate *pPredicate, 665 WINBOOL PredicateValue); 666 667 void (STDMETHODCALLTYPE *GSSetShaderResources)( 668 ID3D11DeviceContext1* This, 669 UINT StartSlot, 670 UINT NumViews, 671 ID3D11ShaderResourceView *const *ppShaderResourceViews); 672 673 void (STDMETHODCALLTYPE *GSSetSamplers)( 674 ID3D11DeviceContext1* This, 675 UINT StartSlot, 676 UINT NumSamplers, 677 ID3D11SamplerState *const *ppSamplers); 678 679 void (STDMETHODCALLTYPE *OMSetRenderTargets)( 680 ID3D11DeviceContext1* This, 681 UINT NumViews, 682 ID3D11RenderTargetView *const *ppRenderTargetViews, 683 ID3D11DepthStencilView *pDepthStencilView); 684 685 void (STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews)( 686 ID3D11DeviceContext1* This, 687 UINT NumRTVs, 688 ID3D11RenderTargetView *const *ppRenderTargetViews, 689 ID3D11DepthStencilView *pDepthStencilView, 690 UINT UAVStartSlot, 691 UINT NumUAVs, 692 ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, 693 const UINT *pUAVInitialCounts); 694 695 void (STDMETHODCALLTYPE *OMSetBlendState)( 696 ID3D11DeviceContext1* This, 697 ID3D11BlendState *pBlendState, 698 const FLOAT BlendFactor[4], 699 UINT SampleMask); 700 701 void (STDMETHODCALLTYPE *OMSetDepthStencilState)( 702 ID3D11DeviceContext1* This, 703 ID3D11DepthStencilState *pDepthStencilState, 704 UINT StencilRef); 705 706 void (STDMETHODCALLTYPE *SOSetTargets)( 707 ID3D11DeviceContext1* This, 708 UINT NumBuffers, 709 ID3D11Buffer *const *ppSOTargets, 710 const UINT *pOffsets); 711 712 void (STDMETHODCALLTYPE *DrawAuto)( 713 ID3D11DeviceContext1* This); 714 715 void (STDMETHODCALLTYPE *DrawIndexedInstancedIndirect)( 716 ID3D11DeviceContext1* This, 717 ID3D11Buffer *pBufferForArgs, 718 UINT AlignedByteOffsetForArgs); 719 720 void (STDMETHODCALLTYPE *DrawInstancedIndirect)( 721 ID3D11DeviceContext1* This, 722 ID3D11Buffer *pBufferForArgs, 723 UINT AlignedByteOffsetForArgs); 724 725 void (STDMETHODCALLTYPE *Dispatch)( 726 ID3D11DeviceContext1* This, 727 UINT ThreadGroupCountX, 728 UINT ThreadGroupCountY, 729 UINT ThreadGroupCountZ); 730 731 void (STDMETHODCALLTYPE *DispatchIndirect)( 732 ID3D11DeviceContext1* This, 733 ID3D11Buffer *pBufferForArgs, 734 UINT AlignedByteOffsetForArgs); 735 736 void (STDMETHODCALLTYPE *RSSetState)( 737 ID3D11DeviceContext1* This, 738 ID3D11RasterizerState *pRasterizerState); 739 740 void (STDMETHODCALLTYPE *RSSetViewports)( 741 ID3D11DeviceContext1* This, 742 UINT NumViewports, 743 const D3D11_VIEWPORT *pViewports); 744 745 void (STDMETHODCALLTYPE *RSSetScissorRects)( 746 ID3D11DeviceContext1* This, 747 UINT NumRects, 748 const D3D11_RECT *pRects); 749 750 void (STDMETHODCALLTYPE *CopySubresourceRegion)( 751 ID3D11DeviceContext1* This, 752 ID3D11Resource *pDstResource, 753 UINT DstSubresource, 754 UINT DstX, 755 UINT DstY, 756 UINT DstZ, 757 ID3D11Resource *pSrcResource, 758 UINT SrcSubresource, 759 const D3D11_BOX *pSrcBox); 760 761 void (STDMETHODCALLTYPE *CopyResource)( 762 ID3D11DeviceContext1* This, 763 ID3D11Resource *pDstResource, 764 ID3D11Resource *pSrcResource); 765 766 void (STDMETHODCALLTYPE *UpdateSubresource)( 767 ID3D11DeviceContext1* This, 768 ID3D11Resource *pDstResource, 769 UINT DstSubresource, 770 const D3D11_BOX *pDstBox, 771 const void *pSrcData, 772 UINT SrcRowPitch, 773 UINT SrcDepthPitch); 774 775 void (STDMETHODCALLTYPE *CopyStructureCount)( 776 ID3D11DeviceContext1* This, 777 ID3D11Buffer *pDstBuffer, 778 UINT DstAlignedByteOffset, 779 ID3D11UnorderedAccessView *pSrcView); 780 781 void (STDMETHODCALLTYPE *ClearRenderTargetView)( 782 ID3D11DeviceContext1* This, 783 ID3D11RenderTargetView *pRenderTargetView, 784 const FLOAT ColorRGBA[4]); 785 786 void (STDMETHODCALLTYPE *ClearUnorderedAccessViewUint)( 787 ID3D11DeviceContext1* This, 788 ID3D11UnorderedAccessView *pUnorderedAccessView, 789 const UINT Values[4]); 790 791 void (STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat)( 792 ID3D11DeviceContext1* This, 793 ID3D11UnorderedAccessView *pUnorderedAccessView, 794 const FLOAT Values[4]); 795 796 void (STDMETHODCALLTYPE *ClearDepthStencilView)( 797 ID3D11DeviceContext1* This, 798 ID3D11DepthStencilView *pDepthStencilView, 799 UINT ClearFlags, 800 FLOAT Depth, 801 UINT8 Stencil); 802 803 void (STDMETHODCALLTYPE *GenerateMips)( 804 ID3D11DeviceContext1* This, 805 ID3D11ShaderResourceView *pShaderResourceView); 806 807 void (STDMETHODCALLTYPE *SetResourceMinLOD)( 808 ID3D11DeviceContext1* This, 809 ID3D11Resource *pResource, 810 FLOAT MinLOD); 811 812 FLOAT (STDMETHODCALLTYPE *GetResourceMinLOD)( 813 ID3D11DeviceContext1* This, 814 ID3D11Resource *pResource); 815 816 void (STDMETHODCALLTYPE *ResolveSubresource)( 817 ID3D11DeviceContext1* This, 818 ID3D11Resource *pDstResource, 819 UINT DstSubresource, 820 ID3D11Resource *pSrcResource, 821 UINT SrcSubresource, 822 DXGI_FORMAT Format); 823 824 void (STDMETHODCALLTYPE *ExecuteCommandList)( 825 ID3D11DeviceContext1* This, 826 ID3D11CommandList *pCommandList, 827 WINBOOL RestoreContextState); 828 829 void (STDMETHODCALLTYPE *HSSetShaderResources)( 830 ID3D11DeviceContext1* This, 831 UINT StartSlot, 832 UINT NumViews, 833 ID3D11ShaderResourceView *const *ppShaderResourceViews); 834 835 void (STDMETHODCALLTYPE *HSSetShader)( 836 ID3D11DeviceContext1* This, 837 ID3D11HullShader *pHullShader, 838 ID3D11ClassInstance *const *ppClassInstances, 839 UINT NumClassInstances); 840 841 void (STDMETHODCALLTYPE *HSSetSamplers)( 842 ID3D11DeviceContext1* This, 843 UINT StartSlot, 844 UINT NumSamplers, 845 ID3D11SamplerState *const *ppSamplers); 846 847 void (STDMETHODCALLTYPE *HSSetConstantBuffers)( 848 ID3D11DeviceContext1* This, 849 UINT StartSlot, 850 UINT NumBuffers, 851 ID3D11Buffer *const *ppConstantBuffers); 852 853 void (STDMETHODCALLTYPE *DSSetShaderResources)( 854 ID3D11DeviceContext1* This, 855 UINT StartSlot, 856 UINT NumViews, 857 ID3D11ShaderResourceView *const *ppShaderResourceViews); 858 859 void (STDMETHODCALLTYPE *DSSetShader)( 860 ID3D11DeviceContext1* This, 861 ID3D11DomainShader *pDomainShader, 862 ID3D11ClassInstance *const *ppClassInstances, 863 UINT NumClassInstances); 864 865 void (STDMETHODCALLTYPE *DSSetSamplers)( 866 ID3D11DeviceContext1* This, 867 UINT StartSlot, 868 UINT NumSamplers, 869 ID3D11SamplerState *const *ppSamplers); 870 871 void (STDMETHODCALLTYPE *DSSetConstantBuffers)( 872 ID3D11DeviceContext1* This, 873 UINT StartSlot, 874 UINT NumBuffers, 875 ID3D11Buffer *const *ppConstantBuffers); 876 877 void (STDMETHODCALLTYPE *CSSetShaderResources)( 878 ID3D11DeviceContext1* This, 879 UINT StartSlot, 880 UINT NumViews, 881 ID3D11ShaderResourceView *const *ppShaderResourceViews); 882 883 void (STDMETHODCALLTYPE *CSSetUnorderedAccessViews)( 884 ID3D11DeviceContext1* This, 885 UINT StartSlot, 886 UINT NumUAVs, 887 ID3D11UnorderedAccessView *const *ppUnorderedAccessViews, 888 const UINT *pUAVInitialCounts); 889 890 void (STDMETHODCALLTYPE *CSSetShader)( 891 ID3D11DeviceContext1* This, 892 ID3D11ComputeShader *pComputeShader, 893 ID3D11ClassInstance *const *ppClassInstances, 894 UINT NumClassInstances); 895 896 void (STDMETHODCALLTYPE *CSSetSamplers)( 897 ID3D11DeviceContext1* This, 898 UINT StartSlot, 899 UINT NumSamplers, 900 ID3D11SamplerState *const *ppSamplers); 901 902 void (STDMETHODCALLTYPE *CSSetConstantBuffers)( 903 ID3D11DeviceContext1* This, 904 UINT StartSlot, 905 UINT NumBuffers, 906 ID3D11Buffer *const *ppConstantBuffers); 907 908 void (STDMETHODCALLTYPE *VSGetConstantBuffers)( 909 ID3D11DeviceContext1* This, 910 UINT StartSlot, 911 UINT NumBuffers, 912 ID3D11Buffer **ppConstantBuffers); 913 914 void (STDMETHODCALLTYPE *PSGetShaderResources)( 915 ID3D11DeviceContext1* This, 916 UINT StartSlot, 917 UINT NumViews, 918 ID3D11ShaderResourceView **ppShaderResourceViews); 919 920 void (STDMETHODCALLTYPE *PSGetShader)( 921 ID3D11DeviceContext1* This, 922 ID3D11PixelShader **ppPixelShader, 923 ID3D11ClassInstance **ppClassInstances, 924 UINT *pNumClassInstances); 925 926 void (STDMETHODCALLTYPE *PSGetSamplers)( 927 ID3D11DeviceContext1* This, 928 UINT StartSlot, 929 UINT NumSamplers, 930 ID3D11SamplerState **ppSamplers); 931 932 void (STDMETHODCALLTYPE *VSGetShader)( 933 ID3D11DeviceContext1* This, 934 ID3D11VertexShader **ppVertexShader, 935 ID3D11ClassInstance **ppClassInstances, 936 UINT *pNumClassInstances); 937 938 void (STDMETHODCALLTYPE *PSGetConstantBuffers)( 939 ID3D11DeviceContext1* This, 940 UINT StartSlot, 941 UINT NumBuffers, 942 ID3D11Buffer **ppConstantBuffers); 943 944 void (STDMETHODCALLTYPE *IAGetInputLayout)( 945 ID3D11DeviceContext1* This, 946 ID3D11InputLayout **ppInputLayout); 947 948 void (STDMETHODCALLTYPE *IAGetVertexBuffers)( 949 ID3D11DeviceContext1* This, 950 UINT StartSlot, 951 UINT NumBuffers, 952 ID3D11Buffer **ppVertexBuffers, 953 UINT *pStrides, 954 UINT *pOffsets); 955 956 void (STDMETHODCALLTYPE *IAGetIndexBuffer)( 957 ID3D11DeviceContext1* This, 958 ID3D11Buffer **pIndexBuffer, 959 DXGI_FORMAT *Format, 960 UINT *Offset); 961 962 void (STDMETHODCALLTYPE *GSGetConstantBuffers)( 963 ID3D11DeviceContext1* This, 964 UINT StartSlot, 965 UINT NumBuffers, 966 ID3D11Buffer **ppConstantBuffers); 967 968 void (STDMETHODCALLTYPE *GSGetShader)( 969 ID3D11DeviceContext1* This, 970 ID3D11GeometryShader **ppGeometryShader, 971 ID3D11ClassInstance **ppClassInstances, 972 UINT *pNumClassInstances); 973 974 void (STDMETHODCALLTYPE *IAGetPrimitiveTopology)( 975 ID3D11DeviceContext1* This, 976 D3D11_PRIMITIVE_TOPOLOGY *pTopology); 977 978 void (STDMETHODCALLTYPE *VSGetShaderResources)( 979 ID3D11DeviceContext1* This, 980 UINT StartSlot, 981 UINT NumViews, 982 ID3D11ShaderResourceView **ppShaderResourceViews); 983 984 void (STDMETHODCALLTYPE *VSGetSamplers)( 985 ID3D11DeviceContext1* This, 986 UINT StartSlot, 987 UINT NumSamplers, 988 ID3D11SamplerState **ppSamplers); 989 990 void (STDMETHODCALLTYPE *GetPredication)( 991 ID3D11DeviceContext1* This, 992 ID3D11Predicate **ppPredicate, 993 WINBOOL *pPredicateValue); 994 995 void (STDMETHODCALLTYPE *GSGetShaderResources)( 996 ID3D11DeviceContext1* This, 997 UINT StartSlot, 998 UINT NumViews, 999 ID3D11ShaderResourceView **ppShaderResourceViews); 1000 1001 void (STDMETHODCALLTYPE *GSGetSamplers)( 1002 ID3D11DeviceContext1* This, 1003 UINT StartSlot, 1004 UINT NumSamplers, 1005 ID3D11SamplerState **ppSamplers); 1006 1007 void (STDMETHODCALLTYPE *OMGetRenderTargets)( 1008 ID3D11DeviceContext1* This, 1009 UINT NumViews, 1010 ID3D11RenderTargetView **ppRenderTargetViews, 1011 ID3D11DepthStencilView **ppDepthStencilView); 1012 1013 void (STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews)( 1014 ID3D11DeviceContext1* This, 1015 UINT NumRTVs, 1016 ID3D11RenderTargetView **ppRenderTargetViews, 1017 ID3D11DepthStencilView **ppDepthStencilView, 1018 UINT UAVStartSlot, 1019 UINT NumUAVs, 1020 ID3D11UnorderedAccessView **ppUnorderedAccessViews); 1021 1022 void (STDMETHODCALLTYPE *OMGetBlendState)( 1023 ID3D11DeviceContext1* This, 1024 ID3D11BlendState **ppBlendState, 1025 FLOAT BlendFactor[4], 1026 UINT *pSampleMask); 1027 1028 void (STDMETHODCALLTYPE *OMGetDepthStencilState)( 1029 ID3D11DeviceContext1* This, 1030 ID3D11DepthStencilState **ppDepthStencilState, 1031 UINT *pStencilRef); 1032 1033 void (STDMETHODCALLTYPE *SOGetTargets)( 1034 ID3D11DeviceContext1* This, 1035 UINT NumBuffers, 1036 ID3D11Buffer **ppSOTargets); 1037 1038 void (STDMETHODCALLTYPE *RSGetState)( 1039 ID3D11DeviceContext1* This, 1040 ID3D11RasterizerState **ppRasterizerState); 1041 1042 void (STDMETHODCALLTYPE *RSGetViewports)( 1043 ID3D11DeviceContext1* This, 1044 UINT *pNumViewports, 1045 D3D11_VIEWPORT *pViewports); 1046 1047 void (STDMETHODCALLTYPE *RSGetScissorRects)( 1048 ID3D11DeviceContext1* This, 1049 UINT *pNumRects, 1050 D3D11_RECT *pRects); 1051 1052 void (STDMETHODCALLTYPE *HSGetShaderResources)( 1053 ID3D11DeviceContext1* This, 1054 UINT StartSlot, 1055 UINT NumViews, 1056 ID3D11ShaderResourceView **ppShaderResourceViews); 1057 1058 void (STDMETHODCALLTYPE *HSGetShader)( 1059 ID3D11DeviceContext1* This, 1060 ID3D11HullShader **ppHullShader, 1061 ID3D11ClassInstance **ppClassInstances, 1062 UINT *pNumClassInstances); 1063 1064 void (STDMETHODCALLTYPE *HSGetSamplers)( 1065 ID3D11DeviceContext1* This, 1066 UINT StartSlot, 1067 UINT NumSamplers, 1068 ID3D11SamplerState **ppSamplers); 1069 1070 void (STDMETHODCALLTYPE *HSGetConstantBuffers)( 1071 ID3D11DeviceContext1* This, 1072 UINT StartSlot, 1073 UINT NumBuffers, 1074 ID3D11Buffer **ppConstantBuffers); 1075 1076 void (STDMETHODCALLTYPE *DSGetShaderResources)( 1077 ID3D11DeviceContext1* This, 1078 UINT StartSlot, 1079 UINT NumViews, 1080 ID3D11ShaderResourceView **ppShaderResourceViews); 1081 1082 void (STDMETHODCALLTYPE *DSGetShader)( 1083 ID3D11DeviceContext1* This, 1084 ID3D11DomainShader **ppDomainShader, 1085 ID3D11ClassInstance **ppClassInstances, 1086 UINT *pNumClassInstances); 1087 1088 void (STDMETHODCALLTYPE *DSGetSamplers)( 1089 ID3D11DeviceContext1* This, 1090 UINT StartSlot, 1091 UINT NumSamplers, 1092 ID3D11SamplerState **ppSamplers); 1093 1094 void (STDMETHODCALLTYPE *DSGetConstantBuffers)( 1095 ID3D11DeviceContext1* This, 1096 UINT StartSlot, 1097 UINT NumBuffers, 1098 ID3D11Buffer **ppConstantBuffers); 1099 1100 void (STDMETHODCALLTYPE *CSGetShaderResources)( 1101 ID3D11DeviceContext1* This, 1102 UINT StartSlot, 1103 UINT NumViews, 1104 ID3D11ShaderResourceView **ppShaderResourceViews); 1105 1106 void (STDMETHODCALLTYPE *CSGetUnorderedAccessViews)( 1107 ID3D11DeviceContext1* This, 1108 UINT StartSlot, 1109 UINT NumUAVs, 1110 ID3D11UnorderedAccessView **ppUnorderedAccessViews); 1111 1112 void (STDMETHODCALLTYPE *CSGetShader)( 1113 ID3D11DeviceContext1* This, 1114 ID3D11ComputeShader **ppComputeShader, 1115 ID3D11ClassInstance **ppClassInstances, 1116 UINT *pNumClassInstances); 1117 1118 void (STDMETHODCALLTYPE *CSGetSamplers)( 1119 ID3D11DeviceContext1* This, 1120 UINT StartSlot, 1121 UINT NumSamplers, 1122 ID3D11SamplerState **ppSamplers); 1123 1124 void (STDMETHODCALLTYPE *CSGetConstantBuffers)( 1125 ID3D11DeviceContext1* This, 1126 UINT StartSlot, 1127 UINT NumBuffers, 1128 ID3D11Buffer **ppConstantBuffers); 1129 1130 void (STDMETHODCALLTYPE *ClearState)( 1131 ID3D11DeviceContext1* This); 1132 1133 void (STDMETHODCALLTYPE *Flush)( 1134 ID3D11DeviceContext1* This); 1135 1136 D3D11_DEVICE_CONTEXT_TYPE (STDMETHODCALLTYPE *GetType)( 1137 ID3D11DeviceContext1* This); 1138 1139 UINT (STDMETHODCALLTYPE *GetContextFlags)( 1140 ID3D11DeviceContext1* This); 1141 1142 HRESULT (STDMETHODCALLTYPE *FinishCommandList)( 1143 ID3D11DeviceContext1* This, 1144 WINBOOL RestoreDeferredContextState, 1145 ID3D11CommandList **ppCommandList); 1146 1147 /*** ID3D11DeviceContext1 methods ***/ 1148 void (STDMETHODCALLTYPE *CopySubresourceRegion1)( 1149 ID3D11DeviceContext1* This, 1150 ID3D11Resource *pDstResource, 1151 UINT DstSubresource, 1152 UINT DstX, 1153 UINT DstY, 1154 UINT DstZ, 1155 ID3D11Resource *pSrcResource, 1156 UINT SrcSubresource, 1157 const D3D11_BOX *pSrcBox, 1158 UINT CopyFlags); 1159 1160 void (STDMETHODCALLTYPE *UpdateSubresource1)( 1161 ID3D11DeviceContext1* This, 1162 ID3D11Resource *pDstResource, 1163 UINT DstSubresource, 1164 const D3D11_BOX *pDstBox, 1165 const void *pSrcData, 1166 UINT SrcRowPitch, 1167 UINT SrcDepthPitch, 1168 UINT CopyFlags); 1169 1170 void (STDMETHODCALLTYPE *DiscardResource)( 1171 ID3D11DeviceContext1* This, 1172 ID3D11Resource *pResource); 1173 1174 void (STDMETHODCALLTYPE *DiscardView)( 1175 ID3D11DeviceContext1* This, 1176 ID3D11View *pResourceView); 1177 1178 void (STDMETHODCALLTYPE *VSSetConstantBuffers1)( 1179 ID3D11DeviceContext1* This, 1180 UINT StartSlot, 1181 UINT NumBuffers, 1182 ID3D11Buffer *const *ppConstantBuffers, 1183 const UINT *pFirstConstant, 1184 const UINT *pNumConstants); 1185 1186 void (STDMETHODCALLTYPE *HSSetConstantBuffers1)( 1187 ID3D11DeviceContext1* This, 1188 UINT StartSlot, 1189 UINT NumBuffers, 1190 ID3D11Buffer *const *ppConstantBuffers, 1191 const UINT *pFirstConstant, 1192 const UINT *pNumConstants); 1193 1194 void (STDMETHODCALLTYPE *DSSetConstantBuffers1)( 1195 ID3D11DeviceContext1* This, 1196 UINT StartSlot, 1197 UINT NumBuffers, 1198 ID3D11Buffer *const *ppConstantBuffers, 1199 const UINT *pFirstConstant, 1200 const UINT *pNumConstants); 1201 1202 void (STDMETHODCALLTYPE *GSSetConstantBuffers1)( 1203 ID3D11DeviceContext1* This, 1204 UINT StartSlot, 1205 UINT NumBuffers, 1206 ID3D11Buffer *const *ppConstantBuffers, 1207 const UINT *pFirstConstant, 1208 const UINT *pNumConstants); 1209 1210 void (STDMETHODCALLTYPE *PSSetConstantBuffers1)( 1211 ID3D11DeviceContext1* This, 1212 UINT StartSlot, 1213 UINT NumBuffers, 1214 ID3D11Buffer *const *ppConstantBuffers, 1215 const UINT *pFirstConstant, 1216 const UINT *pNumConstants); 1217 1218 void (STDMETHODCALLTYPE *CSSetConstantBuffers1)( 1219 ID3D11DeviceContext1* This, 1220 UINT StartSlot, 1221 UINT NumBuffers, 1222 ID3D11Buffer *const *ppConstantBuffers, 1223 const UINT *pFirstConstant, 1224 const UINT *pNumConstants); 1225 1226 void (STDMETHODCALLTYPE *VSGetConstantBuffers1)( 1227 ID3D11DeviceContext1* This, 1228 UINT StartSlot, 1229 UINT NumBuffers, 1230 ID3D11Buffer **ppConstantBuffers, 1231 UINT *pFirstConstant, 1232 UINT *pNumConstants); 1233 1234 void (STDMETHODCALLTYPE *HSGetConstantBuffers1)( 1235 ID3D11DeviceContext1* This, 1236 UINT StartSlot, 1237 UINT NumBuffers, 1238 ID3D11Buffer **ppConstantBuffers, 1239 UINT *pFirstConstant, 1240 UINT *pNumConstants); 1241 1242 void (STDMETHODCALLTYPE *DSGetConstantBuffers1)( 1243 ID3D11DeviceContext1* This, 1244 UINT StartSlot, 1245 UINT NumBuffers, 1246 ID3D11Buffer **ppConstantBuffers, 1247 UINT *pFirstConstant, 1248 UINT *pNumConstants); 1249 1250 void (STDMETHODCALLTYPE *GSGetConstantBuffers1)( 1251 ID3D11DeviceContext1* This, 1252 UINT StartSlot, 1253 UINT NumBuffers, 1254 ID3D11Buffer **ppConstantBuffers, 1255 UINT *pFirstConstant, 1256 UINT *pNumConstants); 1257 1258 void (STDMETHODCALLTYPE *PSGetConstantBuffers1)( 1259 ID3D11DeviceContext1* This, 1260 UINT StartSlot, 1261 UINT NumBuffers, 1262 ID3D11Buffer **ppConstantBuffers, 1263 UINT *pFirstConstant, 1264 UINT *pNumConstants); 1265 1266 void (STDMETHODCALLTYPE *CSGetConstantBuffers1)( 1267 ID3D11DeviceContext1* This, 1268 UINT StartSlot, 1269 UINT NumBuffers, 1270 ID3D11Buffer **ppConstantBuffers, 1271 UINT *pFirstConstant, 1272 UINT *pNumConstants); 1273 1274 void (STDMETHODCALLTYPE *SwapDeviceContextState)( 1275 ID3D11DeviceContext1* This, 1276 ID3DDeviceContextState *pState, 1277 ID3DDeviceContextState **ppPreviousState); 1278 1279 void (STDMETHODCALLTYPE *ClearView)( 1280 ID3D11DeviceContext1* This, 1281 ID3D11View *pView, 1282 const FLOAT Color[4], 1283 const D3D11_RECT *pRect, 1284 UINT NumRects); 1285 1286 void (STDMETHODCALLTYPE *DiscardView1)( 1287 ID3D11DeviceContext1* This, 1288 ID3D11View *pResourceView, 1289 const D3D11_RECT *pRects, 1290 UINT NumRects); 1291 1292 END_INTERFACE 1293 } ID3D11DeviceContext1Vtbl; 1294 interface ID3D11DeviceContext1 { 1295 CONST_VTBL ID3D11DeviceContext1Vtbl* lpVtbl; 1296 }; 1297 1298 #ifdef COBJMACROS 1299 #ifndef WIDL_C_INLINE_WRAPPERS 1300 /*** IUnknown methods ***/ 1301 #define ID3D11DeviceContext1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1302 #define ID3D11DeviceContext1_AddRef(This) (This)->lpVtbl->AddRef(This) 1303 #define ID3D11DeviceContext1_Release(This) (This)->lpVtbl->Release(This) 1304 /*** ID3D11DeviceChild methods ***/ 1305 #define ID3D11DeviceContext1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) 1306 #define ID3D11DeviceContext1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) 1307 #define ID3D11DeviceContext1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) 1308 #define ID3D11DeviceContext1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) 1309 /*** ID3D11DeviceContext methods ***/ 1310 #define ID3D11DeviceContext1_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) 1311 #define ID3D11DeviceContext1_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) 1312 #define ID3D11DeviceContext1_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) 1313 #define ID3D11DeviceContext1_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) 1314 #define ID3D11DeviceContext1_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) 1315 #define ID3D11DeviceContext1_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) (This)->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) 1316 #define ID3D11DeviceContext1_Draw(This,VertexCount,StartVertexLocation) (This)->lpVtbl->Draw(This,VertexCount,StartVertexLocation) 1317 #define ID3D11DeviceContext1_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) (This)->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) 1318 #define ID3D11DeviceContext1_Unmap(This,pResource,Subresource) (This)->lpVtbl->Unmap(This,pResource,Subresource) 1319 #define ID3D11DeviceContext1_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) 1320 #define ID3D11DeviceContext1_IASetInputLayout(This,pInputLayout) (This)->lpVtbl->IASetInputLayout(This,pInputLayout) 1321 #define ID3D11DeviceContext1_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) 1322 #define ID3D11DeviceContext1_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset) 1323 #define ID3D11DeviceContext1_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) 1324 #define ID3D11DeviceContext1_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) 1325 #define ID3D11DeviceContext1_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) 1326 #define ID3D11DeviceContext1_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances) 1327 #define ID3D11DeviceContext1_IASetPrimitiveTopology(This,Topology) (This)->lpVtbl->IASetPrimitiveTopology(This,Topology) 1328 #define ID3D11DeviceContext1_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) 1329 #define ID3D11DeviceContext1_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) 1330 #define ID3D11DeviceContext1_Begin(This,pAsync) (This)->lpVtbl->Begin(This,pAsync) 1331 #define ID3D11DeviceContext1_End(This,pAsync) (This)->lpVtbl->End(This,pAsync) 1332 #define ID3D11DeviceContext1_GetData(This,pAsync,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags) 1333 #define ID3D11DeviceContext1_SetPredication(This,pPredicate,PredicateValue) (This)->lpVtbl->SetPredication(This,pPredicate,PredicateValue) 1334 #define ID3D11DeviceContext1_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) 1335 #define ID3D11DeviceContext1_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) 1336 #define ID3D11DeviceContext1_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) (This)->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) 1337 #define ID3D11DeviceContext1_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) 1338 #define ID3D11DeviceContext1_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) (This)->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) 1339 #define ID3D11DeviceContext1_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) (This)->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef) 1340 #define ID3D11DeviceContext1_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) 1341 #define ID3D11DeviceContext1_DrawAuto(This) (This)->lpVtbl->DrawAuto(This) 1342 #define ID3D11DeviceContext1_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) 1343 #define ID3D11DeviceContext1_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) 1344 #define ID3D11DeviceContext1_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) (This)->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) 1345 #define ID3D11DeviceContext1_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) (This)->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) 1346 #define ID3D11DeviceContext1_RSSetState(This,pRasterizerState) (This)->lpVtbl->RSSetState(This,pRasterizerState) 1347 #define ID3D11DeviceContext1_RSSetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSSetViewports(This,NumViewports,pViewports) 1348 #define ID3D11DeviceContext1_RSSetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSSetScissorRects(This,NumRects,pRects) 1349 #define ID3D11DeviceContext1_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) (This)->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) 1350 #define ID3D11DeviceContext1_CopyResource(This,pDstResource,pSrcResource) (This)->lpVtbl->CopyResource(This,pDstResource,pSrcResource) 1351 #define ID3D11DeviceContext1_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) (This)->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) 1352 #define ID3D11DeviceContext1_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) (This)->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) 1353 #define ID3D11DeviceContext1_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) (This)->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) 1354 #define ID3D11DeviceContext1_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) 1355 #define ID3D11DeviceContext1_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) (This)->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) 1356 #define ID3D11DeviceContext1_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) (This)->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) 1357 #define ID3D11DeviceContext1_GenerateMips(This,pShaderResourceView) (This)->lpVtbl->GenerateMips(This,pShaderResourceView) 1358 #define ID3D11DeviceContext1_SetResourceMinLOD(This,pResource,MinLOD) (This)->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD) 1359 #define ID3D11DeviceContext1_GetResourceMinLOD(This,pResource) (This)->lpVtbl->GetResourceMinLOD(This,pResource) 1360 #define ID3D11DeviceContext1_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) (This)->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) 1361 #define ID3D11DeviceContext1_ExecuteCommandList(This,pCommandList,RestoreContextState) (This)->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState) 1362 #define ID3D11DeviceContext1_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) 1363 #define ID3D11DeviceContext1_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) 1364 #define ID3D11DeviceContext1_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) 1365 #define ID3D11DeviceContext1_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) 1366 #define ID3D11DeviceContext1_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) 1367 #define ID3D11DeviceContext1_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) 1368 #define ID3D11DeviceContext1_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) 1369 #define ID3D11DeviceContext1_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) 1370 #define ID3D11DeviceContext1_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) 1371 #define ID3D11DeviceContext1_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) (This)->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) 1372 #define ID3D11DeviceContext1_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) (This)->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) 1373 #define ID3D11DeviceContext1_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) 1374 #define ID3D11DeviceContext1_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) 1375 #define ID3D11DeviceContext1_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) 1376 #define ID3D11DeviceContext1_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) 1377 #define ID3D11DeviceContext1_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) 1378 #define ID3D11DeviceContext1_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) 1379 #define ID3D11DeviceContext1_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) 1380 #define ID3D11DeviceContext1_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) 1381 #define ID3D11DeviceContext1_IAGetInputLayout(This,ppInputLayout) (This)->lpVtbl->IAGetInputLayout(This,ppInputLayout) 1382 #define ID3D11DeviceContext1_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) 1383 #define ID3D11DeviceContext1_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) 1384 #define ID3D11DeviceContext1_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) 1385 #define ID3D11DeviceContext1_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) 1386 #define ID3D11DeviceContext1_IAGetPrimitiveTopology(This,pTopology) (This)->lpVtbl->IAGetPrimitiveTopology(This,pTopology) 1387 #define ID3D11DeviceContext1_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) 1388 #define ID3D11DeviceContext1_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) 1389 #define ID3D11DeviceContext1_GetPredication(This,ppPredicate,pPredicateValue) (This)->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue) 1390 #define ID3D11DeviceContext1_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) 1391 #define ID3D11DeviceContext1_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) 1392 #define ID3D11DeviceContext1_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) (This)->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) 1393 #define ID3D11DeviceContext1_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) 1394 #define ID3D11DeviceContext1_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) (This)->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) 1395 #define ID3D11DeviceContext1_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) (This)->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) 1396 #define ID3D11DeviceContext1_SOGetTargets(This,NumBuffers,ppSOTargets) (This)->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets) 1397 #define ID3D11DeviceContext1_RSGetState(This,ppRasterizerState) (This)->lpVtbl->RSGetState(This,ppRasterizerState) 1398 #define ID3D11DeviceContext1_RSGetViewports(This,pNumViewports,pViewports) (This)->lpVtbl->RSGetViewports(This,pNumViewports,pViewports) 1399 #define ID3D11DeviceContext1_RSGetScissorRects(This,pNumRects,pRects) (This)->lpVtbl->RSGetScissorRects(This,pNumRects,pRects) 1400 #define ID3D11DeviceContext1_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) 1401 #define ID3D11DeviceContext1_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) 1402 #define ID3D11DeviceContext1_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) 1403 #define ID3D11DeviceContext1_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) 1404 #define ID3D11DeviceContext1_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) 1405 #define ID3D11DeviceContext1_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) 1406 #define ID3D11DeviceContext1_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) 1407 #define ID3D11DeviceContext1_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) 1408 #define ID3D11DeviceContext1_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) 1409 #define ID3D11DeviceContext1_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) (This)->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) 1410 #define ID3D11DeviceContext1_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) (This)->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) 1411 #define ID3D11DeviceContext1_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) 1412 #define ID3D11DeviceContext1_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) 1413 #define ID3D11DeviceContext1_ClearState(This) (This)->lpVtbl->ClearState(This) 1414 #define ID3D11DeviceContext1_Flush(This) (This)->lpVtbl->Flush(This) 1415 #define ID3D11DeviceContext1_GetType(This) (This)->lpVtbl->GetType(This) 1416 #define ID3D11DeviceContext1_GetContextFlags(This) (This)->lpVtbl->GetContextFlags(This) 1417 #define ID3D11DeviceContext1_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) (This)->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList) 1418 /*** ID3D11DeviceContext1 methods ***/ 1419 #define ID3D11DeviceContext1_CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) (This)->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) 1420 #define ID3D11DeviceContext1_UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) (This)->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) 1421 #define ID3D11DeviceContext1_DiscardResource(This,pResource) (This)->lpVtbl->DiscardResource(This,pResource) 1422 #define ID3D11DeviceContext1_DiscardView(This,pResourceView) (This)->lpVtbl->DiscardView(This,pResourceView) 1423 #define ID3D11DeviceContext1_VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) 1424 #define ID3D11DeviceContext1_HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) 1425 #define ID3D11DeviceContext1_DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) 1426 #define ID3D11DeviceContext1_GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) 1427 #define ID3D11DeviceContext1_PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) 1428 #define ID3D11DeviceContext1_CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) 1429 #define ID3D11DeviceContext1_VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) 1430 #define ID3D11DeviceContext1_HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) 1431 #define ID3D11DeviceContext1_DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) 1432 #define ID3D11DeviceContext1_GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) 1433 #define ID3D11DeviceContext1_PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) 1434 #define ID3D11DeviceContext1_CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) (This)->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) 1435 #define ID3D11DeviceContext1_SwapDeviceContextState(This,pState,ppPreviousState) (This)->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState) 1436 #define ID3D11DeviceContext1_ClearView(This,pView,Color,pRect,NumRects) (This)->lpVtbl->ClearView(This,pView,Color,pRect,NumRects) 1437 #define ID3D11DeviceContext1_DiscardView1(This,pResourceView,pRects,NumRects) (This)->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects) 1438 #else 1439 /*** IUnknown methods ***/ 1440 static FORCEINLINE HRESULT ID3D11DeviceContext1_QueryInterface(ID3D11DeviceContext1* This,REFIID riid,void **ppvObject) { 1441 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 1442 } 1443 static FORCEINLINE ULONG ID3D11DeviceContext1_AddRef(ID3D11DeviceContext1* This) { 1444 return This->lpVtbl->AddRef(This); 1445 } 1446 static FORCEINLINE ULONG ID3D11DeviceContext1_Release(ID3D11DeviceContext1* This) { 1447 return This->lpVtbl->Release(This); 1448 } 1449 /*** ID3D11DeviceChild methods ***/ 1450 static FORCEINLINE void ID3D11DeviceContext1_GetDevice(ID3D11DeviceContext1* This,ID3D11Device **ppDevice) { 1451 This->lpVtbl->GetDevice(This,ppDevice); 1452 } 1453 static FORCEINLINE HRESULT ID3D11DeviceContext1_GetPrivateData(ID3D11DeviceContext1* This,REFGUID guid,UINT *pDataSize,void *pData) { 1454 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); 1455 } 1456 static FORCEINLINE HRESULT ID3D11DeviceContext1_SetPrivateData(ID3D11DeviceContext1* This,REFGUID guid,UINT DataSize,const void *pData) { 1457 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); 1458 } 1459 static FORCEINLINE HRESULT ID3D11DeviceContext1_SetPrivateDataInterface(ID3D11DeviceContext1* This,REFGUID guid,const IUnknown *pData) { 1460 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); 1461 } 1462 /*** ID3D11DeviceContext methods ***/ 1463 static FORCEINLINE void ID3D11DeviceContext1_VSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { 1464 This->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); 1465 } 1466 static FORCEINLINE void ID3D11DeviceContext1_PSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { 1467 This->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); 1468 } 1469 static FORCEINLINE void ID3D11DeviceContext1_PSSetShader(ID3D11DeviceContext1* This,ID3D11PixelShader *pPixelShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { 1470 This->lpVtbl->PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances); 1471 } 1472 static FORCEINLINE void ID3D11DeviceContext1_PSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { 1473 This->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); 1474 } 1475 static FORCEINLINE void ID3D11DeviceContext1_VSSetShader(ID3D11DeviceContext1* This,ID3D11VertexShader *pVertexShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { 1476 This->lpVtbl->VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances); 1477 } 1478 static FORCEINLINE void ID3D11DeviceContext1_DrawIndexed(ID3D11DeviceContext1* This,UINT IndexCount,UINT StartIndexLocation,INT BaseVertexLocation) { 1479 This->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation); 1480 } 1481 static FORCEINLINE void ID3D11DeviceContext1_Draw(ID3D11DeviceContext1* This,UINT VertexCount,UINT StartVertexLocation) { 1482 This->lpVtbl->Draw(This,VertexCount,StartVertexLocation); 1483 } 1484 static FORCEINLINE HRESULT ID3D11DeviceContext1_Map(ID3D11DeviceContext1* This,ID3D11Resource *pResource,UINT Subresource,D3D11_MAP MapType,UINT MapFlags,D3D11_MAPPED_SUBRESOURCE *pMappedResource) { 1485 return This->lpVtbl->Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource); 1486 } 1487 static FORCEINLINE void ID3D11DeviceContext1_Unmap(ID3D11DeviceContext1* This,ID3D11Resource *pResource,UINT Subresource) { 1488 This->lpVtbl->Unmap(This,pResource,Subresource); 1489 } 1490 static FORCEINLINE void ID3D11DeviceContext1_PSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { 1491 This->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); 1492 } 1493 static FORCEINLINE void ID3D11DeviceContext1_IASetInputLayout(ID3D11DeviceContext1* This,ID3D11InputLayout *pInputLayout) { 1494 This->lpVtbl->IASetInputLayout(This,pInputLayout); 1495 } 1496 static FORCEINLINE void ID3D11DeviceContext1_IASetVertexBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppVertexBuffers,const UINT *pStrides,const UINT *pOffsets) { 1497 This->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); 1498 } 1499 static FORCEINLINE void ID3D11DeviceContext1_IASetIndexBuffer(ID3D11DeviceContext1* This,ID3D11Buffer *pIndexBuffer,DXGI_FORMAT Format,UINT Offset) { 1500 This->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset); 1501 } 1502 static FORCEINLINE void ID3D11DeviceContext1_DrawIndexedInstanced(ID3D11DeviceContext1* This,UINT IndexCountPerInstance,UINT InstanceCount,UINT StartIndexLocation,INT BaseVertexLocation,UINT StartInstanceLocation) { 1503 This->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation); 1504 } 1505 static FORCEINLINE void ID3D11DeviceContext1_DrawInstanced(ID3D11DeviceContext1* This,UINT VertexCountPerInstance,UINT InstanceCount,UINT StartVertexLocation,UINT StartInstanceLocation) { 1506 This->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation); 1507 } 1508 static FORCEINLINE void ID3D11DeviceContext1_GSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { 1509 This->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); 1510 } 1511 static FORCEINLINE void ID3D11DeviceContext1_GSSetShader(ID3D11DeviceContext1* This,ID3D11GeometryShader *pShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { 1512 This->lpVtbl->GSSetShader(This,pShader,ppClassInstances,NumClassInstances); 1513 } 1514 static FORCEINLINE void ID3D11DeviceContext1_IASetPrimitiveTopology(ID3D11DeviceContext1* This,D3D11_PRIMITIVE_TOPOLOGY Topology) { 1515 This->lpVtbl->IASetPrimitiveTopology(This,Topology); 1516 } 1517 static FORCEINLINE void ID3D11DeviceContext1_VSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { 1518 This->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); 1519 } 1520 static FORCEINLINE void ID3D11DeviceContext1_VSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { 1521 This->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); 1522 } 1523 static FORCEINLINE void ID3D11DeviceContext1_Begin(ID3D11DeviceContext1* This,ID3D11Asynchronous *pAsync) { 1524 This->lpVtbl->Begin(This,pAsync); 1525 } 1526 static FORCEINLINE void ID3D11DeviceContext1_End(ID3D11DeviceContext1* This,ID3D11Asynchronous *pAsync) { 1527 This->lpVtbl->End(This,pAsync); 1528 } 1529 static FORCEINLINE HRESULT ID3D11DeviceContext1_GetData(ID3D11DeviceContext1* This,ID3D11Asynchronous *pAsync,void *pData,UINT DataSize,UINT GetDataFlags) { 1530 return This->lpVtbl->GetData(This,pAsync,pData,DataSize,GetDataFlags); 1531 } 1532 static FORCEINLINE void ID3D11DeviceContext1_SetPredication(ID3D11DeviceContext1* This,ID3D11Predicate *pPredicate,WINBOOL PredicateValue) { 1533 This->lpVtbl->SetPredication(This,pPredicate,PredicateValue); 1534 } 1535 static FORCEINLINE void ID3D11DeviceContext1_GSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { 1536 This->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); 1537 } 1538 static FORCEINLINE void ID3D11DeviceContext1_GSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { 1539 This->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); 1540 } 1541 static FORCEINLINE void ID3D11DeviceContext1_OMSetRenderTargets(ID3D11DeviceContext1* This,UINT NumViews,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView) { 1542 This->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView); 1543 } 1544 static FORCEINLINE void ID3D11DeviceContext1_OMSetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext1* This,UINT NumRTVs,ID3D11RenderTargetView *const *ppRenderTargetViews,ID3D11DepthStencilView *pDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) { 1545 This->lpVtbl->OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts); 1546 } 1547 static FORCEINLINE void ID3D11DeviceContext1_OMSetBlendState(ID3D11DeviceContext1* This,ID3D11BlendState *pBlendState,const FLOAT BlendFactor[4],UINT SampleMask) { 1548 This->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask); 1549 } 1550 static FORCEINLINE void ID3D11DeviceContext1_OMSetDepthStencilState(ID3D11DeviceContext1* This,ID3D11DepthStencilState *pDepthStencilState,UINT StencilRef) { 1551 This->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef); 1552 } 1553 static FORCEINLINE void ID3D11DeviceContext1_SOSetTargets(ID3D11DeviceContext1* This,UINT NumBuffers,ID3D11Buffer *const *ppSOTargets,const UINT *pOffsets) { 1554 This->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets); 1555 } 1556 static FORCEINLINE void ID3D11DeviceContext1_DrawAuto(ID3D11DeviceContext1* This) { 1557 This->lpVtbl->DrawAuto(This); 1558 } 1559 static FORCEINLINE void ID3D11DeviceContext1_DrawIndexedInstancedIndirect(ID3D11DeviceContext1* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { 1560 This->lpVtbl->DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); 1561 } 1562 static FORCEINLINE void ID3D11DeviceContext1_DrawInstancedIndirect(ID3D11DeviceContext1* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { 1563 This->lpVtbl->DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); 1564 } 1565 static FORCEINLINE void ID3D11DeviceContext1_Dispatch(ID3D11DeviceContext1* This,UINT ThreadGroupCountX,UINT ThreadGroupCountY,UINT ThreadGroupCountZ) { 1566 This->lpVtbl->Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ); 1567 } 1568 static FORCEINLINE void ID3D11DeviceContext1_DispatchIndirect(ID3D11DeviceContext1* This,ID3D11Buffer *pBufferForArgs,UINT AlignedByteOffsetForArgs) { 1569 This->lpVtbl->DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs); 1570 } 1571 static FORCEINLINE void ID3D11DeviceContext1_RSSetState(ID3D11DeviceContext1* This,ID3D11RasterizerState *pRasterizerState) { 1572 This->lpVtbl->RSSetState(This,pRasterizerState); 1573 } 1574 static FORCEINLINE void ID3D11DeviceContext1_RSSetViewports(ID3D11DeviceContext1* This,UINT NumViewports,const D3D11_VIEWPORT *pViewports) { 1575 This->lpVtbl->RSSetViewports(This,NumViewports,pViewports); 1576 } 1577 static FORCEINLINE void ID3D11DeviceContext1_RSSetScissorRects(ID3D11DeviceContext1* This,UINT NumRects,const D3D11_RECT *pRects) { 1578 This->lpVtbl->RSSetScissorRects(This,NumRects,pRects); 1579 } 1580 static FORCEINLINE void ID3D11DeviceContext1_CopySubresourceRegion(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox) { 1581 This->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox); 1582 } 1583 static FORCEINLINE void ID3D11DeviceContext1_CopyResource(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,ID3D11Resource *pSrcResource) { 1584 This->lpVtbl->CopyResource(This,pDstResource,pSrcResource); 1585 } 1586 static FORCEINLINE void ID3D11DeviceContext1_UpdateSubresource(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch) { 1587 This->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch); 1588 } 1589 static FORCEINLINE void ID3D11DeviceContext1_CopyStructureCount(ID3D11DeviceContext1* This,ID3D11Buffer *pDstBuffer,UINT DstAlignedByteOffset,ID3D11UnorderedAccessView *pSrcView) { 1590 This->lpVtbl->CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView); 1591 } 1592 static FORCEINLINE void ID3D11DeviceContext1_ClearRenderTargetView(ID3D11DeviceContext1* This,ID3D11RenderTargetView *pRenderTargetView,const FLOAT ColorRGBA[4]) { 1593 This->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA); 1594 } 1595 static FORCEINLINE void ID3D11DeviceContext1_ClearUnorderedAccessViewUint(ID3D11DeviceContext1* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const UINT Values[4]) { 1596 This->lpVtbl->ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values); 1597 } 1598 static FORCEINLINE void ID3D11DeviceContext1_ClearUnorderedAccessViewFloat(ID3D11DeviceContext1* This,ID3D11UnorderedAccessView *pUnorderedAccessView,const FLOAT Values[4]) { 1599 This->lpVtbl->ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values); 1600 } 1601 static FORCEINLINE void ID3D11DeviceContext1_ClearDepthStencilView(ID3D11DeviceContext1* This,ID3D11DepthStencilView *pDepthStencilView,UINT ClearFlags,FLOAT Depth,UINT8 Stencil) { 1602 This->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil); 1603 } 1604 static FORCEINLINE void ID3D11DeviceContext1_GenerateMips(ID3D11DeviceContext1* This,ID3D11ShaderResourceView *pShaderResourceView) { 1605 This->lpVtbl->GenerateMips(This,pShaderResourceView); 1606 } 1607 static FORCEINLINE void ID3D11DeviceContext1_SetResourceMinLOD(ID3D11DeviceContext1* This,ID3D11Resource *pResource,FLOAT MinLOD) { 1608 This->lpVtbl->SetResourceMinLOD(This,pResource,MinLOD); 1609 } 1610 static FORCEINLINE FLOAT ID3D11DeviceContext1_GetResourceMinLOD(ID3D11DeviceContext1* This,ID3D11Resource *pResource) { 1611 return This->lpVtbl->GetResourceMinLOD(This,pResource); 1612 } 1613 static FORCEINLINE void ID3D11DeviceContext1_ResolveSubresource(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,ID3D11Resource *pSrcResource,UINT SrcSubresource,DXGI_FORMAT Format) { 1614 This->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format); 1615 } 1616 static FORCEINLINE void ID3D11DeviceContext1_ExecuteCommandList(ID3D11DeviceContext1* This,ID3D11CommandList *pCommandList,WINBOOL RestoreContextState) { 1617 This->lpVtbl->ExecuteCommandList(This,pCommandList,RestoreContextState); 1618 } 1619 static FORCEINLINE void ID3D11DeviceContext1_HSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { 1620 This->lpVtbl->HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); 1621 } 1622 static FORCEINLINE void ID3D11DeviceContext1_HSSetShader(ID3D11DeviceContext1* This,ID3D11HullShader *pHullShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { 1623 This->lpVtbl->HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances); 1624 } 1625 static FORCEINLINE void ID3D11DeviceContext1_HSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { 1626 This->lpVtbl->HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); 1627 } 1628 static FORCEINLINE void ID3D11DeviceContext1_HSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { 1629 This->lpVtbl->HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); 1630 } 1631 static FORCEINLINE void ID3D11DeviceContext1_DSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { 1632 This->lpVtbl->DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); 1633 } 1634 static FORCEINLINE void ID3D11DeviceContext1_DSSetShader(ID3D11DeviceContext1* This,ID3D11DomainShader *pDomainShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { 1635 This->lpVtbl->DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances); 1636 } 1637 static FORCEINLINE void ID3D11DeviceContext1_DSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { 1638 This->lpVtbl->DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); 1639 } 1640 static FORCEINLINE void ID3D11DeviceContext1_DSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { 1641 This->lpVtbl->DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); 1642 } 1643 static FORCEINLINE void ID3D11DeviceContext1_CSSetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView *const *ppShaderResourceViews) { 1644 This->lpVtbl->CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); 1645 } 1646 static FORCEINLINE void ID3D11DeviceContext1_CSSetUnorderedAccessViews(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,const UINT *pUAVInitialCounts) { 1647 This->lpVtbl->CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts); 1648 } 1649 static FORCEINLINE void ID3D11DeviceContext1_CSSetShader(ID3D11DeviceContext1* This,ID3D11ComputeShader *pComputeShader,ID3D11ClassInstance *const *ppClassInstances,UINT NumClassInstances) { 1650 This->lpVtbl->CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances); 1651 } 1652 static FORCEINLINE void ID3D11DeviceContext1_CSSetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState *const *ppSamplers) { 1653 This->lpVtbl->CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers); 1654 } 1655 static FORCEINLINE void ID3D11DeviceContext1_CSSetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers) { 1656 This->lpVtbl->CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); 1657 } 1658 static FORCEINLINE void ID3D11DeviceContext1_VSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { 1659 This->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); 1660 } 1661 static FORCEINLINE void ID3D11DeviceContext1_PSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { 1662 This->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); 1663 } 1664 static FORCEINLINE void ID3D11DeviceContext1_PSGetShader(ID3D11DeviceContext1* This,ID3D11PixelShader **ppPixelShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { 1665 This->lpVtbl->PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances); 1666 } 1667 static FORCEINLINE void ID3D11DeviceContext1_PSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { 1668 This->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); 1669 } 1670 static FORCEINLINE void ID3D11DeviceContext1_VSGetShader(ID3D11DeviceContext1* This,ID3D11VertexShader **ppVertexShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { 1671 This->lpVtbl->VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances); 1672 } 1673 static FORCEINLINE void ID3D11DeviceContext1_PSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { 1674 This->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); 1675 } 1676 static FORCEINLINE void ID3D11DeviceContext1_IAGetInputLayout(ID3D11DeviceContext1* This,ID3D11InputLayout **ppInputLayout) { 1677 This->lpVtbl->IAGetInputLayout(This,ppInputLayout); 1678 } 1679 static FORCEINLINE void ID3D11DeviceContext1_IAGetVertexBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppVertexBuffers,UINT *pStrides,UINT *pOffsets) { 1680 This->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets); 1681 } 1682 static FORCEINLINE void ID3D11DeviceContext1_IAGetIndexBuffer(ID3D11DeviceContext1* This,ID3D11Buffer **pIndexBuffer,DXGI_FORMAT *Format,UINT *Offset) { 1683 This->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset); 1684 } 1685 static FORCEINLINE void ID3D11DeviceContext1_GSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { 1686 This->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); 1687 } 1688 static FORCEINLINE void ID3D11DeviceContext1_GSGetShader(ID3D11DeviceContext1* This,ID3D11GeometryShader **ppGeometryShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { 1689 This->lpVtbl->GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances); 1690 } 1691 static FORCEINLINE void ID3D11DeviceContext1_IAGetPrimitiveTopology(ID3D11DeviceContext1* This,D3D11_PRIMITIVE_TOPOLOGY *pTopology) { 1692 This->lpVtbl->IAGetPrimitiveTopology(This,pTopology); 1693 } 1694 static FORCEINLINE void ID3D11DeviceContext1_VSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { 1695 This->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); 1696 } 1697 static FORCEINLINE void ID3D11DeviceContext1_VSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { 1698 This->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); 1699 } 1700 static FORCEINLINE void ID3D11DeviceContext1_GetPredication(ID3D11DeviceContext1* This,ID3D11Predicate **ppPredicate,WINBOOL *pPredicateValue) { 1701 This->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue); 1702 } 1703 static FORCEINLINE void ID3D11DeviceContext1_GSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { 1704 This->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); 1705 } 1706 static FORCEINLINE void ID3D11DeviceContext1_GSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { 1707 This->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); 1708 } 1709 static FORCEINLINE void ID3D11DeviceContext1_OMGetRenderTargets(ID3D11DeviceContext1* This,UINT NumViews,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView) { 1710 This->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView); 1711 } 1712 static FORCEINLINE void ID3D11DeviceContext1_OMGetRenderTargetsAndUnorderedAccessViews(ID3D11DeviceContext1* This,UINT NumRTVs,ID3D11RenderTargetView **ppRenderTargetViews,ID3D11DepthStencilView **ppDepthStencilView,UINT UAVStartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) { 1713 This->lpVtbl->OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews); 1714 } 1715 static FORCEINLINE void ID3D11DeviceContext1_OMGetBlendState(ID3D11DeviceContext1* This,ID3D11BlendState **ppBlendState,FLOAT BlendFactor[4],UINT *pSampleMask) { 1716 This->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask); 1717 } 1718 static FORCEINLINE void ID3D11DeviceContext1_OMGetDepthStencilState(ID3D11DeviceContext1* This,ID3D11DepthStencilState **ppDepthStencilState,UINT *pStencilRef) { 1719 This->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef); 1720 } 1721 static FORCEINLINE void ID3D11DeviceContext1_SOGetTargets(ID3D11DeviceContext1* This,UINT NumBuffers,ID3D11Buffer **ppSOTargets) { 1722 This->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets); 1723 } 1724 static FORCEINLINE void ID3D11DeviceContext1_RSGetState(ID3D11DeviceContext1* This,ID3D11RasterizerState **ppRasterizerState) { 1725 This->lpVtbl->RSGetState(This,ppRasterizerState); 1726 } 1727 static FORCEINLINE void ID3D11DeviceContext1_RSGetViewports(ID3D11DeviceContext1* This,UINT *pNumViewports,D3D11_VIEWPORT *pViewports) { 1728 This->lpVtbl->RSGetViewports(This,pNumViewports,pViewports); 1729 } 1730 static FORCEINLINE void ID3D11DeviceContext1_RSGetScissorRects(ID3D11DeviceContext1* This,UINT *pNumRects,D3D11_RECT *pRects) { 1731 This->lpVtbl->RSGetScissorRects(This,pNumRects,pRects); 1732 } 1733 static FORCEINLINE void ID3D11DeviceContext1_HSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { 1734 This->lpVtbl->HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); 1735 } 1736 static FORCEINLINE void ID3D11DeviceContext1_HSGetShader(ID3D11DeviceContext1* This,ID3D11HullShader **ppHullShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { 1737 This->lpVtbl->HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances); 1738 } 1739 static FORCEINLINE void ID3D11DeviceContext1_HSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { 1740 This->lpVtbl->HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); 1741 } 1742 static FORCEINLINE void ID3D11DeviceContext1_HSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { 1743 This->lpVtbl->HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); 1744 } 1745 static FORCEINLINE void ID3D11DeviceContext1_DSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { 1746 This->lpVtbl->DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); 1747 } 1748 static FORCEINLINE void ID3D11DeviceContext1_DSGetShader(ID3D11DeviceContext1* This,ID3D11DomainShader **ppDomainShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { 1749 This->lpVtbl->DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances); 1750 } 1751 static FORCEINLINE void ID3D11DeviceContext1_DSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { 1752 This->lpVtbl->DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); 1753 } 1754 static FORCEINLINE void ID3D11DeviceContext1_DSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { 1755 This->lpVtbl->DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); 1756 } 1757 static FORCEINLINE void ID3D11DeviceContext1_CSGetShaderResources(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumViews,ID3D11ShaderResourceView **ppShaderResourceViews) { 1758 This->lpVtbl->CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews); 1759 } 1760 static FORCEINLINE void ID3D11DeviceContext1_CSGetUnorderedAccessViews(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumUAVs,ID3D11UnorderedAccessView **ppUnorderedAccessViews) { 1761 This->lpVtbl->CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews); 1762 } 1763 static FORCEINLINE void ID3D11DeviceContext1_CSGetShader(ID3D11DeviceContext1* This,ID3D11ComputeShader **ppComputeShader,ID3D11ClassInstance **ppClassInstances,UINT *pNumClassInstances) { 1764 This->lpVtbl->CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances); 1765 } 1766 static FORCEINLINE void ID3D11DeviceContext1_CSGetSamplers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumSamplers,ID3D11SamplerState **ppSamplers) { 1767 This->lpVtbl->CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers); 1768 } 1769 static FORCEINLINE void ID3D11DeviceContext1_CSGetConstantBuffers(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers) { 1770 This->lpVtbl->CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers); 1771 } 1772 static FORCEINLINE void ID3D11DeviceContext1_ClearState(ID3D11DeviceContext1* This) { 1773 This->lpVtbl->ClearState(This); 1774 } 1775 static FORCEINLINE void ID3D11DeviceContext1_Flush(ID3D11DeviceContext1* This) { 1776 This->lpVtbl->Flush(This); 1777 } 1778 static FORCEINLINE D3D11_DEVICE_CONTEXT_TYPE ID3D11DeviceContext1_GetType(ID3D11DeviceContext1* This) { 1779 return This->lpVtbl->GetType(This); 1780 } 1781 static FORCEINLINE UINT ID3D11DeviceContext1_GetContextFlags(ID3D11DeviceContext1* This) { 1782 return This->lpVtbl->GetContextFlags(This); 1783 } 1784 static FORCEINLINE HRESULT ID3D11DeviceContext1_FinishCommandList(ID3D11DeviceContext1* This,WINBOOL RestoreDeferredContextState,ID3D11CommandList **ppCommandList) { 1785 return This->lpVtbl->FinishCommandList(This,RestoreDeferredContextState,ppCommandList); 1786 } 1787 /*** ID3D11DeviceContext1 methods ***/ 1788 static FORCEINLINE void ID3D11DeviceContext1_CopySubresourceRegion1(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D11Resource *pSrcResource,UINT SrcSubresource,const D3D11_BOX *pSrcBox,UINT CopyFlags) { 1789 This->lpVtbl->CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags); 1790 } 1791 static FORCEINLINE void ID3D11DeviceContext1_UpdateSubresource1(ID3D11DeviceContext1* This,ID3D11Resource *pDstResource,UINT DstSubresource,const D3D11_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch,UINT CopyFlags) { 1792 This->lpVtbl->UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags); 1793 } 1794 static FORCEINLINE void ID3D11DeviceContext1_DiscardResource(ID3D11DeviceContext1* This,ID3D11Resource *pResource) { 1795 This->lpVtbl->DiscardResource(This,pResource); 1796 } 1797 static FORCEINLINE void ID3D11DeviceContext1_DiscardView(ID3D11DeviceContext1* This,ID3D11View *pResourceView) { 1798 This->lpVtbl->DiscardView(This,pResourceView); 1799 } 1800 static FORCEINLINE void ID3D11DeviceContext1_VSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { 1801 This->lpVtbl->VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); 1802 } 1803 static FORCEINLINE void ID3D11DeviceContext1_HSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { 1804 This->lpVtbl->HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); 1805 } 1806 static FORCEINLINE void ID3D11DeviceContext1_DSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { 1807 This->lpVtbl->DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); 1808 } 1809 static FORCEINLINE void ID3D11DeviceContext1_GSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { 1810 This->lpVtbl->GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); 1811 } 1812 static FORCEINLINE void ID3D11DeviceContext1_PSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { 1813 This->lpVtbl->PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); 1814 } 1815 static FORCEINLINE void ID3D11DeviceContext1_CSSetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer *const *ppConstantBuffers,const UINT *pFirstConstant,const UINT *pNumConstants) { 1816 This->lpVtbl->CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); 1817 } 1818 static FORCEINLINE void ID3D11DeviceContext1_VSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { 1819 This->lpVtbl->VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); 1820 } 1821 static FORCEINLINE void ID3D11DeviceContext1_HSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { 1822 This->lpVtbl->HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); 1823 } 1824 static FORCEINLINE void ID3D11DeviceContext1_DSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { 1825 This->lpVtbl->DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); 1826 } 1827 static FORCEINLINE void ID3D11DeviceContext1_GSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { 1828 This->lpVtbl->GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); 1829 } 1830 static FORCEINLINE void ID3D11DeviceContext1_PSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { 1831 This->lpVtbl->PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); 1832 } 1833 static FORCEINLINE void ID3D11DeviceContext1_CSGetConstantBuffers1(ID3D11DeviceContext1* This,UINT StartSlot,UINT NumBuffers,ID3D11Buffer **ppConstantBuffers,UINT *pFirstConstant,UINT *pNumConstants) { 1834 This->lpVtbl->CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants); 1835 } 1836 static FORCEINLINE void ID3D11DeviceContext1_SwapDeviceContextState(ID3D11DeviceContext1* This,ID3DDeviceContextState *pState,ID3DDeviceContextState **ppPreviousState) { 1837 This->lpVtbl->SwapDeviceContextState(This,pState,ppPreviousState); 1838 } 1839 static FORCEINLINE void ID3D11DeviceContext1_ClearView(ID3D11DeviceContext1* This,ID3D11View *pView,const FLOAT Color[4],const D3D11_RECT *pRect,UINT NumRects) { 1840 This->lpVtbl->ClearView(This,pView,Color,pRect,NumRects); 1841 } 1842 static FORCEINLINE void ID3D11DeviceContext1_DiscardView1(ID3D11DeviceContext1* This,ID3D11View *pResourceView,const D3D11_RECT *pRects,UINT NumRects) { 1843 This->lpVtbl->DiscardView1(This,pResourceView,pRects,NumRects); 1844 } 1845 #endif 1846 #endif 1847 1848 #endif 1849 1850 void STDMETHODCALLTYPE ID3D11DeviceContext1_CopySubresourceRegion1_Proxy( 1851 ID3D11DeviceContext1* This, 1852 ID3D11Resource *pDstResource, 1853 UINT DstSubresource, 1854 UINT DstX, 1855 UINT DstY, 1856 UINT DstZ, 1857 ID3D11Resource *pSrcResource, 1858 UINT SrcSubresource, 1859 const D3D11_BOX *pSrcBox, 1860 UINT CopyFlags); 1861 void __RPC_STUB ID3D11DeviceContext1_CopySubresourceRegion1_Stub( 1862 IRpcStubBuffer* This, 1863 IRpcChannelBuffer* pRpcChannelBuffer, 1864 PRPC_MESSAGE pRpcMessage, 1865 DWORD* pdwStubPhase); 1866 void STDMETHODCALLTYPE ID3D11DeviceContext1_UpdateSubresource1_Proxy( 1867 ID3D11DeviceContext1* This, 1868 ID3D11Resource *pDstResource, 1869 UINT DstSubresource, 1870 const D3D11_BOX *pDstBox, 1871 const void *pSrcData, 1872 UINT SrcRowPitch, 1873 UINT SrcDepthPitch, 1874 UINT CopyFlags); 1875 void __RPC_STUB ID3D11DeviceContext1_UpdateSubresource1_Stub( 1876 IRpcStubBuffer* This, 1877 IRpcChannelBuffer* pRpcChannelBuffer, 1878 PRPC_MESSAGE pRpcMessage, 1879 DWORD* pdwStubPhase); 1880 void STDMETHODCALLTYPE ID3D11DeviceContext1_DiscardResource_Proxy( 1881 ID3D11DeviceContext1* This, 1882 ID3D11Resource *pResource); 1883 void __RPC_STUB ID3D11DeviceContext1_DiscardResource_Stub( 1884 IRpcStubBuffer* This, 1885 IRpcChannelBuffer* pRpcChannelBuffer, 1886 PRPC_MESSAGE pRpcMessage, 1887 DWORD* pdwStubPhase); 1888 void STDMETHODCALLTYPE ID3D11DeviceContext1_DiscardView_Proxy( 1889 ID3D11DeviceContext1* This, 1890 ID3D11View *pResourceView); 1891 void __RPC_STUB ID3D11DeviceContext1_DiscardView_Stub( 1892 IRpcStubBuffer* This, 1893 IRpcChannelBuffer* pRpcChannelBuffer, 1894 PRPC_MESSAGE pRpcMessage, 1895 DWORD* pdwStubPhase); 1896 void STDMETHODCALLTYPE ID3D11DeviceContext1_VSSetConstantBuffers1_Proxy( 1897 ID3D11DeviceContext1* This, 1898 UINT StartSlot, 1899 UINT NumBuffers, 1900 ID3D11Buffer *const *ppConstantBuffers, 1901 const UINT *pFirstConstant, 1902 const UINT *pNumConstants); 1903 void __RPC_STUB ID3D11DeviceContext1_VSSetConstantBuffers1_Stub( 1904 IRpcStubBuffer* This, 1905 IRpcChannelBuffer* pRpcChannelBuffer, 1906 PRPC_MESSAGE pRpcMessage, 1907 DWORD* pdwStubPhase); 1908 void STDMETHODCALLTYPE ID3D11DeviceContext1_HSSetConstantBuffers1_Proxy( 1909 ID3D11DeviceContext1* This, 1910 UINT StartSlot, 1911 UINT NumBuffers, 1912 ID3D11Buffer *const *ppConstantBuffers, 1913 const UINT *pFirstConstant, 1914 const UINT *pNumConstants); 1915 void __RPC_STUB ID3D11DeviceContext1_HSSetConstantBuffers1_Stub( 1916 IRpcStubBuffer* This, 1917 IRpcChannelBuffer* pRpcChannelBuffer, 1918 PRPC_MESSAGE pRpcMessage, 1919 DWORD* pdwStubPhase); 1920 void STDMETHODCALLTYPE ID3D11DeviceContext1_DSSetConstantBuffers1_Proxy( 1921 ID3D11DeviceContext1* This, 1922 UINT StartSlot, 1923 UINT NumBuffers, 1924 ID3D11Buffer *const *ppConstantBuffers, 1925 const UINT *pFirstConstant, 1926 const UINT *pNumConstants); 1927 void __RPC_STUB ID3D11DeviceContext1_DSSetConstantBuffers1_Stub( 1928 IRpcStubBuffer* This, 1929 IRpcChannelBuffer* pRpcChannelBuffer, 1930 PRPC_MESSAGE pRpcMessage, 1931 DWORD* pdwStubPhase); 1932 void STDMETHODCALLTYPE ID3D11DeviceContext1_GSSetConstantBuffers1_Proxy( 1933 ID3D11DeviceContext1* This, 1934 UINT StartSlot, 1935 UINT NumBuffers, 1936 ID3D11Buffer *const *ppConstantBuffers, 1937 const UINT *pFirstConstant, 1938 const UINT *pNumConstants); 1939 void __RPC_STUB ID3D11DeviceContext1_GSSetConstantBuffers1_Stub( 1940 IRpcStubBuffer* This, 1941 IRpcChannelBuffer* pRpcChannelBuffer, 1942 PRPC_MESSAGE pRpcMessage, 1943 DWORD* pdwStubPhase); 1944 void STDMETHODCALLTYPE ID3D11DeviceContext1_PSSetConstantBuffers1_Proxy( 1945 ID3D11DeviceContext1* This, 1946 UINT StartSlot, 1947 UINT NumBuffers, 1948 ID3D11Buffer *const *ppConstantBuffers, 1949 const UINT *pFirstConstant, 1950 const UINT *pNumConstants); 1951 void __RPC_STUB ID3D11DeviceContext1_PSSetConstantBuffers1_Stub( 1952 IRpcStubBuffer* This, 1953 IRpcChannelBuffer* pRpcChannelBuffer, 1954 PRPC_MESSAGE pRpcMessage, 1955 DWORD* pdwStubPhase); 1956 void STDMETHODCALLTYPE ID3D11DeviceContext1_CSSetConstantBuffers1_Proxy( 1957 ID3D11DeviceContext1* This, 1958 UINT StartSlot, 1959 UINT NumBuffers, 1960 ID3D11Buffer *const *ppConstantBuffers, 1961 const UINT *pFirstConstant, 1962 const UINT *pNumConstants); 1963 void __RPC_STUB ID3D11DeviceContext1_CSSetConstantBuffers1_Stub( 1964 IRpcStubBuffer* This, 1965 IRpcChannelBuffer* pRpcChannelBuffer, 1966 PRPC_MESSAGE pRpcMessage, 1967 DWORD* pdwStubPhase); 1968 void STDMETHODCALLTYPE ID3D11DeviceContext1_VSGetConstantBuffers1_Proxy( 1969 ID3D11DeviceContext1* This, 1970 UINT StartSlot, 1971 UINT NumBuffers, 1972 ID3D11Buffer **ppConstantBuffers, 1973 UINT *pFirstConstant, 1974 UINT *pNumConstants); 1975 void __RPC_STUB ID3D11DeviceContext1_VSGetConstantBuffers1_Stub( 1976 IRpcStubBuffer* This, 1977 IRpcChannelBuffer* pRpcChannelBuffer, 1978 PRPC_MESSAGE pRpcMessage, 1979 DWORD* pdwStubPhase); 1980 void STDMETHODCALLTYPE ID3D11DeviceContext1_HSGetConstantBuffers1_Proxy( 1981 ID3D11DeviceContext1* This, 1982 UINT StartSlot, 1983 UINT NumBuffers, 1984 ID3D11Buffer **ppConstantBuffers, 1985 UINT *pFirstConstant, 1986 UINT *pNumConstants); 1987 void __RPC_STUB ID3D11DeviceContext1_HSGetConstantBuffers1_Stub( 1988 IRpcStubBuffer* This, 1989 IRpcChannelBuffer* pRpcChannelBuffer, 1990 PRPC_MESSAGE pRpcMessage, 1991 DWORD* pdwStubPhase); 1992 void STDMETHODCALLTYPE ID3D11DeviceContext1_DSGetConstantBuffers1_Proxy( 1993 ID3D11DeviceContext1* This, 1994 UINT StartSlot, 1995 UINT NumBuffers, 1996 ID3D11Buffer **ppConstantBuffers, 1997 UINT *pFirstConstant, 1998 UINT *pNumConstants); 1999 void __RPC_STUB ID3D11DeviceContext1_DSGetConstantBuffers1_Stub( 2000 IRpcStubBuffer* This, 2001 IRpcChannelBuffer* pRpcChannelBuffer, 2002 PRPC_MESSAGE pRpcMessage, 2003 DWORD* pdwStubPhase); 2004 void STDMETHODCALLTYPE ID3D11DeviceContext1_GSGetConstantBuffers1_Proxy( 2005 ID3D11DeviceContext1* This, 2006 UINT StartSlot, 2007 UINT NumBuffers, 2008 ID3D11Buffer **ppConstantBuffers, 2009 UINT *pFirstConstant, 2010 UINT *pNumConstants); 2011 void __RPC_STUB ID3D11DeviceContext1_GSGetConstantBuffers1_Stub( 2012 IRpcStubBuffer* This, 2013 IRpcChannelBuffer* pRpcChannelBuffer, 2014 PRPC_MESSAGE pRpcMessage, 2015 DWORD* pdwStubPhase); 2016 void STDMETHODCALLTYPE ID3D11DeviceContext1_PSGetConstantBuffers1_Proxy( 2017 ID3D11DeviceContext1* This, 2018 UINT StartSlot, 2019 UINT NumBuffers, 2020 ID3D11Buffer **ppConstantBuffers, 2021 UINT *pFirstConstant, 2022 UINT *pNumConstants); 2023 void __RPC_STUB ID3D11DeviceContext1_PSGetConstantBuffers1_Stub( 2024 IRpcStubBuffer* This, 2025 IRpcChannelBuffer* pRpcChannelBuffer, 2026 PRPC_MESSAGE pRpcMessage, 2027 DWORD* pdwStubPhase); 2028 void STDMETHODCALLTYPE ID3D11DeviceContext1_CSGetConstantBuffers1_Proxy( 2029 ID3D11DeviceContext1* This, 2030 UINT StartSlot, 2031 UINT NumBuffers, 2032 ID3D11Buffer **ppConstantBuffers, 2033 UINT *pFirstConstant, 2034 UINT *pNumConstants); 2035 void __RPC_STUB ID3D11DeviceContext1_CSGetConstantBuffers1_Stub( 2036 IRpcStubBuffer* This, 2037 IRpcChannelBuffer* pRpcChannelBuffer, 2038 PRPC_MESSAGE pRpcMessage, 2039 DWORD* pdwStubPhase); 2040 void STDMETHODCALLTYPE ID3D11DeviceContext1_SwapDeviceContextState_Proxy( 2041 ID3D11DeviceContext1* This, 2042 ID3DDeviceContextState *pState, 2043 ID3DDeviceContextState **ppPreviousState); 2044 void __RPC_STUB ID3D11DeviceContext1_SwapDeviceContextState_Stub( 2045 IRpcStubBuffer* This, 2046 IRpcChannelBuffer* pRpcChannelBuffer, 2047 PRPC_MESSAGE pRpcMessage, 2048 DWORD* pdwStubPhase); 2049 void STDMETHODCALLTYPE ID3D11DeviceContext1_ClearView_Proxy( 2050 ID3D11DeviceContext1* This, 2051 ID3D11View *pView, 2052 const FLOAT Color[4], 2053 const D3D11_RECT *pRect, 2054 UINT NumRects); 2055 void __RPC_STUB ID3D11DeviceContext1_ClearView_Stub( 2056 IRpcStubBuffer* This, 2057 IRpcChannelBuffer* pRpcChannelBuffer, 2058 PRPC_MESSAGE pRpcMessage, 2059 DWORD* pdwStubPhase); 2060 void STDMETHODCALLTYPE ID3D11DeviceContext1_DiscardView1_Proxy( 2061 ID3D11DeviceContext1* This, 2062 ID3D11View *pResourceView, 2063 const D3D11_RECT *pRects, 2064 UINT NumRects); 2065 void __RPC_STUB ID3D11DeviceContext1_DiscardView1_Stub( 2066 IRpcStubBuffer* This, 2067 IRpcChannelBuffer* pRpcChannelBuffer, 2068 PRPC_MESSAGE pRpcMessage, 2069 DWORD* pdwStubPhase); 2070 2071 #endif /* __ID3D11DeviceContext1_INTERFACE_DEFINED__ */ 2072 2073 /***************************************************************************** 2074 * ID3DUserDefinedAnnotation interface 2075 */ 2076 #ifndef __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__ 2077 #define __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__ 2078 2079 DEFINE_GUID(IID_ID3DUserDefinedAnnotation, 0xb2daad8b, 0x03d4, 0x4dbf, 0x95,0xeb, 0x32,0xab,0x4b,0x63,0xd0,0xab); 2080 #if defined(__cplusplus) && !defined(CINTERFACE) 2081 MIDL_INTERFACE("b2daad8b-03d4-4dbf-95eb-32ab4b63d0ab") 2082 ID3DUserDefinedAnnotation : public IUnknown 2083 { 2084 virtual INT STDMETHODCALLTYPE BeginEvent( 2085 LPCWSTR Name) = 0; 2086 2087 virtual INT STDMETHODCALLTYPE EndEvent( 2088 ) = 0; 2089 2090 virtual void STDMETHODCALLTYPE SetMarker( 2091 LPCWSTR Name) = 0; 2092 2093 virtual WINBOOL STDMETHODCALLTYPE GetStatus( 2094 ) = 0; 2095 2096 }; 2097 #ifdef __CRT_UUID_DECL 2098 __CRT_UUID_DECL(ID3DUserDefinedAnnotation, 0xb2daad8b, 0x03d4, 0x4dbf, 0x95,0xeb, 0x32,0xab,0x4b,0x63,0xd0,0xab) 2099 #endif 2100 #else 2101 typedef struct ID3DUserDefinedAnnotationVtbl { 2102 BEGIN_INTERFACE 2103 2104 /*** IUnknown methods ***/ 2105 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 2106 ID3DUserDefinedAnnotation* This, 2107 REFIID riid, 2108 void **ppvObject); 2109 2110 ULONG (STDMETHODCALLTYPE *AddRef)( 2111 ID3DUserDefinedAnnotation* This); 2112 2113 ULONG (STDMETHODCALLTYPE *Release)( 2114 ID3DUserDefinedAnnotation* This); 2115 2116 /*** ID3DUserDefinedAnnotation methods ***/ 2117 INT (STDMETHODCALLTYPE *BeginEvent)( 2118 ID3DUserDefinedAnnotation* This, 2119 LPCWSTR Name); 2120 2121 INT (STDMETHODCALLTYPE *EndEvent)( 2122 ID3DUserDefinedAnnotation* This); 2123 2124 void (STDMETHODCALLTYPE *SetMarker)( 2125 ID3DUserDefinedAnnotation* This, 2126 LPCWSTR Name); 2127 2128 WINBOOL (STDMETHODCALLTYPE *GetStatus)( 2129 ID3DUserDefinedAnnotation* This); 2130 2131 END_INTERFACE 2132 } ID3DUserDefinedAnnotationVtbl; 2133 interface ID3DUserDefinedAnnotation { 2134 CONST_VTBL ID3DUserDefinedAnnotationVtbl* lpVtbl; 2135 }; 2136 2137 #ifdef COBJMACROS 2138 #ifndef WIDL_C_INLINE_WRAPPERS 2139 /*** IUnknown methods ***/ 2140 #define ID3DUserDefinedAnnotation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 2141 #define ID3DUserDefinedAnnotation_AddRef(This) (This)->lpVtbl->AddRef(This) 2142 #define ID3DUserDefinedAnnotation_Release(This) (This)->lpVtbl->Release(This) 2143 /*** ID3DUserDefinedAnnotation methods ***/ 2144 #define ID3DUserDefinedAnnotation_BeginEvent(This,Name) (This)->lpVtbl->BeginEvent(This,Name) 2145 #define ID3DUserDefinedAnnotation_EndEvent(This) (This)->lpVtbl->EndEvent(This) 2146 #define ID3DUserDefinedAnnotation_SetMarker(This,Name) (This)->lpVtbl->SetMarker(This,Name) 2147 #define ID3DUserDefinedAnnotation_GetStatus(This) (This)->lpVtbl->GetStatus(This) 2148 #else 2149 /*** IUnknown methods ***/ 2150 static FORCEINLINE HRESULT ID3DUserDefinedAnnotation_QueryInterface(ID3DUserDefinedAnnotation* This,REFIID riid,void **ppvObject) { 2151 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 2152 } 2153 static FORCEINLINE ULONG ID3DUserDefinedAnnotation_AddRef(ID3DUserDefinedAnnotation* This) { 2154 return This->lpVtbl->AddRef(This); 2155 } 2156 static FORCEINLINE ULONG ID3DUserDefinedAnnotation_Release(ID3DUserDefinedAnnotation* This) { 2157 return This->lpVtbl->Release(This); 2158 } 2159 /*** ID3DUserDefinedAnnotation methods ***/ 2160 static FORCEINLINE INT ID3DUserDefinedAnnotation_BeginEvent(ID3DUserDefinedAnnotation* This,LPCWSTR Name) { 2161 return This->lpVtbl->BeginEvent(This,Name); 2162 } 2163 static FORCEINLINE INT ID3DUserDefinedAnnotation_EndEvent(ID3DUserDefinedAnnotation* This) { 2164 return This->lpVtbl->EndEvent(This); 2165 } 2166 static FORCEINLINE void ID3DUserDefinedAnnotation_SetMarker(ID3DUserDefinedAnnotation* This,LPCWSTR Name) { 2167 This->lpVtbl->SetMarker(This,Name); 2168 } 2169 static FORCEINLINE WINBOOL ID3DUserDefinedAnnotation_GetStatus(ID3DUserDefinedAnnotation* This) { 2170 return This->lpVtbl->GetStatus(This); 2171 } 2172 #endif 2173 #endif 2174 2175 #endif 2176 2177 INT STDMETHODCALLTYPE ID3DUserDefinedAnnotation_BeginEvent_Proxy( 2178 ID3DUserDefinedAnnotation* This, 2179 LPCWSTR Name); 2180 void __RPC_STUB ID3DUserDefinedAnnotation_BeginEvent_Stub( 2181 IRpcStubBuffer* This, 2182 IRpcChannelBuffer* pRpcChannelBuffer, 2183 PRPC_MESSAGE pRpcMessage, 2184 DWORD* pdwStubPhase); 2185 INT STDMETHODCALLTYPE ID3DUserDefinedAnnotation_EndEvent_Proxy( 2186 ID3DUserDefinedAnnotation* This); 2187 void __RPC_STUB ID3DUserDefinedAnnotation_EndEvent_Stub( 2188 IRpcStubBuffer* This, 2189 IRpcChannelBuffer* pRpcChannelBuffer, 2190 PRPC_MESSAGE pRpcMessage, 2191 DWORD* pdwStubPhase); 2192 void STDMETHODCALLTYPE ID3DUserDefinedAnnotation_SetMarker_Proxy( 2193 ID3DUserDefinedAnnotation* This, 2194 LPCWSTR Name); 2195 void __RPC_STUB ID3DUserDefinedAnnotation_SetMarker_Stub( 2196 IRpcStubBuffer* This, 2197 IRpcChannelBuffer* pRpcChannelBuffer, 2198 PRPC_MESSAGE pRpcMessage, 2199 DWORD* pdwStubPhase); 2200 WINBOOL STDMETHODCALLTYPE ID3DUserDefinedAnnotation_GetStatus_Proxy( 2201 ID3DUserDefinedAnnotation* This); 2202 void __RPC_STUB ID3DUserDefinedAnnotation_GetStatus_Stub( 2203 IRpcStubBuffer* This, 2204 IRpcChannelBuffer* pRpcChannelBuffer, 2205 PRPC_MESSAGE pRpcMessage, 2206 DWORD* pdwStubPhase); 2207 2208 #endif /* __ID3DUserDefinedAnnotation_INTERFACE_DEFINED__ */ 2209 2210 /***************************************************************************** 2211 * ID3D11RasterizerState1 interface 2212 */ 2213 #ifndef __ID3D11RasterizerState1_INTERFACE_DEFINED__ 2214 #define __ID3D11RasterizerState1_INTERFACE_DEFINED__ 2215 2216 DEFINE_GUID(IID_ID3D11RasterizerState1, 0x1217d7a6, 0x5039, 0x418c, 0xb0,0x42, 0x9c,0xbe,0x25,0x6a,0xfd,0x6e); 2217 #if defined(__cplusplus) && !defined(CINTERFACE) 2218 MIDL_INTERFACE("1217d7a6-5039-418c-b042-9cbe256afd6e") 2219 ID3D11RasterizerState1 : public ID3D11RasterizerState 2220 { 2221 virtual void STDMETHODCALLTYPE GetDesc1( 2222 D3D11_RASTERIZER_DESC1 *pDesc) = 0; 2223 2224 }; 2225 #ifdef __CRT_UUID_DECL 2226 __CRT_UUID_DECL(ID3D11RasterizerState1, 0x1217d7a6, 0x5039, 0x418c, 0xb0,0x42, 0x9c,0xbe,0x25,0x6a,0xfd,0x6e) 2227 #endif 2228 #else 2229 typedef struct ID3D11RasterizerState1Vtbl { 2230 BEGIN_INTERFACE 2231 2232 /*** IUnknown methods ***/ 2233 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 2234 ID3D11RasterizerState1* This, 2235 REFIID riid, 2236 void **ppvObject); 2237 2238 ULONG (STDMETHODCALLTYPE *AddRef)( 2239 ID3D11RasterizerState1* This); 2240 2241 ULONG (STDMETHODCALLTYPE *Release)( 2242 ID3D11RasterizerState1* This); 2243 2244 /*** ID3D11DeviceChild methods ***/ 2245 void (STDMETHODCALLTYPE *GetDevice)( 2246 ID3D11RasterizerState1* This, 2247 ID3D11Device **ppDevice); 2248 2249 HRESULT (STDMETHODCALLTYPE *GetPrivateData)( 2250 ID3D11RasterizerState1* This, 2251 REFGUID guid, 2252 UINT *pDataSize, 2253 void *pData); 2254 2255 HRESULT (STDMETHODCALLTYPE *SetPrivateData)( 2256 ID3D11RasterizerState1* This, 2257 REFGUID guid, 2258 UINT DataSize, 2259 const void *pData); 2260 2261 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( 2262 ID3D11RasterizerState1* This, 2263 REFGUID guid, 2264 const IUnknown *pData); 2265 2266 /*** ID3D11RasterizerState methods ***/ 2267 void (STDMETHODCALLTYPE *GetDesc)( 2268 ID3D11RasterizerState1* This, 2269 D3D11_RASTERIZER_DESC *pDesc); 2270 2271 /*** ID3D11RasterizerState1 methods ***/ 2272 void (STDMETHODCALLTYPE *GetDesc1)( 2273 ID3D11RasterizerState1* This, 2274 D3D11_RASTERIZER_DESC1 *pDesc); 2275 2276 END_INTERFACE 2277 } ID3D11RasterizerState1Vtbl; 2278 interface ID3D11RasterizerState1 { 2279 CONST_VTBL ID3D11RasterizerState1Vtbl* lpVtbl; 2280 }; 2281 2282 #ifdef COBJMACROS 2283 #ifndef WIDL_C_INLINE_WRAPPERS 2284 /*** IUnknown methods ***/ 2285 #define ID3D11RasterizerState1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 2286 #define ID3D11RasterizerState1_AddRef(This) (This)->lpVtbl->AddRef(This) 2287 #define ID3D11RasterizerState1_Release(This) (This)->lpVtbl->Release(This) 2288 /*** ID3D11DeviceChild methods ***/ 2289 #define ID3D11RasterizerState1_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice) 2290 #define ID3D11RasterizerState1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) 2291 #define ID3D11RasterizerState1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) 2292 #define ID3D11RasterizerState1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) 2293 /*** ID3D11RasterizerState methods ***/ 2294 #define ID3D11RasterizerState1_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc) 2295 /*** ID3D11RasterizerState1 methods ***/ 2296 #define ID3D11RasterizerState1_GetDesc1(This,pDesc) (This)->lpVtbl->GetDesc1(This,pDesc) 2297 #else 2298 /*** IUnknown methods ***/ 2299 static FORCEINLINE HRESULT ID3D11RasterizerState1_QueryInterface(ID3D11RasterizerState1* This,REFIID riid,void **ppvObject) { 2300 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 2301 } 2302 static FORCEINLINE ULONG ID3D11RasterizerState1_AddRef(ID3D11RasterizerState1* This) { 2303 return This->lpVtbl->AddRef(This); 2304 } 2305 static FORCEINLINE ULONG ID3D11RasterizerState1_Release(ID3D11RasterizerState1* This) { 2306 return This->lpVtbl->Release(This); 2307 } 2308 /*** ID3D11DeviceChild methods ***/ 2309 static FORCEINLINE void ID3D11RasterizerState1_GetDevice(ID3D11RasterizerState1* This,ID3D11Device **ppDevice) { 2310 This->lpVtbl->GetDevice(This,ppDevice); 2311 } 2312 static FORCEINLINE HRESULT ID3D11RasterizerState1_GetPrivateData(ID3D11RasterizerState1* This,REFGUID guid,UINT *pDataSize,void *pData) { 2313 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); 2314 } 2315 static FORCEINLINE HRESULT ID3D11RasterizerState1_SetPrivateData(ID3D11RasterizerState1* This,REFGUID guid,UINT DataSize,const void *pData) { 2316 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); 2317 } 2318 static FORCEINLINE HRESULT ID3D11RasterizerState1_SetPrivateDataInterface(ID3D11RasterizerState1* This,REFGUID guid,const IUnknown *pData) { 2319 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); 2320 } 2321 /*** ID3D11RasterizerState methods ***/ 2322 static FORCEINLINE void ID3D11RasterizerState1_GetDesc(ID3D11RasterizerState1* This,D3D11_RASTERIZER_DESC *pDesc) { 2323 This->lpVtbl->GetDesc(This,pDesc); 2324 } 2325 /*** ID3D11RasterizerState1 methods ***/ 2326 static FORCEINLINE void ID3D11RasterizerState1_GetDesc1(ID3D11RasterizerState1* This,D3D11_RASTERIZER_DESC1 *pDesc) { 2327 This->lpVtbl->GetDesc1(This,pDesc); 2328 } 2329 #endif 2330 #endif 2331 2332 #endif 2333 2334 void STDMETHODCALLTYPE ID3D11RasterizerState1_GetDesc1_Proxy( 2335 ID3D11RasterizerState1* This, 2336 D3D11_RASTERIZER_DESC1 *pDesc); 2337 void __RPC_STUB ID3D11RasterizerState1_GetDesc1_Stub( 2338 IRpcStubBuffer* This, 2339 IRpcChannelBuffer* pRpcChannelBuffer, 2340 PRPC_MESSAGE pRpcMessage, 2341 DWORD* pdwStubPhase); 2342 2343 #endif /* __ID3D11RasterizerState1_INTERFACE_DEFINED__ */ 2344 2345 /***************************************************************************** 2346 * ID3D11Device1 interface 2347 */ 2348 #ifndef __ID3D11Device1_INTERFACE_DEFINED__ 2349 #define __ID3D11Device1_INTERFACE_DEFINED__ 2350 2351 DEFINE_GUID(IID_ID3D11Device1, 0xa04bfb29, 0x08ef, 0x43d6, 0xa4,0x9c, 0xa9,0xbd,0xbd,0xcb,0xe6,0x86); 2352 #if defined(__cplusplus) && !defined(CINTERFACE) 2353 MIDL_INTERFACE("a04bfb29-08ef-43d6-a49c-a9bdbdcbe686") 2354 ID3D11Device1 : public ID3D11Device 2355 { 2356 virtual void STDMETHODCALLTYPE GetImmediateContext1( 2357 ID3D11DeviceContext1 **ppImmediateContext) = 0; 2358 2359 virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext1( 2360 UINT ContextFlags, 2361 ID3D11DeviceContext1 **ppDeferredContext) = 0; 2362 2363 virtual HRESULT STDMETHODCALLTYPE CreateBlendState1( 2364 const D3D11_BLEND_DESC1 *pBlendStateDesc, 2365 ID3D11BlendState1 **ppBlendState) = 0; 2366 2367 virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState1( 2368 const D3D11_RASTERIZER_DESC1 *pRasterizerDesc, 2369 ID3D11RasterizerState1 **ppRasterizerState) = 0; 2370 2371 virtual HRESULT STDMETHODCALLTYPE CreateDeviceContextState( 2372 UINT Flags, 2373 const D3D_FEATURE_LEVEL *pFeatureLevels, 2374 UINT FeatureLevels, 2375 UINT SDKVersion, 2376 REFIID EmulatedInterface, 2377 D3D_FEATURE_LEVEL *pChosenFeatureLevel, 2378 ID3DDeviceContextState **ppContextState) = 0; 2379 2380 virtual HRESULT STDMETHODCALLTYPE OpenSharedResource1( 2381 HANDLE hResource, 2382 REFIID returnedInterface, 2383 void **ppResource) = 0; 2384 2385 virtual HRESULT STDMETHODCALLTYPE OpenSharedResourceByName( 2386 LPCWSTR lpName, 2387 DWORD dwDesiredAccess, 2388 REFIID returnedInterface, 2389 void **ppResource) = 0; 2390 2391 }; 2392 #ifdef __CRT_UUID_DECL 2393 __CRT_UUID_DECL(ID3D11Device1, 0xa04bfb29, 0x08ef, 0x43d6, 0xa4,0x9c, 0xa9,0xbd,0xbd,0xcb,0xe6,0x86) 2394 #endif 2395 #else 2396 typedef struct ID3D11Device1Vtbl { 2397 BEGIN_INTERFACE 2398 2399 /*** IUnknown methods ***/ 2400 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 2401 ID3D11Device1* This, 2402 REFIID riid, 2403 void **ppvObject); 2404 2405 ULONG (STDMETHODCALLTYPE *AddRef)( 2406 ID3D11Device1* This); 2407 2408 ULONG (STDMETHODCALLTYPE *Release)( 2409 ID3D11Device1* This); 2410 2411 /*** ID3D11Device methods ***/ 2412 HRESULT (STDMETHODCALLTYPE *CreateBuffer)( 2413 ID3D11Device1* This, 2414 const D3D11_BUFFER_DESC *pDesc, 2415 const D3D11_SUBRESOURCE_DATA *pInitialData, 2416 ID3D11Buffer **ppBuffer); 2417 2418 HRESULT (STDMETHODCALLTYPE *CreateTexture1D)( 2419 ID3D11Device1* This, 2420 const D3D11_TEXTURE1D_DESC *pDesc, 2421 const D3D11_SUBRESOURCE_DATA *pInitialData, 2422 ID3D11Texture1D **ppTexture1D); 2423 2424 HRESULT (STDMETHODCALLTYPE *CreateTexture2D)( 2425 ID3D11Device1* This, 2426 const D3D11_TEXTURE2D_DESC *pDesc, 2427 const D3D11_SUBRESOURCE_DATA *pInitialData, 2428 ID3D11Texture2D **ppTexture2D); 2429 2430 HRESULT (STDMETHODCALLTYPE *CreateTexture3D)( 2431 ID3D11Device1* This, 2432 const D3D11_TEXTURE3D_DESC *pDesc, 2433 const D3D11_SUBRESOURCE_DATA *pInitialData, 2434 ID3D11Texture3D **ppTexture3D); 2435 2436 HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)( 2437 ID3D11Device1* This, 2438 ID3D11Resource *pResource, 2439 const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc, 2440 ID3D11ShaderResourceView **ppSRView); 2441 2442 HRESULT (STDMETHODCALLTYPE *CreateUnorderedAccessView)( 2443 ID3D11Device1* This, 2444 ID3D11Resource *pResource, 2445 const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc, 2446 ID3D11UnorderedAccessView **ppUAView); 2447 2448 HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)( 2449 ID3D11Device1* This, 2450 ID3D11Resource *pResource, 2451 const D3D11_RENDER_TARGET_VIEW_DESC *pDesc, 2452 ID3D11RenderTargetView **ppRTView); 2453 2454 HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)( 2455 ID3D11Device1* This, 2456 ID3D11Resource *pResource, 2457 const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc, 2458 ID3D11DepthStencilView **ppDepthStencilView); 2459 2460 HRESULT (STDMETHODCALLTYPE *CreateInputLayout)( 2461 ID3D11Device1* This, 2462 const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs, 2463 UINT NumElements, 2464 const void *pShaderBytecodeWithInputSignature, 2465 SIZE_T BytecodeLength, 2466 ID3D11InputLayout **ppInputLayout); 2467 2468 HRESULT (STDMETHODCALLTYPE *CreateVertexShader)( 2469 ID3D11Device1* This, 2470 const void *pShaderBytecode, 2471 SIZE_T BytecodeLength, 2472 ID3D11ClassLinkage *pClassLinkage, 2473 ID3D11VertexShader **ppVertexShader); 2474 2475 HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)( 2476 ID3D11Device1* This, 2477 const void *pShaderBytecode, 2478 SIZE_T BytecodeLength, 2479 ID3D11ClassLinkage *pClassLinkage, 2480 ID3D11GeometryShader **ppGeometryShader); 2481 2482 HRESULT (STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput)( 2483 ID3D11Device1* This, 2484 const void *pShaderBytecode, 2485 SIZE_T BytecodeLength, 2486 const D3D11_SO_DECLARATION_ENTRY *pSODeclaration, 2487 UINT NumEntries, 2488 const UINT *pBufferStrides, 2489 UINT NumStrides, 2490 UINT RasterizedStream, 2491 ID3D11ClassLinkage *pClassLinkage, 2492 ID3D11GeometryShader **ppGeometryShader); 2493 2494 HRESULT (STDMETHODCALLTYPE *CreatePixelShader)( 2495 ID3D11Device1* This, 2496 const void *pShaderBytecode, 2497 SIZE_T BytecodeLength, 2498 ID3D11ClassLinkage *pClassLinkage, 2499 ID3D11PixelShader **ppPixelShader); 2500 2501 HRESULT (STDMETHODCALLTYPE *CreateHullShader)( 2502 ID3D11Device1* This, 2503 const void *pShaderBytecode, 2504 SIZE_T BytecodeLength, 2505 ID3D11ClassLinkage *pClassLinkage, 2506 ID3D11HullShader **ppHullShader); 2507 2508 HRESULT (STDMETHODCALLTYPE *CreateDomainShader)( 2509 ID3D11Device1* This, 2510 const void *pShaderBytecode, 2511 SIZE_T BytecodeLength, 2512 ID3D11ClassLinkage *pClassLinkage, 2513 ID3D11DomainShader **ppDomainShader); 2514 2515 HRESULT (STDMETHODCALLTYPE *CreateComputeShader)( 2516 ID3D11Device1* This, 2517 const void *pShaderBytecode, 2518 SIZE_T BytecodeLength, 2519 ID3D11ClassLinkage *pClassLinkage, 2520 ID3D11ComputeShader **ppComputeShader); 2521 2522 HRESULT (STDMETHODCALLTYPE *CreateClassLinkage)( 2523 ID3D11Device1* This, 2524 ID3D11ClassLinkage **ppLinkage); 2525 2526 HRESULT (STDMETHODCALLTYPE *CreateBlendState)( 2527 ID3D11Device1* This, 2528 const D3D11_BLEND_DESC *pBlendStateDesc, 2529 ID3D11BlendState **ppBlendState); 2530 2531 HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)( 2532 ID3D11Device1* This, 2533 const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc, 2534 ID3D11DepthStencilState **ppDepthStencilState); 2535 2536 HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)( 2537 ID3D11Device1* This, 2538 const D3D11_RASTERIZER_DESC *pRasterizerDesc, 2539 ID3D11RasterizerState **ppRasterizerState); 2540 2541 HRESULT (STDMETHODCALLTYPE *CreateSamplerState)( 2542 ID3D11Device1* This, 2543 const D3D11_SAMPLER_DESC *pSamplerDesc, 2544 ID3D11SamplerState **ppSamplerState); 2545 2546 HRESULT (STDMETHODCALLTYPE *CreateQuery)( 2547 ID3D11Device1* This, 2548 const D3D11_QUERY_DESC *pQueryDesc, 2549 ID3D11Query **ppQuery); 2550 2551 HRESULT (STDMETHODCALLTYPE *CreatePredicate)( 2552 ID3D11Device1* This, 2553 const D3D11_QUERY_DESC *pPredicateDesc, 2554 ID3D11Predicate **ppPredicate); 2555 2556 HRESULT (STDMETHODCALLTYPE *CreateCounter)( 2557 ID3D11Device1* This, 2558 const D3D11_COUNTER_DESC *pCounterDesc, 2559 ID3D11Counter **ppCounter); 2560 2561 HRESULT (STDMETHODCALLTYPE *CreateDeferredContext)( 2562 ID3D11Device1* This, 2563 UINT ContextFlags, 2564 ID3D11DeviceContext **ppDeferredContext); 2565 2566 HRESULT (STDMETHODCALLTYPE *OpenSharedResource)( 2567 ID3D11Device1* This, 2568 HANDLE hResource, 2569 REFIID ReturnedInterface, 2570 void **ppResource); 2571 2572 HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)( 2573 ID3D11Device1* This, 2574 DXGI_FORMAT Format, 2575 UINT *pFormatSupport); 2576 2577 HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)( 2578 ID3D11Device1* This, 2579 DXGI_FORMAT Format, 2580 UINT SampleCount, 2581 UINT *pNumQualityLevels); 2582 2583 void (STDMETHODCALLTYPE *CheckCounterInfo)( 2584 ID3D11Device1* This, 2585 D3D11_COUNTER_INFO *pCounterInfo); 2586 2587 HRESULT (STDMETHODCALLTYPE *CheckCounter)( 2588 ID3D11Device1* This, 2589 const D3D11_COUNTER_DESC *pDesc, 2590 D3D11_COUNTER_TYPE *pType, 2591 UINT *pActiveCounters, 2592 LPSTR szName, 2593 UINT *pNameLength, 2594 LPSTR szUnits, 2595 UINT *pUnitsLength, 2596 LPSTR szDescription, 2597 UINT *pDescriptionLength); 2598 2599 HRESULT (STDMETHODCALLTYPE *CheckFeatureSupport)( 2600 ID3D11Device1* This, 2601 D3D11_FEATURE Feature, 2602 void *pFeatureSupportData, 2603 UINT FeatureSupportDataSize); 2604 2605 HRESULT (STDMETHODCALLTYPE *GetPrivateData)( 2606 ID3D11Device1* This, 2607 REFGUID guid, 2608 UINT *pDataSize, 2609 void *pData); 2610 2611 HRESULT (STDMETHODCALLTYPE *SetPrivateData)( 2612 ID3D11Device1* This, 2613 REFGUID guid, 2614 UINT DataSize, 2615 const void *pData); 2616 2617 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( 2618 ID3D11Device1* This, 2619 REFGUID guid, 2620 const IUnknown *pData); 2621 2622 D3D_FEATURE_LEVEL (STDMETHODCALLTYPE *GetFeatureLevel)( 2623 ID3D11Device1* This); 2624 2625 UINT (STDMETHODCALLTYPE *GetCreationFlags)( 2626 ID3D11Device1* This); 2627 2628 HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)( 2629 ID3D11Device1* This); 2630 2631 void (STDMETHODCALLTYPE *GetImmediateContext)( 2632 ID3D11Device1* This, 2633 ID3D11DeviceContext **ppImmediateContext); 2634 2635 HRESULT (STDMETHODCALLTYPE *SetExceptionMode)( 2636 ID3D11Device1* This, 2637 UINT RaiseFlags); 2638 2639 UINT (STDMETHODCALLTYPE *GetExceptionMode)( 2640 ID3D11Device1* This); 2641 2642 /*** ID3D11Device1 methods ***/ 2643 void (STDMETHODCALLTYPE *GetImmediateContext1)( 2644 ID3D11Device1* This, 2645 ID3D11DeviceContext1 **ppImmediateContext); 2646 2647 HRESULT (STDMETHODCALLTYPE *CreateDeferredContext1)( 2648 ID3D11Device1* This, 2649 UINT ContextFlags, 2650 ID3D11DeviceContext1 **ppDeferredContext); 2651 2652 HRESULT (STDMETHODCALLTYPE *CreateBlendState1)( 2653 ID3D11Device1* This, 2654 const D3D11_BLEND_DESC1 *pBlendStateDesc, 2655 ID3D11BlendState1 **ppBlendState); 2656 2657 HRESULT (STDMETHODCALLTYPE *CreateRasterizerState1)( 2658 ID3D11Device1* This, 2659 const D3D11_RASTERIZER_DESC1 *pRasterizerDesc, 2660 ID3D11RasterizerState1 **ppRasterizerState); 2661 2662 HRESULT (STDMETHODCALLTYPE *CreateDeviceContextState)( 2663 ID3D11Device1* This, 2664 UINT Flags, 2665 const D3D_FEATURE_LEVEL *pFeatureLevels, 2666 UINT FeatureLevels, 2667 UINT SDKVersion, 2668 REFIID EmulatedInterface, 2669 D3D_FEATURE_LEVEL *pChosenFeatureLevel, 2670 ID3DDeviceContextState **ppContextState); 2671 2672 HRESULT (STDMETHODCALLTYPE *OpenSharedResource1)( 2673 ID3D11Device1* This, 2674 HANDLE hResource, 2675 REFIID returnedInterface, 2676 void **ppResource); 2677 2678 HRESULT (STDMETHODCALLTYPE *OpenSharedResourceByName)( 2679 ID3D11Device1* This, 2680 LPCWSTR lpName, 2681 DWORD dwDesiredAccess, 2682 REFIID returnedInterface, 2683 void **ppResource); 2684 2685 END_INTERFACE 2686 } ID3D11Device1Vtbl; 2687 interface ID3D11Device1 { 2688 CONST_VTBL ID3D11Device1Vtbl* lpVtbl; 2689 }; 2690 2691 #ifdef COBJMACROS 2692 #ifndef WIDL_C_INLINE_WRAPPERS 2693 /*** IUnknown methods ***/ 2694 #define ID3D11Device1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 2695 #define ID3D11Device1_AddRef(This) (This)->lpVtbl->AddRef(This) 2696 #define ID3D11Device1_Release(This) (This)->lpVtbl->Release(This) 2697 /*** ID3D11Device methods ***/ 2698 #define ID3D11Device1_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer) 2699 #define ID3D11Device1_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) 2700 #define ID3D11Device1_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) 2701 #define ID3D11Device1_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) 2702 #define ID3D11Device1_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView) 2703 #define ID3D11Device1_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) (This)->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) 2704 #define ID3D11Device1_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView) 2705 #define ID3D11Device1_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) 2706 #define ID3D11Device1_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) 2707 #define ID3D11Device1_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) 2708 #define ID3D11Device1_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) 2709 #define ID3D11Device1_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) (This)->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) 2710 #define ID3D11Device1_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) 2711 #define ID3D11Device1_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) (This)->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) 2712 #define ID3D11Device1_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) (This)->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) 2713 #define ID3D11Device1_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) (This)->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) 2714 #define ID3D11Device1_CreateClassLinkage(This,ppLinkage) (This)->lpVtbl->CreateClassLinkage(This,ppLinkage) 2715 #define ID3D11Device1_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState) 2716 #define ID3D11Device1_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) 2717 #define ID3D11Device1_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) 2718 #define ID3D11Device1_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState) 2719 #define ID3D11Device1_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery) 2720 #define ID3D11Device1_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate) 2721 #define ID3D11Device1_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter) 2722 #define ID3D11Device1_CreateDeferredContext(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext) 2723 #define ID3D11Device1_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource) 2724 #define ID3D11Device1_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport) 2725 #define ID3D11Device1_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) 2726 #define ID3D11Device1_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo) 2727 #define ID3D11Device1_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) (This)->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) 2728 #define ID3D11Device1_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) (This)->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) 2729 #define ID3D11Device1_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData) 2730 #define ID3D11Device1_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData) 2731 #define ID3D11Device1_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData) 2732 #define ID3D11Device1_GetFeatureLevel(This) (This)->lpVtbl->GetFeatureLevel(This) 2733 #define ID3D11Device1_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This) 2734 #define ID3D11Device1_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This) 2735 #define ID3D11Device1_GetImmediateContext(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext(This,ppImmediateContext) 2736 #define ID3D11Device1_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags) 2737 #define ID3D11Device1_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This) 2738 /*** ID3D11Device1 methods ***/ 2739 #define ID3D11Device1_GetImmediateContext1(This,ppImmediateContext) (This)->lpVtbl->GetImmediateContext1(This,ppImmediateContext) 2740 #define ID3D11Device1_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) (This)->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext) 2741 #define ID3D11Device1_CreateBlendState1(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState) 2742 #define ID3D11Device1_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) 2743 #define ID3D11Device1_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) (This)->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) 2744 #define ID3D11Device1_OpenSharedResource1(This,hResource,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource) 2745 #define ID3D11Device1_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) (This)->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) 2746 #else 2747 /*** IUnknown methods ***/ 2748 static FORCEINLINE HRESULT ID3D11Device1_QueryInterface(ID3D11Device1* This,REFIID riid,void **ppvObject) { 2749 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 2750 } 2751 static FORCEINLINE ULONG ID3D11Device1_AddRef(ID3D11Device1* This) { 2752 return This->lpVtbl->AddRef(This); 2753 } 2754 static FORCEINLINE ULONG ID3D11Device1_Release(ID3D11Device1* This) { 2755 return This->lpVtbl->Release(This); 2756 } 2757 /*** ID3D11Device methods ***/ 2758 static FORCEINLINE HRESULT ID3D11Device1_CreateBuffer(ID3D11Device1* This,const D3D11_BUFFER_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Buffer **ppBuffer) { 2759 return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer); 2760 } 2761 static FORCEINLINE HRESULT ID3D11Device1_CreateTexture1D(ID3D11Device1* This,const D3D11_TEXTURE1D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture1D **ppTexture1D) { 2762 return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D); 2763 } 2764 static FORCEINLINE HRESULT ID3D11Device1_CreateTexture2D(ID3D11Device1* This,const D3D11_TEXTURE2D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture2D **ppTexture2D) { 2765 return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D); 2766 } 2767 static FORCEINLINE HRESULT ID3D11Device1_CreateTexture3D(ID3D11Device1* This,const D3D11_TEXTURE3D_DESC *pDesc,const D3D11_SUBRESOURCE_DATA *pInitialData,ID3D11Texture3D **ppTexture3D) { 2768 return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D); 2769 } 2770 static FORCEINLINE HRESULT ID3D11Device1_CreateShaderResourceView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D11ShaderResourceView **ppSRView) { 2771 return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView); 2772 } 2773 static FORCEINLINE HRESULT ID3D11Device1_CreateUnorderedAccessView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,ID3D11UnorderedAccessView **ppUAView) { 2774 return This->lpVtbl->CreateUnorderedAccessView(This,pResource,pDesc,ppUAView); 2775 } 2776 static FORCEINLINE HRESULT ID3D11Device1_CreateRenderTargetView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,ID3D11RenderTargetView **ppRTView) { 2777 return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView); 2778 } 2779 static FORCEINLINE HRESULT ID3D11Device1_CreateDepthStencilView(ID3D11Device1* This,ID3D11Resource *pResource,const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D11DepthStencilView **ppDepthStencilView) { 2780 return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView); 2781 } 2782 static FORCEINLINE HRESULT ID3D11Device1_CreateInputLayout(ID3D11Device1* This,const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D11InputLayout **ppInputLayout) { 2783 return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout); 2784 } 2785 static FORCEINLINE HRESULT ID3D11Device1_CreateVertexShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11VertexShader **ppVertexShader) { 2786 return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader); 2787 } 2788 static FORCEINLINE HRESULT ID3D11Device1_CreateGeometryShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { 2789 return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader); 2790 } 2791 static FORCEINLINE HRESULT ID3D11Device1_CreateGeometryShaderWithStreamOutput(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,UINT NumEntries,const UINT *pBufferStrides,UINT NumStrides,UINT RasterizedStream,ID3D11ClassLinkage *pClassLinkage,ID3D11GeometryShader **ppGeometryShader) { 2792 return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader); 2793 } 2794 static FORCEINLINE HRESULT ID3D11Device1_CreatePixelShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11PixelShader **ppPixelShader) { 2795 return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader); 2796 } 2797 static FORCEINLINE HRESULT ID3D11Device1_CreateHullShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11HullShader **ppHullShader) { 2798 return This->lpVtbl->CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader); 2799 } 2800 static FORCEINLINE HRESULT ID3D11Device1_CreateDomainShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11DomainShader **ppDomainShader) { 2801 return This->lpVtbl->CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader); 2802 } 2803 static FORCEINLINE HRESULT ID3D11Device1_CreateComputeShader(ID3D11Device1* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D11ClassLinkage *pClassLinkage,ID3D11ComputeShader **ppComputeShader) { 2804 return This->lpVtbl->CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader); 2805 } 2806 static FORCEINLINE HRESULT ID3D11Device1_CreateClassLinkage(ID3D11Device1* This,ID3D11ClassLinkage **ppLinkage) { 2807 return This->lpVtbl->CreateClassLinkage(This,ppLinkage); 2808 } 2809 static FORCEINLINE HRESULT ID3D11Device1_CreateBlendState(ID3D11Device1* This,const D3D11_BLEND_DESC *pBlendStateDesc,ID3D11BlendState **ppBlendState) { 2810 return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState); 2811 } 2812 static FORCEINLINE HRESULT ID3D11Device1_CreateDepthStencilState(ID3D11Device1* This,const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D11DepthStencilState **ppDepthStencilState) { 2813 return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState); 2814 } 2815 static FORCEINLINE HRESULT ID3D11Device1_CreateRasterizerState(ID3D11Device1* This,const D3D11_RASTERIZER_DESC *pRasterizerDesc,ID3D11RasterizerState **ppRasterizerState) { 2816 return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState); 2817 } 2818 static FORCEINLINE HRESULT ID3D11Device1_CreateSamplerState(ID3D11Device1* This,const D3D11_SAMPLER_DESC *pSamplerDesc,ID3D11SamplerState **ppSamplerState) { 2819 return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState); 2820 } 2821 static FORCEINLINE HRESULT ID3D11Device1_CreateQuery(ID3D11Device1* This,const D3D11_QUERY_DESC *pQueryDesc,ID3D11Query **ppQuery) { 2822 return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery); 2823 } 2824 static FORCEINLINE HRESULT ID3D11Device1_CreatePredicate(ID3D11Device1* This,const D3D11_QUERY_DESC *pPredicateDesc,ID3D11Predicate **ppPredicate) { 2825 return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate); 2826 } 2827 static FORCEINLINE HRESULT ID3D11Device1_CreateCounter(ID3D11Device1* This,const D3D11_COUNTER_DESC *pCounterDesc,ID3D11Counter **ppCounter) { 2828 return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter); 2829 } 2830 static FORCEINLINE HRESULT ID3D11Device1_CreateDeferredContext(ID3D11Device1* This,UINT ContextFlags,ID3D11DeviceContext **ppDeferredContext) { 2831 return This->lpVtbl->CreateDeferredContext(This,ContextFlags,ppDeferredContext); 2832 } 2833 static FORCEINLINE HRESULT ID3D11Device1_OpenSharedResource(ID3D11Device1* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) { 2834 return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource); 2835 } 2836 static FORCEINLINE HRESULT ID3D11Device1_CheckFormatSupport(ID3D11Device1* This,DXGI_FORMAT Format,UINT *pFormatSupport) { 2837 return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport); 2838 } 2839 static FORCEINLINE HRESULT ID3D11Device1_CheckMultisampleQualityLevels(ID3D11Device1* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) { 2840 return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels); 2841 } 2842 static FORCEINLINE void ID3D11Device1_CheckCounterInfo(ID3D11Device1* This,D3D11_COUNTER_INFO *pCounterInfo) { 2843 This->lpVtbl->CheckCounterInfo(This,pCounterInfo); 2844 } 2845 static FORCEINLINE HRESULT ID3D11Device1_CheckCounter(ID3D11Device1* This,const D3D11_COUNTER_DESC *pDesc,D3D11_COUNTER_TYPE *pType,UINT *pActiveCounters,LPSTR szName,UINT *pNameLength,LPSTR szUnits,UINT *pUnitsLength,LPSTR szDescription,UINT *pDescriptionLength) { 2846 return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength); 2847 } 2848 static FORCEINLINE HRESULT ID3D11Device1_CheckFeatureSupport(ID3D11Device1* This,D3D11_FEATURE Feature,void *pFeatureSupportData,UINT FeatureSupportDataSize) { 2849 return This->lpVtbl->CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize); 2850 } 2851 static FORCEINLINE HRESULT ID3D11Device1_GetPrivateData(ID3D11Device1* This,REFGUID guid,UINT *pDataSize,void *pData) { 2852 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData); 2853 } 2854 static FORCEINLINE HRESULT ID3D11Device1_SetPrivateData(ID3D11Device1* This,REFGUID guid,UINT DataSize,const void *pData) { 2855 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData); 2856 } 2857 static FORCEINLINE HRESULT ID3D11Device1_SetPrivateDataInterface(ID3D11Device1* This,REFGUID guid,const IUnknown *pData) { 2858 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData); 2859 } 2860 static FORCEINLINE D3D_FEATURE_LEVEL ID3D11Device1_GetFeatureLevel(ID3D11Device1* This) { 2861 return This->lpVtbl->GetFeatureLevel(This); 2862 } 2863 static FORCEINLINE UINT ID3D11Device1_GetCreationFlags(ID3D11Device1* This) { 2864 return This->lpVtbl->GetCreationFlags(This); 2865 } 2866 static FORCEINLINE HRESULT ID3D11Device1_GetDeviceRemovedReason(ID3D11Device1* This) { 2867 return This->lpVtbl->GetDeviceRemovedReason(This); 2868 } 2869 static FORCEINLINE void ID3D11Device1_GetImmediateContext(ID3D11Device1* This,ID3D11DeviceContext **ppImmediateContext) { 2870 This->lpVtbl->GetImmediateContext(This,ppImmediateContext); 2871 } 2872 static FORCEINLINE HRESULT ID3D11Device1_SetExceptionMode(ID3D11Device1* This,UINT RaiseFlags) { 2873 return This->lpVtbl->SetExceptionMode(This,RaiseFlags); 2874 } 2875 static FORCEINLINE UINT ID3D11Device1_GetExceptionMode(ID3D11Device1* This) { 2876 return This->lpVtbl->GetExceptionMode(This); 2877 } 2878 /*** ID3D11Device1 methods ***/ 2879 static FORCEINLINE void ID3D11Device1_GetImmediateContext1(ID3D11Device1* This,ID3D11DeviceContext1 **ppImmediateContext) { 2880 This->lpVtbl->GetImmediateContext1(This,ppImmediateContext); 2881 } 2882 static FORCEINLINE HRESULT ID3D11Device1_CreateDeferredContext1(ID3D11Device1* This,UINT ContextFlags,ID3D11DeviceContext1 **ppDeferredContext) { 2883 return This->lpVtbl->CreateDeferredContext1(This,ContextFlags,ppDeferredContext); 2884 } 2885 static FORCEINLINE HRESULT ID3D11Device1_CreateBlendState1(ID3D11Device1* This,const D3D11_BLEND_DESC1 *pBlendStateDesc,ID3D11BlendState1 **ppBlendState) { 2886 return This->lpVtbl->CreateBlendState1(This,pBlendStateDesc,ppBlendState); 2887 } 2888 static FORCEINLINE HRESULT ID3D11Device1_CreateRasterizerState1(ID3D11Device1* This,const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,ID3D11RasterizerState1 **ppRasterizerState) { 2889 return This->lpVtbl->CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState); 2890 } 2891 static FORCEINLINE HRESULT ID3D11Device1_CreateDeviceContextState(ID3D11Device1* This,UINT Flags,const D3D_FEATURE_LEVEL *pFeatureLevels,UINT FeatureLevels,UINT SDKVersion,REFIID EmulatedInterface,D3D_FEATURE_LEVEL *pChosenFeatureLevel,ID3DDeviceContextState **ppContextState) { 2892 return This->lpVtbl->CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState); 2893 } 2894 static FORCEINLINE HRESULT ID3D11Device1_OpenSharedResource1(ID3D11Device1* This,HANDLE hResource,REFIID returnedInterface,void **ppResource) { 2895 return This->lpVtbl->OpenSharedResource1(This,hResource,returnedInterface,ppResource); 2896 } 2897 static FORCEINLINE HRESULT ID3D11Device1_OpenSharedResourceByName(ID3D11Device1* This,LPCWSTR lpName,DWORD dwDesiredAccess,REFIID returnedInterface,void **ppResource) { 2898 return This->lpVtbl->OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource); 2899 } 2900 #endif 2901 #endif 2902 2903 #endif 2904 2905 void STDMETHODCALLTYPE ID3D11Device1_GetImmediateContext1_Proxy( 2906 ID3D11Device1* This, 2907 ID3D11DeviceContext1 **ppImmediateContext); 2908 void __RPC_STUB ID3D11Device1_GetImmediateContext1_Stub( 2909 IRpcStubBuffer* This, 2910 IRpcChannelBuffer* pRpcChannelBuffer, 2911 PRPC_MESSAGE pRpcMessage, 2912 DWORD* pdwStubPhase); 2913 HRESULT STDMETHODCALLTYPE ID3D11Device1_CreateDeferredContext1_Proxy( 2914 ID3D11Device1* This, 2915 UINT ContextFlags, 2916 ID3D11DeviceContext1 **ppDeferredContext); 2917 void __RPC_STUB ID3D11Device1_CreateDeferredContext1_Stub( 2918 IRpcStubBuffer* This, 2919 IRpcChannelBuffer* pRpcChannelBuffer, 2920 PRPC_MESSAGE pRpcMessage, 2921 DWORD* pdwStubPhase); 2922 HRESULT STDMETHODCALLTYPE ID3D11Device1_CreateBlendState1_Proxy( 2923 ID3D11Device1* This, 2924 const D3D11_BLEND_DESC1 *pBlendStateDesc, 2925 ID3D11BlendState1 **ppBlendState); 2926 void __RPC_STUB ID3D11Device1_CreateBlendState1_Stub( 2927 IRpcStubBuffer* This, 2928 IRpcChannelBuffer* pRpcChannelBuffer, 2929 PRPC_MESSAGE pRpcMessage, 2930 DWORD* pdwStubPhase); 2931 HRESULT STDMETHODCALLTYPE ID3D11Device1_CreateRasterizerState1_Proxy( 2932 ID3D11Device1* This, 2933 const D3D11_RASTERIZER_DESC1 *pRasterizerDesc, 2934 ID3D11RasterizerState1 **ppRasterizerState); 2935 void __RPC_STUB ID3D11Device1_CreateRasterizerState1_Stub( 2936 IRpcStubBuffer* This, 2937 IRpcChannelBuffer* pRpcChannelBuffer, 2938 PRPC_MESSAGE pRpcMessage, 2939 DWORD* pdwStubPhase); 2940 HRESULT STDMETHODCALLTYPE ID3D11Device1_CreateDeviceContextState_Proxy( 2941 ID3D11Device1* This, 2942 UINT Flags, 2943 const D3D_FEATURE_LEVEL *pFeatureLevels, 2944 UINT FeatureLevels, 2945 UINT SDKVersion, 2946 REFIID EmulatedInterface, 2947 D3D_FEATURE_LEVEL *pChosenFeatureLevel, 2948 ID3DDeviceContextState **ppContextState); 2949 void __RPC_STUB ID3D11Device1_CreateDeviceContextState_Stub( 2950 IRpcStubBuffer* This, 2951 IRpcChannelBuffer* pRpcChannelBuffer, 2952 PRPC_MESSAGE pRpcMessage, 2953 DWORD* pdwStubPhase); 2954 HRESULT STDMETHODCALLTYPE ID3D11Device1_OpenSharedResource1_Proxy( 2955 ID3D11Device1* This, 2956 HANDLE hResource, 2957 REFIID returnedInterface, 2958 void **ppResource); 2959 void __RPC_STUB ID3D11Device1_OpenSharedResource1_Stub( 2960 IRpcStubBuffer* This, 2961 IRpcChannelBuffer* pRpcChannelBuffer, 2962 PRPC_MESSAGE pRpcMessage, 2963 DWORD* pdwStubPhase); 2964 HRESULT STDMETHODCALLTYPE ID3D11Device1_OpenSharedResourceByName_Proxy( 2965 ID3D11Device1* This, 2966 LPCWSTR lpName, 2967 DWORD dwDesiredAccess, 2968 REFIID returnedInterface, 2969 void **ppResource); 2970 void __RPC_STUB ID3D11Device1_OpenSharedResourceByName_Stub( 2971 IRpcStubBuffer* This, 2972 IRpcChannelBuffer* pRpcChannelBuffer, 2973 PRPC_MESSAGE pRpcMessage, 2974 DWORD* pdwStubPhase); 2975 2976 #endif /* __ID3D11Device1_INTERFACE_DEFINED__ */ 2977 2978 /* Begin additional prototypes for all interfaces */ 2979 2980 2981 /* End additional prototypes */ 2982 2983 #ifdef __cplusplus 2984 } 2985 #endif 2986 2987 #endif /* __d3d11_1_h__ */ 2988