wineps: Don't include gdi_driver.h from PE module.
[wine.git] / include / wine / winedxgi.idl
blobfff00dead73df4e72946922fa45e8a0bb1b7e753
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();
65 HRESULT register_swapchain_texture(struct wined3d_texture *texture,
66 unsigned int texture_flags, IDXGISurface **ret_surface);
69 struct wine_dxgi_adapter_info
71 GUID driver_uuid;
72 GUID device_uuid;
74 DWORD vendor_id;
75 DWORD device_id;
77 LUID luid;
81 object,
82 local,
83 uuid(17399d75-964e-4c03-99f8-9d4fd196dd62)
85 interface IWineDXGIAdapter : IDXGIAdapter4
87 HRESULT get_adapter_info([out] struct wine_dxgi_adapter_info *info);
91 object,
92 local,
93 uuid(ea02a0d1-4c95-488a-a82c-6034621e8c4f)
95 interface IWineDXGIFactory : IDXGIFactory7