Commit f42391b5 authored by Vijay Kiran Kamuju's avatar Vijay Kiran Kamuju Committed by Alexandre Julliard

netapi32: Add NetRemoteTOD stub.

parent bf12d17b
......@@ -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"
......@@ -2585,6 +2586,17 @@ NET_API_STATUS WINAPI NetLocalGroupSetMembers(
}
/************************************************************
* 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.@)
*/
DWORD WINAPI DavGetHTTPFromUNCPath(const WCHAR *unc_path, WCHAR *buf, DWORD *buflen)
......
......@@ -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
......
......@@ -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
......
......@@ -408,6 +408,7 @@ SOURCES = \
lmerr.h \
lmjoin.h \
lmmsg.h \
lmremutl.h \
lmserver.h \
lmshare.h \
lmstats.h \
......
/*
* 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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment