#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 |
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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
For an example, refer to L_SaneAcquire.