Group: Message and Message Queue - Library: mqrt
Deletes a queue from the directory service (in the case of public queues) or from the local computer (in the case of private queues).
HRESULT APIENTRY MQDeleteQueue(
LPCWSTR lpwcsFormatName
);
DECLARE INTEGER MQDeleteQueue IN mqrt;
STRING lpwcsFormatName
lpwcsFormatName [in] Pointer to the format name string of the queue to be deleted.
MQ_OK (0) indicates success.
#DEFINE MQ_ERROR_ILLEGAL_FORMATNAME 0xC00E001E
#DEFINE MQ_ERROR_QUEUE_NOT_FOUND 0xC00E0003