IEnumChangeUnitExceptions::Next method (winsync.h)

Returns the next elements in the change unit exception set, if they are available.

Syntax

HRESULT Next(
  [in]      ULONG                cExceptions,
  [out]     IChangeUnitException **ppChangeUnitException,
  [in, out] ULONG                *pcFetched
);

Parameters

[in] cExceptions

The number of change unit exceptions to retrieve in the range of zero to 1000.

[out] ppChangeUnitException

Returns the next pcFetched change unit exceptions.

[in, out] pcFetched

Returns the number of change unit exceptions that are retrieved. This value can be NULL only if cExceptions is 1.

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.
S_FALSE
If there are no more change unit exceptions to retrieve.
E_INVALIDARG
E_OUTOFMEMORY

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

IEnumChangeUnitExceptions Interface