Module: wine Branch: master Commit: 98e14329dd47553b5ebdc9afaf070b3dfad9e910 URL: https://gitlab.winehq.org/wine/wine/-/commit/98e14329dd47553b5ebdc9afaf070b3...
Author: Alex Henrie alexhenrie24@gmail.com Date: Mon Jan 8 00:11:11 2024 -0700
mgmtapi: AddSnmpMgrOpen stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56062
---
dlls/mgmtapi/mgmtapi.c | 7 +++++++ dlls/mgmtapi/mgmtapi.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/dlls/mgmtapi/mgmtapi.c b/dlls/mgmtapi/mgmtapi.c index ea4a40832b0..8c92c4fce7b 100644 --- a/dlls/mgmtapi/mgmtapi.c +++ b/dlls/mgmtapi/mgmtapi.c @@ -19,10 +19,17 @@ #include <stdarg.h> #include "windef.h" #include "winbase.h" +#include "mgmtapi.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(mgmtapi);
+LPSNMP_MGR_SESSION WINAPI SnmpMgrOpen(char *hostname, char *community, int timeout, int retries) +{ + FIXME("stub: %s, %s, %d, %d\n", hostname, community, timeout, retries); + return NULL; +} + BOOL WINAPI SnmpMgrTrapListen(HANDLE *available) { FIXME("stub: %p\n", available); diff --git a/dlls/mgmtapi/mgmtapi.spec b/dlls/mgmtapi/mgmtapi.spec index e675e2d5bdf..d531b5cf5e2 100644 --- a/dlls/mgmtapi/mgmtapi.spec +++ b/dlls/mgmtapi/mgmtapi.spec @@ -3,7 +3,7 @@ @ stub SnmpMgrGetTrap @ stub SnmpMgrGetTrapEx @ stub SnmpMgrOidToStr -@ stub SnmpMgrOpen +@ stdcall SnmpMgrOpen(str str long long) @ stub SnmpMgrRequest @ stub SnmpMgrStrToOid @ stdcall SnmpMgrTrapListen(ptr)