KsPinSetPinClockTime function (ks.h)

The KsPinSetPinClockTime function sets the current time on the clock exposed by Pin.

Syntax

KSDDKAPI VOID KsPinSetPinClockTime(
  [in] PKSPIN   Pin,
  [in] LONGLONG Time
);

Parameters

[in] Pin

A pointer to a KSPIN structure representing the AVStream pin object for which the exposed clock is set to the time specified by Time.

[in] Time

This parameter specifies the time that is set on the clock exposed by Pin. To determine time measurement units, use IKsReferenceClock::GetResolution.

Return value

None

Remarks

KsPinSetPinClockTime modifies the current time returned by the clock. If an external clock is used, this function can still be used to force a resetting of the current timer when the external timer is not being used. In this case, the time provided is ignored and must be set to zero.

Requirements

Requirement Value
Minimum supported client Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.
Target Platform Universal
Header ks.h (include Ks.h)
Library Ks.lib
IRQL <=DISPATCH_LEVEL

See also

IKsControl

IKsReferenceClock

KsFilterGetOuterUnknown

KsGetOuterUnknown

KsPinGetConnectedFilterInterface

KsPinGetConnectedPinInterface

KsPinGetReferenceClockInterface

KsRegisterAggregatedClientUnknown