LEADTOOLS Color Conversion C DLL Help > Function References > L_FreeICCProfile |
#include "ltkrn.h"
#include "ltclr.h"
L_LTCLR_API L_VOID L_FreeICCProfile(pICCProfile);
pICCPROFILEEXT pICCProfile; |
/* pointer to a structure */ |
Frees the memory allocated by L_InitICCProfile.
Parameter |
Description |
pICCProfile |
Pointer to the ICCPROFILEEXT structure to be freed. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
When the ICCPROFILEEXT structure initialized by L_InitICCProfile is no longer needed, the memory must be freed by calling L_FreeICCProfile.
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. |
Win32, x64.
See Also
Example
This example frees an Icc Profile.
L_INT FreeICCProfileExample(pICCPROFILEEXT pIccProfile) { L_FreeICCProfile(pIccProfile); return SUCCESS; }