ImageGear Professional DLL v17.1 for Windows Accusoft
IG_error_clear
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Error Functions > IG_error_clear

Glossary Item Box

This function clears all errors from the error stack.

Declaration:

  Copy Code
VOID ACCUAPI IG_error_clear();

Arguments:

None

Return Value:

None

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Example:

  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();

Remarks:

After calling this function, IG_error_check will return zero.

©2012. Accusoft Corporation. All Rights Reserved.