mfplat: Add MFAllocateWorkQueueEx().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2019-03-01 11:03:08 +03:00 committed by Alexandre Julliard
parent 7a120b0b2c
commit 493c2c323e
2 changed files with 11 additions and 1 deletions

View File

@ -17,7 +17,7 @@
@ stub LFGetGlobalPool @ stub LFGetGlobalPool
@ stub MFAddPeriodicCallback @ stub MFAddPeriodicCallback
@ stdcall MFAllocateWorkQueue(ptr) @ stdcall MFAllocateWorkQueue(ptr)
@ stub MFAllocateWorkQueueEx @ stdcall MFAllocateWorkQueueEx(long ptr)
@ stub MFAppendCollection @ stub MFAppendCollection
@ stub MFAverageTimePerFrameToFrameRate @ stub MFAverageTimePerFrameToFrameRate
@ stub MFBeginCreateFile @ stub MFBeginCreateFile

View File

@ -387,6 +387,16 @@ HRESULT WINAPI MFAllocateWorkQueue(DWORD *queue)
return alloc_user_queue(MF_STANDARD_WORKQUEUE, queue); return alloc_user_queue(MF_STANDARD_WORKQUEUE, 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.@) * MFLockWorkQueue (mfplat.@)
*/ */