Call ITCSCAN Open before any other Native Scanner function, and call ITCSCAN Close when exiting the application.
Gets the friendly name of a specified device port.
HRESULT ITCSCAN_GetPortName(
INT32 iHandle,
DWORD dwPortId,
LPTSTR szPortName)
[in] iHandle
Pointer to a bar code reader object.
[in] dwPortId
Port ID.
[out] szPortName
Location to return the port name. The szPortName buffer should be large enough to hold ITC_DEVICE_TYPE_MAXLEN characters.
S_OK indicates success.
Header File: ITCSCAN2.h
Library: ITCSCAN2.lib