Bewerken

Delen via


IKsClockPropertySet::KsSetTime method (ksproxy.h)

The KsSetTime method sets the current time on the underlying clock.

Syntax

HRESULT KsSetTime(
  [in] LONGLONG Time
);

Parameters

[in] Time

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_TIME property to set the current clock time.

Requirements

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

See also

IKsClockPropertySet::KsGetTime

KSPROPERTY_CLOCK_TIME