Bewerken

Delen via


IKsReferenceClock::GetCorrelatedPhysicalTime method (ks.h)

The IKsReferenceClock::GetCorrelatedPhysicalTime method queries the associated reference clock for the current physical time and retrieves the correlated system time.

Syntax

LONGLONG GetCorrelatedPhysicalTime(
  [out] PLONGLONG SystemTime
);

Parameters

[out] SystemTime

Specifies the current system time in 100 nanosecond units.

Return value

The IKsReferenceClock::GetCorrelatedPhysicalTime method returns the current physical clock time, specified by default in 100-nanosecond units. The correlated system time is returned in SystemTime.

Remarks

Use this method to determine the difference between physical time and system time. IKsReferenceClock::GetCorrelatedPhysicalTime returns the times that both clocks show at the same moment.

For more information, see AVStream Clocks.

AVStream uses the KSPROPERTY_CLOCK_CORRELATEDPHYSICALTIME property to retrieve the correlated physical time.

Requirements

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

See also

KsPinGetReferenceClockInterface