L_InitICCProfile
#include "l_bitmap.h"
L_INT EXT_FUNCTION L_InitICCProfile(pICCProfile, nSize)
pMEMICCPROFILE pICCProfile; |
/* pointer to a structure */ |
L_INT nSize; |
/* size of the structure */ |
Initializes an MEMICCPROFILE structure.
Parameter |
Description |
pICCProfile |
Pointer to the MEMICCPROFILE structure to initialize. |
nSize |
Value that indicates the size of the structure pointed to by pICCProfile. Pass sizeof(MEMICCPROFILE). |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
A MEMICCPROFILE structure must be initialized before loading an ICC profile. To initialize a MEMICCPROFILE structure, call L_InitICCProfile with the nSize parameter set to sizeof(MEMICCPROFILE).
When the MEMICCPROFILE structure is no longer needed, be sure to free the memory allocated by calling L_FreeICCProfile.
Required DLLs and Libraries
LTFIL 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, Windows CE.
See Also
Functions: |
|
Topics: |
|
|
Example
For an example, refer to L_FreeICCProfile.