Re: IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
- From: francois <fkanounnikoff@xxxxxxxx>
- Date: Fri, 28 Mar 2008 15:16:41 -0700 (PDT)
We are trying to pull "DevicePropertyBusTypeGuid" property
Why? You already know it's a USB device, aren't you going to get the
USB bus GUID every time?
Unless, of course, your driver is shared with 1394, or PCI, or
something equally insidious, perhaps..
Indeed, our driver is supporting USB and PCI devices.
Thank you for your inputs.
If my understanding is correct, usbhub20 is expected to be the parent
driver for non-composite devices, and usbhub the parent driver for
composite devices if the 3 conditions you pointed are satisfied.
But do you see any reason why the call to IoGetDeviceProperty() would
failed ?
I figured out that IoGetDeviceProperty() was dereferencing some field
in the DevNode from the USBHUB DeviceObjectExtension. That field
(offsett 0x68 in the DevNode) equals 0xFFFF and the function returns
STATUS_OBJECT_NOT_FOUND.
That same field equals 0x0002 in the DevNode from USBHUB20
DeviceObjectExtension (non composite device).
.
- Follow-Ups:
- Re: IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
- From: Doron Holan [MSFT]
- Re: IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
- References:
- IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
- From: francois
- Re: IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
- From: chris . aseltine
- Re: IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
- From: francois
- Re: IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
- From: chris . aseltine
- IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
- Prev by Date: Re: W2K Libraries are corrupted in the WS2008 and Vista RTM releases..
- Next by Date: Re: IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
- Previous by thread: Re: IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
- Next by thread: Re: IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
- Index(es):
Relevant Pages
|