In this release of the SDK, only one client may use the ScanAPI DLL. Your application program will
generally get this error if ScktScan.exe is running. You need to close the program before starting
your application.
SR_INVALID_WMINSERTION
The specified wmInsertion message is not within the valid WM_USER range.
SR_INVALID_WMREMOVAL
The specified wmRemoval message is not within the valid WM_USER range.
SR_PLUG_THREAD_FAILURE
An internal error occurred, most likely due to unavailable resources on the host device. The device
will probably need to be reset, though the problem may be correctable if the user terminates other
processes on the device and re-tries the operation.
SR_HOTSWAP_ERROR
HotSwp32.dll failed to load or initialize. This error is only applicable to Windows 95, 98 or Me host
machines. HotSwp32.dll is either missing or corrupt, has not been registered properly, or there are
insufficient system resources available to load the DLL. The ScanAPI will not be able to detect card
insertion or removal events under these circumstances, so your custom scanning application will be
rendered inoperative.
SR_DEVICE_FAILURE
May occur as a result of calling ScanInit() on Windows NT systems only. An internal error occurred
while communicating with the data collection device (perhaps the device was removed during the
function call.) The client application will probably need to be re-started, and possibly the Win32
Desktop system reset (after first removing the data collection device from the host.)
April 8, 2010
Page 23
Document#: 6410-00147 K
Revision 2.28