Alex Henrie : wlanui: Add DLL.

Alexandre Julliard julliard at winehq.org
Tue Aug 13 14:54:33 CDT 2019


Module: wine
Branch: master
Commit: 22c5af88ad7c1336e3e42bdf1e786b4270929597
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=22c5af88ad7c1336e3e42bdf1e786b4270929597

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Tue Aug 13 00:23:28 2019 -0600

wlanui: Add DLL.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47611
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 configure               |  2 ++
 configure.ac            |  1 +
 dlls/wlanui/Makefile.in |  6 ++++++
 dlls/wlanui/main.c      | 43 +++++++++++++++++++++++++++++++++++++++++++
 dlls/wlanui/wlanui.spec |  6 ++++++
 5 files changed, 58 insertions(+)

diff --git a/configure b/configure
index 045f027..2103658 100755
--- a/configure
+++ b/configure
@@ -1639,6 +1639,7 @@ enable_wintab32
 enable_wintrust
 enable_winusb
 enable_wlanapi
+enable_wlanui
 enable_wldap32
 enable_wmasf
 enable_wmcodecdspuuid
@@ -20781,6 +20782,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 c58d343..59d5fa6 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 0000000..a78f40f
--- /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 0000000..8e8278d
--- /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 0000000..92161f0
--- /dev/null
+++ b/dlls/wlanui/wlanui.spec
@@ -0,0 +1,6 @@
+@ stub DllGetClassObject
+@ stub WLFreeProfile
+@ stub WLFreeProfileXml
+@ stub WLInvokeProfileUI
+@ stub WLInvokeProfileUIFromXMLFile
+@ stub WlanUIEditProfile




More information about the wine-cvs mailing list