IEnumClockVector::Next method (winsync.h)

Returns the next elements in the clock vector, if they are available.

Syntax

HRESULT Next(
  [in]      ULONG               cClockVectorElements,
  [out]     IClockVectorElement **ppiClockVectorElements,
  [in, out] ULONG               *pcFetched
);

Parameters

[in] cClockVectorElements

The number of clock vector elements to retrieve in the range of zero to 1000.

[out] ppiClockVectorElements

Returns the next pcFetched clock vector elements.

[in, out] pcFetched

Returns the number of clock vector elements that were retrieved. This value can be NULL if cClockVectorElements is 1; otherwise, it cannot be NULL.

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 elements to retrieve.
E_POINTER

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

IEnumClockVector Interface