msports: Add stub dll.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2016-08-31 01:46:55 -05:00 committed by Alexandre Julliard
parent e01592e82f
commit 7cfa7496c7
5 changed files with 63 additions and 0 deletions

2
configure vendored
View File

@ -1219,6 +1219,7 @@ enable_msisys_ocx
enable_msls31 enable_msls31
enable_msnet32 enable_msnet32
enable_mspatcha enable_mspatcha
enable_msports
enable_msrle32 enable_msrle32
enable_msscript_ocx enable_msscript_ocx
enable_mssign32 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 msls31 enable_msls31
wine_fn_config_dll msnet32 enable_msnet32 wine_fn_config_dll msnet32 enable_msnet32
wine_fn_config_dll mspatcha enable_mspatcha implib 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_dll msrle32 enable_msrle32 clean
wine_fn_config_test dlls/msrle32/tests msrle32_test wine_fn_config_test dlls/msrle32/tests msrle32_test
wine_fn_config_dll msscript.ocx enable_msscript_ocx clean wine_fn_config_dll msscript.ocx enable_msscript_ocx clean

View File

@ -3093,6 +3093,7 @@ WINE_CONFIG_DLL(msisys.ocx)
WINE_CONFIG_DLL(msls31) WINE_CONFIG_DLL(msls31)
WINE_CONFIG_DLL(msnet32) WINE_CONFIG_DLL(msnet32)
WINE_CONFIG_DLL(mspatcha,,[implib]) WINE_CONFIG_DLL(mspatcha,,[implib])
WINE_CONFIG_DLL(msports)
WINE_CONFIG_DLL(msrle32,,[clean]) WINE_CONFIG_DLL(msrle32,,[clean])
WINE_CONFIG_TEST(dlls/msrle32/tests) WINE_CONFIG_TEST(dlls/msrle32/tests)
WINE_CONFIG_DLL(msscript.ocx,,[clean]) WINE_CONFIG_DLL(msscript.ocx,,[clean])

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

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

45
dlls/msports/main.c Normal file
View File

@ -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 <stdarg.h>
#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;
}

11
dlls/msports/msports.spec Normal file
View File

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