IEnumSingleItemExceptions::Next method (winsync.h)

Returns the next elements in the single-item exception set, if they are available.

Syntax

HRESULT Next(
  [in]      ULONG                cExceptions,
  [out]     ISingleItemException **ppSingleItemException,
  [in, out] ULONG                *pcFetched
);

Parameters

[in] cExceptions

The number of single-item exceptions to retrieve in the range from zero to 1000.

[out] ppSingleItemException

Returns the next pcFetched single-item exceptions.

[in, out] pcFetched

Returns the number of single-item 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 single-item 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

IEnumSingleItemExceptions Interface