NumberOfButtons (PULONG) - output

      Number of mouse buttons.

      Address where the number of physical buttons is to be returned.

      The return values for the number of buttons supported are:

        Value

          Definition
        1
          One mouse button.
        2
          Two mouse buttons.
        3
          Three mouse buttons.

        DeviceHandle (HMOU) - input

          Mouse device handle.

          Reserved. Set to 0.

        rc (APIRET) - returns

          Return code.

          MouGetNumButtons returns one of the following values:

        • NO_ERROR 466
            ERROR_MOU_DETACHED
          501
            ERROR_MOUSE_NO_CONSOLE


          [Back] [Next]