netprofm: Register interfaces.

This commit is contained in:
Hans Leidekker 2014-04-07 14:58:26 +02:00 committed by Alexandre Julliard
parent ff3341210c
commit 14ab04ab05
7 changed files with 50 additions and 4 deletions

2
configure vendored
View File

@ -17053,7 +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 netprofm enable_netprofm clean
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

@ -3031,7 +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(netprofm,,[clean])
WINE_CONFIG_DLL(newdev,,[implib])
WINE_CONFIG_DLL(normaliz,,[implib])
WINE_CONFIG_DLL(npmshtml)

View File

@ -3,3 +3,5 @@ MODULE = netprofm.dll
C_SRCS = \
list.c \
main.c
IDL_SRCS = netprofm.idl

View File

@ -144,3 +144,19 @@ HRESULT WINAPI DllCanUnloadNow( void )
{
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 );
}

View File

@ -0,0 +1,23 @@
/*
* 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"

View File

@ -1,4 +1,4 @@
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stub DllRegisterServer
@ stub DllUnregisterServer
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()

View File

@ -19,6 +19,10 @@
import "oaidl.idl";
import "objidl.idl";
#ifndef __WIDL__
#define threading(model)
#endif
interface IEnumNetworks;
interface IEnumNetworkConnections;
interface INetwork;
@ -80,6 +84,7 @@ interface INetworkListManager : IDispatch
}
[
threading(both),
uuid(dcb00c01-570f-4a9b-8d69-199fdba5723b)
]
coclass NetworkListManager { interface INetworkListManager; }