ISyncMgrControl::StopItemSync method (syncmgr.h)

Stops the synchronization of specified items managed by a particular handler.

Syntax

HRESULT StopItemSync(
  [in] LPCWSTR pszHandlerID,
  [in] LPCWSTR *ppszItemIDs,
  [in] ULONG   cItems
);

Parameters

[in] pszHandlerID

Type: LPCWSTR

a pointer to a buffer containing the unique ID of the handler. This string is of maximum length MAX_SYNCMGR_ID including the terminating null character.

[in] ppszItemIDs

Type: LPCWSTR*

The address of a pointer to a buffer containing an array of IDs of the items to stop synchronizing. Each ID is of maximum length MAX_SYNCMGR_ID including the terminating null character.

[in] cItems

Type: DWORD

The number of IDs in ppszItemIDs.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header syncmgr.h