Drive caching registry entries

Mike Hearn mike at theoretic.com
Thu Jan 1 14:28:40 CST 2004


I'm not sure if this should be applied or not. It fixes some warnings in
an app I've worked on, and as we simply didn't provide these registry
entries before (and Windows always does) I guess very few apps check
them, or else we'd have had to provide them before.

However, it's possible some defensive coding has been going on, and if
these entries are present indicating drive caching has been switched off
then some apps may bail. It's impossible to know until we try it I
think. I'm concerned mostly about games - I think it's unusual for apps
to check this.

ChangeLog:
Add default registry entries to indicate that drive caching has been
switched off.


Index: winedefault.reg
===================================================================
RCS file: /home/wine/wine/winedefault.reg,v
retrieving revision 1.80
diff -u -r1.80 winedefault.reg
--- winedefault.reg	28 Nov 2003 23:15:50 -0000	1.80
+++ winedefault.reg	3 Dec 2003 17:37:28 -0000
@@ -4613,3 +4613,7 @@
 [HKEY_CLASSES_ROOT\CLSID\{E436EBB3-524F-11CE-9F53-0020AF0BA770}\InprocServer32]
 @="quartz.dll"
 "ThreadingModel"="Both"
+
+[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem]
+"ReadAheadThreshold"=hex:01,00,00,00
+"DriveWriteBehind"=hex:00,00,00,00





More information about the wine-patches mailing list