https://bugs.winehq.org/show_bug.cgi?id=38766
Bug ID: 38766 Summary: RpcBindingServerFromClient is unimplemented, needed to determine client Computer Name/IP Address Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: rpc Assignee: wine-bugs@winehq.org Reporter: mail@colinfinck.de Distribution: ---
Wine's rpcrt4.dll currently doesn't implement the RpcBindingServerFromClient function. The following code is the only way I know to determine the Computer Name/IP Address of the client doing the RPC request:
==================================================================== RpcBindingServerFromClient(NULL, &hServerBinding); RpcBindingToStringBindingW(hServerBinding, &pwszBinding); RpcStringBindingParseW(pwszBinding, NULL, NULL, &pwszComputerName, NULL, NULL); ====================================================================
I either need this function to be implemented or an alternative way to determine the client's Computer Name/IP Address.