This function clears all errors from the error stack.
Copy Code
|
|
---|---|
VOID ACCUAPI IG_error_clear(); |
None
None
This function does not process image pixels.
Copy Code
|
|
---|---|
BYTE szModuleName[30];
INT iNameSize;
INT iLineNumber;
AT_ERRCODE iCode;
AT_ERRCOUNT nErrcount;
INT n;
iNameSize = 30;
nErrcount = IG_error_check();
for ( n = 0; n < nErrcount; n++ )
{
IG_error_get( n, (LPSTR)szModuleName, iNameSize,
&iLineNumber, &iCode, NULL, NULL );
}
IG_error_clear();
|
After calling this function, IG_error_check will return zero.