LEADTOOLS Color Conversion C DLL Help > Function References > L_ClrFree |
#include "ltkrn.h"
#include "ltclr.h"
L_LTCLR_API L_INT L_ClrFree(ClrHandle)
L_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.
Win32, x64.
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: |
|
Topics: |
|
|
Example
For an example, refer to L_ClrInit.