Frees the memory allocated by L_InitICCProfile.
#include "ltkrn.h"
#include "ltclr.h"
L_LTCLR_API L_VOID L_FreeICCProfile(pICCProfile);
Pointer to the ICCPROFILEEXT structure to be freed.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
When the ICCPROFILEEXT structure initialized by L_InitICCProfile is no longer needed, the memory must be freed by calling L_FreeICCProfile.
Win32, x64.
This example frees an ICC Profile.
L_INT FreeICCProfileExample(pICCPROFILEEXT pIccProfile)
{
L_FreeICCProfile(pIccProfile);
return SUCCESS;
}