ImageGear Professional v18.4 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Error Functions > IG_err_error_check |
This function returns the number of records of the specified level on the error stack.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_err_error_check( UINT nLevel ); |
Name | Type | Description |
nLevel | UINT | Level of errors to return. 0 means critical errors (function failure), greater levels denote warnings. |
Returns the number of records of the specified level on the error stack. If errors occur during this function call, the function returns (AT_ERRCOUNT)-1, but these errors are not appended onto the error stack.
This function does not process image pixels.
None
Copy Code
|
|
---|---|
AT_ERRCOUNT errCount;
// get number of records of level 0
errCount = IG_err_error_check(0);
|