dxgi: Add some stubs for IDXGISwapChain.
[wine/multimedia.git] / dlls / dxgi / dxgi_private.h
blob2c828e3b3cda3bed78d2d90137150a163c826c4c
1 /*
2 * Copyright 2008 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 #ifndef __WINE_DXGI_PRIVATE_H
20 #define __WINE_DXGI_PRIVATE_H
22 #include "wine/debug.h"
24 #define COBJMACROS
25 #include "winbase.h"
26 #include "winuser.h"
27 #include "objbase.h"
29 #include "dxgi.h"
31 /* TRACE helper functions */
32 const char *debug_dxgi_format(DXGI_FORMAT format);
34 /* IDXGIFactory */
35 extern const struct IDXGIFactoryVtbl dxgi_factory_vtbl;
36 struct dxgi_factory
38 const struct IDXGIFactoryVtbl *vtbl;
39 LONG refcount;
42 /* IDXGIDevice */
43 extern const struct IDXGIDeviceVtbl dxgi_device_vtbl;
44 struct dxgi_device
46 const struct IDXGIDeviceVtbl *vtbl;
47 LONG refcount;
50 /* IDXGIAdapter */
51 extern const struct IDXGIAdapterVtbl dxgi_adapter_vtbl;
52 struct dxgi_adapter
54 const struct IDXGIAdapterVtbl *vtbl;
55 LONG refcount;
58 /* IDXGISwapChain */
59 extern const struct IDXGISwapChainVtbl dxgi_swapchain_vtbl;
60 struct dxgi_swapchain
62 const struct IDXGISwapChainVtbl *vtbl;
63 LONG refcount;
66 #endif /* __WINE_DXGI_PRIVATE_H */