Call ITCSCAN Open before any other Native Scanner function, and call ITCSCAN Close when exiting the application.
Gets the device type of a specified device port.
HRESULT ITCSCAN_GetPortDeviceType(
INT32 iHandle,
DWORD dwPortId,
LPTSTR szDeviceType)
[in] iHandle
Pointer to a bar code reader object.
[in] dwPortId
Port ID.
[out] szDeviceType
Location to return the device type. The maximum number of characters in a DeviceType string is ITC_DEVICE_TYPE_MAXLEN.
S_OK indicates success.
S_FALSE if there are no more dwPortId values.
Header File: ITCSCAN2.h
Library: ITCSCAN2.lib