L_StopDecompressBuffer

#include "l_bitmap.h"

L_INT EXT_FUNCTION L_StopDecompressBuffer(hDecompress)

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
File format DLLs

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

Windows 95 / 98 / Me, Windows 2000 / XP, Windows CE.

See Also

Functions:

L_StartDecompressBuffer, L_DecompressBuffer, L_StartCompressBuffer, L_CompressBuffer, L_EndCompressBuffer

Topics:

Compressing and Decompressing Buffers

 

Raster Image Functions: Low-Level Decompression

Example

For an example, refer to L_StartDecompressBuffer.