From 591f6322187c480efe9ddfc1659d65c2a29193ca Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 6 Jan 2016 03:20:37 -0600 Subject: [PATCH] rpcrt4: Add a stub for RpcBindingServerFromClient. Signed-off-by: Austin English Signed-off-by: Alexandre Julliard --- dlls/rpcrt4/rpc_binding.c | 10 ++++++++++ dlls/rpcrt4/rpcrt4.spec | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dlls/rpcrt4/rpc_binding.c b/dlls/rpcrt4/rpc_binding.c index 72b2fc2f050..7212a186b3c 100644 --- a/dlls/rpcrt4/rpc_binding.c +++ b/dlls/rpcrt4/rpc_binding.c @@ -1633,6 +1633,16 @@ RpcBindingInqAuthClientExW( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE * AuthnSvc, AuthzSvc, Flags); } +/*********************************************************************** + * RpcBindingServerFromClient (RPCRT4.@) + */ + +RPC_STATUS RPC_ENTRY RpcBindingServerFromClient(RPC_BINDING_HANDLE ClientBinding, RPC_BINDING_HANDLE *ServerBinding) +{ + FIXME("%p %p: stub\n", ClientBinding, ServerBinding); + return RPC_S_INVALID_BINDING; +} + /*********************************************************************** * RpcBindingSetAuthInfoExA (RPCRT4.@) */ diff --git a/dlls/rpcrt4/rpcrt4.spec b/dlls/rpcrt4/rpcrt4.spec index 244bc2a626a..af8d639bba4 100644 --- a/dlls/rpcrt4/rpcrt4.spec +++ b/dlls/rpcrt4/rpcrt4.spec @@ -352,7 +352,7 @@ @ stdcall RpcBindingInqObject(ptr ptr) @ stub RpcBindingInqOption @ stdcall RpcBindingReset(ptr) -@ stub RpcBindingServerFromClient +@ stdcall RpcBindingServerFromClient(ptr ptr) @ stdcall RpcBindingSetAuthInfoA(ptr str long long ptr long) @ stdcall RpcBindingSetAuthInfoExA(ptr str long long ptr long ptr) @ stdcall RpcBindingSetAuthInfoExW(ptr wstr long long ptr long ptr)