From 1ed2a613a7977b342b54c55e49b728cf81f53ddc Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Fri, 2 Sep 2016 11:41:04 +0100 Subject: [PATCH] ole32: Mask out the flag bit. Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- 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 e8bf9bff3d8..ec5dc598b7b 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; -- 2.11.4.GIT