win32u: Honor CS_HREDRAW and CS_VREDRAW when resizing window.
[wine.git] / include / wine / winedxgi.idl
blob64e4218204b4fc8622ecec3271110649b12d7d20
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_resource(
48 [in] struct wined3d_resource *wined3d_resource,
49 [in] DXGI_USAGE usage,
50 [in] const DXGI_SHARED_RESOURCE *shared_resource,
51 [in] IUnknown *outer,
52 [in] BOOL needs_surface,
53 [out] void **resource
58 object,
59 local,
60 uuid(f2b918f3-603f-430a-9ccd-55872b6e85df)
62 interface IWineDXGIDeviceParent : IUnknown
64 struct wined3d_device_parent *get_wined3d_device_parent();
67 struct wine_dxgi_adapter_info
69 GUID driver_uuid;
70 GUID device_uuid;
72 DWORD vendor_id;
73 DWORD device_id;
75 LUID luid;
79 object,
80 local,
81 uuid(17399d75-964e-4c03-99f8-9d4fd196dd62)
83 interface IWineDXGIAdapter : IDXGIAdapter4
85 HRESULT get_adapter_info([out] struct wine_dxgi_adapter_info *info);
89 object,
90 local,
91 uuid(ea02a0d1-4c95-488a-a82c-6034621e8c4f)
93 interface IWineDXGIFactory : IDXGIFactory7