Added patch to implement stub for RpcBindingServerFromClient.

This commit is contained in:
Sebastian Lackner 2016-01-09 23:55:05 +01:00
parent 94764be950
commit a8fb8389e8
3 changed files with 70 additions and 0 deletions

View File

@ -238,6 +238,7 @@ patch_enable_all ()
enable_rasapi32_RasEnumDevicesA="$1"
enable_riched20_IText_Interface="$1"
enable_rpcrt4_Pipe_Transport="$1"
enable_rpcrt4_RpcBindingServerFromClient="$1"
enable_secur32_ANSI_NTLM_Credentials="$1"
enable_server_ClipCursor="$1"
enable_server_CreateProcess_ACLs="$1"
@ -834,6 +835,9 @@ patch_enable ()
rpcrt4-Pipe_Transport)
enable_rpcrt4_Pipe_Transport="$2"
;;
rpcrt4-RpcBindingServerFromClient)
enable_rpcrt4_RpcBindingServerFromClient="$2"
;;
secur32-ANSI_NTLM_Credentials)
enable_secur32_ANSI_NTLM_Credentials="$2"
;;
@ -4934,6 +4938,21 @@ if test "$enable_riched20_IText_Interface" -eq 1; then
) >> "$patchlist"
fi
# Patchset rpcrt4-RpcBindingServerFromClient
# |
# | This patchset fixes the following Wine bugs:
# | * [#38766] Implement stub for RpcBindingServerFromClient
# |
# | Modified files:
# | * dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpcrt4.spec
# |
if test "$enable_rpcrt4_RpcBindingServerFromClient" -eq 1; then
patch_apply rpcrt4-RpcBindingServerFromClient/0001-rpcrt4-add-a-stub-for-RpcBindingServerFromClient.patch
(
echo '+ { "Austin English", "rpcrt4: Add a stub for RpcBindingServerFromClient.", 1 },';
) >> "$patchlist"
fi
# Patchset secur32-ANSI_NTLM_Credentials
# |
# | This patchset fixes the following Wine bugs:

View File

@ -0,0 +1,50 @@
From a5a814e54e48a63984de39b7753cc579b5445eef Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish@gmail.com>
Date: Wed, 6 Jan 2016 03:21:36 -0600
Subject: rpcrt4: add a stub for RpcBindingServerFromClient
https://bugs.winehq.org/show_bug.cgi?id=38766
Signed-off-by: Austin English <austinenglish@gmail.com>
---
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 72b2fc2..2503d31 100644
--- a/dlls/rpcrt4/rpc_binding.c
+++ b/dlls/rpcrt4/rpc_binding.c
@@ -1634,6 +1634,16 @@ RpcBindingInqAuthClientExW( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *
}
/***********************************************************************
+ * RpcBindingServerFromClient (RPCRT4.@)
+ */
+RPCRTAPI 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.@)
*/
RPCRTAPI RPC_STATUS RPC_ENTRY
diff --git a/dlls/rpcrt4/rpcrt4.spec b/dlls/rpcrt4/rpcrt4.spec
index 244bc2a..af8d639 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)
--
2.6.4

View File

@ -0,0 +1 @@
Fixes: [38766] Implement stub for RpcBindingServerFromClient