Stefan Leichter : dhcpcsvc: New stub dll.

Alexandre Julliard julliard at winehq.org
Thu Dec 22 12:35:50 CST 2011


Module: wine
Branch: master
Commit: 9aeda0df492133875e9984ac036ab7d9861c2140
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9aeda0df492133875e9984ac036ab7d9861c2140

Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date:   Thu Dec 22 00:04:05 2011 +0100

dhcpcsvc: New stub dll.

---

 configure                   |    1 +
 configure.ac                |    1 +
 dlls/dhcpcsvc/Makefile.in   |    5 ++++
 dlls/dhcpcsvc/dhcpcsvc.c    |   41 +++++++++++++++++++++++++++++++++++++++
 dlls/dhcpcsvc/dhcpcsvc.spec |   45 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 93 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 1000905..804487f 100755
--- a/configure
+++ b/configure
@@ -14988,6 +14988,7 @@ wine_fn_config_test dlls/ddraw/tests ddraw_test
 wine_fn_config_dll ddrawex enable_ddrawex
 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
 wine_fn_config_dll devenum enable_devenum po
+wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
 wine_fn_config_test dlls/dinput/tests dinput_test
 wine_fn_config_dll dinput8 enable_dinput8 implib
diff --git a/configure.ac b/configure.ac
index b050b60..1a7b56f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2497,6 +2497,7 @@ WINE_CONFIG_TEST(dlls/ddraw/tests)
 WINE_CONFIG_DLL(ddrawex)
 WINE_CONFIG_TEST(dlls/ddrawex/tests)
 WINE_CONFIG_DLL(devenum,,[po])
+WINE_CONFIG_DLL(dhcpcsvc)
 WINE_CONFIG_DLL(dinput,,[implib,po,staticimplib])
 WINE_CONFIG_TEST(dlls/dinput/tests)
 WINE_CONFIG_DLL(dinput8,,[implib])
diff --git a/dlls/dhcpcsvc/Makefile.in b/dlls/dhcpcsvc/Makefile.in
new file mode 100644
index 0000000..c1d86ca
--- /dev/null
+++ b/dlls/dhcpcsvc/Makefile.in
@@ -0,0 +1,5 @@
+MODULE = dhcpcsvc.dll
+
+C_SRCS = dhcpcsvc.c
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/dhcpcsvc/dhcpcsvc.c b/dlls/dhcpcsvc/dhcpcsvc.c
new file mode 100644
index 0000000..4927aac
--- /dev/null
+++ b/dlls/dhcpcsvc/dhcpcsvc.c
@@ -0,0 +1,41 @@
+/*
+ * Copyright 2011 Stefan Leichter
+ *
+ * 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(dhcpcsvc);
+
+BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
+{
+    TRACE("%p, %u, %p\n", hinst, reason, reserved);
+
+    switch (reason)
+    {
+        case DLL_WINE_PREATTACH:
+            return FALSE;    /* prefer native version */
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls( hinst );
+            break;
+        case DLL_PROCESS_DETACH:
+            break;
+    }
+    return TRUE;
+}
diff --git a/dlls/dhcpcsvc/dhcpcsvc.spec b/dlls/dhcpcsvc/dhcpcsvc.spec
new file mode 100644
index 0000000..97194a6
--- /dev/null
+++ b/dlls/dhcpcsvc/dhcpcsvc.spec
@@ -0,0 +1,45 @@
+@ stub DhcpAcquireParameters
+@ stub DhcpAcquireParametersByBroadcast
+@ stub DhcpCApiCleanup
+@ stub DhcpCApiInitialize
+@ stub DhcpDeRegisterConnectionStateNotification
+@ stub DhcpDeRegisterOptions
+@ stub DhcpDeRegisterParamChange
+@ stub DhcpDelPersistentRequestParams
+@ stub DhcpEnumClasses
+@ stub DhcpFallbackRefreshParams
+@ stub DhcpFreeMem
+@ stub DhcpGetDhcpServicedConnctions
+@ stub DhcpGetNotificationStatus
+@ stub DhcpHandlePnPEvent
+@ stub DhcpLeaseIpAddress
+@ stub DhcpLeaseIpAddressEx
+@ stub DhcpNotifyConfigChange
+@ stub DhcpNotifyConfigChangeEx
+@ stub DhcpNotifyMediaReconnected
+@ stub DhcpOpenGlobalEvent
+@ stub DhcpPersistentRequestParams
+@ stub DhcpQueryHWInfo
+@ stub DhcpRegisterConnectionStateNotification
+@ stub DhcpRegisterOptions
+@ stub DhcpRegisterParamChange
+@ stub DhcpReleaseIpAddressLease
+@ stub DhcpReleaseIpAddressLeaseEx
+@ stub DhcpReleaseParameters
+@ stub DhcpRemoveDNSRegistration
+@ stub DhcpRenewIpAddressLease
+@ stub DhcpRenewIpAddressLeaseEx
+@ stub DhcpRequestCachedParams
+@ stub DhcpRequestOptions
+@ stub DhcpRequestParams
+@ stub DhcpSetMSFTVendorSpecificOptions
+@ stub DhcpStaticRefreshParams
+@ stub DhcpUndoRequestParams
+@ stub McastApiCleanup
+@ stub McastApiStartup
+@ stub McastEnumerateScopes
+@ stub McastGenUID
+@ stub McastReleaseAddress
+@ stub McastRenewAddress
+@ stub McastRequestAddress
+@ stub ServiceMain




More information about the wine-cvs mailing list