Call ITCSCAN Open before any other Native Scanner function, and call ITCSCAN Close when exiting the application.
Gets the scanned bar code data value if MSG_BARCODEDATA_READ is returned in ITCSCAN_GetBarcodeMessage.
void ITCSCAN_GetScannedDataValues(
INT32 iObjBarCode,
BYTE abDataBuffer [],
DWORD *pdwBytesReturned,
DWORD *pdwDataType,
DWORD *pdwSymbologyID,
LPTSTR pszSymbology,
DWORD *pdwPortID,
LPTSTR pszPortName,
LPTSTR pszDeviceType)
[in] iObjBarCode
The pMsgData from ITCSCAN_GetBarcodeMessage.
[out] abDataBuffer
Byte buffer that stores barcode data.
[out] pdwBytesReturned
Bytes returned.
[out] pdwDataType
Bar code data type.
[out] pdwSymbologyID
Bar code symbology ID.
[out] pszSymbology
String name of bar code symbology.
[out] pdwPortID
Port that returned the bar code.
[out] pszPortName
Port name.
[out] pszDeviceType
Scanner type.
None.
The abDataBuffer contains "<NULL_DATA>" if ITCSCAN_SetNoBarcodeReadEventStatus is set to true and the scanner trigger is released with no bar code read.
Header File: ITCSCAN2.h
Library: ITCSCAN2.lib