wsnmp32: Add stub for SnmpOpen.

This commit is contained in:
Austin English 2014-10-07 11:12:16 -05:00 committed by Alexandre Julliard
parent d33ce5629f
commit 80c3a8f8bc
3 changed files with 9 additions and 1 deletions

View File

@ -45,6 +45,12 @@ SNMPAPI_STATUS WINAPI SnmpCleanup( void )
return SNMPAPI_SUCCESS; return SNMPAPI_SUCCESS;
} }
HSNMP_SESSION WINAPI SnmpOpen( HWND hwnd, UINT msg )
{
FIXME( "%p %u\n", hwnd, msg );
return SNMPAPI_FAILURE;
}
SNMPAPI_STATUS WINAPI SnmpSetRetransmitMode( smiUINT32 retransmit_mode ) SNMPAPI_STATUS WINAPI SnmpSetRetransmitMode( smiUINT32 retransmit_mode )
{ {
FIXME( "%u\n", retransmit_mode ); FIXME( "%u\n", retransmit_mode );

View File

@ -11,7 +11,7 @@
120 stub SnmpGetVendorInfo 120 stub SnmpGetVendorInfo
200 stdcall SnmpStartup(ptr ptr ptr ptr ptr) 200 stdcall SnmpStartup(ptr ptr ptr ptr ptr)
201 stdcall SnmpCleanup() 201 stdcall SnmpCleanup()
202 stub SnmpOpen 202 stdcall SnmpOpen(ptr long)
203 stub SnmpClose 203 stub SnmpClose
204 stub SnmpSendMsg 204 stub SnmpSendMsg
205 stub SnmpRecvMsg 205 stub SnmpRecvMsg

View File

@ -27,6 +27,7 @@ typedef int smiINT, *smiLPINT;
typedef smiINT smiINT32, *smiLPINT32; typedef smiINT smiINT32, *smiLPINT32;
typedef unsigned int smiUINT32, *smiLPUINT32; typedef unsigned int smiUINT32, *smiLPUINT32;
typedef smiUINT32 SNMPAPI_STATUS; typedef smiUINT32 SNMPAPI_STATUS;
typedef HANDLE HSNMP_SESSION;
#define SNMPAPI_NO_SUPPORT 0 #define SNMPAPI_NO_SUPPORT 0
#define SNMPAPI_V1_SUPPORT 1 #define SNMPAPI_V1_SUPPORT 1
@ -44,6 +45,7 @@ typedef smiUINT32 SNMPAPI_STATUS;
#define SNMPAPI_SUCCESS 1 #define SNMPAPI_SUCCESS 1
SNMPAPI_STATUS WINAPI SnmpCleanup(void); SNMPAPI_STATUS WINAPI SnmpCleanup(void);
HSNMP_SESSION WINAPI SnmpOpen(HWND,UINT);
SNMPAPI_STATUS WINAPI SnmpSetRetransmitMode(smiUINT32); SNMPAPI_STATUS WINAPI SnmpSetRetransmitMode(smiUINT32);
SNMPAPI_STATUS WINAPI SnmpSetTranslateMode(smiUINT32); SNMPAPI_STATUS WINAPI SnmpSetTranslateMode(smiUINT32);
SNMPAPI_STATUS WINAPI SnmpStartup(smiLPUINT32,smiLPUINT32,smiLPUINT32,smiLPUINT32,smiLPUINT32); SNMPAPI_STATUS WINAPI SnmpStartup(smiLPUINT32,smiLPUINT32,smiLPUINT32,smiLPUINT32,smiLPUINT32);