#include "ltsane.h"
L_LTSANE_API L_INT L_SaneGetOptionValue(hSane, optionName, value)
L_SaneHandle hSane; |
sane handle. |
const L_TCHAR* optionName; |
sane option name |
L_TCHAR** value; |
returned option value |
Gets the value of the specified SANE option.
Parameter |
Description |
hSane | SANE handle |
optionName | SANE option name |
value | SANE option value |
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
LTSANE For a listing of the exact .so libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Linux
For an example, refer to L_SaneAcquire.