[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=db804e58c01f3392c4ec6eb30643c36bcb8be683;hb=HEAD
This commit is contained in:
Eric Kohl 2018-05-05 15:32:05 +02:00
parent 2b3fd31bc5
commit c7994ca74f
2 changed files with 15 additions and 6 deletions

View file

@ -529,12 +529,17 @@ NetrRemoteTOD(
} }
/* Function 29 */ /* Function 29 - Not used on wire */
void NET_API_STATUS
__stdcall __stdcall
Opnum29NotUsedOnWire(void) NetrServerSetServiceBits(
SRVSVC_HANDLE ServerName,
WCHAR *Transport,
DWORD ServiceBits,
DWORD UpdateImmediately)
{ {
UNIMPLEMENTED; UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
} }

View file

@ -1220,10 +1220,14 @@ interface srvsvc
[in, string, unique] SRVSVC_HANDLE ServerName, [in, string, unique] SRVSVC_HANDLE ServerName,
[out] LPTIME_OF_DAY_INFO *BufferPtr); [out] LPTIME_OF_DAY_INFO *BufferPtr);
// This method not used on the wire /* Function 29 - Not used on wire */
void NET_API_STATUS
__stdcall __stdcall
Opnum29NotUsedOnWire(void); NetrServerSetServiceBits(
[in, string, unique] SRVSVC_HANDLE ServerName,
[in, string, unique] WCHAR *Transport,
[in] DWORD ServiceBits,
[in] DWORD UpdateImmediately);
NET_API_STATUS NET_API_STATUS
__stdcall __stdcall