ISyncMgrRegister::RegisterSyncMgrHandler method

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

clsidHandler [in]

Type: REFCLSID

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

pwszDescription [in]

Type: LPCWSTR

Text identifying the handler. This parameter may be NULL.

dwSyncMgrRegisterFlags [in]

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 codeDescription
S_OK

The handler was successfully registered.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mobsync.h

DLL

Mobsync.dll

See also

ISyncMgrRegister

 

 

Show: