IFeedClockVectorElement::GetSyncTime method (winsync.h)

Gets a SYNC_TIME value that corresponds to the when value for the item.

Syntax

HRESULT GetSyncTime(
  [out] SYNC_TIME *pSyncTime
);

Parameters

[out] pSyncTime

Returns a SYNC_TIME value that corresponds to the when value for the item.

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

Remarks

The SYNC_TIME structure is a packed date-and-time value that can store years between 1601 and 67136 and times that are accurate to the millisecond.

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

IFeedClockVectorElement Interface

SYNC_TIME Structure