From 2e3baaed2cf9ed6dc3567777251f0dd73a7ec00e Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 16 Mar 2020 12:17:07 +0300 Subject: [PATCH] mfplat: Forward MFCreateAsyncResult() to rtworkq.dll. Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/mfplat/mfplat.spec | 2 +- dlls/mfplat/queue.c | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec index 9f08d1aff2f..5af717419bf 100644 --- a/dlls/mfplat/mfplat.spec +++ b/dlls/mfplat/mfplat.spec @@ -40,7 +40,7 @@ @ stdcall MFCreate2DMediaBuffer(long long long long ptr) @ stub MFCreateAMMediaTypeFromMFMediaType @ stdcall MFCreateAlignedMemoryBuffer(long long ptr) -@ stdcall MFCreateAsyncResult(ptr ptr ptr ptr) +@ stdcall MFCreateAsyncResult(ptr ptr ptr ptr) rtworkq.RtwqCreateAsyncResult @ stdcall MFCreateAttributes(ptr long) @ stub MFCreateAudioMediaType @ stdcall MFCreateCollection(ptr) diff --git a/dlls/mfplat/queue.c b/dlls/mfplat/queue.c index d39d6af3a53..6ad3977e594 100644 --- a/dlls/mfplat/queue.c +++ b/dlls/mfplat/queue.c @@ -139,16 +139,6 @@ HRESULT WINAPI MFInvokeCallback(IMFAsyncResult *result) return RtwqInvokeCallback((IRtwqAsyncResult *)result); } -/*********************************************************************** - * MFCreateAsyncResult (mfplat.@) - */ -HRESULT WINAPI MFCreateAsyncResult(IUnknown *object, IMFAsyncCallback *callback, IUnknown *state, IMFAsyncResult **out) -{ - TRACE("%p, %p, %p, %p.\n", object, callback, state, out); - - return RtwqCreateAsyncResult(object, (IRtwqAsyncCallback *)callback, state, (IRtwqAsyncResult **)out); -} - /*********************************************************************** * MFGetTimerPeriodicity (mfplat.@) */