Microsoft KB Archive/35365

= Function 24: Set Alternate Subroutine Call Mask and Address =

Article ID: 35365

Article Last Modified on 9/24/2003

-

APPLIES TO


 * Microsoft Mouse Driver 9.0 Standard Edition
 * Microsoft Mouse Driver 9.1 Standard Edition
 * Microsoft Mouse Driver 7.04 Standard Edition
 * Microsoft Mouse Driver 8.2 Standard Edition

-



This article was previously published under Q35365



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: KB35365

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.