Nikolay Sivov : mfplat: Forward CopyAllItems() for events.

Alexandre Julliard julliard at winehq.org
Wed Mar 13 18:10:51 CDT 2019


Module: wine
Branch: master
Commit: e8df24941d56d57a08b5ee4e8f928149d60b9389
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e8df24941d56d57a08b5ee4e8f928149d60b9389

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Mar 13 09:29:36 2019 +0300

mfplat: Forward CopyAllItems() for events.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mfplat/main.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
index f12666f..c7f4fea 100644
--- a/dlls/mfplat/main.c
+++ b/dlls/mfplat/main.c
@@ -2930,11 +2930,8 @@ static HRESULT WINAPI mfmediaevent_GetItemByIndex(IMFMediaEvent *iface, UINT32 i
 
 static HRESULT WINAPI mfmediaevent_CopyAllItems(IMFMediaEvent *iface, IMFAttributes *dest)
 {
-    mfmediaevent *This = impl_from_IMFMediaEvent(iface);
-
-    FIXME("%p, %p\n", This, dest);
-
-    return E_NOTIMPL;
+    struct media_event *event = impl_from_IMFMediaEvent(iface);
+    return IMFAttributes_CopyAllItems(&event->attributes.IMFAttributes_iface, dest);
 }
 
 static HRESULT WINAPI mfmediaevent_GetType(IMFMediaEvent *iface, MediaEventType *type)




More information about the wine-cvs mailing list