L_SaneGetOptionValue

#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

Returns

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

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.