From 2cc8b7e5ce11e966031d011ae20167af5b83a160 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Tue, 20 May 2008 20:47:58 -0700 Subject: [PATCH] inetmib1: Add stub for SnmpExtensionInit. --- dlls/inetmib1/inetmib1.spec | 2 +- dlls/inetmib1/main.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dlls/inetmib1/inetmib1.spec b/dlls/inetmib1/inetmib1.spec index 7aecc256c34..e830e007c26 100644 --- a/dlls/inetmib1/inetmib1.spec +++ b/dlls/inetmib1/inetmib1.spec @@ -1,4 +1,4 @@ -@ stub SnmpExtensionInit +@ stdcall SnmpExtensionInit(long ptr ptr) @ stub SnmpExtensionInitEx @ stub SnmpExtensionQuery @ stub SnmpExtensionTrap diff --git a/dlls/inetmib1/main.c b/dlls/inetmib1/main.c index 0da258de8f3..5acc864add2 100644 --- a/dlls/inetmib1/main.c +++ b/dlls/inetmib1/main.c @@ -22,6 +22,7 @@ #include "windef.h" #include "winbase.h" +#include "snmp.h" #include "wine/debug.h" WINE_DEFAULT_DEBUG_CHANNEL(inetmib1); @@ -45,3 +46,12 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) return TRUE; } + +BOOL WINAPI SnmpExtensionInit(DWORD dwUptimeReference, + HANDLE *phSubagentTrapEvent, AsnObjectIdentifier *pFirstSupportedRegion) +{ + FIXME("(%d, %p, %p): stub\n", dwUptimeReference, phSubagentTrapEvent, + pFirstSupportedRegion); + *phSubagentTrapEvent = NULL; + return TRUE; +}