hwndDeskTop (HWND) - input

      Desktop-window handle.

      HWND_DESKTOP

        The desktop-window handle
      Other
        Specified desktop-window handle.

      sc (LONG) - input

        Hardware scan code.

        Contains the scan code value in the low-order byte, and zero in the high-order byte.

      lKeyState (LONG) - returns

        Key state.

        This value is the OR combination of the following bits:

        0x0001

          The key has been pressed since the last time this function was issued, or since the system has been started if this is the first time the call has been issued.
        0x8000
          The key is down.


        [Back] [Next]