diff --git a/configure b/configure index 27dcd4b22be..5b92af9f62f 100755 --- a/configure +++ b/configure @@ -1219,6 +1219,7 @@ enable_msisys_ocx enable_msls31 enable_msnet32 enable_mspatcha +enable_msports enable_msrle32 enable_msscript_ocx enable_mssign32 @@ -17872,6 +17873,7 @@ 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 implib +wine_fn_config_dll msports enable_msports wine_fn_config_dll msrle32 enable_msrle32 clean wine_fn_config_test dlls/msrle32/tests msrle32_test wine_fn_config_dll msscript.ocx enable_msscript_ocx clean diff --git a/configure.ac b/configure.ac index d008fe8ad30..0331c362a99 100644 --- a/configure.ac +++ b/configure.ac @@ -3093,6 +3093,7 @@ WINE_CONFIG_DLL(msisys.ocx) WINE_CONFIG_DLL(msls31) WINE_CONFIG_DLL(msnet32) WINE_CONFIG_DLL(mspatcha,,[implib]) +WINE_CONFIG_DLL(msports) WINE_CONFIG_DLL(msrle32,,[clean]) WINE_CONFIG_TEST(dlls/msrle32/tests) WINE_CONFIG_DLL(msscript.ocx,,[clean]) diff --git a/dlls/msports/Makefile.in b/dlls/msports/Makefile.in new file mode 100644 index 00000000000..d4e8593a424 --- /dev/null +++ b/dlls/msports/Makefile.in @@ -0,0 +1,4 @@ +MODULE = msports.dll + +C_SRCS = \ + main.c diff --git a/dlls/msports/main.c b/dlls/msports/main.c new file mode 100644 index 00000000000..fe2c1538900 --- /dev/null +++ b/dlls/msports/main.c @@ -0,0 +1,45 @@ +/* + * msports.dll + * + * Copyright 2016 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 + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(msports); + +BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) +{ + TRACE("(%p, %u, %p)\n", instance, reason, reserved); + + switch (reason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(instance); + break; + } + + return TRUE; +} diff --git a/dlls/msports/msports.spec b/dlls/msports/msports.spec new file mode 100644 index 00000000000..bb4b9c93501 --- /dev/null +++ b/dlls/msports/msports.spec @@ -0,0 +1,11 @@ +@ stub ComDBClaimNextFreePort +@ stub ComDBClaimPort +@ stub ComDBClose +@ stub ComDBGetCurrentPortUsage +@ stub ComDBOpen +@ stub ComDBReleasePort +@ stub ComDBResizeDatabase +@ stub ParallelPortPropPageProvider +@ stub PortsClassInstaller +@ stub SerialDisplayAdvancedSettings +@ stub SerialPortPropPageProvider