READSTATE

The READSTATE structure contains the read state of a message.

Quick Info

Header file: EDKMDB.H

typedef struct
{
  ULONG  cbSourceKey;
  BYTE *  pbSourceKey;
  ULONG  ulFlags;
}  READSTATE, * LPREADSTATE;
 

Members

cbSourceKey
The size (in bytes) of the key in the pbSourceKey member.
pbSourceKey
Points to a key of the PR_SOURCE_KEY property type.
ulFlags
Defined value that indicates whether the message has been read:
SYNC_READ
The message has been read.

Remarks

This structure is used in conjunction with the IExchangeImportContentsChanges::ImportPerUserReadStateChange method to identify the messages that either went from unread to read, or went from read to unread. If the value of the ulFlags member is equal to SYNC_READ, the message went from unread to read; if the value of the ulFlags member is not equal to SYNC_READ, the message went from read to unread.

See Also

IExchangeImportContentsChanges::ImportPerUserReadStateChange