Call ITCSCAN Open before any other Native Scanner function, and call ITCSCAN Close when exiting the application.
This function blocks until a bar code is read, a bar code error returns, the port state changes, or ITCSCAN_Close is called.
Applications should call this function on a separate thread concurrent with calls to other methods.
HRESULT ITCSCAN_GetBarcodeMessage (
INT32 iHandle,
ITCSCAN_MESSAGE_TYPE *peMsgType,
INT32 *piMsgData)
[in] iHandle
Pointer to a bar code reader object.
[out] * peMsgType
Returns ITCSCAN_MESSAGE_TYPE value.
[out] piMsgData
Value that depends on the peMsgType:
A standard error code indicating success or failure.
Header File: ITCSCAN2.h
Library: ITCSCAN2.lib