IMFClockConsumer::GetPresentationClock 方法 (mfidl.h)

媒體管線呼叫以取得 IMFPresentationClock 的實例。

語法

HRESULT GetPresentationClock(
  [out] IMFPresentationClock **ppPresentationClock
);

參數

[out] ppPresentationClock

指標指向實作 IMFPresentationClock 介面的物件。 這個值可以是 Null。

返回值

這個方法會傳回 HRESULT。 可能的值包括但不限於下表中的值。

回傳碼 說明
S_OK
此方法已成功。
E_NOTIMPL
應用程式並未實作此方法。

要求

需求 價值
最低支援的用戶端 Windows 10,版本 1703 [僅限桌面應用程式]
支援的最低伺服器 不支援
目標平臺 Windows
Header mfidl.h
Library Mfplat.lib
DLL Mfplat.dll

另請參閱

IMFClockConsumer