EventMask (PULONG) - input

      Mouse device event mask pointer.

      The EventMask bit values are:

        Bit

          Description
        31-7
          Reserved. Set to 0.
        6
          Report button 3 press/release events, without mouse motion.
        5
          Report button 3 press/release events, with mouse motion.
        4
          Report button 2 press/release events, without mouse motion.
        3
          Report button 2 press/release events, with mouse motion.
        2
          Report button 1 press/release events, without mouse motion.
        1
          Report button 1 press/release events, with mouse motion.
        0
          Mouse motion events with no button press/release events.

        DeviceHandle (HMOU) - input

          Reserved. Must be 0.

        rc (APIRET) - returns

          Return code.

          MouSetEventMask returns one of the following values:

        • NO_ERROR

          466

            ERROR_MOU_DETACHED
          501
            ERROR_MOUSE_NO_CONSOLE


          [Back] [Next]