mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 17:51:40 +00:00
[NETAPI32] Implement I_NetServerSetServiceBits()
This commit is contained in:
parent
89f6e701d4
commit
b4040ea740
2 changed files with 31 additions and 1 deletions
|
@ -93,7 +93,7 @@
|
|||
@ stub I_NetServerPasswordSet2
|
||||
@ stub I_NetServerPasswordSet
|
||||
@ stub I_NetServerReqChallenge
|
||||
@ stub I_NetServerSetServiceBits
|
||||
@ stdcall I_NetServerSetServiceBits(wstr wstr long long)
|
||||
@ stub I_NetServerSetServiceBitsEx
|
||||
@ stub I_NetServerTrustPasswordsGet
|
||||
@ stub I_NetlogonComputeClientDigest
|
||||
|
|
|
@ -424,6 +424,36 @@ NetServerSetInfo(
|
|||
}
|
||||
|
||||
|
||||
NET_API_STATUS
|
||||
WINAPI
|
||||
I_NetServerSetServiceBits(
|
||||
_In_ LPWSTR servername,
|
||||
_In_ LPWSTR transport,
|
||||
_In_ DWORD servicebits,
|
||||
_In_ DWORD updateimmediately)
|
||||
{
|
||||
NET_API_STATUS status;
|
||||
|
||||
TRACE("I_NetServerSetServiceBits(%s %s 0x%lx %lu)\n",
|
||||
debugstr_w(servername), debugstr_w(transport), servicebits, updateimmediately);
|
||||
|
||||
RpcTryExcept
|
||||
{
|
||||
status = NetrServerSetServiceBits(servername,
|
||||
transport,
|
||||
servicebits,
|
||||
updateimmediately);
|
||||
}
|
||||
RpcExcept(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
status = I_RpcMapWin32Status(RpcExceptionCode());
|
||||
}
|
||||
RpcEndExcept;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
NET_API_STATUS
|
||||
WINAPI
|
||||
NetServerTransportAdd(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue