IKsClockPropertySet::KsSetCorrelatedTime method (ksproxy.h)

The KsSetCorrelatedTime method sets the current time with the correlated system time on the underlying clock.

Syntax

HRESULT KsSetCorrelatedTime(
  [in] KSCORRELATED_TIME *CorrelatedTime
);

Parameters

[in] CorrelatedTime

Pointer to a KSCORRELATED_TIME structure that contains the current clock time along with the correlated system time to which to set the underlying clock.

Return value

Returns NOERROR if successful; otherwise, returns an error code.

Remarks

The proxy uses the KSPROPERTY_CLOCK_CORRELATEDTIME property to set the correlated time.

Requirements

Requirement Value
Target Platform Desktop
Header ksproxy.h (include Ksproxy.h)

See also

IKsClockPropertySet::KsGetCorrelatedTime

KSCORRELATED_TIME

KSPROPERTY_CLOCK_CORRELATEDTIME