Bewerken

Delen via


IKsClockPropertySet::KsSetCorrelatedPhysicalTime method (ksproxy.h)

The KsSetCorrelatedPhysicalTime method sets the physical time with the correlated system time on the underlying clock.

Syntax

HRESULT KsSetCorrelatedPhysicalTime(
  [in] KSCORRELATED_TIME *CorrelatedTime
);

Parameters

[in] CorrelatedTime

Pointer to a KSCORRELATED_TIME structure that contains the physical 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_CORRELATEDPHYSICALTIME property to set the correlated time.

Requirements

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

See also

IKsClockPropertySet::KsGetCorrelatedPhysicalTime

KSCORRELATED_TIME

KSPROPERTY_CLOCK_CORRELATEDPHYSICALTIME