ole32: Clear the RPC_FLAGS_VALID_BIT flag from the RPC_MESSAGE ProcNum when shortcutting the RPC runtime.

This commit is contained in:
Rob Shearman 2008-01-07 17:09:52 +00:00 committed by Alexandre Julliard
parent a3040cea58
commit e3e704bc43
1 changed files with 2 additions and 0 deletions

View File

@ -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))
{