L_SaneFreeMemory

#include "ltsane.h"

L_LTSANE_API L_INT L_SaneFreeMemory(buffer)

Frees storage allocated by L_SaneGetOptionValue.

Parameters

L_VOID* buffer

Pointer to the memory buffer

Returns

Value Meaning
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

Platforms

Linux

Example

For an example, refer to L_SaneAcquire.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.