IClockVectorServices::CreateFeedClockVectorElement

Creates an IFeedClockVectorElement object that contains FeedSync information and that can be added to a clock vector.


HRESULT CreateFeedClockVectorElement(
  DWORD dwReplicaKey,
  ULONGLONG ulTickCount,
  SYNC_TIME stSyncTime,
  BYTE bFlags,
  IFeedClockVectorElement** ppiClockVectorElement);

dwReplicaKey

[in] The key of the replica that is associated with this element.

ulTickCount

[in] The tick count of the element.

stSyncTime

[in] The SYNC_TIME value that corresponds to the when value of the FeedSync item.

bFlags

[in] The flags to set on this element. These must be a combination of the SYNC_VERSION_FLAG flags.

ppiClockVectorElement

[out] Returns the newly created clock vector element.

  • S_OK

  • E_INVALIDARG

  • E_POINTER

  • E_OUTOFMEMORY

  • SYNC_E_INVALIDSYNCTIME if stSyncTime is not a valid value.

Show: