xref: /reactos/media/sdb/sysmain.xml (revision d2c71d76)
1<SDB>
2    <DATABASE>
3        <NAME>ReactOS compatibility fix database</NAME>
4        <OS_PLATFORM >1</OS_PLATFORM>
5        <DATABASE_ID>{11111111-1111-1111-1111-111111111111}</DATABASE_ID>
6        <LIBRARY>
7            <INCLUDE MODULE="kernel32.dll" />
8            <INCLUDE MODULE="msvcrt.dll" />
9            <INCLUDE MODULE="ole32.dll" />
10            <INCLUDE MODULE="oleaut32.dll" />
11
12            <!-- Version lie shims -->
13
14            <SHIM NAME="Win95VersionLie">
15                <INCLUDE MODULE="shell32.dll" />
16                <INCLUDE MODULE="msi.dll" />
17                <EXCLUDE MODULE="kernel32.dll" />
18                <EXCLUDE MODULE="msvcrt.dll" />
19                <EXCLUDE MODULE="ole32.dll" />
20                <EXCLUDE MODULE="oleaut32.dll" />
21                <DLLFILE>aclayers.dll</DLLFILE>
22            </SHIM>
23            <SHIM NAME="Win98VersionLie">
24                <INCLUDE MODULE="shell32.dll" />
25                <INCLUDE MODULE="msi.dll" />
26                <EXCLUDE MODULE="kernel32.dll" />
27                <EXCLUDE MODULE="msvcrt.dll" />
28                <EXCLUDE MODULE="ole32.dll" />
29                <EXCLUDE MODULE="oleaut32.dll" />
30                <DLLFILE>aclayers.dll</DLLFILE>
31            </SHIM>
32            <SHIM NAME="WinNT4SP5VersionLie">
33                <INCLUDE MODULE="shell32.dll" />
34                <INCLUDE MODULE="msi.dll" />
35                <EXCLUDE MODULE="kernel32.dll" />
36                <EXCLUDE MODULE="msvcrt.dll" />
37                <EXCLUDE MODULE="ole32.dll" />
38                <EXCLUDE MODULE="oleaut32.dll" />
39                <DLLFILE>aclayers.dll</DLLFILE>
40            </SHIM>
41            <SHIM NAME="Win2000VersionLie">
42                <INCLUDE MODULE="shell32.dll" />
43                <INCLUDE MODULE="msi.dll" />
44                <EXCLUDE MODULE="kernel32.dll" />
45                <EXCLUDE MODULE="msvcrt.dll" />
46                <EXCLUDE MODULE="ole32.dll" />
47                <EXCLUDE MODULE="oleaut32.dll" />
48                <DLLFILE>aclayers.dll</DLLFILE>
49            </SHIM>
50            <SHIM NAME="Win2000SP1VersionLie">
51                <INCLUDE MODULE="shell32.dll" />
52                <INCLUDE MODULE="msi.dll" />
53                <EXCLUDE MODULE="kernel32.dll" />
54                <EXCLUDE MODULE="msvcrt.dll" />
55                <EXCLUDE MODULE="ole32.dll" />
56                <EXCLUDE MODULE="oleaut32.dll" />
57                <DLLFILE>aclayers.dll</DLLFILE>
58            </SHIM>
59            <SHIM NAME="Win2000SP2VersionLie">
60                <INCLUDE MODULE="shell32.dll" />
61                <INCLUDE MODULE="msi.dll" />
62                <EXCLUDE MODULE="kernel32.dll" />
63                <EXCLUDE MODULE="msvcrt.dll" />
64                <EXCLUDE MODULE="ole32.dll" />
65                <EXCLUDE MODULE="oleaut32.dll" />
66                <DLLFILE>aclayers.dll</DLLFILE>
67            </SHIM>
68            <SHIM NAME="Win2000SP3VersionLie">
69                <INCLUDE MODULE="shell32.dll" />
70                <INCLUDE MODULE="msi.dll" />
71                <EXCLUDE MODULE="kernel32.dll" />
72                <EXCLUDE MODULE="msvcrt.dll" />
73                <EXCLUDE MODULE="ole32.dll" />
74                <EXCLUDE MODULE="oleaut32.dll" />
75                <DLLFILE>aclayers.dll</DLLFILE>
76            </SHIM>
77            <SHIM NAME="WinXPVersionLie">
78                <INCLUDE MODULE="shell32.dll" />
79                <INCLUDE MODULE="msi.dll" />
80                <EXCLUDE MODULE="kernel32.dll" />
81                <EXCLUDE MODULE="msvcrt.dll" />
82                <EXCLUDE MODULE="ole32.dll" />
83                <EXCLUDE MODULE="oleaut32.dll" />
84                <DLLFILE>aclayers.dll</DLLFILE>
85            </SHIM>
86            <SHIM NAME="WinXPSP1VersionLie">
87                <INCLUDE MODULE="shell32.dll" />
88                <INCLUDE MODULE="msi.dll" />
89                <EXCLUDE MODULE="kernel32.dll" />
90                <EXCLUDE MODULE="msvcrt.dll" />
91                <EXCLUDE MODULE="ole32.dll" />
92                <EXCLUDE MODULE="oleaut32.dll" />
93                <DLLFILE>aclayers.dll</DLLFILE>
94            </SHIM>
95            <SHIM NAME="WinXPSP2VersionLie">
96                <INCLUDE MODULE="shell32.dll" />
97                <INCLUDE MODULE="msi.dll" />
98                <EXCLUDE MODULE="kernel32.dll" />
99                <EXCLUDE MODULE="msvcrt.dll" />
100                <EXCLUDE MODULE="ole32.dll" />
101                <EXCLUDE MODULE="oleaut32.dll" />
102                <DLLFILE>aclayers.dll</DLLFILE>
103            </SHIM>
104            <SHIM NAME="WinXPSP3VersionLie">
105                <INCLUDE MODULE="shell32.dll" />
106                <INCLUDE MODULE="msi.dll" />
107                <EXCLUDE MODULE="kernel32.dll" />
108                <EXCLUDE MODULE="msvcrt.dll" />
109                <EXCLUDE MODULE="ole32.dll" />
110                <EXCLUDE MODULE="oleaut32.dll" />
111                <DLLFILE>aclayers.dll</DLLFILE>
112            </SHIM>
113            <SHIM NAME="Win2k3RTMVersionLie">
114                <INCLUDE MODULE="shell32.dll" />
115                <INCLUDE MODULE="msi.dll" />
116                <EXCLUDE MODULE="kernel32.dll" />
117                <EXCLUDE MODULE="msvcrt.dll" />
118                <EXCLUDE MODULE="ole32.dll" />
119                <EXCLUDE MODULE="oleaut32.dll" />
120                <DLLFILE>aclayers.dll</DLLFILE>
121            </SHIM>
122            <SHIM NAME="Win2k3SP1VersionLie">
123                <INCLUDE MODULE="shell32.dll" />
124                <INCLUDE MODULE="msi.dll" />
125                <EXCLUDE MODULE="kernel32.dll" />
126                <EXCLUDE MODULE="msvcrt.dll" />
127                <EXCLUDE MODULE="ole32.dll" />
128                <EXCLUDE MODULE="oleaut32.dll" />
129                <DLLFILE>aclayers.dll</DLLFILE>
130            </SHIM>
131            <SHIM NAME="Win2k3SP2VersionLie">
132                <INCLUDE MODULE="shell32.dll" />
133                <INCLUDE MODULE="msi.dll" />
134                <EXCLUDE MODULE="kernel32.dll" />
135                <EXCLUDE MODULE="msvcrt.dll" />
136                <EXCLUDE MODULE="ole32.dll" />
137                <EXCLUDE MODULE="oleaut32.dll" />
138                <DLLFILE>aclayers.dll</DLLFILE>
139            </SHIM>
140            <SHIM NAME="VistaRTMVersionLie">
141                <INCLUDE MODULE="shell32.dll" />
142                <INCLUDE MODULE="msi.dll" />
143                <EXCLUDE MODULE="kernel32.dll" />
144                <EXCLUDE MODULE="msvcrt.dll" />
145                <EXCLUDE MODULE="ole32.dll" />
146                <EXCLUDE MODULE="oleaut32.dll" />
147                <DLLFILE>aclayers.dll</DLLFILE>
148            </SHIM>
149            <SHIM NAME="VistaSP1VersionLie">
150                <INCLUDE MODULE="shell32.dll" />
151                <INCLUDE MODULE="msi.dll" />
152                <EXCLUDE MODULE="kernel32.dll" />
153                <EXCLUDE MODULE="msvcrt.dll" />
154                <EXCLUDE MODULE="ole32.dll" />
155                <EXCLUDE MODULE="oleaut32.dll" />
156                <DLLFILE>aclayers.dll</DLLFILE>
157            </SHIM>
158            <SHIM NAME="VistaSP2VersionLie">
159                <INCLUDE MODULE="shell32.dll" />
160                <INCLUDE MODULE="msi.dll" />
161                <EXCLUDE MODULE="kernel32.dll" />
162                <EXCLUDE MODULE="msvcrt.dll" />
163                <EXCLUDE MODULE="ole32.dll" />
164                <EXCLUDE MODULE="oleaut32.dll" />
165                <DLLFILE>aclayers.dll</DLLFILE>
166            </SHIM>
167            <SHIM NAME="Win7RTMVersionLie">
168                <INCLUDE MODULE="shell32.dll" />
169                <INCLUDE MODULE="msi.dll" />
170                <EXCLUDE MODULE="kernel32.dll" />
171                <EXCLUDE MODULE="msvcrt.dll" />
172                <EXCLUDE MODULE="ole32.dll" />
173                <EXCLUDE MODULE="oleaut32.dll" />
174                <DLLFILE>aclayers.dll</DLLFILE>
175            </SHIM>
176            <SHIM NAME="Win7SP1VersionLie">
177                <INCLUDE MODULE="shell32.dll" />
178                <INCLUDE MODULE="msi.dll" />
179                <EXCLUDE MODULE="kernel32.dll" />
180                <EXCLUDE MODULE="msvcrt.dll" />
181                <EXCLUDE MODULE="ole32.dll" />
182                <EXCLUDE MODULE="oleaut32.dll" />
183                <DLLFILE>aclayers.dll</DLLFILE>
184            </SHIM>
185            <SHIM NAME="Win8RTMVersionLie">
186                <INCLUDE MODULE="shell32.dll" />
187                <INCLUDE MODULE="msi.dll" />
188                <EXCLUDE MODULE="kernel32.dll" />
189                <EXCLUDE MODULE="msvcrt.dll" />
190                <EXCLUDE MODULE="ole32.dll" />
191                <EXCLUDE MODULE="oleaut32.dll" />
192                <DLLFILE>aclayers.dll</DLLFILE>
193            </SHIM>
194            <SHIM NAME="Win81RTMVersionLie">
195                <INCLUDE MODULE="shell32.dll" />
196                <INCLUDE MODULE="msi.dll" />
197                <EXCLUDE MODULE="kernel32.dll" />
198                <EXCLUDE MODULE="msvcrt.dll" />
199                <EXCLUDE MODULE="ole32.dll" />
200                <EXCLUDE MODULE="oleaut32.dll" />
201                <DLLFILE>aclayers.dll</DLLFILE>
202            </SHIM>
203
204            <!-- Display mode shims -->
205
206            <SHIM NAME="Force640x480">
207                <DLLFILE>aclayers.dll</DLLFILE>
208            </SHIM>
209            <SHIM NAME="Force8BitColor">
210                <DLLFILE>aclayers.dll</DLLFILE>
211            </SHIM>
212
213            <!-- misc shims -->
214
215            <SHIM NAME="DisableThemes">
216                <DLLFILE>acgenral.dll</DLLFILE>
217            </SHIM>
218            <SHIM NAME="IgnoreFreeLibrary">
219                <DLLFILE>acgenral.dll</DLLFILE>
220            </SHIM>
221            <SHIM NAME="VMHorizonSetup">
222                <DLLFILE>aclayers.dll</DLLFILE>
223            </SHIM>
224
225            <SHIM NAME="HideShimEnv">
226                <DLLFILE>aclayers.dll</DLLFILE>
227            </SHIM>
228
229            <FLAG NAME="GetShortPathNameNT4">
230                <FLAG_MASK_KERNEL>1</FLAG_MASK_KERNEL>
231            </FLAG>
232            <FLAG NAME="GetDiskFreeSpace2GB">
233                <FLAG_MASK_KERNEL>8</FLAG_MASK_KERNEL>
234            </FLAG>
235
236        </LIBRARY>
237
238        <!-- Backwards compatibility layers, incomplete! -->
239
240        <LAYER NAME="WIN95">
241            <SHIM_REF NAME="Win95VersionLie" />
242            <!-- TODO: Add more fixes! -->
243        </LAYER>
244        <LAYER NAME="WIN98">
245            <SHIM_REF NAME="Win98VersionLie" />
246            <!-- TODO: Add more fixes! -->
247        </LAYER>
248        <LAYER NAME="NT4SP5">
249            <SHIM_REF NAME="WinNT4SP5VersionLie" />
250            <!-- TODO: Add more fixes! -->
251        </LAYER>
252        <LAYER NAME="WIN2000">
253            <SHIM_REF NAME="Win2000VersionLie" />
254            <!-- TODO: Add more fixes! -->
255        </LAYER>
256        <LAYER NAME="WIN2000SP1">
257            <SHIM_REF NAME="Win2000SP1VersionLie" />
258            <!-- TODO: Add more fixes! -->
259        </LAYER>
260        <LAYER NAME="WIN2000SP2">
261            <SHIM_REF NAME="Win2000SP2VersionLie" />
262            <!-- TODO: Add more fixes! -->
263        </LAYER>
264        <LAYER NAME="WIN2000SP3">
265            <SHIM_REF NAME="Win2000SP3VersionLie" />
266            <!-- TODO: Add more fixes! -->
267        </LAYER>
268        <LAYER NAME="WINXP">
269            <SHIM_REF NAME="WinXPVersionLie" />
270            <!-- TODO: Add more fixes! -->
271        </LAYER>
272        <LAYER NAME="WINXPSP1">
273            <SHIM_REF NAME="WinXPSP1VersionLie" />
274            <!-- TODO: Add more fixes! -->
275        </LAYER>
276        <LAYER NAME="WINXPSP2">
277            <SHIM_REF NAME="WinXPSP2VersionLie" />
278            <!-- TODO: Add more fixes! -->
279        </LAYER>
280        <LAYER NAME="WINXPSP3">
281            <SHIM_REF NAME="WinXPSP3VersionLie" />
282            <!-- TODO: Add more fixes! -->
283        </LAYER>
284        <LAYER NAME="WINSRV03RTM">
285            <SHIM_REF NAME="Win2k3RTMVersionLie" />
286            <!-- TODO: Add more fixes! -->
287        </LAYER>
288        <LAYER NAME="WINSRV03SP1">
289            <SHIM_REF NAME="Win2k3SP1VersionLie" />
290            <!-- TODO: Add more fixes! -->
291        </LAYER>
292        <LAYER NAME="WINSRV03SP2">
293            <SHIM_REF NAME="Win2k3SP2VersionLie" />
294            <!-- TODO: Add more fixes! -->
295        </LAYER>
296        <LAYER NAME="VISTARTM">
297            <SHIM_REF NAME="VistaRTMVersionLie" />
298            <DATA NAME="SHIMVERSIONNT" DATA_DWORD="600" />
299            <!-- TODO: Add more fixes! -->
300        </LAYER>
301        <LAYER NAME="VISTASP1">
302            <SHIM_REF NAME="VistaSP1VersionLie" />
303            <DATA NAME="SHIMVERSIONNT" DATA_DWORD="600" />
304            <!-- TODO: Add more fixes! -->
305        </LAYER>
306        <LAYER NAME="VISTASP2">
307            <SHIM_REF NAME="VistaSP2VersionLie" />
308            <DATA NAME="SHIMVERSIONNT" DATA_DWORD="600" />
309            <!-- TODO: Add more fixes! -->
310        </LAYER>
311        <LAYER NAME="WINSRV08">
312            <SHIM_REF NAME="VistaRTMVersionLie" />
313            <DATA NAME="SHIMVERSIONNT" DATA_DWORD="600" />
314            <!-- TODO: Add more fixes! -->
315        </LAYER>
316        <LAYER NAME="WINSRV08SP1">
317            <SHIM_REF NAME="VistaSP1VersionLie" />
318            <DATA NAME="SHIMVERSIONNT" DATA_DWORD="600" />
319            <!-- TODO: Add more fixes! -->
320        </LAYER>
321        <LAYER NAME="WINSRV08SP2">
322            <SHIM_REF NAME="VistaSP2VersionLie" />
323            <DATA NAME="SHIMVERSIONNT" DATA_DWORD="600" />
324            <!-- TODO: Add more fixes! -->
325        </LAYER>
326        <LAYER NAME="WIN7RTM">
327            <SHIM_REF NAME="Win7RTMVersionLie" />
328            <DATA NAME="SHIMVERSIONNT" DATA_DWORD="601" />
329            <!-- TODO: Add more fixes! -->
330        </LAYER>
331        <LAYER NAME="WIN7SP1">
332            <!-- ReactOS specific. Windows does not have this version lie -->
333            <SHIM_REF NAME="Win7SP1VersionLie" />
334            <DATA NAME="SHIMVERSIONNT" DATA_DWORD="601" />
335            <!-- TODO: Add more fixes! -->
336        </LAYER>
337        <LAYER NAME="WIN8RTM">
338            <SHIM_REF NAME="Win8RTMVersionLie" />
339            <DATA NAME="SHIMVERSIONNT" DATA_DWORD="602" />
340            <!-- TODO: Add more fixes! -->
341        </LAYER>
342        <LAYER NAME="WIN81RTM">
343            <SHIM_REF NAME="Win81RTMVersionLie" />
344            <DATA NAME="SHIMVERSIONNT" DATA_DWORD="603" />
345            <!-- TODO: Add more fixes! -->
346        </LAYER>
347
348
349
350        <!-- Display mode layers -->
351
352        <LAYER NAME="256Color">
353            <SHIM_REF NAME="DisableThemes" />
354            <SHIM_REF NAME="Force8BitColor" />
355        </LAYER>
356        <LAYER NAME="640X480">
357            <SHIM_REF NAME="Force640x480" />
358        </LAYER>
359
360
361        <!-- misc layers -->
362
363        <LAYER NAME="DisableThemes">
364            <SHIM_REF NAME="DisableThemes" />
365        </LAYER>
366        <LAYER NAME="VMHorizonSetup">
367            <!-- ProductId: {7051C96D-AA61-4D83-AF37-646E82D616ED} -->
368            <SHIM_REF NAME="VMHorizonSetup" />
369        </LAYER>
370
371        <!-- 'Flag' layers -->
372        <LAYER NAME="GetShortPathNameNT4">
373            <FLAG_REF NAME="GetShortPathNameNT4" />
374        </LAYER>
375        <LAYER NAME="GetDiskFreeSpace2GB">
376            <FLAG_REF NAME="GetDiskFreeSpace2GB" />
377        </LAYER>
378
379        <!-- Applications -->
380
381        <!-- Globulation 2 -->
382        <EXE NAME="glob2.exe" APP_NAME="Globulation 2" VENDOR="Globulation 2 authors">
383            <MATCHING_FILE NAME="*">
384                <SIZE>0x471e00</SIZE>
385                <CHECKSUM>0x89bf7c2a</CHECKSUM>
386                <MODULE_TYPE>0x3</MODULE_TYPE>
387                <PE_CHECKSUM>0x4793cf</PE_CHECKSUM>
388                <LINKER_VERSION>0x10000</LINKER_VERSION>
389                <LINK_DATE>0x4a9b2979</LINK_DATE>
390            </MATCHING_FILE>
391            <SHIM_REF NAME="IgnoreFreeLibrary" COMMAND_LINE="libpng12.dll" />
392        </EXE>
393
394    </DATABASE>
395</SDB>