1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

netapi32: Add NetRemoteTOD stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56369
This commit is contained in:
Vijay Kiran Kamuju 2024-03-21 22:38:30 +01:00 committed by Alexandre Julliard
parent bf12d17b48
commit f42391b52c
5 changed files with 62 additions and 2 deletions

View File

@ -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.@)
*/

View File

@ -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

View File

@ -27,7 +27,7 @@
@ stub NetFileClose
@ stdcall NetFileEnum(wstr wstr wstr long ptr long ptr ptr ptr) netapi32.NetFileEnum
@ stub NetFileGetInfo
@ stub NetRemoteTOD
@ stdcall NetRemoteTOD(wstr ptr) netapi32.NetRemoteTOD
@ stub NetServerAliasAdd
@ stub NetServerAliasDel
@ stub NetServerAliasEnum

View File

@ -408,6 +408,7 @@ SOURCES = \
lmerr.h \
lmjoin.h \
lmmsg.h \
lmremutl.h \
lmserver.h \
lmshare.h \
lmstats.h \

47
include/lmremutl.h Normal file
View File

@ -0,0 +1,47 @@
/*
* 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_FUNCTION NetRemoteTOD(LPCWSTR,LPBYTE*);
#ifdef __cplusplus
}
#endif
#endif /* _LMREMUTL_H */