ICMProgressProcCallback Callback Function
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, LPARAM ulCallbackData );
Specifies the maximum value of the progress counter (used to estimate completion of the bitmap processing).
Specifies the current value of the progress counter (when divided by the maximum value, provides a rough estimate of percentage of completion).
Specifies the data which is passed by the application to an ICM2 function, which then passes it on to the callback function. Such data can be used, for example, to identify the bitmap and process about which progress is being reported.
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.
Minimum supported client
|Windows 2000 Professional|
Minimum supported server
|Windows 2000 Server|
Build date: 11/16/2010