![Argox PT-80 Programming Manual Download Page 56](http://html.mh-extra.com/html/argox/pt-80/pt-80_programming-manual_2969278056.webp)
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, otherwise return 1.
Example
if(!PT_EnableScanner())
AfxMessageBox(_T("PT_EnableScanner fail"));
Requirements
OS Versions:
Windows CE 4.2 and later.
Header:
scanapiax.h
Link Library:
scanapiax.lib
Link DLL:
scanapiax.dll
Device:
PT80
Programming Manual
53