Platform SDK: Synchronization Manager

SYNCMGRFLAG

The SYNCMGRFLAG enumeration values are used in the ISyncMgrSynchronize::Initialize method to indicate how the synchronization event was initiated.

typedef enum _tagSYNCMGRFLAG
   SYNCMGRFLAG_CONNECT                = 0x0001,
   SYNCMGRFLAG_PENDINGDISCONNECT      = 0x0002,
   SYNCMGRFLAG_MANUAL                 = 0x0003,
   SYNCMGRFLAG_IDLE                   = 0x0004,
   SYNCMGRFLAG_INVOKE                 = 0x0005,
   SYNCMGRFLAG_SCHEDULED              = 0x0006,
   SYNCMGRFLAG_EVENTMASK              = 0x00FF,
   SYNCMGRFLAG_SETTINGS               = 0x0100,
   SYNCMGRFLAG_MAYBOTHERUSER          = 0x0200,
} SYNCMGRFLAG;

Elements

SYNCMGRFLAG_CONNECT
Synchronization was initiated by a network connect event.
SYNCMGRFLAG_PENDINGDISCONNECT
Synchronization was initiated by a pending network disconnect event.
SYNCMGRFLAG_MANUAL
Synchronization was initiated manually by the end user.
SYNCMGRFLAG_IDLE
Synchronization was programmatically invoked.
SYNCMGRFLAG_INVOKE
Synchronization was programmatically invoked.
SYNCMGRFLAG_SCHEDULED
Synchronization was initiated by a scheduled update event.
SYNCMGRFLAG_EVENTMASK
Synchronization mask value.
SYNCMGRFLAG_SETTINGS
Synchronization was initiated for configuration purposes only in the System Properties dialog box.
SYNCMGRFLAG_MAYBOTHERUSER
Interaction with the user is permitted. The application is allowed to show user interface elements and interact with the user. If this flag is not set, the application must not display any user interface elements other than using the ISynchronizeCallback interface. If an application cannot complete the synchronization without displaying user interface elements and this flag is not set, the application fails the synchronization.

Requirements

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 5 or later).
  Windows 95/98: Requires Windows 95 or later (with Internet Explorer 5 or later).
  Header: Declared in Mobsync.h.

See Also

ISyncMgrSynchronize::Initialize