KsPinSetPinClockTime function

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

Syntax


VOID KsPinSetPinClockTime(
  _In_ PKSPIN   Pin,
  _In_ LONGLONG Time
);

Parameters

Pin [in]

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

Time [in]

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

Target platform

Universal

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

Library

Ks.lib

IRQL

<=DISPATCH_LEVEL

See also

KsPinGetReferenceClockInterface
KsPinGetConnectedPinInterface
KsPinGetConnectedFilterInterface
KsGetOuterUnknown
IKsControl
IKsReferenceClock
KsFilterGetOuterUnknown
KsRegisterAggregatedClientUnknown

 

 

Send comments about this topic to Microsoft

Show: