Hello All,
I am new to Windows 2000 driver development and want to understand the
concepts of PnP management. Since I have access to a USB scanner device I
picked up the USB isochronous sample from WIN2000 DDK & installed it as a
driver for my device with out making any changes in the PnP handling. I
performed a couple of tests to see the following driver behavior :
1.Surprise Removal of the device displays a " Unsafe Removal Of Device "
dialog.
2.If the device is disabled from the Device Manager with an open handle to
the device, a “System Setting Change” dialog is displayed which says that
the H/W settings have changed & the computer needs to be restarted to bring
the changes into effect. In case the computer is not re-started the dialog
re-appears when the device is either enabled/disabled. Even when the device
handle is closed by the application & device is enabled/disabled I find the
dialog popping up.
Is this the correct PnP behavior of the driver. Any suggestions on this
would be greatly appreciated.
Thanks in advance,
Sachin.