[sane-devel] sane_control_option() confusion

Tabor Kelly tkelly-sane-devel at taborandtashell.net
Tue Aug 22 03:49:30 UTC 2006


The SANE specification tells me that the form of sane_control_option is:

SANE_Status
sane_control_option (SANE_Handle h, SANE_Int n, SANE_Action a,
                      void *v, SANE_Int * i);

Also, it tells me that "[t]his function is used to set or inquire the 
current value of option number n of the device represented by handle h."

It is the n that I am confused about. Specifically, what does n = 0 mean?

Thank You,

Tabor Kelly



More information about the sane-devel mailing list