TBApiGetIProduct API Call

 

Description

Get the iProduct item from the associated USB device.

Parameters

Device handle and storage for returned values.

Returns

True (1) if OK.

False (0) if….

1 - not a USB device

2 - aDevice does not exist

3 - device has not been started

Notes

None.

 

Visual C++ Declaration/example

 

BOOL TBAPI TBApiGetIProduct(HTBDEVICE aDevice, DWORD* aValue);

 

Visual Basic Declaration/example

 

Public Declare Function TBApiGetIProduct Lib "TBapi" Alias "_DLL_TBApiGetIProduct@8" (ByVal aDevice As Byte, ByVal aValue As Long) As Long