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.…
==============================================================================
--- 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";