hab (HAB) - input

      Anchor-block handle.

    pqmsg (PQMSG) - output

      Message structure.

      Note: If the function returns FALSE, the state of the QMSG structure is undefined. Applications should always check the return code before examining this structure.

    hwndFilter (HWND) - input

      Window filter.

    ulFirst (ULONG) - input

      First message identity.

    ulLast (ULONG) - input

      Last message identity.

    flOptions (ULONG) - input

      Options.

      If neither of the following flags is specified, the message is not removed. If both of the following flags are specified, the message is removed:

      PM_REMOVE

        Remove message from queue
      PM_NOREMOVE
        Do not remove message from queue.

      rc (BOOL) - returns

        Message-available indicator.

        TRUE

          Message available
        FALSE
          No message available.


        [Back] [Next]