L_SaneGetOptionValue

Summary

Gets the value of the specified SANE option.

Syntax

#include "ltsane.h"

L_LTSANE_API L_INT L_SaneGetOptionValue(hSane, optionName, value)

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