L_FreeICCProfile

Summary

Frees the memory allocated by L_InitICCProfile.

Syntax

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

L_LTCLR_API L_VOID L_FreeICCProfile(pICCProfile);

Parameters

pICCPROFILEEXT pICCProfile

Pointer to the ICCPROFILEEXT structure to be freed.

Returns

Value Meaning
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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

This example frees an ICC Profile.

L_INT FreeICCProfileExample(pICCPROFILEEXT pIccProfile) 
{ 
   L_FreeICCProfile(pIccProfile); 
   return SUCCESS; 
} 

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Color Conversion C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.