ITCSCAN_GetPortState

Call ITCSCAN Open before any other Native Scanner function, and call ITCSCAN Close when exiting the application.

Gets the device state of a specified port.

Syntax

HRESULT ITCSCAN_GetPortState(
INT32 iHandle,
DWORD dwPortId,
ITC_ADCPORT_STATE* pePortState)

Parameters

[in] iHandle
Pointer to a bar code reader object.

[in] dwPortId
Port ID.

[out] pePortState
Location to return the port state. Port state values are:

Return Values

S_OK indicates success.

Header and Library Files

Header File: ITCSCAN2.h

Library: ITCSCAN2.lib

More Information

Native Scanner Functions