ISyncMgrRegister::RegisterSyncMgrHandler method (mobsync.h)

Registers a handler with the synchronization manager when the handler has items to synchronize.

Syntax

HRESULT RegisterSyncMgrHandler(
  [in] REFCLSID clsidHandler,
  [in] LPCWSTR  pwszDescription,
  [in] DWORD    dwSyncMgrRegisterFlags
);

Parameters

[in] clsidHandler

Type: REFCLSID

The CLSID of the handler that should be registered to do synchronizations.

[in] pwszDescription

Type: LPCWSTR

Text identifying the handler. This parameter may be NULL.

[in] dwSyncMgrRegisterFlags

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 registered.

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