LEADTOOLS Raster Imaging C DLL Help > Function References > L_StopDecompressBuffer |
#include "l_bitmap.h"
L_LTFIL_API L_INT L_StopDecompressBuffer(hDecompress)
L_HGLOBAL hDecompress; |
/* decompression handle */ |
Ends the decompression process and cleans up all the variables and buffers allocated by the L_StartDecompressBuffer and L_DecompressBuffer functions.
Parameter |
Description |
hDecompress |
Handle that identifies the decompression process. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Calling this function will reset all internal variables to their default settings. Call this function after the decompression of the entire image using L_DecompressBuffer.
Required DLLs and Libraries
LTFIL For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Win32, x64, Linux.
See Also
Functions: |
L_StartDecompressBuffer, L_DecompressBuffer, L_StartCompressBuffer, L_CompressBuffer, L_EndCompressBuffer |
Topics: |
|
|
Example
For an example, refer to L_StartDecompressBuffer.