fontsub: Added dll stub.

This commit is contained in:
Nikolay Sivov 2014-03-03 08:54:04 +04:00 committed by Alexandre Julliard
parent f5e28fff8e
commit fbd446519c
5 changed files with 49 additions and 0 deletions

2
configure vendored
View File

@ -1029,6 +1029,7 @@ enable_ext_ms_win_gdi_devcaps_l1_1_0
enable_faultrep enable_faultrep
enable_fltlib enable_fltlib
enable_fntcache enable_fntcache
enable_fontsub
enable_fusion enable_fusion
enable_fwpuclnt enable_fwpuclnt
enable_gameux enable_gameux
@ -16852,6 +16853,7 @@ wine_fn_config_dll faultrep enable_faultrep implib
wine_fn_config_test dlls/faultrep/tests faultrep_test wine_fn_config_test dlls/faultrep/tests faultrep_test
wine_fn_config_dll fltlib enable_fltlib wine_fn_config_dll fltlib enable_fltlib
wine_fn_config_dll fntcache enable_fntcache wine_fn_config_dll fntcache enable_fntcache
wine_fn_config_dll fontsub enable_fontsub
wine_fn_config_dll fusion enable_fusion wine_fn_config_dll fusion enable_fusion
wine_fn_config_test dlls/fusion/tests fusion_test wine_fn_config_test dlls/fusion/tests fusion_test
wine_fn_config_dll fwpuclnt enable_fwpuclnt wine_fn_config_dll fwpuclnt enable_fwpuclnt

View File

@ -2858,6 +2858,7 @@ WINE_CONFIG_DLL(faultrep,,[implib])
WINE_CONFIG_TEST(dlls/faultrep/tests) WINE_CONFIG_TEST(dlls/faultrep/tests)
WINE_CONFIG_DLL(fltlib) WINE_CONFIG_DLL(fltlib)
WINE_CONFIG_DLL(fntcache) WINE_CONFIG_DLL(fntcache)
WINE_CONFIG_DLL(fontsub)
WINE_CONFIG_DLL(fusion) WINE_CONFIG_DLL(fusion)
WINE_CONFIG_TEST(dlls/fusion/tests) WINE_CONFIG_TEST(dlls/fusion/tests)
WINE_CONFIG_DLL(fwpuclnt) WINE_CONFIG_DLL(fwpuclnt)

4
dlls/fontsub/Makefile.in Normal file
View File

@ -0,0 +1,4 @@
MODULE = fontsub.dll
C_SRCS = \
main.c

View File

@ -0,0 +1,2 @@
@ stub CreateFontPackage
@ stub MergeFontPackage

40
dlls/fontsub/main.c Normal file
View File

@ -0,0 +1,40 @@
/*
* Copyright 2014 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"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(fontsub);
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason) {
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
}
return TRUE;
}