ISyncMgrSynchronizeInvoke::UpdateItems method
Programmatically starts an update for specified items.
Syntax
HRESULT UpdateItems( [in] DWORD dwInvokeFlags, [in] REFCLSID CLSID, [in] DWORD cbCookie, [in] const BYTE *pCookie );
Parameters
- dwInvokeFlags [in]
-
Type: DWORD
Specifies how an item should be invoked using the SYNCMGRINVOKEFLAGS enumeration values.
- CLSID [in]
-
Type: REFCLSID
The CLSID of a registered application to be invoked for an update.
- cbCookie [in]
-
Type: DWORD
The size of pCookie data, in bytes.
- pCookie [in]
-
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 |
|---|---|
|
The synchronization is successfully updated. |
|
The errors occur during a synchronization update. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
DLL |
|
See also