Ibarcodereadercontrol::read - Intermec 700 Series 700 User Manual

Monochrome mobile computer
Hide thumbs Also See for 700 Series 700:
Table of Contents

Advertisement

Chapter
6
Scanner Support
170

IBarCodeReaderControl::Read

This function reads data from the bar code input device. This method per-
forms the same function as IADC::Read () except that it provides addi-
tional information about data received such as bar code symbology used,
data type, and time stamp of received data.
Syntax
HRESULT IBarCodeReaderControl::Read ( BYTE
rgbDataBuffer[],DWORD dwDataBufferSize, DWORD
pnBytesReturned,ITC_BARCODE_DATA_DETAILS
pBarCodeDataDetails, DWORD dwTimeout );
Parameters
rgbDataBuffer
dwDataBufferSize
pnBytesReturned
pBarCodeDataDetails [in]
typedef struct tagITCBarCodeDetails
{
WORD wStructSize,
ITC_BARCODE_SYMBOLOGY_ID eSymbology,
ITC_BARCODE_DATATYPE eDataType,
SYSTEMTIME stTimeStamp,
}ITC_BARCODE_DATA_DETAILS;
typedef enum tagBarCodeDataType
{
BARCODE_DATA_TYPE_UNKNOWN = 1,
BARCODE_DATA_TYPE_ASCII,
BARCODE_DATA_TYPE_UNICODE,
}ITC_BARCODE_DATATYPE;
where:
S wStructSize
Size of structure. Used for versioning structure.
S eSymbology
Symbology of the returned data.
S eDataType
Identifies data types as ASCII, UNICODE, etc.
S stTimeStamp
Timestamp of the received data.
S BARCODE_DATA_TYPE_UNKNOWN
S BARCODE_DATA_TYPE_ASCII
S BARCODE_DATA_TYPE_UNICODE
700 Series Monochrome Mobile Computer User's Manual
[in]
Pointer to the buffer that receives data
from the device.
[in]
Maximum number of bytes that can be
stored in rgbDataBuffer.
[out]
Pointer to the DWORD location that will
store the bytes returned in rgbDataBuffer.
Address of data structure in which to put
the data details. This may be NULL. The
ITC_BARCODE_DATA_DETAILS is:
Data in unknown.
Data is ASCII.
Data is UNICODE.

Advertisement

Table of Contents
loading

Table of Contents