TBApiDeviceStopMouseScaling API Call

 

Description

Instruct the driver to direct all mouse activity for the specified device to the standard location, ie negate the effect of any previous TBApiDeviceSetMouseScaling call 

Parameters

Device id.

Returns

0 = fail, 1 = OK.

Notes

See also TBApiDeviceSetMouseScaling.

 

Visual C++ Declaration/example

 

BOOL TBApiDeviceStopMouseScaling(int aDeviceId);

 

If (TBApiDeviceStopMouseScaling (0))

            AfxMessageBox( “Mouse scaling stopped ok”)

 

Visual Basic Declaration/example

 

Public Declare Function TBApiDeviceStopMouseScaling Lib "TBapi" Alias “_DLL_TBApiDeviceStopMouseScaling@4" _

(ByVal aDeviceId As Byte) As Boolean

 

If TBApiDeviceStopMouseScaling (0) = True then

            MsgBox “Mouse scaling stopped ok”

End if