ISyncMgrSynchronizeInvoke::UpdateItems method (mobsync.h)

Programmatically starts an update for specified items.

Syntax

HRESULT UpdateItems(
  [in] DWORD      dwInvokeFlags,
  [in] REFCLSID   clsid,
  [in] DWORD      cbCookie,
  [in] const BYTE *pCookie
);

Parameters

[in] dwInvokeFlags

Type: DWORD

Specifies how an item should be invoked using the SYNCMGRINVOKEFLAGS enumeration values.

[in] clsid

Type: REFCLSID

The CLSID of a registered application to be invoked for an update.

[in] cbCookie

Type: DWORD

The size of pCookie data, in bytes.

[in] pCookie

Type: const BYTE*

A pointer to a private token that identifies an application. The token is passed in the Initialize method.

Return value

Type: HRESULT

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

Return code Description
S_OK
The synchronization is successfully updated.
E_FAIL
The errors occur during a synchronization update.

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

ISyncMgrSynchronizeInvoke

Initialize

SYNCMGRINVOKEFLAGS