ITCSCAN_GetNumPorts

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

Gets the number of device ports.

Syntax

HRESULT ITCSCAN_GetNumPorts(
INT32 iHandle,
DWORD *pdwNumPorts)

Parameters

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

[out] pdwNumPorts
Number of ports on the device.

Return Values

S_OK indicates success.

Header and Library Files

Header File: ITCSCAN2.h

Library: ITCSCAN2.lib

More Information

Native Scanner Functions