WinQueryQueueInfo

Checks whether HMQ is already defined

Syntax
WinQueryQueueInfo( hmq, pmqiMqinfo, cbCopied )

Parameter

 * hmq (HMQ) - input:Queue handle.
 * It must be created by a previous call to WinCreateMsgQueue or HMQ_CURRENT.


 * pmqiMqinfo (PMQINFO) - output:Message queue information structure to contain the queue information.
 * cbCopied (ULONG) - input:Size of message queue information structure that is provided (in bytes).
 * Specifies the maximum number of bytes to be copied into the pmqiMqinfo parameter. This should be the size of an MQINFO structure.


 * rc (BOOL) - returns:Success indicator.
 * TRUE - Successful completion
 * FALSE - Error occurred.