Rob Shearman : ole32: Clear the RPC_FLAGS_VALID_BIT flag from the RPC_MESSAGE ProcNum when shortcutting the RPC runtime .
Alexandre Julliard
julliard at winehq.org
Mon Jan 7 16:24:59 CST 2008
Module: wine
Branch: master
Commit: e3e704bc43cb9851a65763f32b9bba4f4600e237
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e3e704bc43cb9851a65763f32b9bba4f4600e237
Author: Rob Shearman <rob at codeweavers.com>
Date: Mon Jan 7 17:09:52 2008 +0000
ole32: Clear the RPC_FLAGS_VALID_BIT flag from the RPC_MESSAGE ProcNum when shortcutting the RPC runtime.
---
dlls/ole32/rpc.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/rpc.c b/dlls/ole32/rpc.c
index fdb49cb..2ee8a9c 100644
--- a/dlls/ole32/rpc.c
+++ b/dlls/ole32/rpc.c
@@ -821,6 +821,8 @@ static HRESULT WINAPI ClientRpcChannelBuffer_SendReceive(LPRPCCHANNELBUFFER ifac
{
TRACE("Calling apartment thread 0x%08x...\n", message_state->target_tid);
+ msg->ProcNum &= ~RPC_FLAGS_VALID_BIT;
+
if (!PostMessageW(message_state->target_hwnd, DM_EXECUTERPC, 0,
(LPARAM)&message_state->params))
{
More information about the wine-cvs
mailing list