TBApiGetCommsErrors API Call

 

Description

Returns the number of communication errors reported by the specified device's interface.

Parameters

The device handle and a pointer to the area where the count of errors is to be stored.

Returns

0 = fail, 1 = OK.

Notes

None.

 

Visual C++ Declaration/example

 

BOOL TBAPI TBApiGetCommsErrors(HTBDEVICE aDeviceHandle, DWORD* errors);

 

Visual Basic Declaration/example

 

Public Declare Function TBApiGetCommsErrors Lib "TBapi" Alias _DLL_ TBApiGetCommsErrors@8" (ByVal DeviceHandle As Long, ByVal errors as Long) As Long