MAILSYNCREQUEST
The MAILSYNCREQUEST structure describes the synchronize request made by the e-mail application to the transport.
Syntax
typedef struct MAILSYNCREQUEST {
DWORD cbSize;
DWORD cbBufSize;
DWORD cbCookie;
LPBYTE pbCookie;
ULONG ffFlags;
ULONG objType;
LPENTRYID pid;
DWORD cbId;
LPSPropValue pval;
} MAILSYNCREQUEST;
Members
cbSize
Size in bytes of MAILSYNCREQUEST structure.cbBufSize
Size in bytes of the entire buffer.cbCookie
Reserved for future use when using the IMailSyncCallBack::RequestSync method.pbCookie
Reserved for future use when using the IMailSyncCallBack::RequestSync method.ffFlags
These are constants, listed in the following table, so they cannot be ORed together.Constant Value SYNC_NORMAL 0 SYNC_HIERARCHY 1 SYNC_CREATE_FOLDER 2 SYNC_RENAME_FOLDER 3 SYNC_DELETE_FOLDER 4 SYNC_RESETHIERARCHY 5 SYNC_FOLDER 6 objType
Reserved for future use.pid
Entry ID of the item to act on, such as a folder to rename.cbId
Count of bytes in pid.pval
Pointer to an SPropValue structure describing the value of the new item — for example, the folder name of a new folder to be created.
Requirements
Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cemapi.h
See Also
Send feedback on this topic to the authors.
© 2005 Microsoft Corporation. All rights reserved.