Nikolay Sivov : mfplat: Forward MFCreateAsyncResult() to rtworkq.dll.
Alexandre Julliard
julliard at winehq.org
Mon Mar 16 16:49:05 CDT 2020
Module: wine
Branch: master
Commit: 2e3baaed2cf9ed6dc3567777251f0dd73a7ec00e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2e3baaed2cf9ed6dc3567777251f0dd73a7ec00e
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon Mar 16 12:17:07 2020 +0300
mfplat: Forward MFCreateAsyncResult() to rtworkq.dll.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 9f08d1aff2..5af717419b 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 d39d6af3a5..6ad3977e59 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.@)
*/
More information about the wine-cvs
mailing list