The TWAIN interface will return the following error codes:
|
Error Code number |
Operation was successful. |
|
|
0 |
General internal error. |
|
|
1 |
Could not find TWAIN driver or could not load DLL. |
|
|
2 |
Data transfer failure. Possibly not enough memory. |
|
|
3 |
Could not open Data Source Manager. |
|
|
4 |
The TWAIN driver version is not supported. |
|
|
5 |
Could not open Data Source. |
|
|
6 |
Could not close Data Source. |
|
|
7 |
Data Source selection by the Data Source Manager failed. |
|
|
8 |
Invalid function parameter. |
|
|
9 |
The BiTiff.dll is missing. |
|
|
10 |
Error saving tiff image. |
|
|
11 |
Twain dll is missing. |
|
|
12 |
Twain dll is already loaded. |
|
|
13 |
Parameter is invalid. |
|
|
14 |
BiDlgs32.dll is missing. |
|
|
15 |
Operation is not supported. |
|
|
16 |
Error createing window for getting event from data source. |