[ros-diffs] [cgutman] 46182: [NTOSKRNL] - Don't set the RTL_QUERY_REGISTRY_REQUIRED flag for the Service key entry of the query table because it will cause RtlQueryRegistryValues to fail if the service key is absent which we don't want because we handle that case later

cgutman at svn.reactos.org cgutman at svn.reactos.org
Sat Mar 13 20:38:49 CET 2010


Author: cgutman
Date: Sat Mar 13 20:38:49 2010
New Revision: 46182

URL: http://svn.reactos.org/svn/reactos?rev=46182&view=rev
Log:
[NTOSKRNL]
 - Don't set the RTL_QUERY_REGISTRY_REQUIRED flag for the Service key entry of the query table because it will cause RtlQueryRegistryValues to fail if the service key is absent which we don't want because we handle that case later

Modified:
    trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c

Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c?rev=46182&r1=46181&r2=46182&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] Sat Mar 13 20:38:49 2010
@@ -1893,7 +1893,7 @@
       RtlInitUnicodeString(&ClassGUID, NULL);
 
       QueryTable[0].Name = L"Service";
-      QueryTable[0].Flags = RTL_QUERY_REGISTRY_DIRECT | RTL_QUERY_REGISTRY_REQUIRED;
+      QueryTable[0].Flags = RTL_QUERY_REGISTRY_DIRECT;
       QueryTable[0].EntryContext = Service;
 
       QueryTable[1].Name = L"ClassGUID";




More information about the Ros-diffs mailing list