d3dcompiler: Don't allow semantics on void functions.
[wine/multimedia.git] / include / wine / winedxgi.idl
blob363030a0018023be017db215f50126dc42af3eb0
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 import "dxgi.idl";
22 object,
23 local,
24 uuid(a07ad9ab-fb01-4574-8bfb-0a70a7373f04)
26 interface IWineDXGIFactory : IDXGIFactory
28 struct wined3d *get_wined3d();
32 object,
33 local,
34 uuid(ab1de34c-2963-4ffd-8493-40f580e510e5)
36 interface IWineDXGIAdapter : IDXGIAdapter
38 UINT get_ordinal();
42 object,
43 local,
44 uuid(3e1ff30b-c951-48c3-b010-0fb49f3dca71)
46 interface IWineDXGIDevice : IDXGIDevice
48 struct wined3d_device *get_wined3d_device();
49 HRESULT create_surface(
50 [in] const DXGI_SURFACE_DESC *desc,
51 [in] DXGI_USAGE usage,
52 [in] const DXGI_SHARED_RESOURCE *shared_resource,
53 [in] IUnknown *outer,
54 [out] void **surface
56 HRESULT create_swapchain(
57 [in] struct wined3d_swapchain_desc *desc,
58 [out] struct wined3d_swapchain **wined3d_swapchain
63 object,
64 local,
65 uuid(f2b918f3-603f-430a-9ccd-55872b6e85df)
67 interface IWineDXGIDeviceParent : IUnknown
69 struct wined3d_device_parent *get_wined3d_device_parent();