ISyncChange::GetChangeUnits method (winsync.h)

Gets an object that can enumerate change units that are contained in this change.

Syntax

HRESULT GetChangeUnits(
  [out] IEnumSyncChangeUnits **ppEnum
);

Parameters

[out] ppEnum

Returns a change unit enumerator. Returns NULL when this change does not contain change units.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
Invalid pointer.
E_OUTOFMEMORY
SYNC_E_ITEM_HAS_NO_CHANGE_UNITS
The change contains no change units.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

ISyncChange Interface