Function 24: Set Alternate Subroutine Call Mask and Address

ID: Q35365


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


SUMMARY

Function 24 sets the interrupt call mask and user subroutine address for mouse hardware interrupts. Subroutine calls using Function 24 allow the called routine to be reentrant; that is, the subroutine called can itself make interrupt calls.


Input                             Output

AX = 24                           AX = error status (-1 if error
                                       occurred)
CX = user interrupt call mask
ES:DX = user subroutine address

Mask Bit                          Condition

0                                 Cursor position changes
1                                 Left button pressed
2                                 Left button released
3                                 Right button pressed
4                                 Right button released
5                                 SHIFT key pressed with button
6                                 CTRL key pressed with button
7                                 ALT key pressed with button
8-15                              Not used 
Note: One of at least bits 5,6,7 must be set in order for this function to work properly.

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

Keywords :
Version : MS-DOS:6.x,7.x,8.x,9.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 16, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.