wmvcore: Add a stub dll.

This commit is contained in:
Austin English 2012-05-03 12:41:30 -05:00 committed by Alexandre Julliard
parent df36fca97f
commit d1cfbbb62c
5 changed files with 74 additions and 0 deletions

1
configure vendored
View File

@ -15457,6 +15457,7 @@ wine_fn_config_dll wldap32 enable_wldap32 implib,po
wine_fn_config_test dlls/wldap32/tests wldap32_test wine_fn_config_test dlls/wldap32/tests wldap32_test
wine_fn_config_dll wmi enable_wmi wine_fn_config_dll wmi enable_wmi
wine_fn_config_dll wmiutils enable_wmiutils wine_fn_config_dll wmiutils enable_wmiutils
wine_fn_config_dll wmvcore enable_wmvcore
wine_fn_config_dll wnaspi32 enable_wnaspi32 implib wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
wine_fn_config_dll wow32 enable_win16 implib wine_fn_config_dll wow32 enable_win16 implib
wine_fn_config_dll ws2_32 enable_ws2_32 implib wine_fn_config_dll ws2_32 enable_ws2_32 implib

View File

@ -2945,6 +2945,7 @@ WINE_CONFIG_DLL(wldap32,,[implib,po])
WINE_CONFIG_TEST(dlls/wldap32/tests) WINE_CONFIG_TEST(dlls/wldap32/tests)
WINE_CONFIG_DLL(wmi) WINE_CONFIG_DLL(wmi)
WINE_CONFIG_DLL(wmiutils) WINE_CONFIG_DLL(wmiutils)
WINE_CONFIG_DLL(wmvcore)
WINE_CONFIG_DLL(wnaspi32,,[implib]) WINE_CONFIG_DLL(wnaspi32,,[implib])
WINE_CONFIG_DLL(wow32,enable_win16,[implib]) WINE_CONFIG_DLL(wow32,enable_win16,[implib])
WINE_CONFIG_DLL(ws2_32,,[implib]) WINE_CONFIG_DLL(ws2_32,,[implib])

7
dlls/wmvcore/Makefile.in Normal file
View File

@ -0,0 +1,7 @@
MODULE = wmvcore.dll
IMPORTS = kernel32
C_SRCS = \
wmvcore_main.c
@MAKE_DLL_RULES@

20
dlls/wmvcore/wmvcore.spec Normal file
View File

@ -0,0 +1,20 @@
@ stub WMCheckURLExtension
@ stub WMCheckURLScheme
@ stub WMCreateBackupRestorerPrivate
@ stub WMCreateSyncReaderPriv
@ stub WMIsAvailableOffline
@ stub WMValidateData
@ stub DllRegisterServer
@ stub WMCreateBackupRestorer
@ stub WMCreateEditor
@ stub WMCreateIndexer
@ stub WMCreateProfileManager
@ stub WMCreateReader
@ stub WMCreateReaderPriv
@ stub WMCreateSyncReader
@ stub WMCreateWriter
@ stub WMCreateWriterFileSink
@ stub WMCreateWriterNetworkSink
@ stub WMCreateWriterPriv
@ stub WMCreateWriterPushSink
@ stub WMIsContentProtected

View File

@ -0,0 +1,45 @@
/*
* Copyright 2012 Austin English
*
* 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 "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(wmvcore);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}