| Previous | Contents | Index |
Mark a user's message as read.
int POPSTORE_message_mark_read (user_context, message_index) POPSTORE_user_context *user_context; int message_index;
User context created by a prior call to
user_contextPOPSTORE_user_begin_d. Used for input only.Index of the message to mark as read. Used for input only.
message_index
UsePOPSTORE_message_mark_readto mark a user's stored message as being read. The index of the message to mark is specified withmessage_index. The first message has index 1, the second index 2, and so on. An example of usingPOPSTORE_message_mark_readis given in Example 12-8.
POPSTORE_SUCCESS Normal, successful completion. POPSTORE_BADMSGID Message index is less than 1 or greater than
user_context->message_count.POPSTORE_NULLCONTEXT user_contextcontext is null.POPSTORE_NULLMSGLIST user_context->messagesis null.POPSTORE_NULLPROFILE user_context->profilecontext is null.
| Previous | Next | Contents | Index |