Austin English : t2embed: Add stub dll.

Alexandre Julliard julliard at winehq.org
Tue May 5 09:12:54 CDT 2009


Module: wine
Branch: master
Commit: b03d07dff4d710d9176602a7d939c94bf7dd89ff
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b03d07dff4d710d9176602a7d939c94bf7dd89ff

Author: Austin English <austinenglish at gmail.com>
Date:   Mon May  4 22:52:37 2009 -0500

t2embed: Add stub dll.

---

 configure                 |    9 +++++++++
 configure.ac              |    1 +
 dlls/t2embed/Makefile.in  |   13 +++++++++++++
 dlls/t2embed/main.c       |   43 +++++++++++++++++++++++++++++++++++++++++++
 dlls/t2embed/t2embed.spec |   25 +++++++++++++++++++++++++
 5 files changed, 91 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index a44b1ca..ce18e5c 100755
--- a/configure
+++ b/configure
@@ -27054,6 +27054,14 @@ dlls/sxs/Makefile: dlls/sxs/Makefile.in dlls/Makedll.rules"
 ac_config_files="$ac_config_files dlls/sxs/Makefile"
 
 ALL_MAKEFILES="$ALL_MAKEFILES \\
+	dlls/t2embed/Makefile"
+test "x$enable_t2embed" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
+	t2embed"
+ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
+dlls/t2embed/Makefile: dlls/t2embed/Makefile.in dlls/Makedll.rules"
+ac_config_files="$ac_config_files dlls/t2embed/Makefile"
+
+ALL_MAKEFILES="$ALL_MAKEFILES \\
 	dlls/tapi32/Makefile"
 test "x$enable_tapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
 	tapi32"
@@ -29277,6 +29285,7 @@ do
     "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
     "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
     "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
+    "dlls/t2embed/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/t2embed/Makefile" ;;
     "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
     "dlls/traffic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/traffic/Makefile" ;;
     "dlls/twain.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain.dll16/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 322b6e9..5f8b86f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2227,6 +2227,7 @@ WINE_CONFIG_MAKEFILE([dlls/stress.dll16/Makefile],[dlls/Makedll.rules],[dlls],[A
 WINE_CONFIG_MAKEFILE([dlls/strmiids/Makefile],[dlls/Makeimplib.rules],[dlls],[ALL_IMPLIB_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/svrapi/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/sxs/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
+WINE_CONFIG_MAKEFILE([dlls/t2embed/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/tapi32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/traffic/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/twain.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
diff --git a/dlls/t2embed/Makefile.in b/dlls/t2embed/Makefile.in
new file mode 100644
index 0000000..3445c0c
--- /dev/null
+++ b/dlls/t2embed/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = t2embed.dll
+IMPORTS   = kernel32
+
+C_SRCS = \
+	main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/t2embed/main.c b/dlls/t2embed/main.c
new file mode 100644
index 0000000..8962248
--- /dev/null
+++ b/dlls/t2embed/main.c
@@ -0,0 +1,43 @@
+/*
+ *
+ * Copyright 2009 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"
+
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID 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;
+}
diff --git a/dlls/t2embed/t2embed.spec b/dlls/t2embed/t2embed.spec
new file mode 100644
index 0000000..ed0c71f
--- /dev/null
+++ b/dlls/t2embed/t2embed.spec
@@ -0,0 +1,25 @@
+@ stub TTCharToUnicode
+@ stub TTDeleteEmbeddedFont
+@ stub TTEmbedFont
+@ stub TTEmbedFontFromFileA
+@ stub TTEnableEmbeddingForFacename
+@ stub TTGetEmbeddedFontInfo
+@ stub TTGetEmbeddingType
+@ stub TTIsEmbeddingEnabled
+@ stub TTIsEmbeddingEnabledForFacename
+@ stub TTLoadEmbeddedFont
+@ stub TTRunValidationTests
+@ stub _TTCharToUnicode at 24
+@ stub _TTDeleteEmbeddedFont at 12
+@ stub _TTEmbedFont at 44
+@ stub _TTEmbedFontFromFileA at 52
+@ stub _TTEnableEmbeddingForFacename at 8
+@ stub _TTGetEmbeddedFontInfo at 28
+@ stub _TTGetEmbeddingType at 8
+@ stub _TTIsEmbeddingEnabled at 8
+@ stub _TTIsEmbeddingEnabledForFacename at 8
+@ stub _TTLoadEmbeddedFont at 40
+@ stub _TTRunValidationTests at 8
+@ stub TTEmbedFontEx
+@ stub TTRunValidationTestsEx
+@ stub TTGetNewFontName




More information about the wine-cvs mailing list