Freeze when unplugging SmartNav
Posted: Sun Apr 04, 2004 8:36 am
If I unplug the SmartNav, the computer freezes. This has been a problem for a LONG time now. Has any progress been made on this?
When a USB device is unplugged, the device driver is supposed to receive a PnP request with a minor code of IRP_MN_SURPRISE_REMOVAL followed later by IRP_MN_REMOVE_DEVICE (on Windows 98, only the IRP_MN_REMOVE_DEVICE is sent). Does your driver handle IRP_MN_SURPRISE_REMOVAL? Does it handle an unexpected IRP_MN_REMOVE_DEVICE?
[ April 04, 2004, 03:37 PM: Message edited by: Eric M ]
When a USB device is unplugged, the device driver is supposed to receive a PnP request with a minor code of IRP_MN_SURPRISE_REMOVAL followed later by IRP_MN_REMOVE_DEVICE (on Windows 98, only the IRP_MN_REMOVE_DEVICE is sent). Does your driver handle IRP_MN_SURPRISE_REMOVAL? Does it handle an unexpected IRP_MN_REMOVE_DEVICE?
[ April 04, 2004, 03:37 PM: Message edited by: Eric M ]