netcfgx: Add stub dll.

This commit is contained in:
Austin English 2013-08-26 16:09:01 -07:00 committed by Alexandre Julliard
parent 77462fc68d
commit 478db5bcd5
5 changed files with 68 additions and 0 deletions

1
configure vendored
View File

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

View File

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

6
dlls/netcfgx/Makefile.in Normal file
View File

@ -0,0 +1,6 @@
MODULE = netcfgx.dll
C_SRCS = \
main.c
@MAKE_DLL_RULES@

44
dlls/netcfgx/main.c Normal file
View File

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

16
dlls/netcfgx/netcfgx.spec Normal file
View File

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