This function is identical to the WinGetMsg function, except that it does not wait for the arrival of a message. The message can be left on the queue, by using flOptions.

For details of hwndFilter, ulFirst, and ulLast, see the WinGetMsg function.

The window handle within pqmsg is null if the message is posted to the queue with a hwnd that is null.


[Back] [Next]