ISyncKnowledge::GetVersion method (winsync.h)

Gets the version of this knowledge structure.

Syntax

HRESULT GetVersion(
  [out] DWORD *pdwVersion
);

Parameters

[out] pdwVersion

Returns the version of this knowledge structure. is one of the values in the SYNC_SERIALIZATION_VERSION enumeration.

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_POINTER
Invalid pointer.

Remarks

This value is the version of the knowledge structure itself. When the internal knowledge structure is changed, the version that this method returns will also be changed.

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

SYNC_SERIALIZATION_VERSION Enumeration