ProgressHandlerProc

The ProgressHandlerProc function is an application-defined callback function that processes progress notification. ProgressHandlerProc is called repeatedly during time consuming operations – see C_SetProgressHandler for more details.

void __stdcall ProgressHandlerProc(

TOrcFxAPIHandle ModelHandle,

int Progress,

BOOL *lpCancel

);

Parameters

ModelHandle (IN)

The handle of the model.

Progress (IN)

A number which represents how much of the operation is complete. A value of 0 means the operation has just begun; values between 1 and 100 indicate the percentage progress; a value of -1 indicates that the operation has finished.

lpCancel (IN/OUT)

Points to a BOOL variable which determines whether the operation is cancelled – set this BOOL variable non-zero to abort the operation.

See also

C_SetProgressHandler.