L_SaneSetOptionValue

Summary

Sets the value for a SANE option.

Syntax

#include "ltsane.h"

L_LTSANE_API L_INT L_SaneSetOptionValue(hSane, optionName, value

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 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.