The dll backend is checking for status != SANE_STATUS_GOOD before
accepting the backend. I'm not sure if any backends actually is using
this, but I beleave there should be a way for the backend to say
"don't use me", and that sane_init therefore should return
SANE_Status.
I suggest SANE_STATUS_GOOD if all is OK, and SANE_STATUS_UNSUPPORTED
if the backend beleave itself to be useless. The last case will be
the case for the net backend on Windows if the WINSOCK.DLL is missing
or has the wrong version. It should be the same with SCSI drivers on
machines with no SCSI card.
-- ##> Petter Reinholdtsen <## | pere@td.org.uit.no O- <SCRIPT Language="Javascript">window.close()</SCRIPT> http://www.hungry.com/~pere/ | Go Mozilla, go! Go!
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com