[ros-bugs] [Bug 7081] IoOpenRegistryKeyEx failed with C0000034 while loading PCI.SYS
ReactOS.Bugzilla at reactos.org
ReactOS.Bugzilla at reactos.org
Sun May 20 23:34:49 UTC 2012
http://www.reactos.org/bugzilla/show_bug.cgi?id=7081
--- Comment #1 from paul <dufresnep at gmail.com> 2012-05-20 23:34:48 CET ---
A quick search of NTSTATUS C0000034 on Internet, e.g. on:
http://nologs.com/ntstatus.html suggest that it means:
STATUS_OBJECT_NAME_NOT_FOUND
In this case, the Key 'path' would not exist... I think.
pnpinit.c:319 is near the end of the function:
NTSTATUS
248 NTAPI
249 PipCallDriverAddDevice(IN PDEVICE_NODE DeviceNode,
250 IN BOOLEAN LoadDriver,
251 IN PDRIVER_OBJECT DriverObject)
252 {
...
285 /* Get class GUID */
286 Status = IopGetRegistryValue(SubKey,
287 REGSTR_VAL_CLASSGUID,
288 &KeyValueInformation);
289 if (NT_SUCCESS(Status))
290 {
291 /* Convert to unicode string */
292 Buffer = (PVOID)((ULONG_PTR)KeyValueInformation +
KeyValueInformation->DataOffset);
293 PnpRegSzToString(Buffer, KeyValueInformation->DataLength,
&ClassGuid.Length);
294 ClassGuid.MaximumLength = (USHORT)KeyValueInformation->DataLength;
295 ClassGuid.Buffer = Buffer;
296
297 /* Open the key */
298 Status = IopOpenRegistryKeyEx(&ControlKey,
299 NULL,
300 &ControlClass,
301 KEY_READ);
302 if (!NT_SUCCESS(Status))
303 {
304 /* No class key */
305 DPRINT1("IopOpenRegistryKeyEx() failed with Status %08X\n", Status);
306 ClassKey = NULL;
307 }
308 else
309 {
310 /* Open the class key */
311 Status = IopOpenRegistryKeyEx(&ClassKey,
312 ControlKey,
313 &ClassGuid,
314 KEY_READ);
315 ZwClose(ControlKey);
316 if (!NT_SUCCESS(Status))
317 {
318 /* No class key */
319 DPRINT1("IopOpenRegistryKeyEx() failed with Status %08X\n", Status);
320 ClassKey = NULL;
321 }
322 }
I might very well say nothing good here: I think it tried to register the
PCI.SYS driver, but was not able to find the class of the key, whatever this
means.
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Ros-bugs
mailing list