Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_SetICCDateTime
#include "ltkrn.h"
#include "ltclr.h"
L_LTCLR_API L_INT L_SetICCDateTime(pICCProfile, pTime)
pICCPROFILEEXT pICCProfile; |
/* pointer to a structure */ |
pICC_DATE_TIME_NUMBER pTime; |
/* pointer to a structure */ |
Sets the date and time at which the ICC profile was created.
Parameter |
Description |
pICCProfile |
Pointer to the ICCPROFILEEXT structure that contains the creation date and time being set. |
pTime |
Pointer to an ICC_DATE_TIME_NUMBER structure that contains the date and time at which the ICC profile was created. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
The date and time values are contained within the "header" information in the ICCPROFILEEXT structure. Calling L_InitICCHeader will reset the date and time and the other header information to the default values.
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. |
Platforms
Windows 95 / 98 / Me, Windows 2000 / XP.
See Also
Example
For an example, refer to L_InitICCHeader.