L_SaneFreeMemory

#include "ltsane.h"

L_LTSANE_API L_INT L_SaneFreeMemory(buffer)

L_VOID* buffer;

pointer to the memory buffer

Frees storage allocated by L_SaneGetOptionValue.

Parameter

Description

buffer Pointer to the memory buffer

Returns

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

Comments

Call this function when your program no longer needs the memory buffer allocated by calling L_SaneGetOptionValue.

Support for SANE is only available in the Document and Medical Imaging toolkits.

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.