Share via


MAPI Mail Sync Request Constants (Compact 7)

3/12/2014

These constants indicate the type of action to perform in a synchronize operation.

Constants

Name Type Value Description

SYNC_NORMAL

ULONG

0

The normal synchronization operation.

SYNC_HIERARCHY

ULONG

1

Create the hierarchy during the synchronization operation.

SYNC_CREATE_FOLDER

ULONG

2

Create the missing folder during the synchronization operation.

SYNC_RENAME_FOLDER

ULONG

3

Rename the current folder during the synchronization operation.

SYNC_DELETE_FOLDER

ULONG

4

Delete the current folder during the synchronization operation.

SYNC_RESETHIERARCHY

ULONG

5

Recreate the hierarchy during the synchronization operation.

SYNC_FOLDER

ULONG

6

Update only the current folder during the synchronization operation.

SYNC_SENDONLY

ULONG

7

Send only outgoing messages during the synchronization operation.

Remarks

The constants are mutually exclusive. They cannot be combined with bitwise OR to form a bitmask.

These constants are used as the ffFlags member of the MAILSYNCREQUEST structure, which is the output parameter of the IMailSyncHandler::Synchronize method.

Requirements

Header

cemapi.h

Library

cemapi.lib

See Also

Reference

MAPI Constants
MAILSYNCREQUEST
IMailSyncHandler::Synchronize
MAPI Boolean Service Capability Constants