t2embed: Add stub dll.
diff --git a/configure b/configure index a44b1ca..ce18e5c 100755 --- a/configure +++ b/configure Binary files differ
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/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 + +@MAKE_DLL_RULES@ + +@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@24 +@ stub _TTDeleteEmbeddedFont@12 +@ stub _TTEmbedFont@44 +@ stub _TTEmbedFontFromFileA@52 +@ stub _TTEnableEmbeddingForFacename@8 +@ stub _TTGetEmbeddedFontInfo@28 +@ stub _TTGetEmbeddingType@8 +@ stub _TTIsEmbeddingEnabled@8 +@ stub _TTIsEmbeddingEnabledForFacename@8 +@ stub _TTLoadEmbeddedFont@40 +@ stub _TTRunValidationTests@8 +@ stub TTEmbedFontEx +@ stub TTRunValidationTestsEx +@ stub TTGetNewFontName