LMemoryFile::CompressBufferCallBack

#include "ltwrappr.h"

virtual L_INT LMemoryFile::CompressBufferCallBack(pLBitmap, pLBuffer)

LBitmapBase * pLBitmap;

/* pointer to an LBitmapBase object that contains image information */

LBuffer * pLBuffer;

/* pointer to an LBuffer object that contains compressed data */

Writes output from the LMemoryFile::CompressBuffer function

Parameter

Description

pLBitmap

Pointer to the bitmap object that contains the image information.

pLBuffer

Pointer to the caller's output buffer object containing compressed data.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

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.

See Also

Functions:

Class Members

Example

For an example, refer to LMemoryFile::StartCompressBuffer.