hwndDesktop (HWND) - input

      Desktop-window handle.

      HWND_DESKTOP

        The desktop-window handle
      Other
        Desktop-window handle returned by WinQueryDesktopWindow.

      flStatus (ULONG) - returns

        Status information.

        Summary

          Summary of message types existing on the queue.

          This field contains a combination of the following values:

          QS_KEY

            An input event (keyboard or journaling) has caused a WM_CHAR message to be placed in the queue.
          QS_MOUSE
            An input event has caused a WM_MOUSEMOVE, WM_BUTTON1UP, WM_BUTTON1DOWN, WM_BUTTON1DBLCLK, WM_BUTTON2UP, WM_BUTTON2DOWN, WM_BUTTON2DBLCLK, WM_BUTTON3UP, WM_BUTTON3DOWN, or WM_BUTTON3DBLCLK message to be placed in the queue.
          QS_MOUSEBUTTON
            An input event has caused a WM_BUTTON1UP, WM_BUTTON1DOWN, WM_BUTTON1DBLCLK, WM_BUTTON2UP, WM_BUTTON2DOWN, WM_BUTTON2DBLCLK, WM_BUTTON3UP, WM_BUTTON3DOWN, or WM_BUTTON3DBLCLK message to be placed in the queue.
          QS_MOUSEMOVE
            An input event has caused a WM_MOUSEMOVE message to be placed in the queue.
          QS_TIMER
            A timer event has caused a WM_TIMER message to be placed in the queue.
          QS_PAINT
            A WM_PAINT message is available.
          QS_SEM1
            A WM_SEM1 message is available.
          QS_SEM2
            A WM_SEM2 message is available.
          QS_SEM3
            A WM_SEM3 message is available.
          QS_SEM4
            A WM_SEM4 message is available.
          QS_POSTMSG
            A message has been posted to the queue. Note that this message is probably not one of the messages listed above, but could be a WM_CHAR, WM_MOUSEMOVE or similar message if an application has posted one of these. In this case, the corresponding input status flag (QS_KEY, QS_MOUSE, and so on) is not set.
          QS_SENDMSG
            A message has been sent by another application to a window associated with the current queue.
          Added
            Message type additions.

            Message types added to the queue since the last use of this function. The value of this field is a subset of the Summary field.


          [Back] [Next]