[PATCH 7/9] mfplat: Add MFAllocateSerialWorkQueue() export.
Nikolay Sivov
nsivov at codeweavers.com
Tue Feb 11 03:19:09 CST 2020
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
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,
--
2.25.0
More information about the wine-devel
mailing list