ISyncKnowledge::GetScopeVector method (winsync.h)

Gets the clock vector that defines the changes that are contained in the knowledge.

Syntax

HRESULT GetScopeVector(
  [in]  REFIID riid,
  [out] void   **ppUnk
);

Parameters

[in] riid

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

[out] ppUnk

Returns an object that implements riid and that represents the clock vector that defines the changes that are contained in the knowledge.

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

Remarks

Be aware that there is no single representation of knowledge. Equivalent knowledge might be represented in different forms and return different values from GetScopeVector.

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