Platform SDK: Synchronization Manager

ISyncMgrSynchronize::EnumSyncMgrItems

This method obtains the ISyncMgrEnumItems interface for the items handled by the registered application.

HRESULT EnumSyncMgrItems(
  ISyncMgrEnumItems **ppSyncMgrEnumItems  // Address of ISyncMgrEnumItems
                                          //  pointer
);

Parameters

ppSyncMgrEnumItems
[out] Address of variable that receives a pointer to a valid ISyncMgrEnumItems interface.

Return Values

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

S_OK
The enumeration interface was successfully returned.
S_SYNCMGR_MISSINGITEMS
The enumeration interface object is successfully returned but some items are missing. When this success code is returned SyncMgr does not remove any stored preferences for ItemIds that were not returned in the enumerator.

Remarks

The enumeration object created by this method implements the ISyncMgrEnumItems interface, a standard enumeration interfaces that contains the Next, Reset, Clone, and Skip methods.

Requirements

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 5 or later).
  Windows 95/98: Requires Windows 95 or later (with Internet Explorer 5 or later).
  Header: Declared in Mobsync.h.

See Also

ISyncMgrEnumItems