Platform SDK: Synchronization Manager

ISyncMgrRegister::RegisterSyncMgrHandler

A handler should call the ISyncMgrRegister::RegisterSyncMgrHandler method to register with the Synchronization Manager when it has items to synchronize.

HRESULT RegisterSyncMgrHandler(
  [in] REFCLSID rclsid,
  [in] WCHAR const *pwsDescription,
  [in] DWORD dwReserved
);

Parameters

rclsid
[in] CLSID of the handler that should be registered to do synchronizations.
pwsDescription
[in] Text identifying the handler. This parameter may be NULL.
dwReserved
[in] Reserved for future use. Must be zero.

Return Values

This method supports the standard return values E_INVALIDARG, E_UNEXPECTED, and E_OUTOFMEMORY, as well as the following:

S_OK
The handler was successfully registered.

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.