From: Alex Henrie alexhenrie24@gmail.com
--- include/mgmtapi.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/mgmtapi.h
diff --git a/include/mgmtapi.h b/include/mgmtapi.h new file mode 100644 index 00000000000..0d22a7aceac --- /dev/null +++ b/include/mgmtapi.h @@ -0,0 +1,24 @@ +/* + * Copyright 2024 Alex Henrie + * + * 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 + */ + +#ifndef _INC_MGMTAPI +#define _INC_MGMTAPI + +typedef void *LPSNMP_MGR_SESSION; + +#endif /* _INC_MGMTAPI */
From: Alex Henrie alexhenrie24@gmail.com
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)
Hi,
It looks like your patch introduced the new failures shown below. Please investigate and fix them before resubmitting your patch. If they are not new, fixing them anyway would help a lot. Otherwise please ask for the known failures list to be updated.
The tests also ran into some preexisting test failures. If you know how to fix them that would be helpful. See the TestBot job for the details:
The full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=141651
Your paranoid android.
=== debian11b (64 bit WoW report) ===
Report validation errors: mfmediaengine:mfmediaengine crashed (80000101)