wlanui: Add DLL.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47611
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2019-08-13 00:23:28 -06:00 committed by Alexandre Julliard
parent cc3969da3c
commit 22c5af88ad
5 changed files with 58 additions and 0 deletions

2
configure vendored
View File

@ -1639,6 +1639,7 @@ enable_wintab32
enable_wintrust enable_wintrust
enable_winusb enable_winusb
enable_wlanapi enable_wlanapi
enable_wlanui
enable_wldap32 enable_wldap32
enable_wmasf enable_wmasf
enable_wmcodecdspuuid 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/winusb enable_winusb
wine_fn_config_makefile dlls/wlanapi enable_wlanapi wine_fn_config_makefile dlls/wlanapi enable_wlanapi
wine_fn_config_makefile dlls/wlanapi/tests enable_tests 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 enable_wldap32
wine_fn_config_makefile dlls/wldap32/tests enable_tests wine_fn_config_makefile dlls/wldap32/tests enable_tests
wine_fn_config_makefile dlls/wmasf enable_wmasf wine_fn_config_makefile dlls/wmasf enable_wmasf

View File

@ -3765,6 +3765,7 @@ WINE_CONFIG_MAKEFILE(dlls/wintrust/tests)
WINE_CONFIG_MAKEFILE(dlls/winusb) WINE_CONFIG_MAKEFILE(dlls/winusb)
WINE_CONFIG_MAKEFILE(dlls/wlanapi) WINE_CONFIG_MAKEFILE(dlls/wlanapi)
WINE_CONFIG_MAKEFILE(dlls/wlanapi/tests) WINE_CONFIG_MAKEFILE(dlls/wlanapi/tests)
WINE_CONFIG_MAKEFILE(dlls/wlanui)
WINE_CONFIG_MAKEFILE(dlls/wldap32) WINE_CONFIG_MAKEFILE(dlls/wldap32)
WINE_CONFIG_MAKEFILE(dlls/wldap32/tests) WINE_CONFIG_MAKEFILE(dlls/wldap32/tests)
WINE_CONFIG_MAKEFILE(dlls/wmasf) WINE_CONFIG_MAKEFILE(dlls/wmasf)

6
dlls/wlanui/Makefile.in Normal file
View File

@ -0,0 +1,6 @@
MODULE = wlanui.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
main.c

43
dlls/wlanui/main.c Normal file
View File

@ -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;
}

6
dlls/wlanui/wlanui.spec Normal file
View File

@ -0,0 +1,6 @@
@ stub DllGetClassObject
@ stub WLFreeProfile
@ stub WLFreeProfileXml
@ stub WLInvokeProfileUI
@ stub WLInvokeProfileUIFromXMLFile
@ stub WlanUIEditProfile