L_StopDithering

#include "l_bitmap.h"

L_LTKRN_API L_INT L_StopDithering(pBitmap)

pBITMAPHANDLE pBitmap;

/* address of the bitmap handle */

Cleans up all data variables and buffers allocated by the L_StartDithering and L_DitherLine functions. This function resets all internal variables to their default settings.

Parameter

Description

pBitmap

Address of the bitmap handle that describes the bitmap that was dithered. It is the same bitmap handle that was specified in the L_StartDithering function.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this function.

For a description of how the functions relate to each other, refer to L_StartDithering.

Required DLLs and Libraries

LTKRN

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 2000 / XP/Vista, Windows CE.

See Also

Functions:

L_ConvertBuffer, L_StartDithering, L_DitherLine

Topics:

Raster Image Functions: Doing Color Expansion or Reduction

 

Raster Image Functions: Doing Color Space Conversions

Example

For an example, refer to L_StartDithering.