Programming Manual
111
Scanner Related Functions
PT_EnableScanner
Enable scanner to scan barcode. This function creates a thread to get scan data from scanner
module and store scan data in the system buffer. Application can use function call
PT_GetBarcodeData to get scan data from system buffer.
int
PT_EnableScanner
{
}
Parameters
None
Return Values
Return
0 if the operation is successful,
ERR_INVALID_SCANNER_VER if scanner firmare is invalid
1 if the operation is fail
Example
if(PT_EnableScanner())
AfxMessageBox(_T("PT_EnableScanner fail"));
Requirements
OS Versions:
Windows CE 5.0 and later.
Header:
scanapiax.h
Link Library:
scanapiax.lib
Link DLL:
scanapiax.dll
Device:
PA60
Summary of Contents for PA-60
Page 1: ...PA 60 Mobile Computer Programming Manual DOC NO UM PA605 02 June 2012 Version 1 0 ...
Page 57: ...Programming Manual 53 Link Library sysapiax lib Link DLL sysapiax dll Device PA60 ...
Page 72: ...Programming Manual 68 Link Library sysapiax lib Link DLL sysapiax dll Device PA60 ...
Page 91: ...Programming Manual 87 Link Library scanapiax lib Link DLL scanapiax dll Device PA60 ...