mgmtapi: New stub dll.

This commit is contained in:
Stefan Leichter 2012-03-09 00:31:49 +01:00 committed by Alexandre Julliard
parent bec293f3ff
commit f91c9cc44a
5 changed files with 57 additions and 0 deletions

1
configure vendored
View File

@ -15115,6 +15115,7 @@ wine_fn_config_dll mcicda enable_mcicda
wine_fn_config_dll mciqtz32 enable_mciqtz32
wine_fn_config_dll mciseq enable_mciseq
wine_fn_config_dll mciwave enable_mciwave
wine_fn_config_dll mgmtapi enable_mgmtapi
wine_fn_config_dll midimap enable_midimap
wine_fn_config_dll mlang enable_mlang implib
wine_fn_config_test dlls/mlang/tests mlang_test

View File

@ -2624,6 +2624,7 @@ WINE_CONFIG_DLL(mcicda)
WINE_CONFIG_DLL(mciqtz32)
WINE_CONFIG_DLL(mciseq)
WINE_CONFIG_DLL(mciwave)
WINE_CONFIG_DLL(mgmtapi)
WINE_CONFIG_DLL(midimap)
WINE_CONFIG_DLL(mlang,,[implib])
WINE_CONFIG_TEST(dlls/mlang/tests)

5
dlls/mgmtapi/Makefile.in Normal file
View File

@ -0,0 +1,5 @@
MODULE = mgmtapi.dll
C_SRCS = mgmtapi.c
@MAKE_DLL_RULES@

41
dlls/mgmtapi/mgmtapi.c Normal file
View File

@ -0,0 +1,41 @@
/*
* Copyright 2012 Stefan Leichter
*
* 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 <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(mgmtapi);
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{
TRACE("%p, %u, %p\n", hinst, reason, reserved);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinst );
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}

View File

@ -0,0 +1,9 @@
@ stub SnmpMgrClose
@ stub SnmpMgrCtl
@ stub SnmpMgrGetTrap
@ stub SnmpMgrGetTrapEx
@ stub SnmpMgrOidToStr
@ stub SnmpMgrOpen
@ stub SnmpMgrrequest
@ stub SnmpMgrStrToOid
@ stub SnmpMgrTrapListen