VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/winedxgi.idl@ 20636

Last change on this file since 20636 was 19678, checked in by vboxsync, 16 years ago

opengl: update wine to 1.1.21, add d3d9.dll to build list

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1/*
2 * Copyright 2008-2009 Henri Verbeet for CodeWeavers
3 *
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.
8 *
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.
13 *
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
17 */
18
19/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28import "dxgi.idl";
29
30[
31 object,
32 local,
33 uuid(a07ad9ab-fb01-4574-8bfb-0a70a7373f04)
34]
35interface IWineDXGIFactory : IDXGIFactory
36{
37 struct IWineD3D *get_wined3d();
38}
39
40[
41 object,
42 local,
43 uuid(ab1de34c-2963-4ffd-8493-40f580e510e5)
44]
45interface IWineDXGIAdapter : IDXGIAdapter
46{
47 UINT get_ordinal();
48}
49
50[
51 object,
52 local,
53 uuid(3e1ff30b-c951-48c3-b010-0fb49f3dca71)
54]
55interface IWineDXGIDevice : IDXGIDevice
56{
57 struct IWineD3DDevice *get_wined3d_device();
58 HRESULT create_surface(
59 [in] const DXGI_SURFACE_DESC *desc,
60 [in] DXGI_USAGE usage,
61 [in] const DXGI_SHARED_RESOURCE *shared_resource,
62 [in] IUnknown *outer,
63 [out] void **surface
64 );
65 HRESULT create_swapchain(
66 [in] struct _WINED3DPRESENT_PARAMETERS *present_parameters,
67 [out] struct IWineD3DSwapChain **wined3d_swapchain
68 );
69}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette