ITCSCAN_GetFirstPortID

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

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

Syntax

HRESULT ITCSCAN_GetFirstPortID(
INT32 iHandle,
DWORD *pdwFirstPortId)

Parameters

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

[out] pdwNextPortId
Location to return the first 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