[NTOSKRNL]
authorCameron Gutman <aicommander@gmail.com>
Sat, 13 Mar 2010 19:38:49 +0000 (19:38 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sat, 13 Mar 2010 19:38:49 +0000 (19:38 +0000)
 - 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

svn path=/trunk/; revision=46182

reactos/ntoskrnl/io/pnpmgr/pnpmgr.c

index 890fd60..e841889 100644 (file)
@@ -1893,7 +1893,7 @@ IopActionConfigureChildServices(PDEVICE_NODE DeviceNode,
       RtlInitUnicodeString(&ClassGUID, NULL);
 
       QueryTable[0].Name = L"Service";
       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";
       QueryTable[0].EntryContext = Service;
 
       QueryTable[1].Name = L"ClassGUID";