Commit 14ab04ab authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

netprofm: Register interfaces.

parent ff334121
...@@ -17053,7 +17053,7 @@ wine_fn_config_dll netapi32 enable_netapi32 implib ...@@ -17053,7 +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 netprofm enable_netprofm clean
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
......
...@@ -3031,7 +3031,7 @@ WINE_CONFIG_DLL(netapi32,,[implib]) ...@@ -3031,7 +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(netprofm,,[clean])
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)
......
...@@ -3,3 +3,5 @@ MODULE = netprofm.dll ...@@ -3,3 +3,5 @@ MODULE = netprofm.dll
C_SRCS = \ C_SRCS = \
list.c \ list.c \
main.c main.c
IDL_SRCS = netprofm.idl
...@@ -144,3 +144,19 @@ HRESULT WINAPI DllCanUnloadNow( void ) ...@@ -144,3 +144,19 @@ HRESULT WINAPI DllCanUnloadNow( void )
{ {
return S_FALSE; return S_FALSE;
} }
/***********************************************************************
* DllRegisterServer (NETPROFM.@)
*/
HRESULT WINAPI DllRegisterServer( void )
{
return __wine_register_resources( instance );
}
/***********************************************************************
* DllUnregisterServer (NETPROFM.@)
*/
HRESULT WINAPI DllUnregisterServer( void )
{
return __wine_unregister_resources( instance );
}
/*
* COM Classes for netprofm
*
* 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
*/
#pragma makedep register
#include "netlistmgr.idl"
@ stdcall -private DllCanUnloadNow() @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stub DllRegisterServer @ stdcall -private DllRegisterServer()
@ stub DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -19,6 +19,10 @@ ...@@ -19,6 +19,10 @@
import "oaidl.idl"; import "oaidl.idl";
import "objidl.idl"; import "objidl.idl";
#ifndef __WIDL__
#define threading(model)
#endif
interface IEnumNetworks; interface IEnumNetworks;
interface IEnumNetworkConnections; interface IEnumNetworkConnections;
interface INetwork; interface INetwork;
...@@ -80,6 +84,7 @@ interface INetworkListManager : IDispatch ...@@ -80,6 +84,7 @@ interface INetworkListManager : IDispatch
} }
[ [
threading(both),
uuid(dcb00c01-570f-4a9b-8d69-199fdba5723b) uuid(dcb00c01-570f-4a9b-8d69-199fdba5723b)
] ]
coclass NetworkListManager { interface INetworkListManager; } coclass NetworkListManager { interface INetworkListManager; }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment