IKsReferenceClock::GetTime method (ks.h)

The IKsReferenceClock::GetTime method queries the associated reference clock for the current time.

Syntax

LONGLONG GetTime();

Return value

The IKsReferenceClock::GetTime method returns the current stream time for the associated pin, specified by default in 100-nanosecond units.

Remarks

Do not call this method when obtaining a time stamp for the PresentationTime member of KSSTREAM_HEADER. Instead, call IKsReferenceClock::GetCorrelatedTime in this situation.

For more information, see AVStream Clocks.

AVStream uses the KSPROPERTY_CLOCK_TIME property to retrieve the current clock time.

Requirements

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

See also

KsPinGetReferenceClockInterface