IClockVectorServices::CreateClockVectorElement

创建一个可以添加到时钟向量的 IClockVectorElement 对象。

HRESULT CreateClockVectorElement(
  DWORD dwReplicaKey,
  ULONGLONG ulTickCount,
  IClockVectorElement** ppiClockVectorElement);

参数

  • dwReplicaKey
    [in] 与元素相关联的副本的键。
  • ulTickCount
    [in] 元素的滴答计数。
  • ppiClockVectorElement
    [out] 返回新创建的时钟向量元素。

返回值

  • S_OK

  • E_INVALIDARG

  • E_POINTER

  • E_OUTOFMEMORY

请参阅

参考

IClockVectorServices 接口