psapi: Remove unneeded cast.
[wine/hacks.git] / programs / winecfg / properties.h
blob8ff17c6ea23216f5393543e1e15745eab604619f
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, 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 #define DLL_NATIVE 0x0000
41 #define DLL_BUILTIN 0x0001
43 typedef struct
45 char szName[MAX_NAME_LENGTH];
46 int nType;
47 } DLL_DESC;
49 typedef struct
51 char szName[MAX_NAME_LENGTH];
52 char szWinVer[MAX_VERSION_LENGTH];
53 char szDOSVer[MAX_VERSION_LENGTH];
54 HDPA DLLs;
55 } APP_DESC;
57 typedef struct
59 UINT nameID;
60 char szDriver[MAX_NAME_LENGTH];
61 } AUDIO_DRIVER;
63 typedef struct
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;
84 typedef struct
86 char szNode[MAX_NAME_LENGTH];
87 int nType;
88 } DEV_NODES;
90 #endif