Returns the current mouse button status and pointer position.
Call with:
AX = 0003H
Returns:
BX = mouse button status
Bit(s) Significance (if set)
0 left button is down
1 right button is down
2 center button is down
3—15 reserved (0)
CX = horizontal (X) coordinate
DX = vertical (Y) coordinate
Note:
Coordinates are returned in pixels regardless of the current display mode. Position (x,y) = (0,0) is the upper left corner of the screen.