mfplay: Add a stub for MFPCreateMediaPlayer().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47016
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2019-04-22 18:13:38 +03:00 committed by Alexandre Julliard
parent ed968c23d6
commit 194e22f9ff
2 changed files with 14 additions and 1 deletions

View File

@ -2,5 +2,5 @@
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
@ stub MFPCreateMediaPlayer
@ stdcall MFPCreateMediaPlayer(wstr long long ptr long ptr)
@ stub MFPCreateMediaPlayerEx

View File

@ -20,6 +20,11 @@
#include "windef.h"
#include "winbase.h"
#include "mfplay.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(mfplat);
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
{
@ -34,3 +39,11 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
return TRUE;
}
HRESULT WINAPI MFPCreateMediaPlayer(const WCHAR *url, BOOL start_playback, MFP_CREATION_OPTIONS options,
IMFPMediaPlayerCallback *callback, HWND hwnd, IMFPMediaPlayer **player)
{
FIXME("%s, %d, %#x, %p, %p, %p.\n", debugstr_w(url), start_playback, options, callback, hwnd, player);
return E_NOTIMPL;
}