Module: wine Branch: master Commit: cb0c5f53568e8a64b9fb1b2559afdd81555fde43 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cb0c5f53568e8a64b9fb1b2559...
Author: Hans Leidekker hans@codeweavers.com Date: Mon Apr 7 14:57:13 2014 +0200
netprofm: New dll.
---
configure | 2 ++ configure.ac | 1 + dlls/netprofm/Makefile.in | 4 ++++ dlls/netprofm/main.c | 38 ++++++++++++++++++++++++++++++++++++++ dlls/netprofm/netprofm.spec | 4 ++++ 5 files changed, 49 insertions(+)
diff --git a/configure b/configure index 5f4a7c5..d65c398 100755 --- a/configure +++ b/configure @@ -1143,6 +1143,7 @@ enable_msxml6 enable_nddeapi enable_netapi32 enable_netcfgx +enable_netprofm enable_newdev enable_normaliz 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_dll netcfgx enable_netcfgx clean 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 normaliz enable_normaliz implib wine_fn_config_dll npmshtml enable_npmshtml diff --git a/configure.ac b/configure.ac index 44d7224..fbdc269 100644 --- a/configure.ac +++ b/configure.ac @@ -3031,6 +3031,7 @@ WINE_CONFIG_DLL(netapi32,,[implib]) WINE_CONFIG_TEST(dlls/netapi32/tests) WINE_CONFIG_DLL(netcfgx,,[clean]) WINE_CONFIG_TEST(dlls/netcfgx/tests) +WINE_CONFIG_DLL(netprofm) WINE_CONFIG_DLL(newdev,,[implib]) WINE_CONFIG_DLL(normaliz,,[implib]) WINE_CONFIG_DLL(npmshtml) diff --git a/dlls/netprofm/Makefile.in b/dlls/netprofm/Makefile.in new file mode 100644 index 0000000..0368b86 --- /dev/null +++ b/dlls/netprofm/Makefile.in @@ -0,0 +1,4 @@ +MODULE = netprofm.dll + +C_SRCS = \ + main.c diff --git a/dlls/netprofm/main.c b/dlls/netprofm/main.c new file mode 100644 index 0000000..8c9fd27 --- /dev/null +++ b/dlls/netprofm/main.c @@ -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; +} diff --git a/dlls/netprofm/netprofm.spec b/dlls/netprofm/netprofm.spec new file mode 100644 index 0000000..c5fc87a --- /dev/null +++ b/dlls/netprofm/netprofm.spec @@ -0,0 +1,4 @@ +@ stub DllCanUnloadNow +@ stub DllGetClassObject +@ stub DllRegisterServer +@ stub DllUnregisterServer