Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::containers::message::PeekMsg Macro
C++
#define PeekMsg(q,b,s,i,o) PeekMsgEx(q,b,s,i,o DBG_SRC )
Parameters 
Description 
queue 
The PMSGHANDLE queue to read. 
MsgID 
what message to read. 0 is read any message
buffer 
where to read the message data into. 
buffer_size 
the length of the message buffer. 
options 
Options controlling the read 

-1 on error 

0 if no message 

length of the message read

Just peek at the next message.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!