srclient: Add new stub dll.

Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Louis Lenders 2018-04-13 09:31:55 +02:00 committed by Alexandre Julliard
parent c5cb2f1c50
commit a56e57b3ec
5 changed files with 61 additions and 0 deletions

2
configure vendored
View File

@ -1508,6 +1508,7 @@ enable_slc
enable_snmpapi enable_snmpapi
enable_softpub enable_softpub
enable_spoolss enable_spoolss
enable_srclient
enable_sspicli enable_sspicli
enable_stdole2_tlb enable_stdole2_tlb
enable_stdole32_tlb enable_stdole32_tlb
@ -19001,6 +19002,7 @@ wine_fn_config_makefile dlls/softpub enable_softpub
wine_fn_config_makefile dlls/sound.drv16 enable_win16 wine_fn_config_makefile dlls/sound.drv16 enable_win16
wine_fn_config_makefile dlls/spoolss enable_spoolss wine_fn_config_makefile dlls/spoolss enable_spoolss
wine_fn_config_makefile dlls/spoolss/tests enable_tests wine_fn_config_makefile dlls/spoolss/tests enable_tests
wine_fn_config_makefile dlls/srclient enable_srclient
wine_fn_config_makefile dlls/sspicli enable_sspicli wine_fn_config_makefile dlls/sspicli enable_sspicli
wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb

View File

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

View File

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

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

@ -0,0 +1,41 @@
/*
* Copyright 2018 Louis Lenders
*
* 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(srclient);
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD reason, LPVOID lpv)
{
TRACE("(%p, %d, %p)\n", hInstDLL, reason, lpv);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hInstDLL);
break;
}
return TRUE;
}

View File

@ -0,0 +1,13 @@
1 stub SysprepCleanup
2 stub SysprepGeneralize
@ stub DisableSR
@ stub DisableSRInternal
@ stub EnableSR
@ stub EnableSREx
@ stub EnableSRInternal
@ stub SRNewSystemId
@ stub SRRemoveRestorePoint
@ stdcall SRSetRestorePointA(ptr ptr) sfc_os.SRSetRestorePointA
@ stub SRSetRestorePointInternal
@ stdcall SRSetRestorePointW(ptr ptr) sfc_os.SRSetRestorePointW
@ stub SetSRStateAfterSetup