Microsoft KB Archive/35370

From BetaArchive Wiki

Function 31: Disable Mouse Driver PSS ID Number: Q35370 Article last modified on 05-14-1993 PSS database name: H_Mouse

6.x 7.x 8.x 9.00


The information in this article applies to:
- Microsoft Mouse Driver for MS-DOS, versions 6.x, 7.x, 8.x, and 9.0


Function 31 is used in the MOUSE OFF portion of your program to disable the mouse driver, and thus the mouse. When a call is made to Function 31, you can restore the Interrupt 33 value (to what it was before the mouse driver was enabled) by means of the BX and CX variables. All other vectors used by the mouse driver are removed.

Input Output

AX = 31 AX = error status (-1 if error occurred; 31 if no error) BX = offset of old INT 33 CX = segment of old INT 33

Additional reference words: 7.00 7.04 7.05 8.00 8.10 1.00 8.20 9.00

Copyright Microsoft Corporation 1993.