- Driver failing with Device Manager code 31
- Posted by Ananth on July 9th, 2003
I Have a BUS Driver that is based on the TOASTER BUS Driver in DDK .
Using this BUS driver I am trying to load my Modem Driver .
This driver is working well in normal situations.
When I do surprize removal when some application is connected to MODEM
Driver, my BUS driver is loading properly .
But after that sequence if I close the application and does Surprise
removal of the MODEM Device , then next time the my BUS Driver is not
loading during Plug-IN of my device.
The error it was showing is " Driver failing with Device Manager code
31 "
This is coming more often with SP3.
Is there any problem with Composite BUS Drivers like TOASTER BUS
DRIVER attached with USB BUS Driver w.r.t SP3 ??
Thank you
Ajay
- Posted by Martin Borve on July 22nd, 2003
It's likely that you have a leaked reference count somewhere that is
preventing your driver from successfully unloading. If you are enumerating
child PDOs, see if they still have a non-zero reference count after you
remove the device.
Also, there is a problem with IoCreateSymbolicLink if you attempt to create
the same symbolic link name for an object more than once. It will leak a
reference count in this case. This problem is fixed by the hotfix
referenced by KB article 818826.
Thanks,
Martin Borve
Windows DDK Support
This posting is provided "AS IS" with no warranties, and confers no rights.
- Device Manager Error Code 37 (Help and Support) by josh
- No driver installed in device manager for Canon A620 (Hardware) by James
- Device Manager: Serial (Code 24) (Microsoft Windows) by playwin
- Cannot initialise device driver (code 37) (Microsoft Windows) by sambaboy
- Re: How to extract driver date (as displayed in device manager)? (Drivers) by ccc

