xp_findnextmsg returns the message identifier of the next message in the Adaptive Server inbox.
true – to consider only unread messages.
false – to consider all messages.
Pass the message identifier that is returned by xp_findnextmsg to subsequent procedures that read and delete messages.