From: Martell Malone Subject: [PATCH 1/3] d3d11: Add prototype for CreateDeviceAndSwapChain Message-Id: <1423832762-13144-1-git-send-email-martellmalone@gmail.com> Date: Fri, 13 Feb 2015 13:06:00 +0000 --- include/d3d11.idl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/d3d11.idl b/include/d3d11.idl index e472944..eccd502 100644 --- a/include/d3d11.idl +++ b/include/d3d11.idl @@ -1,6 +1,7 @@ /* * Copyright 2010 Rico Schüller * Copyright 2013 Austin English + * Copyright 2015 Martell Malone * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -2134,3 +2135,7 @@ 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**);") + +cpp_quote("HRESULT WINAPI D3D11CreateDeviceAndSwapChain(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**);") -- 2.3.0