[PATCH 5/6] mfplat: Forward CopyAllItems() for events.
Nikolay Sivov
nsivov at codeweavers.com
Wed Mar 13 01:29:36 CDT 2019
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
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 f12666f053..c7f4fea6b4 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)
--
2.20.1
More information about the wine-devel
mailing list