wsnmp32: New stub dll.

oldstable
Stefan Leichter 2012-05-01 08:07:57 +02:00 committed by Alexandre Julliard
parent d3068976e5
commit 0c1bd482b5
5 changed files with 96 additions and 0 deletions

1
configure vendored
View File

@ -15462,6 +15462,7 @@ wine_fn_config_dll ws2_32 enable_ws2_32 implib
wine_fn_config_test dlls/ws2_32/tests ws2_32_test
wine_fn_config_dll wshom.ocx enable_wshom_ocx
wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
wine_fn_config_dll wsnmp32 enable_wsnmp32
wine_fn_config_dll wsock32 enable_wsock32 implib
wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
wine_fn_config_dll wuapi enable_wuapi

View File

@ -2950,6 +2950,7 @@ WINE_CONFIG_DLL(ws2_32,,[implib])
WINE_CONFIG_TEST(dlls/ws2_32/tests)
WINE_CONFIG_DLL(wshom.ocx)
WINE_CONFIG_TEST(dlls/wshom.ocx/tests)
WINE_CONFIG_DLL(wsnmp32)
WINE_CONFIG_DLL(wsock32,,[implib])
WINE_CONFIG_DLL(wtsapi32,,[implib])
WINE_CONFIG_DLL(wuapi)

View File

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

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(wsnmp32);
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,48 @@
100 stub SnmpGetTranslateMode
101 stub SnmpSetTranslateMode
102 stub SnmpGetRetransmitMode
103 stub SnmpSetRetransmitMode
104 stub SnmpGetTimeout
105 stub SnmpSetTimeout
106 stub SnmpSetRetry
107 stub SnmpGetRetry
108 stub _SnmpConveyAgentAddress@4
109 stub _SnmpSetAgentAddress@4
120 stub SnmpGetVendorInfo
200 stub SnmpStartup
201 stub SnmpCleanup
202 stub SnmpOpen
203 stub SnmpClose
204 stub SnmpSendMsg
205 stub SnmpRecvMsg
206 stub SnmpRegister
220 stub SnmpCreateSession
221 stub SnmpListen
222 stub SnmpCancelMsg
300 stub SnmpStrToEntity
301 stub SnmpEntityToStr
302 stub SnmpFreeEntity
320 stub SnmpSetPort
400 stub SnmpStrToContext
401 stub SnmpContextToStr
402 stub SnmpFreeContext
500 stub SnmpCreatePdu
501 stub SnmpGetPduData
502 stub SnmpSetPduData
503 stub SnmpDuplicatePdu
504 stub SnmpFreePdu
600 stub SnmpCreateVbl
601 stub SnmpDuplicateVbl
602 stub SnmpFreeVbl
603 stub SnmpCountVbl
604 stub SnmpGetVb
605 stub SnmpSetVb
606 stub SnmpDeleteVb
900 stub SnmpFreeDescriptor
901 stub SnmpEncodeMsg
902 stub SnmpDecodeMsg
903 stub SnmpStrToOid
904 stub SnmpOidToStr
905 stub SnmpOidCopy
906 stub SnmpOidCompare
999 stub SnmpGetLastError