sas: Add 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-03-09 16:15:41 +01:00 committed by Alexandre Julliard
parent 080cb3aa81
commit be0bae2c6b
5 changed files with 49 additions and 0 deletions

2
configure vendored
View File

@ -1482,6 +1482,7 @@ enable_rtutils
enable_samlib
enable_sane_ds
enable_sapi
enable_sas
enable_scarddlg
enable_sccbase
enable_schannel
@ -18958,6 +18959,7 @@ wine_fn_config_makefile dlls/samlib enable_samlib
wine_fn_config_makefile dlls/sane.ds enable_sane_ds
wine_fn_config_makefile dlls/sapi enable_sapi
wine_fn_config_makefile dlls/sapi/tests enable_tests
wine_fn_config_makefile dlls/sas enable_sas
wine_fn_config_makefile dlls/scarddlg enable_scarddlg
wine_fn_config_makefile dlls/sccbase enable_sccbase
wine_fn_config_makefile dlls/schannel enable_schannel

View File

@ -3583,6 +3583,7 @@ WINE_CONFIG_MAKEFILE(dlls/samlib)
WINE_CONFIG_MAKEFILE(dlls/sane.ds)
WINE_CONFIG_MAKEFILE(dlls/sapi)
WINE_CONFIG_MAKEFILE(dlls/sapi/tests)
WINE_CONFIG_MAKEFILE(dlls/sas)
WINE_CONFIG_MAKEFILE(dlls/scarddlg)
WINE_CONFIG_MAKEFILE(dlls/sccbase)
WINE_CONFIG_MAKEFILE(dlls/schannel)

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

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

41
dlls/sas/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(sas);
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;
}

1
dlls/sas/sas.spec Normal file
View File

@ -0,0 +1 @@
@ stub SendSAS