A
Amrendra
The queries are as follows:
[Query 1] At first, user sends the "Scan" request and then after a
while, issues "Cancel" request. Due to cancel request,
IWiaMiniDrv::drvNotifyPnPEvent() is called.
But the "*pGUID" parameter of drvNotifyPnPEvent() does
not contain the value "WIA_EVENT_CANCEL_IO".
[Note: "WIA_EVENT_CANCEL_IO" is initialized in
BuildCapabilities() helper function.]
[Query 2] At first, user sends the "Scan" request and when scan is in
progress, user "unplug the usb cable". Due to this,
IWiaMiniDrv::drvNotifyPnPEvent() is called.
But the "*pGUID" parameter of drvNotifyPnPEvent() does
not contain the value "WIA_EVENT_DEVICE_DISCONNECTED".
[Note: "WIA_EVENT_DEVICE_DISCONNECTED" is initialized in
BuildCapabilities() helper function.]
Please share your comments.
Regards
Amrendra
[Query 1] At first, user sends the "Scan" request and then after a
while, issues "Cancel" request. Due to cancel request,
IWiaMiniDrv::drvNotifyPnPEvent() is called.
But the "*pGUID" parameter of drvNotifyPnPEvent() does
not contain the value "WIA_EVENT_CANCEL_IO".
[Note: "WIA_EVENT_CANCEL_IO" is initialized in
BuildCapabilities() helper function.]
[Query 2] At first, user sends the "Scan" request and when scan is in
progress, user "unplug the usb cable". Due to this,
IWiaMiniDrv::drvNotifyPnPEvent() is called.
But the "*pGUID" parameter of drvNotifyPnPEvent() does
not contain the value "WIA_EVENT_DEVICE_DISCONNECTED".
[Note: "WIA_EVENT_DEVICE_DISCONNECTED" is initialized in
BuildCapabilities() helper function.]
Please share your comments.
Regards
Amrendra