2 * Copyright 2008-2009 Henri Verbeet for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #pragma makedep header
26 uuid(53cb4ff0
-c25a
-4164-a891
-0e83db0a7aac
)
28 interface IWineDXGISwapChainFactory
: IUnknown
30 HRESULT create_swapchain
(
31 [in] IDXGIFactory
*factory
,
33 [in] const DXGI_SWAP_CHAIN_DESC1
*desc
,
34 [in] const DXGI_SWAP_CHAIN_FULLSCREEN_DESC
*fullscreen_desc
,
35 [in] IDXGIOutput
*output
,
36 [out] IDXGISwapChain1
**swapchain
43 uuid(3e1ff30b
-c951
-48c3
-b010
-0fb49f3dca71
)
45 interface IWineDXGIDevice
: IDXGIDevice3
47 HRESULT create_resource
(
48 [in] struct wined3d_resource
*wined3d_resource
,
49 [in] DXGI_USAGE usage
,
50 [in] const DXGI_SHARED_RESOURCE
*shared_resource
,
52 [in] BOOL needs_surface
,
60 uuid(f2b918f3
-603f
-430a
-9ccd
-55872b6e85df
)
62 interface IWineDXGIDeviceParent
: IUnknown
64 struct wined3d_device_parent
*get_wined3d_device_parent
();
65 HRESULT register_swapchain_texture
(struct wined3d_texture
*texture
,
66 unsigned int texture_flags
, IDXGISurface
**ret_surface
);
69 struct wine_dxgi_adapter_info
83 uuid(17399d75
-964e-4c03
-99f8
-9d4fd196dd62
)
85 interface IWineDXGIAdapter
: IDXGIAdapter4
87 HRESULT get_adapter_info
([out] struct wine_dxgi_adapter_info
*info
);
93 uuid(ea02a0d1
-4c95
-488a
-a82c
-6034621e8c4f
)
95 interface IWineDXGIFactory
: IDXGIFactory7