Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Int 15h Function C2h Subfunction 07h
 Summary                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The user's handler for pointing device data is entered via a far
     call with four parameters on the stack:
 
       SS:SP+0Ah status
       SS:SP+08h x coordinate
       SS:SP+06h y coordinate
       SS:SP+04h z coordinate (always 0)
 
     The handler must exit via a far return without removing the
     parameters from the stack.
 
     The status parameter passed to the user's handler is interpreted
     as follows:
 
     Bits     Significance (if set)
 
     0        Left button pressed
     1        Right button pressed
     2-3      Reserved
     4        Sign of x data is negative
     5        Sign of y data is negative
     6        x data has overflowed
     7        y data has overflowed
     8-15     Reserved
                                    -♦-