User's Manual Part 1

Scanner SupportChapter 6
162 700 Series Color Mobile Computer User’s Manual
IBarCodeReaderControl::Initialize
This function opens and initializes a communications channel with a log-
ical bar code reader engine.
Syntax
HRESULT IBarCodeReaderControl::Initialize ( LPCTSTR
pszDeviceName, ITC_DEVICE_FLAGS eDeviceFlags );
Parameters
pszDeviceName [in] Pointer to a string with device on which to
initialize the logical connection. The device
identifies a communications port. Use default”
for all internal scanners, such as Imager, SE900,
etc. Use “ExtScanner” for tethered scanners.
eDeviceFlags [in] Enumeration that identifies the read
characteristic as follows:
S ITC_DHDEVFLAG_READAHEAD
Data is buffered on behalf of the calling
applications. Data Buffering starts after the
first call to IADC::Read ().
Return Values
HRESULT that indicates success or failure.
Remarks
None.
See Also
S IBarCodeReaderControl::CancelReadRequest
S IBarCodeReaderControl::ControlLED
S IBarCodeReaderControl::IssueBeep
S IBarCodeReaderControl::QueryAttribute
S IBarCodeReaderControl::Read
S IBarCodeReaderControl::SetAttribute
S IBarCodeReaderControl::TriggerScanner