TBApiGetMaxY API Call

 

Description

Returns the 'Y' coordinate range determined from the packet size(s).

Parameters

Device handle and pointer to recipient storage.

Returns

0 = fail, 1 = OK.

Notes

None.

 

Visual C++ Declaration/example

 

BOOL TBAPI TBApiGetMaxY (HTBDEVICE aDevice, DWORD* aData);

 

DWORD adx;

Int iDeviceId = TBApiGetRelativeDevice(0);

If (TBApiGetMaxY (iDeviceId, &adx))

{

}

 

Visual Basic Declaration/example

 

Public Declare Function TBApiGetMaxY Lib "TBapi" Alias “_DLL_TBApiGetMaxY@8” (ByVal aDevice As Byte, ByVal aData As Long) As Long

 

Dim ady As Long

Dim addrady As Long

Dim iDeviceId As Byte

 

addrady = VarPtr(ady)

iDeviceId = TBApiGetRelativeDevice(0)

If TBApiGetMaxY(iDeviceId, addrady) Then

End If