netprofm: New dll.

This commit is contained in:
Hans Leidekker 2014-04-07 14:57:13 +02:00 committed by Alexandre Julliard
parent ac79e160e7
commit cb0c5f5356
5 changed files with 49 additions and 0 deletions

2
configure vendored
View File

@ -1143,6 +1143,7 @@ enable_msxml6
enable_nddeapi enable_nddeapi
enable_netapi32 enable_netapi32
enable_netcfgx enable_netcfgx
enable_netprofm
enable_newdev enable_newdev
enable_normaliz enable_normaliz
enable_npmshtml enable_npmshtml
@ -17052,6 +17053,7 @@ wine_fn_config_dll netapi32 enable_netapi32 implib
wine_fn_config_test dlls/netapi32/tests netapi32_test wine_fn_config_test dlls/netapi32/tests netapi32_test
wine_fn_config_dll netcfgx enable_netcfgx clean wine_fn_config_dll netcfgx enable_netcfgx clean
wine_fn_config_test dlls/netcfgx/tests netcfgx_test wine_fn_config_test dlls/netcfgx/tests netcfgx_test
wine_fn_config_dll netprofm enable_netprofm
wine_fn_config_dll newdev enable_newdev implib wine_fn_config_dll newdev enable_newdev implib
wine_fn_config_dll normaliz enable_normaliz implib wine_fn_config_dll normaliz enable_normaliz implib
wine_fn_config_dll npmshtml enable_npmshtml wine_fn_config_dll npmshtml enable_npmshtml

View File

@ -3031,6 +3031,7 @@ WINE_CONFIG_DLL(netapi32,,[implib])
WINE_CONFIG_TEST(dlls/netapi32/tests) WINE_CONFIG_TEST(dlls/netapi32/tests)
WINE_CONFIG_DLL(netcfgx,,[clean]) WINE_CONFIG_DLL(netcfgx,,[clean])
WINE_CONFIG_TEST(dlls/netcfgx/tests) WINE_CONFIG_TEST(dlls/netcfgx/tests)
WINE_CONFIG_DLL(netprofm)
WINE_CONFIG_DLL(newdev,,[implib]) WINE_CONFIG_DLL(newdev,,[implib])
WINE_CONFIG_DLL(normaliz,,[implib]) WINE_CONFIG_DLL(normaliz,,[implib])
WINE_CONFIG_DLL(npmshtml) WINE_CONFIG_DLL(npmshtml)

View File

@ -0,0 +1,4 @@
MODULE = netprofm.dll
C_SRCS = \
main.c

38
dlls/netprofm/main.c Normal file
View File

@ -0,0 +1,38 @@
/*
* Copyright 2014 Hans Leidekker for CodeWeavers
*
* 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"
static HINSTANCE instance;
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
instance = hinst;
DisableThreadLibraryCalls( hinst );
break;
}
return TRUE;
}

View File

@ -0,0 +1,4 @@
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer