Hi!
The definition of sane_get_option_descriptor says:
"... The returned option descriptor is guaranteed to remain valid (and
at the returned address) until the device is closed." (SANE Standard
Version 1.01, page 26, 4.3.6 sane_get_option_descriptor)
Since the constraint range is part of the option descriptor it may not
change during runtime.
-- jochen
[mh]
>
> Hi,
> when a frontend sets an option by calling sane_control_option
> and this action results in a SANE_INFO_RELOAD_OPTIONS,
> does this mean that *only* the value or availability of one or more
> other options is affected?
> Or is it also possible, that e.g. the constraint range of another
> option is affected? (e.g. the brightness is adjustable from -100 to
> 100 in color mode, and from -50 to 50 in gray mode)
>
> Can someone please explain this?
>
> Thanks a lot,
> Michael
>
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 07:54:21 PDT