User's Manual Part 1

6 Scanner SupportChapter
153700 Series Color Mobile Computer User’s Manual
IADC::Initialize
This function initializes a connection by opening a communications chan-
nel with a logical reader engine. The communications port is implicitly
identified. This communication channel is required to collect data or con-
figure the device.
Syntax
HRESULT IADC::Initialize ( LPCTSTR pszDeviceName,
ITC_DEVICE_FLAGS eDeviceFlags );
Parameters
pszDeviceName [in] Pointer to a string that contains the device name
on which to initialize the logical connection.
The device name (Merlin 1) 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
application. Data buffering starts after the
first call to IADC::Read ().
Return Values
HRESULT that indicates success or failure.
Remarks
None.
See Also
S IADC::CancelReadRequest
S IADC::QueryAttribute
S IADC::QueryData
S IADC::Read
S IADC::SetAttribute