L_SaneSetOptionValue

#include "ltsane.h"

L_LTSANE_API L_INT L_SaneSetOptionValue(hSane, optionName, value

Sets the value for a SANE option.

Parameters

L_SaneHandle hSane

SANE handle

const L_TCHAR* optionName

The SANE option name

const L_TCHAR* value

The value for the SANE option

Returns

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

Comments

Sets the value for the specified SANE option.

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.