hwndDeskTop (HWND) - input

      Desktop-window handle.

      HWND_DESKTOP

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

      vkey (LONG) - input

        Virtual key value.

        Contains the virtual key value in the low-order byte, and zero in the high-order byte. See remarks for possible values.

      lKeyState (LONG) - returns

        Key state.

        This value is the OR combination of the following bits:

        0x0001

          The key has been pressed an odd number of times since the system has been started.
        0x8000
          The key is down.


        [Back] [Next]