Share via


SEQUENCE_INFO

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

(Introduced in MSMQ 3.0.) The SEQUENCE_INFO structure stores the sequence information about the applicable message in a message stream sent from a given sending computer to a given destination queue.

typedef struct tagSEQUENCE_INFO  
{  
  LONGLONG SeqID;  
  ULONG SeqNo;   
  ULONG PrevNo;  
} SEQUENCE_INFO;  

Members

SeqID

The sequence identifier of the message stream being sent to the destination queue.

SeqNo

The sequence number of the message in the stream.

PrevNo

The previous sequence number specified in the message. The message can be delivered only if a message whose sequence number is equal to this number is present in the destination queue.

Remarks

Sequence information is returned by the MQMgmtGetInfo function when the sending computer and destination queue are passed to the function and PROPID_MGMT_QUEUE_EOD_FIRST_NON_ACK, PROPID_MGMT_QUEUE_EOD_LAST_ACK, PROPID_MGMT_QUEUE_EOD_LAST_NON_ACK, or PROPID_MGMT_QUEUE_EOD_NEXT_SEQ is specified as a property to be retrieved in the MQMGMTPROPS structure referenced by the function.

When the queue manager does not have the required information, the SeqNo and PrevNo members of the SEQUENCE_INFO structure are equal to 0.

Requirements

Windows NT/2000/XP: Included in Windows XP and Windows Server 2003.

Windows 95/98/Me: Unsupported.

Header: Declared in Mq.h.

See Also

Message Queuing Structures
MQMgmtGetInfo
MQMGMTPROPS
PROPID_MGMT_QUEUE_EOD_FIRST_NON_ACK
PROPID_MGMT_QUEUE_EOD_LAST_ACK
PROPID_MGMT_QUEUE_EOD_LAST_NON_ACK
PROPID_MGMT_QUEUE_EOD_NEXT_SEQ