Module: wine Branch: master Commit: be0bae2c6b4294be6e3fb9a3b7bf2ed59081f0b8 URL: https://source.winehq.org/git/wine.git/?a=commit;h=be0bae2c6b4294be6e3fb9a3b...
Author: Louis Lenders xerox.xerox2000x@gmail.com Date: Fri Mar 9 16:15:41 2018 +0100
sas: Add stub dll.
Signed-off-by: Louis Lenders xerox.xerox2000x@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
configure | 2 ++ configure.ac | 1 + dlls/sas/Makefile.in | 4 ++++ dlls/sas/main.c | 41 +++++++++++++++++++++++++++++++++++++++++ dlls/sas/sas.spec | 1 + 5 files changed, 49 insertions(+)
diff --git a/configure b/configure index 88ee44d..6324574 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 b6c94a5..6a30601 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 0000000..aa76b59 --- /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 0000000..1a2017d --- /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 <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; +} diff --git a/dlls/sas/sas.spec b/dlls/sas/sas.spec new file mode 100644 index 0000000..9af3cd3 --- /dev/null +++ b/dlls/sas/sas.spec @@ -0,0 +1 @@ +@ stub SendSAS