TBApiMousePortInterfaceEnableEX API Call

 

Description

Enables/disables the mouse port interface for a device.

Parameters

BOOLEAN value where TRUE = enable and FALSE = disable.

Returns

0 = fail, 1 = OK

Notes

If the mouse port interface is disabled for a device, 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 TBApiMousePortInterfaceEnableEx(HTBDEVICE aDevice, BOOL aState);