API Reference Guide > Core Component API Reference > Core Component Functions Reference > Filter Functions > IG_fltr_ICC_callback_get |
This function returns the current settings for callbacks that are used for reading and writing ICC profiles.
Copy Code
|
|
---|---|
AT_ERRCODE ACCUAPI IG_fltr_ICC_callback_get( LPVOID* lplpPrivate, LPAFT_IG_ICC_GET_CB* lplpfnGetCB, LPAFT_IG_ICC_SET_CB* lplpfnSetCB, LPAFT_ANY* lplpfnReserved ); |
Name | Type | Description |
---|---|---|
lplpPrivate | LPVOID* | Private callback data. |
lplpfnGetCB | LPAFT_IG_ICC_GET_CB* | GET callback function. |
lplpfnSetCB | LPAFT_IG_ICC_SET_CB* | SET callback function. |
lplpfnReserved | LPAFT_ANY* | Reserved. |
This function does not process image pixels.
Load Callback
Copy Code
|
|
---|---|
AT_ERRCOUNT nErrcount; // Count of returned errors on stack LPVOID lpPrivate; // Private callback data LPAFT_IG_ICC_GET_CB lpfnGetCB; // GET callback function LPAFT_IG_ICC_SET_CB lpfnSetCB; // SET callback function // Get ICC callback functions nErrcount = IG_fltr_ICC_callback_get(&lpPrivate, &lpfnGetCB, &lpfnSetCB, NULL); |
See IG_fltr_ICC_callback_set for reading and writing ICC profiles.