Platform SDK: Synchronization Manager

ISyncMgrRegister::UnregisterSyncMgrHandler

The handler calls the ISyncMgrRegister::UnregisterSyncMgrHandler method to remove its CLSID from the registration. A handler should call this when it no longer has any items to synchronize.

HRESULT UnregisterSyncMgrHandler(
  [in] REFCLSID rclsidHandler,
  [in] DWORD dwReserved
);

Parameters

rclsidHandler
[in] CLSID of the handler that should be unregistered
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 removed from the registry with SyncMgr.

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.