Call ITCSCAN Open before any other Native Scanner function, and call ITCSCAN Close when exiting the application.
Sets the device state of a specified port.
HRESULT ITCSCAN_SetPortState(
INT32 iHandle,
DWORD dwPortId,
ITC_ADCPORT_STATE ePortState)
[in] iHandle
Pointer to a bar code reader object.
[in] dwPortId
Port ID.
[in] ePortState
State of the specified port. Valid values are:
S_OK indicates success.
S_FALSE if there are no more dwPortId values.
ITCADC_OPERATION_TIMED_OUT if the computer does not support more than one port.
Header File: ITCSCAN2.h
Library: ITCSCAN2.lib