Austin English : netcfgx: Add stub dll.
Alexandre Julliard
julliard at winehq.org
Mon Sep 2 14:34:29 CDT 2013
Module: wine
Branch: master
Commit: 478db5bcd54a61f677d9b363e2d1e30a1ae99088
URL: http://source.winehq.org/git/wine.git/?a=commit;h=478db5bcd54a61f677d9b363e2d1e30a1ae99088
Author: Austin English <austinenglish at gmail.com>
Date: Mon Aug 26 16:09:01 2013 -0700
netcfgx: Add stub dll.
---
configure | 1 +
configure.ac | 1 +
dlls/netcfgx/Makefile.in | 6 ++++++
dlls/netcfgx/main.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
dlls/netcfgx/netcfgx.spec | 16 ++++++++++++++++
5 files changed, 68 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index d0f15d0..0ca39bc 100755
--- a/configure
+++ b/configure
@@ -16243,6 +16243,7 @@ wine_fn_config_dll msxml6 enable_msxml6
wine_fn_config_dll nddeapi enable_nddeapi implib
wine_fn_config_dll netapi32 enable_netapi32 implib
wine_fn_config_test dlls/netapi32/tests netapi32_test
+wine_fn_config_dll netcfgx enable_netcfgx
wine_fn_config_dll newdev enable_newdev implib
wine_fn_config_dll normaliz enable_normaliz implib
wine_fn_config_dll npmshtml enable_npmshtml
diff --git a/configure.ac b/configure.ac
index d8033cf..9b21643 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2925,6 +2925,7 @@ WINE_CONFIG_DLL(msxml6)
WINE_CONFIG_DLL(nddeapi,,[implib])
WINE_CONFIG_DLL(netapi32,,[implib])
WINE_CONFIG_TEST(dlls/netapi32/tests)
+WINE_CONFIG_DLL(netcfgx)
WINE_CONFIG_DLL(newdev,,[implib])
WINE_CONFIG_DLL(normaliz,,[implib])
WINE_CONFIG_DLL(npmshtml)
diff --git a/dlls/netcfgx/Makefile.in b/dlls/netcfgx/Makefile.in
new file mode 100644
index 0000000..8ad17e1
--- /dev/null
+++ b/dlls/netcfgx/Makefile.in
@@ -0,0 +1,6 @@
+MODULE = netcfgx.dll
+
+C_SRCS = \
+ main.c
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/netcfgx/main.c b/dlls/netcfgx/main.c
new file mode 100644
index 0000000..6cd1894
--- /dev/null
+++ b/dlls/netcfgx/main.c
@@ -0,0 +1,44 @@
+/*
+ * Network Configuration Objects implementation
+ *
+ * Copyright 2013 Austin English
+ *
+ * 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(netcfgx);
+
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+ TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
+
+ switch (fdwReason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(hinstDLL);
+ break;
+ default:
+ break;
+ }
+
+ return TRUE;
+}
diff --git a/dlls/netcfgx/netcfgx.spec b/dlls/netcfgx/netcfgx.spec
new file mode 100644
index 0000000..38ce927
--- /dev/null
+++ b/dlls/netcfgx/netcfgx.spec
@@ -0,0 +1,16 @@
+@ stub DllCanUnloadNow
+@ stub DllGetClassObject
+@ stub DllRegisterServer
+@ stub DllUnregisterServer
+@ stub HrDiAddComponentToINetCfg
+@ stub LanaCfgFromCommandArgs
+@ stub ModemClassCoInstaller
+@ stub NetCfgDiagFromCommandArgs
+@ stub NetCfgDiagRepairRegistryBindings
+@ stub NetClassInstaller
+@ stub NetPropPageProvider
+@ stub RasAddBindings
+@ stub RasCountBindings
+@ stub RasRemoveBindings
+@ stub SvchostChangeSvchostGroup
+@ stub UpdateLanaConfigUsingAnswerfile
More information about the wine-cvs
mailing list