L_SaneGetOptionValue

#include "ltsane.h"

L_LTSANE_API L_INT L_SaneGetOptionValue(hSane, optionName, value)

Gets the value of the specified SANE option.

Parameters

L_SaneHandle hSane

SANE handle

const L_TCHAR* optionName

SANE option name

L_TCHAR** value

SANE option value

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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

Example

For an example, refer to L_SaneAcquire.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.