[PATCH 1/7] mfidl.idl: Add interfaces IMFClockStateSink, IMFGetService

Fabian Maurer dark.shadow4 at web.de
Sun Sep 10 09:10:41 CDT 2017


Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
---
 include/mfidl.idl | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/include/mfidl.idl b/include/mfidl.idl
index 3c33806235..3613d81e6c 100644
--- a/include/mfidl.idl
+++ b/include/mfidl.idl
@@ -164,6 +164,47 @@ interface IMFSourceResolver : IUnknown
     [local] HRESULT CanceObjectCreation([in] IUnknown *cancel_cookie);
 }
 
+
+[
+    object,
+    uuid(f6696e82-74f7-4f3d-a178-8a5e09c3659f),
+    local
+]
+interface IMFClockStateSink : IUnknown
+{
+    HRESULT OnClockStart(
+        [in] MFTIME hnsSystemTime,
+        [in] LONGLONG llClockStartOffset
+    );
+    HRESULT OnClockStop(
+        [in] MFTIME hnssSystemTime
+    );
+    HRESULT OnClockPause(
+        [in] MFTIME hnsSystemTime
+    );
+    HRESULT OnClockRestart(
+        [in] MFTIME hnsSystemTime
+    );
+    HRESULT OnClockSetRate(
+        [in] MFTIME hnsSystemTime,
+        [in] float flRate
+    );
+}
+
+[
+    object,
+    uuid(fa993888-4383-415a-a930-dd472a8cf6f7),
+    local
+]
+interface IMFGetService : IUnknown
+{
+    HRESULT GetService(
+        [in] REFGUID guidService,
+        [in] REFIID riid,
+        [out] LPVOID *ppvObject
+    );
+}
+
 cpp_quote("HRESULT WINAPI MFCreateMediaSession(IMFAttributes *config, IMFMediaSession **session);")
 cpp_quote("HRESULT WINAPI MFCreateSourceResolver(IMFSourceResolver **resolver);")
 cpp_quote("HRESULT WINAPI MFCreateTopology(IMFTopology **topology);")
-- 
2.14.1




More information about the wine-patches mailing list