Frees the converter, releases any used resources, and invalidates the conversion handle.
#include "ltkrn.h"
#include "ltclr.h"
L_LTCLR_API L_INT L_ClrFree(ClrHandle)
Handle to an existing color conversion. This handle is obtained by calling the L_ClrInit function.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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.
Win32, x64.
For an example, refer to L_ClrInit.