DeviceStatus (PULONG) - input

      Status flags.

      The passed parameter is a 4-byte set of flags. Only the high byte has meaning.

        Bit

          Description
        31-10
          Reserved. Set to 0.
        9
          If set, mouse data is returned in mickeys, not pels.
        8
          If set, the drawing operations for pointer draw routine are disabled.
        7-0
          Reserved. Set to 0.

        DeviceHandle (HMOU) - input

          Reserved. Must be 0.

        rc (APIRET) - returns

          Return code.

          MouSetDevStatus returns one of the following values:

        • NO_ERROR

          387

            ERROR_MOUSE_INV_PARMS
          466
            ERROR_MOU_DETACHED
          501
            ERROR_MOUSE_NO_CONSOLE


          [Back] [Next]