Showing 1 Result(s)

How to detect a scan time out on Linux

The default time out for the scan of a page on Linux is 5000ms, but how can you detect if a time out has occurred? The following snippet of C code can be used in bardecode.c at the end of the main function…         uint16 t;         STGetParameter(hBarcode, ST_DID_TIMEOUT, &t) ;         if (t)                 …