dxgi: Implement IDXGIFactory6.
[wine.git] / include / wine / winedxgi.idl
blob95c99b253550427cf22509f70e01649a128491ee
1 /*
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
21 import "dxgi1_6.idl";
24 object,
25 local,
26 uuid(53cb4ff0-c25a-4164-a891-0e83db0a7aac)
28 interface IWineDXGISwapChainFactory : IUnknown
30 HRESULT create_swapchain(
31 [in] IDXGIFactory *factory,
32 [in] HWND window,
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
41 object,
42 local,
43 uuid(3e1ff30b-c951-48c3-b010-0fb49f3dca71)
45 interface IWineDXGIDevice : IDXGIDevice3
47 HRESULT create_surface(
48 [in] struct wined3d_texture *wined3d_texture,
49 [in] DXGI_USAGE usage,
50 [in] const DXGI_SHARED_RESOURCE *shared_resource,
51 [in] IUnknown *outer,
52 [out] void **surface
57 object,
58 local,
59 uuid(f2b918f3-603f-430a-9ccd-55872b6e85df)
61 interface IWineDXGIDeviceParent : IUnknown
63 struct wined3d_device_parent *get_wined3d_device_parent();
66 struct wine_dxgi_adapter_info
68 GUID driver_uuid;
69 GUID device_uuid;
71 DWORD vendor_id;
72 DWORD device_id;
74 LUID luid;
78 object,
79 local,
80 uuid(17399d75-964e-4c03-99f8-9d4fd196dd62)
82 interface IWineDXGIAdapter : IDXGIAdapter4
84 HRESULT get_adapter_info([out] struct wine_dxgi_adapter_info *info);
88 object,
89 local,
90 uuid(ea02a0d1-4c95-488a-a82c-6034621e8c4f)
92 interface IWineDXGIFactory : IDXGIFactory6