Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 799 Bytes

MQPurgeQueue.md

File metadata and controls

46 lines (30 loc) · 799 Bytes

Home

Function name : MQPurgeQueue

Group: Message and Message Queue - Library: mqrt


Deletes all of the messages in a queue.


Declaration:

HRESULT APIENTRY MQPurgeQueue(
  HANDLE hQueue
);  

FoxPro declaration:

DECLARE INTEGER MQPurgeQueue IN mqrt;
	INTEGER hQueue  

Parameters:

hQueue [in] The handle to the queue to be purged.


Return value:

MQ_OK (0) indicates success.


Comments:

See also: MQOpenQueue, MQCloseQueue.

#DEFINE MQ_ERROR_INVALID_HANDLE 0xC00E0007