diff --git a/configure b/configure index 97e4664ed8d..41ef0c4aebb 100755 --- a/configure +++ b/configure @@ -15534,6 +15534,7 @@ wine_fn_config_dll msimsg enable_msimsg wine_fn_config_dll msimtf enable_msimtf wine_fn_config_dll msisip enable_msisip wine_fn_config_dll msisys.ocx enable_msisys_ocx +wine_fn_config_dll msls31 enable_msls31 wine_fn_config_dll msnet32 enable_msnet32 wine_fn_config_dll mspatcha enable_mspatcha wine_fn_config_dll msrle32 enable_msrle32 po diff --git a/configure.ac b/configure.ac index 7e761af45ca..2c9e582001c 100644 --- a/configure.ac +++ b/configure.ac @@ -2807,6 +2807,7 @@ WINE_CONFIG_DLL(msimsg) WINE_CONFIG_DLL(msimtf) WINE_CONFIG_DLL(msisip) WINE_CONFIG_DLL(msisys.ocx) +WINE_CONFIG_DLL(msls31) WINE_CONFIG_DLL(msnet32) WINE_CONFIG_DLL(mspatcha) WINE_CONFIG_DLL(msrle32,,[po]) diff --git a/dlls/msls31/Makefile.in b/dlls/msls31/Makefile.in new file mode 100644 index 00000000000..91db958c335 --- /dev/null +++ b/dlls/msls31/Makefile.in @@ -0,0 +1,6 @@ +MODULE = msls31.dll + +C_SRCS = \ + msls31_main.c + +@MAKE_DLL_RULES@ diff --git a/dlls/msls31/msls31.spec b/dlls/msls31/msls31.spec new file mode 100644 index 00000000000..f962a916017 --- /dev/null +++ b/dlls/msls31/msls31.spec @@ -0,0 +1,79 @@ +@ stub LsAppendRunToCurrentSubline +@ stub LsCompressSubline +@ stub LsCreateContext +@ stub LsCreateLine +@ stub LsCreateSubline +@ stub LsDestroyContext +@ stub LsDestroyLine +@ stub LsDestroySubline +@ stub LsDisplayLine +@ stub LsDisplaySubline +@ stub LsEnumLine +@ stub LsEnumSubline +@ stub LsExpandSubline +@ stub LsFetchAppendToCurrentSubline +@ stub LsFetchAppendToCurrentSublineResume +@ stub LsFindNextBreakSubline +@ stub LsFindPrevBreakSubline +@ stub LsFinishCurrentSubline +@ stub LsForceBreakSubline +@ stub LsGetHihLsimethods +@ stub LsGetLineDur +@ stub LsGetMinDurBreaks +@ stub LsGetReverseLsimethods +@ stub LsGetRubyLsimethods +@ stub LsGetSpecialEffectsSubline +@ stub LsGetTatenakayokoLsimethods +@ stub LsGetWarichuLsimethods +@ stub LsLwMultDivR +@ stub LsMatchPresSubline +@ stub LsModifyLineHeight +@ stub LsPointUV2FromPointUV1 +@ stub LsPointXYFromPointUV +@ stub LsQueryCpPpointSubline +@ stub LsQueryFLineEmpty +@ stub LsQueryLineCpPpoint +@ stub LsQueryLineDup +@ stub LsQueryLinePointPcp +@ stub LsQueryPointPcpSubline +@ stub LsQueryTextCellDetails +@ stub LsResetRMInCurrentSubline +@ stub LsSetBreakSubline +@ stub LsSetBreaking +@ stub LsSetCompression +@ stub LsSetDoc +@ stub LsSetExpansion +@ stub LsSetModWidthPairs +@ stub LsSqueezeSubline +@ stub LsTruncateSubline +@ stub LsdnDistribute +@ stub LsdnFinishByOneChar +@ stub LsdnFinishByPen +@ stub LsdnFinishBySubline +@ stub LsdnFinishDelete +@ stub LsdnFinishDeleteAll +@ stub LsdnFinishRegular +@ stub LsdnFinishRegularAddAdvancePen +@ stub LsdnGetCurTabInfo +@ stub LsdnGetDup +@ stub LsdnGetFormatDepth +@ stub LsdnModifyParaEnding +@ stub LsdnQueryObjDimRange +@ stub LsdnQueryPenNode +@ stub LsdnResetObjDim +@ stub LsdnResetPenNode +@ stub LsdnResolvePrevTab +@ stub LsdnSetAbsBaseLine +@ stub LsdnSetRigidDup +@ stub LsdnSkipCurTab +@ stub LsdnSubmitSublines +@ stub LssbFDoneDisplay +@ stub LssbFDonePresSubline +@ stub LssbFIsSublineEmpty +@ stub LssbGetDupSubline +@ stub LssbGetDurTrailInSubline +@ stub LssbGetDurTrailWithPensInSubline +@ stub LssbGetNumberDnodesInSubline +@ stub LssbGetObjDimSubline +@ stub LssbGetPlsrunsFromSubline +@ stub LssbGetVisibleDcpInSubline diff --git a/dlls/msls31/msls31_main.c b/dlls/msls31/msls31_main.c new file mode 100644 index 00000000000..9625a912f9d --- /dev/null +++ b/dlls/msls31/msls31_main.c @@ -0,0 +1,44 @@ +/* + * msls31.dll + * + * Copyright 2012 Josh DuBois 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 "config.h" + +#include + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(msls31); + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(%p, %d, %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; +}