diff --git a/configure b/configure index 88ee44d9b13..63245740a14 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index b6c94a5a658..6a30601ca09 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/dlls/sas/Makefile.in b/dlls/sas/Makefile.in new file mode 100644 index 00000000000..aa76b59af73 --- /dev/null +++ b/dlls/sas/Makefile.in @@ -0,0 +1,4 @@ +MODULE = sas.dll + +C_SRCS = \ + main.c diff --git a/dlls/sas/main.c b/dlls/sas/main.c new file mode 100644 index 00000000000..1a2017d677f --- /dev/null +++ b/dlls/sas/main.c @@ -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 + +#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; +} diff --git a/dlls/sas/sas.spec b/dlls/sas/sas.spec new file mode 100644 index 00000000000..9af3cd324e0 --- /dev/null +++ b/dlls/sas/sas.spec @@ -0,0 +1 @@ +@ stub SendSAS