d2d1: Implement d2d_state_block_GetFactory().
[wine.git] / include / wine / winedxgi.idl
blob498058853c62d90541f91a0908e28243550167fb
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(3e1ff30b-c951-48c3-b010-0fb49f3dca71)
26 interface IWineDXGIDevice : IDXGIDevice
28 HRESULT create_surface(
29 [in] const DXGI_SURFACE_DESC *desc,
30 [in] DXGI_USAGE usage,
31 [in] const DXGI_SHARED_RESOURCE *shared_resource,
32 [in] IUnknown *outer,
33 [out] void **surface
35 HRESULT create_swapchain(
36 [in] struct wined3d_swapchain_desc *desc,
37 [out] struct wined3d_swapchain **wined3d_swapchain
42 object,
43 local,
44 uuid(f2b918f3-603f-430a-9ccd-55872b6e85df)
46 interface IWineDXGIDeviceParent : IUnknown
48 struct wined3d_device_parent *get_wined3d_device_parent();