Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - <b>word pascal peekmessage(lpmsg lpmsg)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
WORD pascal PeekMessage(LPMSG lpMsg)

  This function checks the system message queue for a pending message.
If a message was found, it will not be removed from the message
queue. This message can be later read and dequeued by using
GetMessage(). Using PeekMessage() will allow you to perform background
processing while no messages are in the queue.

Parameters
  lpMsg is a pointer to a MSG structure.

Returns
  This function returns FALSE (0) if there is no message pending.
Otherwise, it returns the message field of the MSG structure. The
message structure is filled with the various message values, but the
message is not removed from the queue.

See Also: PeekMessage

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson