State of Each LED

      A bit mask indicating the state of the new LED indicators. A set bit means a particular LED is turned on. A clear bit indicates the LED is turned off. The bit mask is defined as follows:

      Bits 15-3

        Reserved. Set to 0.
      Bit 2
        If set, Caps Lock LED turned on. If clear, Caps Lock LED turned off.
      Bit 1
        If set, Num Lock LED turned on. If clear, Num Lock LED turned off.
      Bit 0
        If set, Scroll Lock LED turned on. If clear, Scroll Lock LED turned off.
      If any of the reserved bits are set, an INVALID_PARAMETER error is returned.


    [Back] [Next]