IEnumRangeExceptions::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]     IRangeException **ppRangeException,
  [in, out] ULONG           *pcFetched
);

Parameters

[in] cExceptions

The number of range exception elements to retrieve in the range from zero to 1000.

[out] ppRangeException

Returns the next pcFetched range exceptions.

[in, out] pcFetched

Returns the number of range exceptions returned. 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
There are no more elements 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

IEnumRangeExceptions Interface