Commit 80c3a8f8 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

wsnmp32: Add stub for SnmpOpen.

parent d33ce562
......@@ -45,6 +45,12 @@ SNMPAPI_STATUS WINAPI SnmpCleanup( void )
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 )
{
FIXME( "%u\n", retransmit_mode );
......
......@@ -11,7 +11,7 @@
120 stub SnmpGetVendorInfo
200 stdcall SnmpStartup(ptr ptr ptr ptr ptr)
201 stdcall SnmpCleanup()
202 stub SnmpOpen
202 stdcall SnmpOpen(ptr long)
203 stub SnmpClose
204 stub SnmpSendMsg
205 stub SnmpRecvMsg
......
......@@ -27,6 +27,7 @@ typedef int smiINT, *smiLPINT;
typedef smiINT smiINT32, *smiLPINT32;
typedef unsigned int smiUINT32, *smiLPUINT32;
typedef smiUINT32 SNMPAPI_STATUS;
typedef HANDLE HSNMP_SESSION;
#define SNMPAPI_NO_SUPPORT 0
#define SNMPAPI_V1_SUPPORT 1
......@@ -44,6 +45,7 @@ typedef smiUINT32 SNMPAPI_STATUS;
#define SNMPAPI_SUCCESS 1
SNMPAPI_STATUS WINAPI SnmpCleanup(void);
HSNMP_SESSION WINAPI SnmpOpen(HWND,UINT);
SNMPAPI_STATUS WINAPI SnmpSetRetransmitMode(smiUINT32);
SNMPAPI_STATUS WINAPI SnmpSetTranslateMode(smiUINT32);
SNMPAPI_STATUS WINAPI SnmpStartup(smiLPUINT32,smiLPUINT32,smiLPUINT32,smiLPUINT32,smiLPUINT32);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment