Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47611 Signed-off-by: Alex Henrie alexhenrie24@gmail.com --- configure | 1 + configure.ac | 1 + dlls/wlanui/Makefile.in | 6 ++++++ dlls/wlanui/main.c | 43 +++++++++++++++++++++++++++++++++++++++++ dlls/wlanui/wlanui.spec | 6 ++++++ 5 files changed, 57 insertions(+) create mode 100644 dlls/wlanui/Makefile.in create mode 100644 dlls/wlanui/main.c create mode 100644 dlls/wlanui/wlanui.spec
diff --git a/configure b/configure index 045f02739c..3a8e7f4257 100755 --- a/configure +++ b/configure @@ -20781,6 +20781,7 @@ wine_fn_config_makefile dlls/wintrust/tests enable_tests wine_fn_config_makefile dlls/winusb enable_winusb wine_fn_config_makefile dlls/wlanapi enable_wlanapi wine_fn_config_makefile dlls/wlanapi/tests enable_tests +wine_fn_config_makefile dlls/wlanui enable_wlanui wine_fn_config_makefile dlls/wldap32 enable_wldap32 wine_fn_config_makefile dlls/wldap32/tests enable_tests wine_fn_config_makefile dlls/wmasf enable_wmasf diff --git a/configure.ac b/configure.ac index c58d34330e..59d5fa662a 100644 --- a/configure.ac +++ b/configure.ac @@ -3765,6 +3765,7 @@ WINE_CONFIG_MAKEFILE(dlls/wintrust/tests) WINE_CONFIG_MAKEFILE(dlls/winusb) WINE_CONFIG_MAKEFILE(dlls/wlanapi) WINE_CONFIG_MAKEFILE(dlls/wlanapi/tests) +WINE_CONFIG_MAKEFILE(dlls/wlanui) WINE_CONFIG_MAKEFILE(dlls/wldap32) WINE_CONFIG_MAKEFILE(dlls/wldap32/tests) WINE_CONFIG_MAKEFILE(dlls/wmasf) diff --git a/dlls/wlanui/Makefile.in b/dlls/wlanui/Makefile.in new file mode 100644 index 0000000000..a78f40f53b --- /dev/null +++ b/dlls/wlanui/Makefile.in @@ -0,0 +1,6 @@ +MODULE = wlanui.dll + +EXTRADLLFLAGS = -mno-cygwin + +C_SRCS = \ + main.c diff --git a/dlls/wlanui/main.c b/dlls/wlanui/main.c new file mode 100644 index 0000000000..8e8278d039 --- /dev/null +++ b/dlls/wlanui/main.c @@ -0,0 +1,43 @@ +/* + * Wireless Local Area Network User Interface + * + * Copyright 2019 Alex Henrie + * + * 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(wlanui); + +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; +} diff --git a/dlls/wlanui/wlanui.spec b/dlls/wlanui/wlanui.spec new file mode 100644 index 0000000000..92161f0de8 --- /dev/null +++ b/dlls/wlanui/wlanui.spec @@ -0,0 +1,6 @@ +@ stub DllGetClassObject +@ stub WLFreeProfile +@ stub WLFreeProfileXml +@ stub WLInvokeProfileUI +@ stub WLInvokeProfileUIFromXMLFile +@ stub WlanUIEditProfile