TBApiMousePortInterfaceEnable API Call

 

Description

Enables/disables the mouse port interface.

Parameters

BOOLEAN value where TRUE = enable and FALSE = disable.

Returns

0 = fail, 1 = OK

Notes

If the mouse port interface is disabled, the driver functions normally, except that the mouse pointer is not moved and mouse button clicks are not emulated. Data can be read via the API.

 

Visual C++ Declaration/example

 

BOOL TBAPI TBApiMousePortInterfaceEnable(BOOL aState);

 

Visual Basic Declaration/example

 

Public Declare Function TBApiMousePortInterfaceEnable Lib "TBapi" Alias "_DLL_TBApiMousePortInterfaceEnable@4" (ByVal aState As Long) As Long