ISyncKnowledge2::GetStatistics method (winsync.h)

Gets the specified statistic data that is contained in this object.

Syntax

HRESULT GetStatistics(
  [in]  SYNC_STATISTICS which,
  [out] DWORD           *pValue
);

Parameters

[in] which

Specifies which statistic to retrieve.

[out] pValue

The specified statistic data.

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
which is not a member of the SYNC_STATISTICS enumeration.
E_POINTER
Invalid pointer.

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

ISyncKnowledge2 Interface

SYNC_STATISTICS Enumeration