Andrew Eikum : msdelta: Add stub DLL.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Oct 2 09:21:49 CDT 2015
Module: wine
Branch: master
Commit: ed36314dd9c9042bb1cc0d75c2e5c3c64685c8eb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ed36314dd9c9042bb1cc0d75c2e5c3c64685c8eb
Author: Andrew Eikum <aeikum at codeweavers.com>
Date: Thu Oct 1 10:27:43 2015 -0500
msdelta: Add stub DLL.
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
---
configure | 2 ++
configure.ac | 1 +
dlls/msdelta/Makefile.in | 4 ++++
dlls/msdelta/msdelta.spec | 15 +++++++++++++++
dlls/msdelta/msdelta_main.c | 42 ++++++++++++++++++++++++++++++++++++++++++
5 files changed, 64 insertions(+)
diff --git a/configure b/configure
index e3b6368..fab457f 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/configure.ac b/configure.ac
index 114a7fa..c37c491 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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)
diff --git a/dlls/msdelta/Makefile.in b/dlls/msdelta/Makefile.in
new file mode 100644
index 0000000..afdd037
--- /dev/null
+++ b/dlls/msdelta/Makefile.in
@@ -0,0 +1,4 @@
+MODULE = msdelta.dll
+
+C_SRCS = \
+ msdelta_main.c
diff --git a/dlls/msdelta/msdelta.spec b/dlls/msdelta/msdelta.spec
new file mode 100644
index 0000000..ce2b5ed
--- /dev/null
+++ b/dlls/msdelta/msdelta.spec
@@ -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
diff --git a/dlls/msdelta/msdelta_main.c b/dlls/msdelta/msdelta_main.c
new file mode 100644
index 0000000..470b427
--- /dev/null
+++ b/dlls/msdelta/msdelta_main.c
@@ -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;
+}
More information about the wine-cvs
mailing list