Skip to content

MQGetCount

Function : Message Queues
MQGetCount - Get the number of messages in the message queue.

#include <mq.h>
WORD LNPUBLIC MQGetCount(

    MQHANDLE  Queue);
Description :

Return the number of messages waiting in the message queue.

Parameters : Input : Queue - Handle of an open message queue.

Output : (routine) - Number of messages in the message queue.

See Also : MQClose MQCreate MQGet MQOpen MQPut MQScan MQ_MAX_MSGSIZE