Nikolay Sivov : mfplat: Add MFAllocateWorkQueueEx().
Alexandre Julliard
julliard at winehq.org
Fri Mar 1 16:42:10 CST 2019
Module: wine
Branch: master
Commit: 493c2c323e5194b20bf2939f022acb71d26da1e9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=493c2c323e5194b20bf2939f022acb71d26da1e9
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri Mar 1 11:03:08 2019 +0300
mfplat: Add MFAllocateWorkQueueEx().
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, 11 insertions(+), 1 deletion(-)
diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec
index 39fd7a9..a218087 100644
--- a/dlls/mfplat/mfplat.spec
+++ b/dlls/mfplat/mfplat.spec
@@ -17,7 +17,7 @@
@ stub LFGetGlobalPool
@ stub MFAddPeriodicCallback
@ stdcall MFAllocateWorkQueue(ptr)
-@ stub MFAllocateWorkQueueEx
+@ stdcall MFAllocateWorkQueueEx(long ptr)
@ stub MFAppendCollection
@ stub MFAverageTimePerFrameToFrameRate
@ stub MFBeginCreateFile
diff --git a/dlls/mfplat/queue.c b/dlls/mfplat/queue.c
index 9a3922f..70efac3 100644
--- a/dlls/mfplat/queue.c
+++ b/dlls/mfplat/queue.c
@@ -388,6 +388,16 @@ HRESULT WINAPI MFAllocateWorkQueue(DWORD *queue)
}
/***********************************************************************
+ * MFAllocateWorkQueueEx (mfplat.@)
+ */
+HRESULT WINAPI MFAllocateWorkQueueEx(MFASYNC_WORKQUEUE_TYPE queue_type, DWORD *queue)
+{
+ TRACE("%d, %p.\n", queue_type, queue);
+
+ return alloc_user_queue(queue_type, queue);
+}
+
+/***********************************************************************
* MFLockWorkQueue (mfplat.@)
*/
HRESULT WINAPI MFLockWorkQueue(DWORD queue)
More information about the wine-cvs
mailing list