Changed Adam Sacarny's email, and -debugmsg to --debugmsg.
[wine/gsoc_dplay.git] / dlls / x11drv / x11ddraw.h
blob43220480ca6fcd83fb72bf16408b3820b1cd1e31
1 /*
2 * DirectDraw HAL base interface
4 * Copyright 2001 TransGaming Technologies, Inc.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 #ifndef __WINE_X11DDRAW_H
21 #define __WINE_X11DDRAW_H
23 #ifndef __WINE_CONFIG_H
24 # error You must include config.h to use this header
25 #endif
27 #include <stdarg.h>
29 #include "windef.h"
30 #include "winbase.h"
31 #include "wingdi.h"
32 #include "ddrawi.h"
34 extern LPDDRAWI_DDRAWSURFACE_LCL X11DRV_DD_Primary;
35 extern LPDDRAWI_DDRAWSURFACE_GBL X11DRV_DD_PrimaryGbl;
36 extern HWND X11DRV_DD_PrimaryWnd;
37 extern HBITMAP X11DRV_DD_PrimaryDIB;
38 extern BOOL X11DRV_DD_IsDirect;
40 void X11DRV_DDHAL_SwitchMode(DWORD dwModeIndex, LPVOID fb_addr, LPVIDMEM fb_mem);
41 void X11DRV_DDHAL_SetPalEntries(Colormap pal, DWORD dwBase, DWORD dwNumEntries,
42 LPPALETTEENTRY lpEntries);
44 typedef struct _X11DRIVERINFO {
45 const GUID * lpGuid;
46 DWORD dwSize;
47 LPVOID lpvData;
48 struct _X11DRIVERINFO*lpNext;
49 } X11DRIVERINFO,*LPX11DRIVERINFO;
51 typedef struct _X11DEVICE {
52 LPX11DRIVERINFO lpInfo;
53 } X11DEVICE,*LPX11DEVICE;
55 #endif /* __WINE_X11DDRAW_H */