Alistair Leslie-Hughes : include: Added IMFMediaEventQueue interface.

Alexandre Julliard julliard at winehq.org
Wed Sep 6 14:45:36 CDT 2017


Module: wine
Branch: master
Commit: 90d4f7f30043ea9802e0367b1de245cad2c27076
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=90d4f7f30043ea9802e0367b1de245cad2c27076

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Sep  6 07:38:40 2017 +0000

include: Added IMFMediaEventQueue interface.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/mfobjects.idl | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/include/mfobjects.idl b/include/mfobjects.idl
index 467535d..67055d3 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();
+}




More information about the wine-cvs mailing list