ole2disp.dll16: Implement SafeArrayGet[UBound|LBound].
[wine.git] / include / wine / winedxgi.idl
bloba4f715b60766ab15a72db1ee4fd463cfef1af860
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 "dxgi.idl";
24 object,
25 local,
26 uuid(3e1ff30b-c951-48c3-b010-0fb49f3dca71)
28 interface IWineDXGIDevice : IDXGIDevice1
30 HRESULT create_surface(
31 [in] struct wined3d_texture *wined3d_texture,
32 [in] DXGI_USAGE usage,
33 [in] const DXGI_SHARED_RESOURCE *shared_resource,
34 [in] IUnknown *outer,
35 [out] void **surface
37 HRESULT create_swapchain(
38 [in] struct wined3d_swapchain_desc *desc,
39 [in] BOOL implicit,
40 [out] struct wined3d_swapchain **wined3d_swapchain
45 object,
46 local,
47 uuid(f2b918f3-603f-430a-9ccd-55872b6e85df)
49 interface IWineDXGIDeviceParent : IUnknown
51 struct wined3d_device_parent *get_wined3d_device_parent();