KsSetDefaultClockTime function (ks.h)

The KsSetDefaultClockTime function sets the current time of the clock. It modifies the current time returned by the clock. The owner of the default clock is expected to serialize access to this function and to the KsSetDefaultClockState function.

The function can be called at DISPATCH_LEVEL.

Syntax

KSDDKAPI VOID KsSetDefaultClockTime(
  [in] PKSDEFAULTCLOCK DefaultClock,
  [in] LONGLONG        Time
);

Parameters

[in] DefaultClock

Specifies an initialize default clock structure that is shared among instances of the default clock for the parent.

[in] Time

Specifies the new time to set the clock.

Return value

None

Requirements

Requirement Value
Target Platform Universal
Header ks.h (include Ks.h)
Library Ks.lib

See also

KsGetDefaultClockTime