Update the address of the Free Software Foundation.
[wine] / programs / winecfg / properties.h
1 /*
2  * WineCfg configuration properties
3  *
4  * Copyright 2002 Jaco Greeff
5  * Copyright 2003 Dimitrie O. Paun
6  * Copyright 2003 Mark Westcott
7  *
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.
12  *
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.
17  *
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21  *
22  */
23
24 #ifndef WINE_CFG_PROPERTIES_H
25 #define WINE_CFG_PROPERTIES_H
26
27 #include <stdarg.h>
28
29 #include "windef.h"
30 #include "winbase.h"
31 #include "wingdi.h"
32 #include "winuser.h"
33 #include "winnls.h"
34 #include "commctrl.h"
35
36 #define MAX_NAME_LENGTH         64
37 #define MAX_VERSION_LENGTH      48
38 #define MAX_DESCRIPTION_LENGTH 128
39
40 #define DLL_NATIVE  0x0000
41 #define DLL_BUILTIN 0x0001
42
43 typedef struct
44 {
45     char  szName[MAX_NAME_LENGTH];
46     int   nType;
47 } DLL_DESC;
48
49 typedef struct
50 {
51     char  szName[MAX_NAME_LENGTH];
52     char  szWinVer[MAX_VERSION_LENGTH];
53     char  szDOSVer[MAX_VERSION_LENGTH];
54     HDPA  DLLs;
55 } APP_DESC;
56
57 typedef struct
58 {
59   char szName[MAX_NAME_LENGTH];
60   char szDriver[MAX_NAME_LENGTH];
61 } AUDIO_DRIVER;
62
63 typedef struct
64 {
65     char   szX11Display[MAX_NAME_LENGTH];
66     int    nSysColors;
67     int    nPrivateMap;
68     int    nPerfect;
69     int    nDepth;
70     int    nManaged;
71     int    nDesktopSizeX;
72     int    nDesktopSizeY;
73     int    nDGA;
74     int    nXVidMode;
75     int    nXShm;
76     int    nTextCP;
77     int    nXVideoPort;
78     int    nTakeFocus;
79     int    nDXGrab;
80     int    nDoubleBuffered;
81     int    nSynchronous;
82 } X11DRV_DESC;
83
84 typedef struct
85 {
86   char szNode[MAX_NAME_LENGTH];
87   int nType;
88 } DEV_NODES;
89
90 #endif