Module: wine
Branch: master
Commit: 3a724d58eba31666af3886d759371507f8cddd50
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a724d58eba31666af3886d75…
Author: Nikolay Sivov <nsivov(a)codeweavers.com>
Date: Tue Jul 24 14:05:18 2012 +0400
dwrite: Added initial stub.
---
configure | 1 +
configure.ac | 1 +
dlls/dwrite/Makefile.in | 6 ++++++
dlls/dwrite/dwrite.spec | 1 +
dlls/dwrite/main.c | 37 +++++++++++++++++++++++++++++++++++++
5 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 0f0cc15..0cc7ae6 100755
--- a/configure
+++ b/configure
@@ -15209,6 +15209,7 @@ wine_fn_config_dll dssenh enable_dssenh
wine_fn_config_test dlls/dssenh/tests dssenh_test
wine_fn_config_dll dswave enable_dswave
wine_fn_config_dll dwmapi enable_dwmapi implib
+wine_fn_config_dll dwrite enable_dwrite
wine_fn_config_dll dxdiagn enable_dxdiagn po
wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
wine_fn_config_lib dxerr8
diff --git a/configure.ac b/configure.ac
index 50e5513..aa2b026 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2614,6 +2614,7 @@ WINE_CONFIG_DLL(dssenh)
WINE_CONFIG_TEST(dlls/dssenh/tests)
WINE_CONFIG_DLL(dswave)
WINE_CONFIG_DLL(dwmapi,,[implib])
+WINE_CONFIG_DLL(dwrite)
WINE_CONFIG_DLL(dxdiagn,,[po])
WINE_CONFIG_TEST(dlls/dxdiagn/tests)
WINE_CONFIG_LIB(dxerr8)
diff --git a/dlls/dwrite/Makefile.in b/dlls/dwrite/Makefile.in
new file mode 100644
index 0000000..7438d92
--- /dev/null
+++ b/dlls/dwrite/Makefile.in
@@ -0,0 +1,6 @@
+MODULE = dwrite.dll
+
+C_SRCS = \
+ main.c
+
+@MAKE_DLL_RULES@
diff --git a/dlls/dwrite/dwrite.spec b/dlls/dwrite/dwrite.spec
new file mode 100644
index 0000000..36ae913f
--- /dev/null
+++ b/dlls/dwrite/dwrite.spec
@@ -0,0 +1 @@
+@ stub DWriteCreateFactory
diff --git a/dlls/dwrite/main.c b/dlls/dwrite/main.c
new file mode 100644
index 0000000..ed4c4ee
--- /dev/null
+++ b/dlls/dwrite/main.c
@@ -0,0 +1,37 @@
+/*
+ * DWrite
+ *
+ * Copyright 2012 Nikolay Sivov 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 hinstDLL, DWORD reason, LPVOID reserved)
+{
+ switch (reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( hinstDLL );
+ break;
+ }
+ return TRUE;
+}
Module: wine
Branch: master
Commit: d4db98dc54a89248c07e383f7462fd9b5b084fb8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d4db98dc54a89248c07e383f7…
Author: Detlef Riekenberg <wine.dev(a)web.de>
Date: Sat Jul 21 18:25:38 2012 +0200
include: Add appcompatapi.h.
---
include/Makefile.in | 1 +
include/appcompatapi.h | 32 ++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/include/Makefile.in b/include/Makefile.in
index 16a1e4f..742cbe1 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -132,6 +132,7 @@ SRCDIR_INCLUDES = \
advpub.h \
af_irda.h \
amaudio.h \
+ appcompatapi.h \
appmgmt.h \
asynot.idl \
asysta.idl \
diff --git a/include/appcompatapi.h b/include/appcompatapi.h
new file mode 100644
index 0000000..90b184e
--- /dev/null
+++ b/include/appcompatapi.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2012 Detlef Riekenberg
+ *
+ * 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
+ */
+
+#ifndef __APPCOMPAT_H
+#define __APPCOMPAT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+BOOL WINAPI ApphelpCheckShellObject(REFCLSID, BOOL, ULONGLONG *);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __APPCOMPAT_H */