TBApiGetMaxX API Call

 

Description

Returns the 'X' 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 TBApiGetMaxX (HTBDEVICE aDevice, DWORD* aData);

 

DWORD adx;

 

Int iDeviceId = TBApiGetRelativeDevice(0);

If (TBApiGetMaxX (iDeviceId, &adx))

{

}

 

Visual Basic Declaration/example

 

Public Declare Function TBApiGetMaxX Lib "TBapi" Alias "_DLL_TBApiGetMaxX@8" (ByVal aDevice As Byte, ByVal aData As Long) As Long

 

Dim adx As Long

Dim addradx As Long

Dim iDeviceId As Byte

 

addradx = VarPtr(adx)

iDeviceId = TBApiGetRelativeDevice(0)

If TBApiGetMaxX(iDeviceId, addradx) Then

End If