Share via


IEnumSyncChangeUnits::Next

Returns the next change unit.

Syntax

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

Parameters

  • 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.

Return Value

  • S_OK

  • S_FALSE

  • E_POINTER

Remarks

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

See Also

Reference

IEnumSyncChangeUnits Interface