Hi ,
I am implementing a Virtual Com port driver for our Target Device on
WinXp. For this, I have taken the reference driver code from Microsoft
POSUSB
The issue is that while doing an install / Uninstall or Enable /
Disable of the Virtual Com Port, the OS asks for a system restart.
I am interested in knowing if this is an acceptable behavior as we are
planning to do HCT validation of the driver. We have referred to the
HCT documentation for the same, but in no place does it say that this
restart is acceptable. Unfortunately, I have not been able to find how
serial port emulation can be done without the above said behavior.
when i Disable/Enable or Install/Uninstall the device, i am not
handling the RemovalRelations in the IRP_MN_QUERY_REMOVE_DEVICE.i am
just passing that IRP down as STATUS_SUCCESS. after that i am geting
IRP_MN_CANCEL_REMOVE_DEVICE this is because of bus driver not process
it proper. But as per Documentation you need not worry about this IRP.
I would be very grateful if you can guide me in this regards.
thanks in advance
Regards,
Deepak.