2.2.2.8 MQMSGCURSOR

The MQMSGCURSOR enumeration defines values that indicate the cursor behavior mode for notifications from an MSMQQueue method. The cursor behavior mode indicates how the state of the cursor that is associated with an event notification is updated.

 typedef enum 
 {
   MQMSG_FIRST = 0,
   MQMSG_CURRENT = 1,
   MQMSG_NEXT = 2
 } MQMSGCURSOR;

MQMSG_FIRST:  The client is notified when a Message is available at the head of the Queue.

The behavior for this value is defined for the MSMQQueue::EnableNotification method in section 3.11.4.1.9.

MQMSG_CURRENT:  The client is notified when a Message is available at the current cursor position within the Queue.

The behavior for this value is defined for the MSMQQueue::EnableNotification method in section 3.11.4.1.9.

MQMSG_NEXT:  The cursor is advanced, and the client is notified when a Message is available at the advanced cursor position within the Queue.

The behavior for this value is defined for the MSMQQueue::EnableNotification method in section 3.11.4.1.9.

Used by: