PT-9230 Mobile Computer SDK Programming Manual
85
API_GetError
To Get the error code.
DWORD
API_GetError
{
}
Parameters
None
Returned Values
The returned value can be one of those in the table below:
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 6.0 or beyond.
Header:
scanapiax.h
Link Library:
scanapiax.lib
Link DLL:
scanapiax.dll
Device:
PT90