Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 840 Bytes

File metadata and controls

49 lines (32 loc) · 840 Bytes

Home

Function name : MQCloseQueue

Group: Message and Message Queue - Library: mqrt


Closes a given queue or subqueue.


Code examples:

MSMQ: how to open a queue

Declaration:

HRESULT APIENTRY MQCloseQueue(
  QUEUEHANDLE hQueue
);  

FoxPro declaration:

DECLARE INTEGER MQCloseQueue IN mqrt;
	INTEGER hQueue  

Parameters:

hQueue [in] The handle to the queue you want to close.


Return value:

MQ_OK (0) indicates success.


Comments:

See also: MQOpenQueue.

#DEFINE MQ_ERROR_INVALID_HANDLE 0xC00E0007