t2embed: Add stub dll.

This commit is contained in:
Austin English 2009-05-04 22:52:37 -05:00 committed by Alexandre Julliard
parent ce426d6ad1
commit b03d07dff4
5 changed files with 91 additions and 0 deletions

9
configure vendored
View File

@ -27053,6 +27053,14 @@ ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
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 \\
@ -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" ;;

View File

@ -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])

13
dlls/t2embed/Makefile.in Normal file
View File

@ -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

43
dlls/t2embed/main.c Normal file
View File

@ -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;
}

25
dlls/t2embed/t2embed.spec Normal file
View File

@ -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