Nikolay Sivov : mfplat: Add MFAllocateSerialWorkQueue() export.
Alexandre Julliard
julliard at winehq.org
Tue Feb 11 15:44:55 CST 2020
Module: wine
Branch: master
Commit: 19519f025e1e0a8fd14d8c18202e90759420bf5c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=19519f025e1e0a8fd14d8c18202e90759420bf5c
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Feb 11 12:19:09 2020 +0300
mfplat: Add MFAllocateSerialWorkQueue() export.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mfplat/mfplat.spec | 1 +
dlls/mfplat/tests/mfplat.c | 2 +-
include/mfapi.h | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec
index ba835b694a..85e28792c6 100644
--- a/dlls/mfplat/mfplat.spec
+++ b/dlls/mfplat/mfplat.spec
@@ -16,6 +16,7 @@
@ stub GetD3DFormatFromMFSubtype
@ stub LFGetGlobalPool
@ stdcall MFAddPeriodicCallback(ptr ptr ptr) rtworkq.RtwqAddPeriodicCallback
+@ stdcall MFAllocateSerialWorkQueue(long ptr) rtworkq.RtwqAllocateSerialWorkQueue
@ stdcall MFAllocateWorkQueue(ptr)
@ stdcall MFAllocateWorkQueueEx(long ptr) rtworkq.RtwqAllocateWorkQueue
@ stub MFAppendCollection
diff --git a/dlls/mfplat/tests/mfplat.c b/dlls/mfplat/tests/mfplat.c
index d0e05650c2..56aa23c68c 100644
--- a/dlls/mfplat/tests/mfplat.c
+++ b/dlls/mfplat/tests/mfplat.c
@@ -2251,7 +2251,7 @@ static void test_serial_queue(void)
if (!pMFAllocateSerialWorkQueue)
{
- skip("Serial queues are not supported.\n");
+ win_skip("Serial queues are not supported.\n");
return;
}
diff --git a/include/mfapi.h b/include/mfapi.h
index 7c9e713ac2..910b45e68f 100644
--- a/include/mfapi.h
+++ b/include/mfapi.h
@@ -389,6 +389,7 @@ typedef enum
#define MFSESSIONCAP_DOES_NOT_USE_NETWORK 0x00000040
HRESULT WINAPI MFAddPeriodicCallback(MFPERIODICCALLBACK callback, IUnknown *context, DWORD *key);
+HRESULT WINAPI MFAllocateSerialWorkQueue(DWORD target_queue, DWORD *queue);
HRESULT WINAPI MFAllocateWorkQueue(DWORD *queue);
HRESULT WINAPI MFAllocateWorkQueueEx(MFASYNC_WORKQUEUE_TYPE queue_type, DWORD *queue);
HRESULT WINAPI MFBeginCreateFile(MF_FILE_ACCESSMODE access_mode, MF_FILE_OPENMODE open_mode, MF_FILE_FLAGS flags,
More information about the wine-cvs
mailing list