- GL state change optimizations
[wine/multimedia.git] / programs / winecfg / properties.h
blob7ca7ae6e6ee165b18cce20f994233b76f1fa91c8
1 /*
2 * WineCfg configuration properties
4 * Copyright 2002 Jaco Greeff
5 * Copyright 2003 Dimitrie O. Paun
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #ifndef WINE_CFG_PROPERTIES_H
24 #define WINE_CFG_PROPERTIES_H
26 #include "commctrl.h"
28 #define MAX_NAME_LENGTH 64
29 #define MAX_VERSION_LENGTH 48
30 #define MAX_DESCRIPTION_LENGTH 128
32 typedef struct
34 char szVersion[MAX_VERSION_LENGTH];
35 char szDescription[MAX_DESCRIPTION_LENGTH];
36 } VERSION_DESC;
38 #define DLL_NATIVE 0x0000
39 #define DLL_BUILTIN 0x0001
41 typedef struct
43 char szName[MAX_NAME_LENGTH];
44 int nType;
45 } DLL_DESC;
47 typedef struct
49 char szName[MAX_NAME_LENGTH];
50 char szWinVer[MAX_VERSION_LENGTH];
51 char szDOSVer[MAX_VERSION_LENGTH];
52 HDPA DLLs;
53 } APP_DESC;
55 typedef struct
57 char szX11Display[MAX_NAME_LENGTH];
58 int nSysColors;
59 int nPrivateMap;
60 int nPerfect;
61 int nDepth;
62 int nManaged;
63 int nDesktopSizeX;
64 int nDesktopSizeY;
65 int nDGA;
66 int nXShm;
67 int nXVidMode;
68 int nTakeFocus;
69 int nDXGrab;
70 int nDoubleBuffered;
71 int nTextCP;
72 int nXVideoPort;
73 int nSynchronous;
74 } X11DRV_DESC;
76 const VERSION_DESC *getWinVersions(void);
77 const VERSION_DESC *getDOSVersions(void);
78 const VERSION_DESC *getWinelook(void);
79 const DLL_DESC *getDLLDefaults(void);
81 #endif