ITCSCAN_SetPortDeviceType

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

Sets the device type of a specified device port.

Syntax

HRESULT ITCSCAN_SetPortDeviceType(
INT32 iHandle,
DWORD dwPortId,
LPCTSTR pszDeviceType)

Parameters

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

[in] dwPortId
Port ID.

[in] pszDeviceType
Name of the device type to set for this port.

Return Values

S_OK indicates success.

S_FALSE if there are no more dwPortId values.

Header and Library Files

Header File: ITCSCAN2.h

Library: ITCSCAN2.lib

More Information

Native Scanner Functions