Stub implementation of SNMPAPI.DLL.
This commit is contained in:
parent
441a7dcf7e
commit
4c692b9b9f
|
@ -12398,7 +12398,7 @@ MAKE_DLL_RULES=dlls/Makedll.rules
|
|||
MAKE_PROG_RULES=programs/Makeprog.rules
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules programs/Makeprog.rules Makefile controls/Makefile debugger/Makefile dlls/Makefile dlls/advapi32/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/comctl32/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/gdi/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/kernel/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msg711/Makefile dlls/msdmo/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt20/Makefile dlls/msvideo/Makefile dlls/netapi32/Makefile dlls/ntdll/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleaut32/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/user/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winspool/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile files/Makefile graphics/Makefile graphics/x11drv/Makefile if1632/Makefile include/Makefile library/Makefile libtest/Makefile loader/Makefile loader/ne/Makefile memory/Makefile misc/Makefile miscemu/Makefile msdos/Makefile objects/Makefile ole/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regtest/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineconsole/Makefile programs/winemine/Makefile programs/winetest/Makefile programs/winhelp/Makefile programs/winver/Makefile relay32/Makefile scheduler/Makefile server/Makefile tools/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wrc/Makefile tsx11/Makefile unicode/Makefile win32/Makefile windows/Makefile windows/x11drv/Makefile"
|
||||
ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules programs/Makeprog.rules Makefile controls/Makefile debugger/Makefile dlls/Makefile dlls/advapi32/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/comctl32/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/gdi/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/kernel/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msg711/Makefile dlls/msdmo/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt20/Makefile dlls/msvideo/Makefile dlls/netapi32/Makefile dlls/ntdll/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleaut32/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/user/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winspool/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile files/Makefile graphics/Makefile graphics/x11drv/Makefile if1632/Makefile include/Makefile library/Makefile libtest/Makefile loader/Makefile loader/ne/Makefile memory/Makefile misc/Makefile miscemu/Makefile msdos/Makefile objects/Makefile ole/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regtest/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineconsole/Makefile programs/winemine/Makefile programs/winetest/Makefile programs/winhelp/Makefile programs/winver/Makefile relay32/Makefile scheduler/Makefile server/Makefile tools/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wrc/Makefile tsx11/Makefile unicode/Makefile win32/Makefile windows/Makefile windows/x11drv/Makefile"
|
||||
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
|
@ -12938,6 +12938,7 @@ do
|
|||
"dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
|
||||
"dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
|
||||
"dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
|
||||
"dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
|
||||
"dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
|
||||
"dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
|
||||
"dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
|
||||
|
|
|
@ -1305,6 +1305,7 @@ dlls/shdocvw/Makefile
|
|||
dlls/shell32/Makefile
|
||||
dlls/shfolder/Makefile
|
||||
dlls/shlwapi/Makefile
|
||||
dlls/snmpapi/Makefile
|
||||
dlls/sti/Makefile
|
||||
dlls/tapi32/Makefile
|
||||
dlls/ttydrv/Makefile
|
||||
|
|
|
@ -69,6 +69,7 @@ SUBDIRS = \
|
|||
shell32 \
|
||||
shfolder \
|
||||
shlwapi \
|
||||
snmpapi \
|
||||
sti \
|
||||
tapi32 \
|
||||
ttydrv \
|
||||
|
@ -194,6 +195,7 @@ all: \
|
|||
shell32.dll$(DLLEXT) \
|
||||
shfolder.dll$(DLLEXT) \
|
||||
shlwapi.dll$(DLLEXT) \
|
||||
snmpapi.dll$(DLLEXT) \
|
||||
sound.dll$(DLLEXT) \
|
||||
sti.dll$(DLLEXT) \
|
||||
storage.dll$(DLLEXT) \
|
||||
|
@ -434,6 +436,9 @@ shfolder.dll$(DLLEXT): shfolder/shfolder.dll$(DLLEXT)
|
|||
shlwapi.dll$(DLLEXT): shlwapi/shlwapi.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) shlwapi/shlwapi.dll$(DLLEXT) $@
|
||||
|
||||
snmpapi.dll$(DLLEXT): snmpapi/snmpapi.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) snmpapi/snmpapi.dll$(DLLEXT) $@
|
||||
|
||||
sti.dll$(DLLEXT): sti/sti.dll$(DLLEXT)
|
||||
$(RM) $@ && $(LN_S) sti/sti.dll$(DLLEXT) $@
|
||||
|
||||
|
@ -708,6 +713,9 @@ shlwapi/shlwapi.dll$(DLLEXT): dummy advapi32.dll$(DLLEXT) user32.dll$(DLLEXT) \
|
|||
gdi32.dll$(DLLEXT) kernel32.dll$(DLLEXT) ntdll.dll$(DLLEXT)
|
||||
@cd shlwapi && $(MAKE) shlwapi.dll$(DLLEXT)
|
||||
|
||||
snmpapi/snmpapi.dll$(DLLEXT): dummy ntdll.dll$(DLLEXT)
|
||||
@cd snmpapi && $(MAKE) snmpapi.dll$(DLLEXT)
|
||||
|
||||
sti/sti.dll$(DLLEXT): dummy ntdll.dll$(DLLEXT)
|
||||
@cd sti && $(MAKE) sti.dll$(DLLEXT)
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Makefile
|
||||
snmpapi.spec.c
|
|
@ -0,0 +1,15 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = snmpapi.dll
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -0,0 +1,51 @@
|
|||
/*
|
||||
* Stub implementation of SNMPAPI.DLL
|
||||
*
|
||||
* Copyright 2002 Patrik Stridvall
|
||||
*
|
||||
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "windef.h"
|
||||
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(snmpapi);
|
||||
|
||||
/***********************************************************************
|
||||
* SNMPAPI_DllMain
|
||||
*/
|
||||
BOOL WINAPI SNMPAPI_DllMain(
|
||||
HINSTANCE hInstDLL,
|
||||
DWORD fdwReason,
|
||||
LPVOID lpvReserved)
|
||||
{
|
||||
TRACE("(%08x,%08lx,%p)\n", hInstDLL, fdwReason, lpvReserved);
|
||||
|
||||
switch(fdwReason) {
|
||||
case DLL_PROCESS_ATTACH:
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
break;
|
||||
case DLL_THREAD_ATTACH:
|
||||
break;
|
||||
case DLL_THREAD_DETACH:
|
||||
break;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
name snmpapi
|
||||
type win32
|
||||
init SNMPAPI_DllMain
|
||||
|
||||
import ntdll.dll
|
||||
|
||||
debug_channels (snmpapi)
|
||||
|
||||
@ stub SnmpSvcAddrIsIpx
|
||||
@ stub SnmpSvcAddrToSocket
|
||||
@ stub SnmpSvcBufRevAndCpy
|
||||
@ stub SnmpSvcBufRevInPlace
|
||||
@ stub SnmpSvcDecodeMessage
|
||||
@ stub SnmpSvcEncodeMessage
|
||||
@ stub SnmpSvcGenerateAuthFailTrap
|
||||
@ stub SnmpSvcGenerateColdStartTrap
|
||||
@ stub SnmpSvcGenerateLinkDownTrap
|
||||
@ stub SnmpSvcGenerateLinkUpTrap
|
||||
@ stub SnmpSvcGenerateTrap
|
||||
@ stub SnmpSvcGenerateWarmStartTrap
|
||||
@ stub SnmpSvcGetEnterpriseOID
|
||||
@ stub SnmpSvcGetUptime
|
||||
@ stub SnmpSvcInitUptime
|
||||
@ stub SnmpSvcReleaseMessage
|
||||
@ stub SnmpSvcReportEvent
|
||||
@ stub SnmpSvcSetLogLevel
|
||||
@ stub SnmpSvcSetLogType
|
||||
@ stub SnmpUtilAnsiToUnicode
|
||||
@ stub SnmpUtilDbgPrint
|
||||
@ stub SnmpUtilIdsToA
|
||||
@ stub SnmpUtilMemAlloc
|
||||
@ stub SnmpUtilMemFree
|
||||
@ stub SnmpUtilMemReAlloc
|
||||
@ stub SnmpUtilOidAppend
|
||||
@ stub SnmpUtilOidCmp
|
||||
@ stub SnmpUtilOidCpy
|
||||
@ stub SnmpUtilOidFree
|
||||
@ stub SnmpUtilOidNCmp
|
||||
@ stub SnmpUtilOidToA
|
||||
@ stub SnmpUtilPrintAsnAny
|
||||
@ stub SnmpUtilPrintOid
|
||||
@ stub SnmpUtilStrlenW
|
||||
@ stub SnmpUtilUnicodeToAnsi
|
||||
@ stub SnmpUtilVarBindCpy
|
||||
@ stub SnmpUtilVarBindFree
|
||||
@ stub SnmpUtilVarBindListCpy
|
||||
@ stub SnmpUtilVarBindListFree
|
Loading…
Reference in New Issue