SYNCMGRFLAG enumeration (mobsync.h)

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

Syntax

typedef enum _tagSYNCMGRFLAG {
  SYNCMGRFLAG_CONNECT = 0x1,
  SYNCMGRFLAG_PENDINGDISCONNECT = 0x2,
  SYNCMGRFLAG_MANUAL = 0x3,
  SYNCMGRFLAG_IDLE = 0x4,
  SYNCMGRFLAG_INVOKE = 0x5,
  SYNCMGRFLAG_SCHEDULED = 0x6,
  SYNCMGRFLAG_EVENTMASK = 0xff,
  SYNCMGRFLAG_SETTINGS = 0x100,
  SYNCMGRFLAG_MAYBOTHERUSER = 0x200
} SYNCMGRFLAG;

Constants

 
SYNCMGRFLAG_CONNECT
Value: 0x1
Synchronization was initiated by a network connect event.
SYNCMGRFLAG_PENDINGDISCONNECT
Value: 0x2
Synchronization was initiated by a pending network disconnect event.
SYNCMGRFLAG_MANUAL
Value: 0x3
Synchronization was initiated manually by the end user.
SYNCMGRFLAG_IDLE
Value: 0x4
Synchronization was programmatically invoked.
SYNCMGRFLAG_INVOKE
Value: 0x5
Synchronization was programmatically invoked.
SYNCMGRFLAG_SCHEDULED
Value: 0x6
Synchronization was initiated by a scheduled update event.
SYNCMGRFLAG_EVENTMASK
Value: 0xff
Synchronization mask value.
SYNCMGRFLAG_SETTINGS
Value: 0x100
Synchronization was initiated for configuration purposes only in the System Properties dialog box.
SYNCMGRFLAG_MAYBOTHERUSER
Value: 0x200
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 ISyncMgrSynchronizeCallback 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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header mobsync.h

See also

ISyncMgrSynchronize::Initialize