[PATCH 1/4] includes: Add D3D11CreateDeviceAndSwapChain declaration to d3d11.idl. (try 2)
Józef Kucia
jkucia at codeweavers.com
Mon Aug 17 17:53:22 CDT 2015
Try 2: Avoid cpp_quotes and include parameter names.
---
include/d3d11.idl | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/d3d11.idl b/include/d3d11.idl
index 3726d32..86fe42a 100644
--- a/include/d3d11.idl
+++ b/include/d3d11.idl
@@ -2157,3 +2157,8 @@ cpp_quote(" UINT,UINT,ID3D11Device**,D3D_FEATURE_LEVEL*,ID3D11DeviceContext**
cpp_quote("typedef HRESULT (WINAPI *PFN_D3D11_CREATE_DEVICE_AND_SWAP_CHAIN)(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT,")
cpp_quote(" const D3D_FEATURE_LEVEL*,UINT,UINT,const DXGI_SWAP_CHAIN_DESC*,IDXGISwapChain**,ID3D11Device**,")
cpp_quote(" D3D_FEATURE_LEVEL*,ID3D11DeviceContext**);")
+
+[local] HRESULT __stdcall D3D11CreateDeviceAndSwapChain(IDXGIAdapter *adapter, D3D_DRIVER_TYPE driver_type,
+ HMODULE swrast, UINT flags, const D3D_FEATURE_LEVEL *feature_levels, UINT levels, UINT sdk_version,
+ const DXGI_SWAP_CHAIN_DESC *swapchain_desc, IDXGISwapChain **swapchain, ID3D11Device **device,
+ D3D_FEATURE_LEVEL *obtained_feature_level, ID3D11DeviceContext **immediate_context);
--
2.4.6
More information about the wine-patches
mailing list