List Info

Thread: sane_control_option() confusion




sane_control_option() confusion
user name
2006-08-22 03:49:30
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

-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org
sane_control_option() confusion
user name
2006-08-22 05:30:49
> It is the n that I am confused about. Specifically,
what does n = 0 mean?
0 is the index of the "option count" option. 


-- 
Verso l'Alto !


-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )