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