C_GetNumOfWarnings

Call C_GetNumOfWarnings to find out how many warnings have been issued for a given model. This function needs to be called before any subsequent calls to C_GetWarningText.

Note: Warnings are only issued by OrcaFlex when a calculation has begun. Accordingly, if the model is in Reset state then no warnings will have been issued and this function will return 0.

int C_GetNumOfWarnings (

TOrcFxAPIHandle ModelHandle,

int *lpStatus

);

Parameters

ModelHandle (IN)

The handle of the model.

lpStatus (OUT)

Points to a variable in which the status result for the function call will be returned.

Return Value

The number of warnings issued for the model in its current state.

See also

C_GetWarningText.