netprofm: Register interfaces.
This commit is contained in:
parent
ff3341210c
commit
14ab04ab05
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -3,3 +3,5 @@ MODULE = netprofm.dll
|
|||
C_SRCS = \
|
||||
list.c \
|
||||
main.c
|
||||
|
||||
IDL_SRCS = netprofm.idl
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -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"
|
|
@ -1,4 +1,4 @@
|
|||
@ stdcall -private DllCanUnloadNow()
|
||||
@ stdcall -private DllGetClassObject(ptr ptr ptr)
|
||||
@ stub DllRegisterServer
|
||||
@ stub DllUnregisterServer
|
||||
@ stdcall -private DllRegisterServer()
|
||||
@ stdcall -private DllUnregisterServer()
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue