From: Vijay Kiran Kamuju infyquest@gmail.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56369 --- dlls/netapi32/netapi32.c | 12 ++++++++++ dlls/netapi32/netapi32.spec | 2 +- include/Makefile.in | 1 + include/lmremutl.h | 46 +++++++++++++++++++++++++++++++++++++ 4 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 include/lmremutl.h
diff --git a/dlls/netapi32/netapi32.c b/dlls/netapi32/netapi32.c index 1cc36591ea4..56da0cd640b 100644 --- a/dlls/netapi32/netapi32.c +++ b/dlls/netapi32/netapi32.c @@ -36,6 +36,7 @@ #include "atsvc.h" #include "lmapibuf.h" #include "lmbrowsr.h" +#include "lmremutl.h" #include "lmshare.h" #include "lmwksta.h" #include "netbios.h" @@ -2584,6 +2585,17 @@ NET_API_STATUS WINAPI NetLocalGroupSetMembers( return NERR_Success; }
+/************************************************************ + * NetRemoteTOD (NETAPI32.@) + */ +NET_API_STATUS NET_API_FUNCTION NetRemoteTOD( + LPCWSTR servername, + LPBYTE *buf) +{ + FIXME("(%s %p) stub!\n", debugstr_w(servername), buf); + return ERROR_NO_BROWSER_SERVERS_FOUND; +} + /************************************************************ * DavGetHTTPFromUNCPath (NETAPI32.@) */ diff --git a/dlls/netapi32/netapi32.spec b/dlls/netapi32/netapi32.spec index 7e83b1afe70..4e19c3c53ba 100644 --- a/dlls/netapi32/netapi32.spec +++ b/dlls/netapi32/netapi32.spec @@ -124,7 +124,7 @@ @ stub NetMessageNameGetInfo @ stdcall NetQueryDisplayInformation(wstr long long long long ptr ptr) @ stub NetRemoteComputerSupports -@ stub NetRemoteTOD +@ stdcall NetRemoteTOD(wstr ptr) @ stub NetReplExportDirAdd @ stub NetReplExportDirDel @ stub NetReplExportDirEnum diff --git a/include/Makefile.in b/include/Makefile.in index 391ce3c190b..85787b64b31 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -407,6 +407,7 @@ SOURCES = \ lmerr.h \ lmjoin.h \ lmmsg.h \ + lmremutl.h \ lmserver.h \ lmshare.h \ lmstats.h \ diff --git a/include/lmremutl.h b/include/lmremutl.h new file mode 100644 index 00000000000..bd025a16c34 --- /dev/null +++ b/include/lmremutl.h @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2024 Vijay Kiran Kamuju + * + * 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 _LMREMUTL_H +#define _LMREMUTL_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _TIME_OF_DAY_INFO { + DWORD tod_elapsedt; + DWORD tod_msecs; + DWORD tod_hours; + DWORD tod_mins; + DWORD tod_secs; + DWORD tod_hunds; + DWORD tod_timezone; + DWORD tod_tinterval; + DWORD tod_day; + DWORD tod_month; + DWORD tod_year; + DWORD tod_weekday; +} TIME_OF_DAY_INFO, *PTIME_OF_DAY_INFO, *LPTIME_OF_DAY_INFO; + +NET_API_STATUS NET_API_STATUS NetRemoteTOD(LPCWSTR,LPBYTE*); + +#ifdef __cplusplus +} +#endif + +#endif /* _LMREMUTL_H */
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 full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=144287
Your paranoid android.
=== debian11 (build log) ===
../wine/include/lmremutl.h:40:31: error: expected ���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before ���NetRemoteTOD��� Task: The win32 Wine build failed
=== debian11b (build log) ===
../wine/include/lmremutl.h:40:31: error: expected ���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before ���NetRemoteTOD��� Task: The wow64 Wine build failed