mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:38:32 +00:00
netapi32: Add NetRemoteTOD stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56369
This commit is contained in:
parent
bf12d17b48
commit
f42391b52c
|
@ -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.@)
|
||||
*/
|
||||
|
|
|
@ -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 \
|
||||
|
|
47
include/lmremutl.h
Normal file
47
include/lmremutl.h
Normal 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 */
|
Loading…
Reference in a new issue