L_SaneFreeMemory

Summary

Frees storage allocated by L_SaneGetOptionValue.

Syntax

#include "ltsane.h"

L_LTSANE_API L_INT L_SaneFreeMemory(buffer)

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 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.