Huw Davies : ole32: Mask out the flag bit.

Alexandre Julliard julliard at winehq.org
Fri Sep 2 11:41:44 CDT 2016


Module: wine
Branch: master
Commit: 1ed2a613a7977b342b54c55e49b728cf81f53ddc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1ed2a613a7977b342b54c55e49b728cf81f53ddc

Author: Huw Davies <huw at codeweavers.com>
Date:   Fri Sep  2 11:41:04 2016 +0100

ole32: Mask out the flag bit.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ole32/rpc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ole32/rpc.c b/dlls/ole32/rpc.c
index e8bf9bf..ec5dc59 100644
--- a/dlls/ole32/rpc.c
+++ b/dlls/ole32/rpc.c
@@ -664,7 +664,7 @@ static HRESULT WINAPI ClientRpcChannelBuffer_GetBuffer(LPRPCCHANNELBUFFER iface,
     message_state->channel_hook_info.cbSize = sizeof(message_state->channel_hook_info);
     message_state->channel_hook_info.uCausality = COM_CurrentCausalityId();
     message_state->channel_hook_info.dwServerPid = This->server_pid;
-    message_state->channel_hook_info.iMethod = msg->ProcNum;
+    message_state->channel_hook_info.iMethod = msg->ProcNum & ~RPC_FLAGS_VALID_BIT;
     message_state->channel_hook_info.pObject = NULL; /* only present on server-side */
     message_state->target_hwnd = NULL;
     message_state->target_tid = 0;




More information about the wine-cvs mailing list