[This is preliminary documentation and subject to change.]
The ICMProgressProcCallback function is an application-supplied callback function that reports progress and permits the application to cancel color processing.
BOOL WINAPI ICMProgressProcCallback(
ULONG ulMax,
ULONG ulCurrent,
ULONG ulCallbackData
);
This function returns TRUE to continue bitmap processing. The return value is FALSE to cancel processing. If processing is canceled, the calling function returns zero to indicate failure, although its output buffer may be partially filled.
The name of this callback function is supplied by the application. A number of ICM functions, including TranslateBitmapBits and CheckBitmapBits, call this function periodically.
Windows NT: Requires version 5.0 or later.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Header: Declared in icm.h.
Import Library: User-defined.
Color Management Overview, ICM 2.0 Functions, TranslateBitmapBits, CheckBitmapBits