diff --git a/configure b/configure index 10009057023..804487ff2b5 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 b050b608c0e..1a7b56f1a84 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 00000000000..c1d86cac6f5 --- /dev/null +++ b/dlls/dhcpcsvc/Makefile.in @@ -0,0 +1,5 @@ +MODULE = dhcpcsvc.dll + +C_SRCS = dhcpcsvc.c + +@MAKE_DLL_RULES@ diff --git a/dlls/dhcpcsvc/dhcpcsvc.c b/dlls/dhcpcsvc/dhcpcsvc.c new file mode 100644 index 00000000000..4927aac762a --- /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 +#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 00000000000..97194a6a2ea --- /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