msdelta: Add stub DLL.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
This commit is contained in:
Andrew Eikum 2015-10-01 10:27:43 -05:00 committed by Alexandre Julliard
parent 8578702e06
commit ed36314dd9
5 changed files with 64 additions and 0 deletions

2
configure vendored
View File

@ -1155,6 +1155,7 @@ enable_mscoree
enable_msctf
enable_msctfp
enable_msdaps
enable_msdelta
enable_msdmo
enable_msftedit
enable_msg711_acm
@ -17560,6 +17561,7 @@ wine_fn_config_dll msctf enable_msctf clean
wine_fn_config_test dlls/msctf/tests msctf_test
wine_fn_config_dll msctfp enable_msctfp clean
wine_fn_config_dll msdaps enable_msdaps clean
wine_fn_config_dll msdelta enable_msdelta
wine_fn_config_dll msdmo enable_msdmo implib
wine_fn_config_test dlls/msdmo/tests msdmo_test
wine_fn_config_dll msftedit enable_msftedit

View File

@ -3110,6 +3110,7 @@ WINE_CONFIG_DLL(msctf,,[clean])
WINE_CONFIG_TEST(dlls/msctf/tests)
WINE_CONFIG_DLL(msctfp,,[clean])
WINE_CONFIG_DLL(msdaps,,[clean])
WINE_CONFIG_DLL(msdelta)
WINE_CONFIG_DLL(msdmo,,[implib])
WINE_CONFIG_TEST(dlls/msdmo/tests)
WINE_CONFIG_DLL(msftedit)

4
dlls/msdelta/Makefile.in Normal file
View File

@ -0,0 +1,4 @@
MODULE = msdelta.dll
C_SRCS = \
msdelta_main.c

15
dlls/msdelta/msdelta.spec Normal file
View File

@ -0,0 +1,15 @@
@ stub ApplyDeltaA
@ stub ApplyDeltaB
@ stub ApplyDeltaProvidedB
@ stub ApplyDeltaW
@ stub CreateDeltaA
@ stub CreateDeltaB
@ stub CreateDeltaW
@ stub DeltaFree
@ stub DeltaNormalizeProvidedB
@ stub GetDeltaInfoA
@ stub GetDeltaInfoB
@ stub GetDeltaInfoW
@ stub GetDeltaSignatureA
@ stub GetDeltaSignatureB
@ stub GetDeltaSignatureW

View File

@ -0,0 +1,42 @@
/* Copyright 2015 Andrew Eikum 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 "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msdelta);
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
{
TRACE("(%p, %u, %p)\n", instance, reason, reserved);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(instance);
break;
}
return TRUE;
}