Fixed header dependencies to be fully compatible with the Windows
[wine/multimedia.git] / programs / winecfg / properties.h
blob036a6b1ec6e4e28b6ca711136e01ed1936e2ae30
1 /*
2 * WineCfg configuration properties
4 * Copyright 2002 Jaco Greeff
5 * Copyright 2003 Dimitrie O. Paun
6 * Copyright 2003 Mark Westcott
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #ifndef WINE_CFG_PROPERTIES_H
25 #define WINE_CFG_PROPERTIES_H
27 #include <stdarg.h>
29 #include "windef.h"
30 #include "winbase.h"
31 #include "wingdi.h"
32 #include "winuser.h"
33 #include "winnls.h"
34 #include "commctrl.h"
36 #define MAX_NAME_LENGTH 64
37 #define MAX_VERSION_LENGTH 48
38 #define MAX_DESCRIPTION_LENGTH 128
40 typedef struct
42 char szVersion[MAX_VERSION_LENGTH];
43 char szDescription[MAX_DESCRIPTION_LENGTH];
44 } VERSION_DESC;
46 #define DLL_NATIVE 0x0000
47 #define DLL_BUILTIN 0x0001
49 typedef struct
51 char szName[MAX_NAME_LENGTH];
52 int nType;
53 } DLL_DESC;
55 typedef struct
57 char szName[MAX_NAME_LENGTH];
58 char szWinVer[MAX_VERSION_LENGTH];
59 char szDOSVer[MAX_VERSION_LENGTH];
60 HDPA DLLs;
61 } APP_DESC;
64 typedef struct
66 char szName[MAX_NAME_LENGTH];
67 char szPath[MAX_NAME_LENGTH];
68 char szType[MAX_NAME_LENGTH];
69 char szFS[MAX_NAME_LENGTH];
70 char szLabel[MAX_NAME_LENGTH];
71 char szDevice[MAX_NAME_LENGTH];
72 char szSerial[MAX_NAME_LENGTH];
73 } DRIVE_DESC;
75 typedef struct
77 char szX11Display[MAX_NAME_LENGTH];
78 int nSysColors;
79 int nPrivateMap;
80 int nPerfect;
81 int nDepth;
82 int nManaged;
83 int nDesktopSizeX;
84 int nDesktopSizeY;
85 int nDGA;
86 int nXVidMode;
87 int nXShm;
88 int nTextCP;
89 int nXVideoPort;
90 int nTakeFocus;
91 int nDXGrab;
92 int nDoubleBuffered;
93 int nSynchronous;
94 } X11DRV_DESC;
96 const VERSION_DESC *getWinVersions(void);
97 const VERSION_DESC *getDOSVersions(void);
98 const VERSION_DESC *getWinelook(void);
99 const DLL_DESC *getDLLDefaults(void);
101 #endif