mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:42:57 +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_NetServerPasswordSet2
|
||||||
@ stub I_NetServerPasswordSet
|
@ stub I_NetServerPasswordSet
|
||||||
@ stub I_NetServerReqChallenge
|
@ stub I_NetServerReqChallenge
|
||||||
@ stub I_NetServerSetServiceBits
|
@ stdcall I_NetServerSetServiceBits(wstr wstr long long)
|
||||||
@ stub I_NetServerSetServiceBitsEx
|
@ stub I_NetServerSetServiceBitsEx
|
||||||
@ stub I_NetServerTrustPasswordsGet
|
@ stub I_NetServerTrustPasswordsGet
|
||||||
@ stub I_NetlogonComputeClientDigest
|
@ 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
|
NET_API_STATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
NetServerTransportAdd(
|
NetServerTransportAdd(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue