Re: IoGetDeviceProperty() failed with property DevicePropertyBusTy
From: Eliyas Yakub [MSFT] (eliyasy_at_online.microsoft.com)
Date: 10/27/04
- Next message: Moritz Franckenstein: "mouse filter driver to invert the mouse y-axis system-wide?"
- Previous message: Nexus: "WDM"
- In reply to: wenhua: "Re: IoGetDeviceProperty() failed with property DevicePropertyBusTy"
- Next in thread: wenhua: "Re: IoGetDeviceProperty() failed with property DevicePropertyBusTy"
- Reply: wenhua: "Re: IoGetDeviceProperty() failed with property DevicePropertyBusTy"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 27 Oct 2004 08:55:10 -0700
Just before your driver calls IoGetDeviceProperty, set a break point on the
following two functions and see which one returns an error:
bp nt!IopOpenRegistryKeyEx
bp nt!IopGetRegistryValue
When you hit the breakpoint of IopOpenRegistryKeyEx, get the stack trace and
dump the third parameter with dS command. That will show the key it's trying
to open.
When you hit the breakpoint of IopGetRegistryValue, dump the second param
with du command. That will show the value it's trying to open.
I'm sure one of these calls is failing. Then inspect the registry to see
what it's looking for is really there.
-- -Eliyas This posting is provided "AS IS" with no warranties, and confers no rights. http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx
- Next message: Moritz Franckenstein: "mouse filter driver to invert the mouse y-axis system-wide?"
- Previous message: Nexus: "WDM"
- In reply to: wenhua: "Re: IoGetDeviceProperty() failed with property DevicePropertyBusTy"
- Next in thread: wenhua: "Re: IoGetDeviceProperty() failed with property DevicePropertyBusTy"
- Reply: wenhua: "Re: IoGetDeviceProperty() failed with property DevicePropertyBusTy"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|