ISyncMgrRegister::UnregisterSyncMgrHandler method (mobsync.h)

Removes a handler's class identifier (CLSID) from the registration. A handler should call this when it no longer has any items to synchronize.

Syntax

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

Parameters

[in] clsidHandler

Type: REFCLSID

The CLSID of the handler that should be unregistered.

[in] dwReserved

Type: DWORD

Return value

Type: HRESULT

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

Return code Description
S_OK
The handler was successfully removed from the registry with SyncMgr.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mobsync.h
DLL Mobsync.dll

See also

ISyncMgrRegister