IEnumSyncChangeUnits::Next

Returns the next change unit.


HRESULT Next( 
  ULONG cChanges, 
  ISyncChangeUnit ** ppChangeUnit, 
  ULONG *pcFetched);

cChanges

[in, range(0, 1)] The number of change units to fetch. The only valid value is 1.

ppChangeUnit

[out, size_is(cChanges),length_is(*pcFetched)] Returns the next change unit object.

pcFetched

[in, out, unique] Returns the number of change units that are fetched.

  • S_OK

  • S_FALSE

  • E_POINTER

This method currently only supports retrieval of a single change unit. Therefore, cChanges must be 1. Otherwise, the call will fail.

Show: