Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>peekmessage</b> get message from application que (no wait) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PeekMessage          Get Message From Application Que (No Wait)

BOOL PeekMessage((lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg)
LPMSG lpMsg;
HWND hWnd;
unsigned wMsgFilterMin; /* Lowest message to retrieve */
unsigned wMsgFilterMax; /* Highest message to retrieve */
WORD wRemoveMsg;


                 wRemoveMsg
        |---------------------------------------------|
        | PM_NOREMOVE Don't remove message from queue |
        | PM_NOYIELD  Don't yield to other tasks      |
        | PM_REMOVE   Remove message                  |
        +---------------------------------------------+

See Also: GetMessage WaitMessage

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