IKsClockPropertySet::KsSetPhysicalTime method (ksproxy.h)

The KsSetPhysicalTime method sets the physical time on the underlying clock.

Syntax

HRESULT KsSetPhysicalTime(
  [in] LONGLONG Time
);

Parameters

[in] Time

Physical time to which to set the underlying clock.

Return value

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

Remarks

The physical time is based on some underlying physical clock that always progresses, even if the physical type of clock must be changed on the fly. Other physical clocks use an underlying clock's physical time for rate matching.

The proxy uses the KSPROPERTY_CLOCK_PHYSICALTIME property to set the physical time.

Requirements

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

See also

IKsClockPropertySet::KsGetPhysicalTime

KSPROPERTY_CLOCK_PHYSICALTIME