ITCSCAN_GetNextPortID

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

Gets the next port identifier that is valid for the local system. Use this method to continue an iteration of the device ports.

Syntax

HRESULT ITCSCAN_GetNextPortID(
INT32 iHandle,
DWORD *pdwNextPortId)

Parameters

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

[out] pdwNextPortId
Location to return the next port ID.

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