HKEY_DYN_DATA\Config Manager\Enum patch

Robert Reif reif at earthlink.net
Sat Jul 10 16:57:33 CDT 2004


Adds HKEY_DYN_DATA\Config Manager\Enum to registry.
-------------- next part --------------
Index: misc/registry.c
===================================================================
RCS file: /home/wine/wine/misc/registry.c,v
retrieving revision 1.144
diff -u -r1.144 registry.c
--- misc/registry.c	14 Jun 2004 17:04:34 -0000	1.144
+++ misc/registry.c	10 Jul 2004 21:54:08 -0000
@@ -1085,6 +1085,9 @@
     static const WCHAR StatDataW[] = {'D','y','n','D','a','t','a','\\',
                                       'P','e','r','f','S','t','a','t','s','\\',
                                       'S','t','a','t','D','a','t','a',0};
+    static const WCHAR ConfigManagerW[] = {'D','y','n','D','a','t','a','\\',
+                                           'C','o','n','f','i','g',' ','M','a','n','a','g','e','r','\\',
+                                            'E','n','u','m',0};
     HKEY hkey;
     OBJECT_ATTRIBUTES attr;
     UNICODE_STRING nameW;
@@ -1099,6 +1102,9 @@
     attr.SecurityQualityOfService = NULL;
 
     RtlInitUnicodeString( &nameW, StatDataW );
+    if (!NtCreateKey( &hkey, KEY_ALL_ACCESS, &attr, 0, NULL, 0, NULL )) NtClose( hkey );
+
+    RtlInitUnicodeString( &nameW, ConfigManagerW );
     if (!NtCreateKey( &hkey, KEY_ALL_ACCESS, &attr, 0, NULL, 0, NULL )) NtClose( hkey );
 }
 


More information about the wine-patches mailing list