IClockVector::GetClockVectorElements method (winsync.h)

Returns an enumerator that iterates through the clock vector elements.

Syntax

HRESULT GetClockVectorElements(
  [in]  REFIID riid,
  [out] void   **ppiEnumClockVector
);

Parameters

[in] riid

The IID of the enumeration interface that is requested. Must be either IID_IEnumClockVector or IID_IEnumFeedClockVector.

[out] ppiEnumClockVector

Returns an object that implements riid and that can enumerate the clock vector elements.

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.
E_POINTER
Invalid pointer.
E_OUTOFMEMORY
E_NOINTERFACE
riid is not IID_IEnumClockVector or IID_IEnumFeedClockVector.

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

IClockVector Interface