This function causes the current thread to wait for a message to arrive on the message queue associated with hab. This must be the next message since the queue was last inspected by a rc return from WinGetMsg or WinPeekMsg. It must also conform to the filtering criteria specified by ulFirst and ulLast.

For details of the filtering performed by ulFirst and ulLast, see the WinGetMsg function.


[Back] [Next]