Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
WinPostQueueMsg (1.2)
◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINMESSAGEMGR
BOOL WinPostQueueMsg(hmq, msg, mp1, mp2)
HMQ hmq; /* handle of the message queue */
USHORT msg; /* message */
MPARAM mp1; /* first message parameter */
MPARAM mp2; /* second message parameter */
The WinPostQueueMsg function posts a message to a message queue. This
function can be used to post messages to any queue in the system.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hmq Identifies the message queue.
msg Specifies the message.
mp1 Specifies the first message parameter.
mp2 Specifies the second message parameter.
Return Value
The return value is TRUE if the function is successful or FALSE if an error
occurs or if the queue was full.
Comments
The last three parameters are placed into the queue as part of a QMSG
structure. The QMSG hwnd field is set to NULL, and the QMSG time and pt
fields are derived from the system time and mouse position at the time
WinPostQueueMsg was called.
See Also
WinPostMsg, WinSendMsg, QMSG
♦