L_SaneSetOptionValue

#include "ltsane.h"

L_LTSANE_API L_INT L_SaneSetOptionValue(hSane, optionName, value

L_SaneHandle hSane;

sane handle.

const L_TCHAR* optionName>;

sane option name

const L_TCHAR* value;

sane option value

Sets the value for a SANE option.

Parameter

Description

hSane SANE handle
optionName The SANE option name
value The value for the SANE option

Returns

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

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

Example

For an example, refer to L_SaneAcquire.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.