#include <cafe/os.h> BOOL OSPeekMessage( OSMessageQueue* mq, OSMessage* msg);
|mq||Pointer to message queue.|
|msg||Pointer to the message struct being received.|
TRUE if a message was copied. Returns
Checks to see if there is a message in the queue and copies the first message to the variable msg. The message is copied but not removed from the queue.
A demo of the usage of
OSPeekMessage is available at:
|Callbacks||Do not call this function from any callback function.|
2014/02/19 Initial version.