ISyncKnowledge::FindClockVectorForChangeUnit method (winsync.h)

Gets the clock vector that is associated with the specified change unit ID.

Syntax

HRESULT FindClockVectorForChangeUnit(
  [in]  const BYTE *pbItemId,
  [in]  const BYTE *pbChangeUnitId,
  [in]  REFIID     riid,
  [out] void       **ppUnk
);

Parameters

[in] pbItemId

The ID of the item that contains the change unit that is associated with the clock vector to retrieve.

[in] pbChangeUnitId

The ID of the change unit that is associated with the clock vector to retrieve.

[in] riid

The IID of the object to retrieve. Must be IID_IEnumClockVector.

[out] ppUnk

Returns an object that implements riid and that can enumerate the list of IClockVector objects that is associated with pbChangeUnitId.

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_INVALIDARG
E_NOINTERFACE
E_OUTOFMEMORY

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

ISyncKnowledge Interface