[PATCH 1/3] include: Added IMFMediaEventQueue interface

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Wed Sep 6 02:38:40 CDT 2017


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 include/mfobjects.idl | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/include/mfobjects.idl b/include/mfobjects.idl
index 467535dbd8..67055d3423 100644
--- a/include/mfobjects.idl
+++ b/include/mfobjects.idl
@@ -583,3 +583,21 @@ interface IMFPluginControl : IUnknown
    HRESULT GetDisabledByIndex(DWORD pluginType, DWORD index, CLSID *clsid);
    HRESULT SetDisabled(DWORD pluginType, REFCLSID clsid, BOOL disabled);
 }
+
+[
+    object,
+    uuid(36f846fc-2256-48b6-b58e-e2b638316581),
+    local
+]
+interface IMFMediaEventQueue : IUnknown
+{
+    HRESULT GetEvent([in] DWORD flags, [out] IMFMediaEvent **event);
+    HRESULT BeginGetEvent([in] IMFAsyncCallback *callback, [in] IUnknown *state);
+    HRESULT EndGetEvent([in] IMFAsyncResult *result, [out] IMFMediaEvent **event);
+    HRESULT QueueEvent([in] IMFMediaEvent *event);
+    HRESULT QueueEventParamVar([in] MediaEventType met, [in] REFGUID type,
+        [in] HRESULT status, [in, unique] const PROPVARIANT *value);
+    HRESULT QueueEventParamUnk([in] MediaEventType met, [in] REFGUID type,
+        [in] HRESULT status, [in, unique] IUnknown *unk);
+    HRESULT Shutdown();
+}
-- 
2.14.1




More information about the wine-patches mailing list