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