srvcli: 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:
Alistair Leslie-Hughes 2020-11-02 19:19:27 +01:00 committed by Alexandre Julliard
parent b8ebbbee67
commit 8f81123f4f
6 changed files with 111 additions and 0 deletions

2
configure vendored
View File

@ -1593,6 +1593,7 @@ enable_snmpapi
enable_softpub
enable_spoolss
enable_srclient
enable_srvcli
enable_sspicli
enable_stdole2_tlb
enable_stdole32_tlb
@ -20981,6 +20982,7 @@ wine_fn_config_makefile dlls/sound.drv16 enable_win16
wine_fn_config_makefile dlls/spoolss enable_spoolss
wine_fn_config_makefile dlls/spoolss/tests enable_tests
wine_fn_config_makefile dlls/srclient enable_srclient
wine_fn_config_makefile dlls/srvcli enable_srvcli
wine_fn_config_makefile dlls/sspicli enable_sspicli
wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb

View File

@ -3724,6 +3724,7 @@ WINE_CONFIG_MAKEFILE(dlls/sound.drv16,enable_win16)
WINE_CONFIG_MAKEFILE(dlls/spoolss)
WINE_CONFIG_MAKEFILE(dlls/spoolss/tests)
WINE_CONFIG_MAKEFILE(dlls/srclient)
WINE_CONFIG_MAKEFILE(dlls/srvcli)
WINE_CONFIG_MAKEFILE(dlls/sspicli)
WINE_CONFIG_MAKEFILE(dlls/stdole2.tlb)
WINE_CONFIG_MAKEFILE(dlls/stdole32.tlb)

5
dlls/srvcli/Makefile.in Normal file
View File

@ -0,0 +1,5 @@
MODULE = srvcli.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = main.c

41
dlls/srvcli/main.c Normal file
View File

@ -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(srvcli);
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;
}

61
dlls/srvcli/srvcli.spec Normal file
View File

@ -0,0 +1,61 @@
@ stub I_NetDfsGetVersion
@ stub I_NetServerSetServiceBits
@ stub I_NetServerSetServiceBitsEx
@ stub LocalAliasGet
@ stub LocalFileClose
@ stub LocalFileEnum
@ stub LocalFileEnumEx
@ stub LocalFileGetInfo
@ stub LocalFileGetInfoEx
@ stub LocalServerCertificateMappingAdd
@ stub LocalServerCertificateMappingEnum
@ stub LocalServerCertificateMappingGet
@ stub LocalServerCertificateMappingRemove
@ stub LocalSessionDel
@ stub LocalSessionEnum
@ stub LocalSessionEnumEx
@ stub LocalSessionGetInfo
@ stub LocalSessionGetInfoEx
@ stub LocalShareAdd
@ stub LocalShareDelEx
@ stub LocalShareEnum
@ stub LocalShareEnumEx
@ stub LocalShareGetInfo
@ stub LocalShareGetInfoEx
@ stub LocalShareSetInfo
@ stub NetConnectionEnum
@ stub NetFileClose
@ stdcall NetFileEnum(wstr wstr wstr long ptr long ptr ptr ptr) netapi32.NetFileEnum
@ stub NetFileGetInfo
@ stub NetRemoteTOD
@ stub NetServerAliasAdd
@ stub NetServerAliasDel
@ stub NetServerAliasEnum
@ stub NetServerComputerNameAdd
@ stub NetServerComputerNameDel
@ stdcall NetServerDiskEnum(wstr long ptr long ptr ptr ptr) netapi32.NetServerDiskEnum
@ stdcall NetServerGetInfo(wstr long ptr) netapi32.NetServerGetInfo
@ stub NetServerSetInfo
@ stub NetServerStatisticsGet
@ stub NetServerTransportAdd
@ stub NetServerTransportAddEx
@ stub NetServerTransportDel
@ stub NetServerTransportEnum
@ stub NetSessionDel
@ stdcall NetSessionEnum(wstr wstr wstr long ptr long ptr ptr ptr) netapi32.NetSessionEnum
@ stub NetSessionGetInfo
@ stdcall NetShareAdd(wstr long ptr ptr) netapi32.NetShareAdd
@ stub NetShareCheck
@ stdcall NetShareDel(wstr wstr long) netapi32.NetShareDel
@ stub NetShareDelEx
@ stub NetShareDelSticky
@ stdcall NetShareEnum(wstr long ptr long ptr ptr ptr) netapi32.NetShareEnum
@ stub NetShareEnumSticky
@ stdcall NetShareGetInfo(wstr wstr long ptr) netapi32.NetShareGetInfo
@ stub NetShareSetInfo
@ stub NetpsNameCanonicalize
@ stub NetpsNameCompare
@ stub NetpsNameValidate
@ stub NetpsPathCanonicalize
@ stub NetpsPathCompare
@ stub NetpsPathType

View File

@ -177,6 +177,7 @@ my @dll_groups =
[
"netapi32",
"ext-ms-win-domainjoin-netjoin-l1-1-0",
"srvcli",
],
[
"ntdll",