Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>msm_getstatus</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
msm_getstatus

Usage

   #include <msmouse.h>
   int msm_getstatus(unsigned *curposx, unsigned *curposy);

Description


   Get status. Places the current cursor position in the variables pointed
   to by curposx and curposy.

Return Value

   Returns the status of the mouse buttons as a bit pattern.

       Bit 0:  left button (1 == down, 0 == up)
       Bit 1:  right button
       Bit 2:  middle button
       All other bits should be ignored.





Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson