IKsReferenceClock::GetCorrelatedPhysicalTime 方法 (ks.h)
IKsReferenceClock::GetCorrelatedPhysicalTime 方法查询当前物理时间的相关引用时钟并检索相关的系统时间。
语法
LONGLONG GetCorrelatedPhysicalTime(
[out] PLONGLONG SystemTime
);
参数
[out] SystemTime
以 100 纳秒为单位指定当前系统时间。
返回值
IKsReferenceClock::GetCorrelatedPhysicalTime 方法返回当前物理时钟时间,默认以 100 纳秒为单位指定。 相关系统时间在 SystemTime 中返回。
言论
使用此方法可以确定物理时间和系统时间之间的差异。 IKsReferenceClock::GetCorrelatedPhysicalTime 返回两个时钟在同一时刻显示的时间。
有关详细信息,请参阅 AVStream 时钟。
AVStream 使用 KSPROPERTY_CLOCK_CORRELATEDPHYSICALTIME 属性检索相关的物理时间。
要求
要求 | 价值 |
---|---|
目标平台 | 普遍 |
标头 | ks.h (包括 Ks.h) |