[pkg-wine-party] [wine] 20/170: connect: Add stub dll.
Michael Gilbert
mgilbert at moszumanska.debian.org
Sat Feb 21 21:49:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
mgilbert pushed a commit to branch master
in repository wine.
commit be70190c1a23a12865fe5a298b60bb1384624aea
Author: Austin English <austinenglish at gmail.com>
Date: Sun Feb 8 15:03:13 2015 -0600
connect: Add stub dll.
---
configure | 2 ++
configure.ac | 1 +
dlls/connect/Makefile.in | 4 ++++
dlls/connect/connect.spec | 15 +++++++++++++++
dlls/connect/main.c | 38 ++++++++++++++++++++++++++++++++++++++
5 files changed, 60 insertions(+)
diff --git a/configure b/configure
index d8376c8..0307f05 100755
--- a/configure
+++ b/configure
@@ -942,6 +942,7 @@ enable_comctl32
enable_comdlg32
enable_compstui
enable_comsvcs
+enable_connect
enable_credui
enable_crtdll
enable_crypt32
@@ -17080,6 +17081,7 @@ wine_fn_config_dll commdlg.dll16 enable_win16
wine_fn_config_dll compobj.dll16 enable_win16
wine_fn_config_dll compstui enable_compstui implib
wine_fn_config_dll comsvcs enable_comsvcs implib
+wine_fn_config_dll connect enable_connect
wine_fn_config_dll credui enable_credui implib,po
wine_fn_config_test dlls/credui/tests credui_test
wine_fn_config_dll crtdll enable_crtdll implib
diff --git a/configure.ac b/configure.ac
index 3647406..42d8865 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2793,6 +2793,7 @@ WINE_CONFIG_DLL(commdlg.dll16,enable_win16)
WINE_CONFIG_DLL(compobj.dll16,enable_win16)
WINE_CONFIG_DLL(compstui,,[implib])
WINE_CONFIG_DLL(comsvcs,,[implib])
+WINE_CONFIG_DLL(connect)
WINE_CONFIG_DLL(credui,,[implib,po])
WINE_CONFIG_TEST(dlls/credui/tests)
WINE_CONFIG_DLL(crtdll,,[implib])
diff --git a/dlls/connect/Makefile.in b/dlls/connect/Makefile.in
new file mode 100644
index 0000000..95d0211
--- /dev/null
+++ b/dlls/connect/Makefile.in
@@ -0,0 +1,4 @@
+MODULE = connect.dll
+
+C_SRCS = \
+ main.c
diff --git a/dlls/connect/connect.spec b/dlls/connect/connect.spec
new file mode 100644
index 0000000..6b4da21
--- /dev/null
+++ b/dlls/connect/connect.spec
@@ -0,0 +1,15 @@
+@ stub AddConnectionOptionListEntries
+@ stub CreateVPNConnection
+@ stub DllCanUnloadNow
+@ stub DllGetClassObject
+@ stub GetInternetConnected
+@ stub GetNetworkConnected
+@ stub GetVPNConnected
+@ stub HrIsInternetConnected
+@ stub HrIsInternetConnectedGUID
+@ stub IsInternetConnected
+@ stub IsInternetConnectedGUID
+@ stub IsUniqueConnectionName
+@ stub RegisterPageWithPage
+@ stub UnregisterPage
+@ stub UnregisterPagesLink
diff --git a/dlls/connect/main.c b/dlls/connect/main.c
new file mode 100644
index 0000000..1c12f72
--- /dev/null
+++ b/dlls/connect/main.c
@@ -0,0 +1,38 @@
+/*
+ *
+ * Copyright 2015 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 "config.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
+{
+ switch (reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(instance);
+ break;
+ }
+
+ return TRUE;
+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git
More information about the pkg-wine-party
mailing list