Scanner Error Code
Define name Error Code Contents
SCDIAG_OK 0 The processing is completed or confirmation is successful.
SCDIAG_FAIL 1 The system stopped processing due to errors which don't fall into ones above, such as the lack of memory.
SCDIAG_NOT_INITIALIZE 2 The system tried to run functions without the initialization processing.
SCDIAG_NOT_SUPPORT 3 This Scanner driver type doesn't support the function which is tried to run, This confirmation of the function is not necessary.
SCDIAG_NOT_INSTALL 4 The specified device is not installed.
SCDIAG_NOT_CONNECTED 5 The specified device is not connected. (only USB connection)
SCDIAG_NOT_FOUND_DEVICE 6 The specified device is not found, No device may be connected or may fail to install.
SCDIAG_NOT_FOUND_TWDS 10 The specified TWAIN Data Source is not found, No device may be connected or may fail to install.
SCDIAG_NOT_SELECT_TWDS 11 The TWAIN Data Source Manager fails to recognize the default TWAIN Data Source.
SCDIAG_TWAIN_SYSTEM_ERROR 12 The TWAIN Data Source Manager to use the TWAIN protocol is not available.
The TWAIN Data Source Manager may not exist.
SCDIAG_STIDEVICE_CREATE_FAIL 20 The system failed to create the STI device.
The STI/WIA service or the minidriver may have problems.
SCDIAG_STI_SYSTEM_ERROR 21 The STI Interface (IStillImage) is not available.
The STI service may not start or the operation system may have problems.
SCDIAG_WIADEVICE_CREATE_FAIL 30 The system failed to create the WIA device.
The WIA service or the minidriver may have problems.
SCDIAG_WIA_SYSTEM_ERROR 31 The WIA Service (IWiaDevMgr Interface and so on) is not available.
The WIA service may not start or the operation system may have problems.
SCDIAG_OPEN_ERROR 40 The system failed to open the scanner device.
The attempt may be rejected because the object device is running or so.
SCDIAG_WRITE_ERROR 41 The system failed to send the scanner command.
SCDIAG_READ_ERROR 42 The system failed to read the data from the device.
SCDIAG_TIMEOUT 43 The system failed to receive the response after the request has timed out.
SCDIAG_NO_RSM 44 The system failed to recognize the Resource Manager and failed to restart.
The Resource Manager may not be installed or running incorrectly.
Scanner Error Code
Confidential