Home › Forums › TWAIN Classic › Try to Open data source when it is powered off…. › Reply To: Try to Open data source when it is powered off….
March 16, 2006 at 12:29 pm #23245
I’d look into
DG_CONTROL / DAT_CAPABILITY / MSG_QUERYSUPPORT (looking for a return > 1)
then
DG_CONTROL / DAT_CAPABILITY / MSG_GET (looking for a return that represents TRUE)
passing in CAP_DEVICEONLINE both times.
I’ve seem rumors that CAP_DEVICEONLINE isn’t reliable, but it seems pretty reliable to me.
gabe