ISyncMgrSynchronize::EnumSyncMgrItems method (mobsync.h)

Obtains the ISyncMgrEnumItems interface for the items that are handled by a registered application.

Syntax

HRESULT EnumSyncMgrItems(
  [out] ISyncMgrEnumItems **ppSyncMgrEnumItems
);

Parameters

[out] ppSyncMgrEnumItems

Type: ISyncMgrEnumItems**

The address of the variable that receives a pointer to a valid ISyncMgrEnumItems interface.

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 enumeration interface is returned successfully.
S_SYNCMGR_MISSINGITEMS
The enumeration interface object is returned successfully, but some items are missing. When this success code is returned, the synchronization manager does not remove any stored preferences for ItemIds that are not returned in the enumerator.

Remarks

The enumeration object that this method creates implements the ISyncMgrEnumItems interface, which is a standard enumeration interface that contains the Next, Reset, Clone, and Skip methods.

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

ISyncMgrEnumItems

ISyncMgrSynchronize