API_GetError
Get the error code.
DWORD API_GetError
{
}
Parameters
None
Return Values
The return value can be one of the following table:
Constant
Value
Description
ERR_WRITE_FAIL
1 Send commands to scanner module failed.
ERR_SETTING_FAIL
2 Set scanner setting failed.
ERR_SCANNER_NOT_OPEN 3 Open scanner module failed.
ERR_INVALID_FILE
4 Invalid setting file.
Example
dwError = API_GetError();
strMess.Format(_T("API Error Code: %d"), dwError);
AfxMessageBox(strMess);
Requirements
OS Versions:
Windows CE 4.2 and later.
Header:
scanapiax.h
Link Library:
scanapiax.lib
Link DLL:
scanapiax.dll
Device:
PT80
Programming Manual
38