HC_Show_Error

bool HC_Show_Error(char *severity, int *category, int *severity_level)
bool HC_Show_Error(char severity, int category, int severity_level)

Shows whether a severe error was generated during the previous HOOPS call and returns the error components if true.

This function indicates whether a severity was generated during the previous Hoops call. The arguments for the specific message componments are not modified if there was no error, otherwise the severity string is filled in with “informational”, “warning”, or “error” and the numeric values are set.

HC_Report_Error, HC_Define_System_Options

Parameters

severity: The error severity (info, warning, error, fatal error). Passed by reference. Returned to user

category: A numeric code identifying the general category to which the error belongs. See Report_Error(). Passed by reference. Returned to user.

severity_level: Severity of the error. (0, 1, 2, 3) (info, warning, error, fatal error). Passed by reference. Returned to user.

Returns

error_happened Boolean value indicating whether a severity was generated.