L_ClrFree

#include "ltkrn.h"
#include "ltclr.h"

L_INT EXT_FUNCTION L_ClrFree(ClrHandle)

HANDLE ClrHandle;

/* handle to the color conversion */

Frees the converter, releases any used resources, and invalidates the conversion handle.

Parameter

Description

ClrHandle

Handle to an existing color conversion. This handle is obtained by calling the L_ClrInit function.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

A color conversion handle is initialized by calling the L_ClrInit function.

For each call to L_ClrInit there must be a call to L_ClrFree. This function should be the last function to be called in the toolkit. It will clean up and free memory allocated during the color conversion session for the specified handle.

Required DLLs and Libraries

LTCLR

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:

L_ClrInit

Topics:

Freeing the Color Conversion Handle

 

COLOR Function Groups

Example

For an example, refer to L_ClrInit.