Differences Among Mouse Functions 12, 20, and 24 (70778)



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

This article was previously published under Q70778

SUMMARY

Mouse Function 12 is used to replace an existing interrupt subroutine address and call mask with the address and call mask of a new user-defined subroutine.

Mouse Function 20 is similar to Function 12, and is used to replace an existing interrupt subroutine address and call mask with the address and call mask of a new user-defined interrupt subroutine. Unlike Function 12, Function 20 returns the subroutine address and call mask to the calling program so that they may be restored. Microsoft recommends that you use Function 20 or Function 24 instead of Function 12.

With Mouse Function 24 you can define up to three individual interrupt subroutine addresses and call masks. Subroutines defined by Function 24 can be activated only by a combination of a mouse action (button press, mouse motion) and a SHIFT, CTRL, or ALT key press.

Modification Type: Major Last Reviewed: 9/24/2003
Keywords: KB70778