mfmediaengine: Add stub dll.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4fc9ecda1c
commit
dfbd925f2c
|
@ -1389,6 +1389,7 @@ enable_mciwave
|
|||
enable_mf
|
||||
enable_mf3216
|
||||
enable_mferror
|
||||
enable_mfmediaengine
|
||||
enable_mfplat
|
||||
enable_mfplay
|
||||
enable_mfreadwrite
|
||||
|
@ -20488,6 +20489,7 @@ wine_fn_config_makefile dlls/mf enable_mf
|
|||
wine_fn_config_makefile dlls/mf/tests enable_tests
|
||||
wine_fn_config_makefile dlls/mf3216 enable_mf3216
|
||||
wine_fn_config_makefile dlls/mferror enable_mferror
|
||||
wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
|
||||
wine_fn_config_makefile dlls/mfplat enable_mfplat
|
||||
wine_fn_config_makefile dlls/mfplat/tests enable_tests
|
||||
wine_fn_config_makefile dlls/mfplay enable_mfplay
|
||||
|
|
|
@ -3393,6 +3393,7 @@ WINE_CONFIG_MAKEFILE(dlls/mf)
|
|||
WINE_CONFIG_MAKEFILE(dlls/mf/tests)
|
||||
WINE_CONFIG_MAKEFILE(dlls/mf3216)
|
||||
WINE_CONFIG_MAKEFILE(dlls/mferror)
|
||||
WINE_CONFIG_MAKEFILE(dlls/mfmediaengine)
|
||||
WINE_CONFIG_MAKEFILE(dlls/mfplat)
|
||||
WINE_CONFIG_MAKEFILE(dlls/mfplat/tests)
|
||||
WINE_CONFIG_MAKEFILE(dlls/mfplay)
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
MODULE = mfmediaengine.dll
|
||||
IMPORTLIB = mfmediaengine
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* Copyright 2019 Jactry Zeng for CodeWeavers
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
|
||||
{
|
||||
switch (reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls(instance);
|
||||
break;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
@ stub DllCanUnloadNow
|
||||
@ stub DllGetActivationFactory
|
||||
@ stub DllGetClassObject
|
Loading…
Reference in New Issue