Platform SDK: Synchronization Manager

ISyncMgrSynchronize

The ISyncMgrSynchronize interface enables the registered application or service to receive notifications from the Synchronization Manager.

When to Implement

This interface should be implemented on the registered application's handler to receive notifications from the SyncMgr and to participate in the synchronization process.

When to Use

The SyncMgr calls the methods of this interface to send notifications to the registered application or service during synchronization.

Methods in Vtable Order

IUnknown methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

ISyncMgrSynchronize methods Description
Initialize Determines whether the registered application handles the synchronization event.
GetHandlerInfo Called by SyncMgr to obtain handler information.
EnumSyncMgrItems Called by SyncMgr to obtain the enumeration interface for the items maintained by the registered application.
GetItemObject Called by SyncMgr to obtain an interface on the requested server's Items.
ShowProperties Called by SyncMgr when the item is selected in the Choice dialog box and the user clicks the Properties button.
SetProgressCallback Called by SyncMgr to set the ISyncMgrSynchronizeCallback interface.
PrepareForSync Called by SyncMgr to give the registered application a chance to show any user interface and do any necessary initialization before calling the Synchronize method.
Synchronize Called by SyncMgr once for each selected group after the user has selected applications for synchronization.
SetItemStatus Called by SyncMgr to set the status of an item being synchronized.
ShowError Called by SyncMgr to set an error status for the item being synchronized.

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

ISyncMgrEnumItems, ISyncMgrSynchronizeCallback, ISyncMgrSynchronizeInvoke