dhcpcsvc: New stub dll.

This commit is contained in:
Stefan Leichter 2011-12-22 00:04:05 +01:00 committed by Alexandre Julliard
parent 8caa0a05bd
commit 9aeda0df49
5 changed files with 93 additions and 0 deletions

1
configure vendored
View File

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

View File

@ -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])

View File

@ -0,0 +1,5 @@
MODULE = dhcpcsvc.dll
C_SRCS = dhcpcsvc.c
@MAKE_DLL_RULES@

41
dlls/dhcpcsvc/dhcpcsvc.c Normal file
View File

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

View File

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