SR_INTERNAL_FAILURE
If you receive one of these return codes, it means something has gone wrong internally in the ScanAPI DLL,
the scanning device has experienced a failure (or unexpected removal), or there are too few resources
available on the host device to carry out the request. Any of the first 4 failures listed above may be
correctable if the user is asked to close other programs that may be running on the device, thereby freeing
up additional resources. A condition that causes SR_DEVICE_FAILURE may be correctable if the user removes
the scanner from the device and re-starts your application. SR_INTERNAL_FAILURE is a catch-all for unknown
failures that may occur in the ScanAPI DLL. Again, it may be correctable by taking one of the actions already
mentioned.
Receiving one of these return codes should be extremely rare. If one of the suggested courses of action does
not correct the error condition, the user may be forced to remove the scanner from the CE device and
perform a soft reset, or restart the system if the failure has occurred on a Win32 Desktop platform. Please
report to Socket Technical Support at http://support.socketmobile.com/
if you consistently receive one of these errors for no good reason – you may be trying to use the API in ways
we did not envision when we created it.
April 8, 2010
Page 20
Document#: 6410-00147 K
Revision 2.28