inetmib1: Add stub dll.

This commit is contained in:
Juan Lang 2008-05-20 20:47:42 -07:00 committed by Alexandre Julliard
parent b599f89abe
commit 1723157954
7 changed files with 71 additions and 0 deletions

View File

@ -291,6 +291,7 @@ ALL_MAKEFILES = \
dlls/imm32/tests/Makefile \
dlls/inetcomm/Makefile \
dlls/inetcomm/tests/Makefile \
dlls/inetmib1/Makefile \
dlls/infosoft/Makefile \
dlls/infosoft/tests/Makefile \
dlls/initpki/Makefile \
@ -717,6 +718,7 @@ dlls/imm32/Makefile: dlls/imm32/Makefile.in dlls/Makedll.rules
dlls/imm32/tests/Makefile: dlls/imm32/tests/Makefile.in dlls/Maketest.rules
dlls/inetcomm/Makefile: dlls/inetcomm/Makefile.in dlls/Makedll.rules
dlls/inetcomm/tests/Makefile: dlls/inetcomm/tests/Makefile.in dlls/Maketest.rules
dlls/inetmib1/Makefile: dlls/inetmib1/Makefile.in dlls/Makedll.rules
dlls/infosoft/Makefile: dlls/infosoft/Makefile.in dlls/Makedll.rules
dlls/infosoft/tests/Makefile: dlls/infosoft/tests/Makefile.in dlls/Maketest.rules
dlls/initpki/Makefile: dlls/initpki/Makefile.in dlls/Makedll.rules

3
configure vendored
View File

@ -21780,6 +21780,8 @@ ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
ac_config_files="$ac_config_files dlls/infosoft/Makefile"
ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
@ -23043,6 +23045,7 @@ do
"dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
"dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
"dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
"dlls/inetmib1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
"dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
"dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
"dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;

View File

@ -1803,6 +1803,7 @@ AC_CONFIG_FILES([dlls/imm32/Makefile])
AC_CONFIG_FILES([dlls/imm32/tests/Makefile])
AC_CONFIG_FILES([dlls/inetcomm/Makefile])
AC_CONFIG_FILES([dlls/inetcomm/tests/Makefile])
AC_CONFIG_FILES([dlls/inetmib1/Makefile])
AC_CONFIG_FILES([dlls/infosoft/Makefile])
AC_CONFIG_FILES([dlls/infosoft/tests/Makefile])
AC_CONFIG_FILES([dlls/initpki/Makefile])

View File

@ -113,6 +113,7 @@ BASEDIRS = \
imagehlp \
imm32 \
inetcomm \
inetmib1 \
infosoft \
initpki \
inkobj \

13
dlls/inetmib1/Makefile.in Normal file
View File

@ -0,0 +1,13 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = inetmib1.dll
IMPORTS = kernel32
C_SRCS = \
main.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

View File

@ -0,0 +1,4 @@
@ stub SnmpExtensionInit
@ stub SnmpExtensionInitEx
@ stub SnmpExtensionQuery
@ stub SnmpExtensionTrap

47
dlls/inetmib1/main.c Normal file
View File

@ -0,0 +1,47 @@
/*
* Copyright 2008 Juan Lang
*
* 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"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(inetmib1);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
case DLL_PROCESS_DETACH:
break;
default:
break;
}
return TRUE;
}