netutils: Add stub dll.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8f81123f4f
commit
5575072e72
|
@ -1503,6 +1503,7 @@ enable_netapi32
|
||||||
enable_netcfgx
|
enable_netcfgx
|
||||||
enable_netio_sys
|
enable_netio_sys
|
||||||
enable_netprofm
|
enable_netprofm
|
||||||
|
enable_netutils
|
||||||
enable_newdev
|
enable_newdev
|
||||||
enable_ninput
|
enable_ninput
|
||||||
enable_normaliz
|
enable_normaliz
|
||||||
|
@ -20833,6 +20834,7 @@ wine_fn_config_makefile dlls/netcfgx/tests enable_tests
|
||||||
wine_fn_config_makefile dlls/netio.sys enable_netio_sys
|
wine_fn_config_makefile dlls/netio.sys enable_netio_sys
|
||||||
wine_fn_config_makefile dlls/netprofm enable_netprofm
|
wine_fn_config_makefile dlls/netprofm enable_netprofm
|
||||||
wine_fn_config_makefile dlls/netprofm/tests enable_tests
|
wine_fn_config_makefile dlls/netprofm/tests enable_tests
|
||||||
|
wine_fn_config_makefile dlls/netutils enable_netutils
|
||||||
wine_fn_config_makefile dlls/newdev enable_newdev
|
wine_fn_config_makefile dlls/newdev enable_newdev
|
||||||
wine_fn_config_makefile dlls/ninput enable_ninput
|
wine_fn_config_makefile dlls/ninput enable_ninput
|
||||||
wine_fn_config_makefile dlls/ninput/tests enable_tests
|
wine_fn_config_makefile dlls/ninput/tests enable_tests
|
||||||
|
|
|
@ -3575,6 +3575,7 @@ WINE_CONFIG_MAKEFILE(dlls/netcfgx/tests)
|
||||||
WINE_CONFIG_MAKEFILE(dlls/netio.sys)
|
WINE_CONFIG_MAKEFILE(dlls/netio.sys)
|
||||||
WINE_CONFIG_MAKEFILE(dlls/netprofm)
|
WINE_CONFIG_MAKEFILE(dlls/netprofm)
|
||||||
WINE_CONFIG_MAKEFILE(dlls/netprofm/tests)
|
WINE_CONFIG_MAKEFILE(dlls/netprofm/tests)
|
||||||
|
WINE_CONFIG_MAKEFILE(dlls/netutils)
|
||||||
WINE_CONFIG_MAKEFILE(dlls/newdev)
|
WINE_CONFIG_MAKEFILE(dlls/newdev)
|
||||||
WINE_CONFIG_MAKEFILE(dlls/ninput)
|
WINE_CONFIG_MAKEFILE(dlls/ninput)
|
||||||
WINE_CONFIG_MAKEFILE(dlls/ninput/tests)
|
WINE_CONFIG_MAKEFILE(dlls/ninput/tests)
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
MODULE = netutils.dll
|
||||||
|
|
||||||
|
EXTRADLLFLAGS = -mno-cygwin
|
||||||
|
|
||||||
|
C_SRCS = main.c
|
|
@ -0,0 +1,41 @@
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* Copyright (C) 2020 Alistair Leslie-Hughes
|
||||||
|
*
|
||||||
|
* 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(netutils);
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
@ stub NetApiBufferAllocate
|
||||||
|
@ stub NetApiBufferFree
|
||||||
|
@ stub NetApiBufferReallocate
|
||||||
|
@ stub NetApiBufferSize
|
||||||
|
@ stub NetRemoteComputerSupports
|
||||||
|
@ stub NetapipBufferAllocate
|
||||||
|
@ stub NetpIsComputerNameValid
|
||||||
|
@ stub NetpIsDomainNameValid
|
||||||
|
@ stub NetpIsGroupNameValid
|
||||||
|
@ stub NetpIsRemote
|
||||||
|
@ stub NetpIsRemoteNameValid
|
||||||
|
@ stub NetpIsShareNameValid
|
||||||
|
@ stub NetpIsUncComputerNameValid
|
||||||
|
@ stub NetpIsUserNameValid
|
||||||
|
@ stub NetpwListCanonicalize
|
||||||
|
@ stub NetpwListTraverse
|
||||||
|
@ stub NetpwNameCanonicalize
|
||||||
|
@ stub NetpwNameCompare
|
||||||
|
@ stub NetpwNameValidate
|
||||||
|
@ stub NetpwPathCanonicalize
|
||||||
|
@ stub NetpwPathCompare
|
||||||
|
@ stub NetpwPathType
|
Loading…
Reference in New Issue