https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c7994ca74f268995a0d2d…
commit c7994ca74f268995a0d2d9750828501044f0f6f9
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat May 5 15:32:05 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat May 5 15:34:43 2018 +0200
[IDL] srvsvc.idl: Fix the definition of Opnum29NotUsedOnWire
Opnum29NotUsedOnWire is actually called NetrServerSetServiceBits.
See:
http://l.wzm.me/_security/internet/_internet/WinServices/ch04s07s08.html
and
https://git.samba.org/?p=samba.git;a=blob;f=librpc/idl/srvsvc.idl;h=db804e5…
---
base/services/srvsvc/rpcserver.c | 11 ++++++++---
sdk/include/reactos/idl/srvsvc.idl | 10 +++++++---
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/base/services/srvsvc/rpcserver.c b/base/services/srvsvc/rpcserver.c
index ab96f2554f..e47eafb2c0 100644
--- a/base/services/srvsvc/rpcserver.c
+++ b/base/services/srvsvc/rpcserver.c
@@ -529,12 +529,17 @@ NetrRemoteTOD(
}
-/* Function 29 */
-void
+/* Function 29 - Not used on wire */
+NET_API_STATUS
__stdcall
-Opnum29NotUsedOnWire(void)
+NetrServerSetServiceBits(
+ SRVSVC_HANDLE ServerName,
+ WCHAR *Transport,
+ DWORD ServiceBits,
+ DWORD UpdateImmediately)
{
UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
}
diff --git a/sdk/include/reactos/idl/srvsvc.idl b/sdk/include/reactos/idl/srvsvc.idl
index 1cd1bb5ec9..f8d1d6c54b 100644
--- a/sdk/include/reactos/idl/srvsvc.idl
+++ b/sdk/include/reactos/idl/srvsvc.idl
@@ -1220,10 +1220,14 @@ interface srvsvc
[in, string, unique] SRVSVC_HANDLE ServerName,
[out] LPTIME_OF_DAY_INFO *BufferPtr);
- // This method not used on the wire
- void
+ /* Function 29 - Not used on wire */
+ NET_API_STATUS
__stdcall
- Opnum29NotUsedOnWire(void);
+ NetrServerSetServiceBits(
+ [in, string, unique] SRVSVC_HANDLE ServerName,
+ [in, string, unique] WCHAR *Transport,
+ [in] DWORD ServiceBits,
+ [in] DWORD UpdateImmediately);
NET_API_STATUS
__stdcall