Optional. The PROPID_Q_TYPE property specifies the type of service provided by the queue. The queue's type allows applications to categorize their queues according to how they are used.
The queue's service type can be used to identify the queue.
It is recommended that the service type of the queue be specified when the queue is created. In most cases, the service type of the queue can be defined by the application. However, some queues used by MSMQ require a specific MSMQ-defined service type. For example, input queues used by the MSMQ Mail Services have a specific MSMQ-defined MAPI service type.
Note To generate a GUID, run the UUIDGEN.EXE program provided by Microsoft Developer Network. (For information about UUIDGEN.EXE, see the Microsoft Platform SDK.)
The queue's service type can also be used to locate public queues registered in MQIS (see MQLocateBegin and MQLocateNext, ).
To set the queue's service type, pass PROPID_Q_TYPE to MQCreateQueue.
To change the queue's service type, pass PROPID_Q_TYPE to MQSetQueueProperties with a new GUID.
To find the service type of a queue, pass PROPID_Q_TYPE to MQGetQueueProperties and examine its returned value.
MQCreateQueue, MQGetQueueProperties, MQLocateBegin, MQLocateNext, MQSetQueueProperties