StaticsProgressHandlerProc

The StaticsProgressHandlerProc function is an application-defined callback function that processes statics progress notification. StaticsProgressHandlerProc is called repeatedly during the statics calculation – see C_CalculateStatics for more details.

void __stdcall StaticsProgressHandlerProc(

TOrcFxAPIHandle ModelHandle,

LPCTSTR lpProgress,

BOOL *lpCancel

);

Parameters

ModelHandle (IN)

The handle of the model.

lpProgress (IN)

Points to a null-terminated string giving details of the progress of the static calculation. This string can be used to provide user feedback.

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 or leave it unchanged to continue.

See also

C_CalculateStatics, C_ProcessBatchScript.