TBApiGetOverflowErrors API Call



Returns the number of buffer overflows reported by the specified device.


Device handle and pointer to variable for returned values.


0 = fail, 1 = OK.


A buffer overflow occurs when incoming data is not processed fast and the allocated buffers become full the driver reallocates these buffers a number of times before allowing an overflow to occur.


Visual C++ Declaration/example


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


Visual Basic Declaration/example


Public Declare Function TBApiGetOverflowErrors Lib "TBapi" Alias "_DLL_TBApiGetOverflowErrors@8" (ByVal aDeviceHandle As Byte, ByVal errors As Long) As Long