#include "ltkrn.h"
#include "ltclr.h"
L_LTCLR_API L_INT L_GenerateICCPointer(pICCProfile)
Generates a block of memory that contains all the ICC profile data in big Endian format.
Pointer to the ICCPROFILEEXT structure that will be used to generate the pointer.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
The block of memory generated by this function can be accessed through the pData field inside the ICCPROFILEEXT structure. Its size is stored in the uDataSize field of the same structure.
Required DLLs and Libraries
Win32, x64.
This function will generate an ICC profile pointer.
L_INT GenerateICCPointerExample(pICCPROFILEEXT pICCProfile)
{
L_INT nRet;
nRet = L_GenerateICCPointer(pICCProfile);
if(nRet != SUCCESS)
return nRet;
return SUCCESS;
}