Revision Summary Date Revision History Revision Comments 7/25/2008 0.1 Editorial Initial Availability. 8/29/2008 1.0 Major Updated and revised the technical content. 10/24/2008 2.0 Major Updated and revised the technical content. 12/5/2008 2.0.1 Editorial Changed language and formatting in the technical content. 1/16/2009 2.1 Minor Clarified the meaning of the technical content. 2/27/2009 2.2 Minor Clarified the meaning of the technical content. 4/10/2009 3.0 Major Updated and revised the technical content. 5/22/2009 3.1 Minor Clarified the meaning of the technical content. 7/2/2009 4.0 Updated and revised the technical content. 8/14/2009 5.0 Major Updated and revised the technical content.
9/25/2009 6.0 Major Updated and revised the technical content. 11/6/2009 7.0 Major Updated and revised the technical content. 12/18/2009 8.0 Updated and revised the technical content. 1/29/2010 9.0 Major Updated and revised the technical content. 3/12/2010 10.0 Major Updated and revised the technical content. 4/23/2010 11.0 Major Updated and revised the technical content. 6/4/2010 12.0 Major Updated and revised the technical content. 7/16/2010 13.0 Major Updated and revised the technical content. 8/27/2010 14.0 Major Updated and revised the technical content. 10/8/2010 15.0 Updated and revised the technical content. 11/19/2010 16.0 Major Updated and revised
the technical content. 1/7/2011 17.0 Major Updated and revised the technical content. 2/11/2011 18.0 Updated and revised the technical content. 3/25/2011 19.0 Major Updated and revised the technical content. 5/6/2011 20.0 Major Updated and revised the technical content. 6/17/2011 21.0 Major Updated and revised the technical content. 9/23/2011 22.0 Major Updated and revised the technical content. 12/16/2011 23.0 Major Updated and revised the technical content. 3/30/2012 24.0 Major Updated and revised the technical content. 7/12/2012 24.1 Clarified the meaning of the technical content. 10/25/2012 25.0 Updated and revised the
technical content. 1/31/2013 25.0 None No changes to the meaning, language, or formatting of the technical content. 8/8/2013 26.0 Major Updated and revised the technical content. 11/14/2013 26.0 None No changes to the meaning, language, or formatting of the technical content. 2/13/2014 26.0 None No changes to the meaning, language, or formatting of the technical content. 5/15/2014 26.0 None No changes to the meaning, language, or formatting of the technical content. 6/30/2015 27.0 Major Significantly changed the technical content. 10/16/2015 27.0 None No changes to the meaning, language, or formatting of the
technical content. 7/14/2016 27.0 None No changes to the meaning, language, or formatting of the technical content. 6/1/2017 27.0 None No changes to the meaning, language, or formatting of the technical content.
Else if queueObj.OpenQueueDescriptorCollection contains an OpenQueueDescriptor ADM element instance with the ShareMode attribute set to DenyReceive and the AccessType attribute set to PeekAccess or PeekAdminAccess: If the iRequiredAccess argument is ReceiveAccess: Set rStatus to MQ_ERROR_SHARING_VIOLATION. Take no further action. Else if queueObj.OpenQueueDescriptorCollection contains an OpenQueueDescriptor ADM element instance with the ShareMode attribute set to DenyNone and the AccessType attribute set to ReceiveAccess: If the iSharedMode argument is DenyReceive: Set rStatus to MQ_ERROR_SHARING_VIOLATION. Take no further action. Create a new OpenQueueDescriptor ADM element instance, referred to as newDesc, and: Set newDesc.AccessType to iRequiredAccess. Set newDesc.QueueReference to the Queue ADM element instance referenced by queueObj. Set newDesc.FormatName to iFormatName. Set newDesc.Multiple to FALSE. Set newDesc.Handle to an implementation-specific value that can be used to reference this OpenQueueDescriptor ADM element instance. Set newDesc.ContextValue to an implementation-specific that can be used to reference this OpenQueueDescriptor ADM element instance. Add newDesc to queueObj.OpenQueueDescriptorCollection. Set rStatus to MQ_OK. Set rOpenQueueDescriptor to the newDesc ADM element instance. Close Queue This event MUST be generated with the following argument: iQueueDesc: The ADM element instance to be closed. Return Value: None. The MUST perform the following actions to process this event: If iQueueDesc.QueueReference is NULL: Take no further action. If iQueueDesc.Multiple is TRUE: For each OpenQueueDescriptor ADM element instance in iQueueDesc.OpenQueueDescriptorCollection:
MQ_OK (0x00000000) MQ_ERROR_IO_TIMEOUT (0xC00E001B) MQ_ERROR_MESSAGE_NOT_FOUND (0xC00E0088) MQ_ERROR_MESSAGE_ALREADY_RECEIVED (0xC00E001D) MQ_ERROR_QUEUE_NOT_AVAILABLE (0xC00E004B) rMessage: A reference to the ADM element instance that was dequeued. This value is undefined if rStatus is not MQ_OK. The MUST perform the following actions to process this event: If iQueueDesc.QueueReference is NULL: Set rStatus to MQ_ERROR_QUEUE_NOT_AVAILABLE (0xC00E004B). Take no further action. If the iTimeout argument is not specified, set it to Infinite. Define iQueue as a reference to a ADM element instance and set it to iQueueDesc.QueueReference. Define iPosition as a ADM element reference. If the iCursor argument is supplied: Generate the event on the iCursor argument with the following inputs: iNoWait := True if the iTimeout argument is set to zero or False otherwise. If the rStatus return value from the Get Next Message For Dequeue event is set to Succeeded: Set iPosition to the returned rPosition. Else, if the returned rStatus is set to AlreadyReceived: Set rStatus to MQ_ERROR_MESSAGE_ALREADY_RECEIVED (0xC00E001D). Take no further action. Else, if the returned rStatus is set to NotFound: Set rStatus to MQ_ERROR_MESSAGE_NOT_FOUND (0xC00E0088). Take no further action. Else, if the returned rStatus is set to Waiting: Generate a event with the following inputs: iQueueDesc := iQueueDesc iTimeout := iTimeout iDestructiveRead := True If the iTag argument is supplied: iTag := iTag
Index A 18 15 C 15 137 D 18 17 E 17 128 F 16 G 7 H 52 I 129 129 14 48 7 L 61 M 59 Messages 17 17 N 13 O 14 P 129 15 15 130 R 12 14 13 14 S 17 Security 129 129 59 16 17 T 48 59 47 137 17 52 V 16 15