DTWAIN_SetErrorBufferThreshold

Top  Previous  Next

The DTWAIN_SetErrorBufferThreshold sets the maximum number of DTWAIN errors that will be buffered.

 

DTWAIN_BOOL DTWAIN_SetErrorBufferThreshold ( LONG numErrors );

 

 

Parameters

numErrors

   Specifies the maximum number of errors that DTWAIN will store in its internal error buffer.

 

 

Return Values

If the function succeeds, TRUE is returned, else FALSE is returned.

 

Comments

The DTWAIN_SetErrorBufferThreshold function sets the maximum number of DTWAIN errors that will be buffered.  To access the error buffer, the DTWAIN_GetErrorBuffer function is used.

 

By default, the error buffer is set to 50 errors.

 

See Also

DTWAIN_GetLastError, DTWAIN_GetErrorBuffer, DTWAIN_ClearErrorBuffer