#include "ltsane.h"
L_LTSANE_API L_INT L_SaneGetOptionValue(hSane, optionName, value)
Gets the value of the specified SANE option.
SANE handle
SANE option name
SANE option value
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Gets the value for the specified SANE option name. Each call to L_SaneGetOptionValue requires a call to L_SaneFreeMemory in order to free the memory used for L_SaneGetOptionValue.
Required DLLs and Libraries
Platforms
Linux
For an example, refer to L_SaneAcquire.