Jump to content

WinQueryQueueInfo

From EDM2
Revision as of 13:57, 13 December 2019 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.