<div>Sorry, the last mail patch has a compile error.</div><div>I have fixed it now.</div><div><br></div><div><sign signid="0"><div style="color:#909090;font-family:Arial Narrow;font-size:12px"><br><br><br><br>------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;"><div>Regards.</div>
</div></sign></div><div> </div><div><includetail><div> </div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "Changhui Liu"<liuchanghui@linuxdeepin.com>;</div><div><b>Date: </b> Mon, Dec 15, 2014 12:34 PM</div><div><b>To: </b> "Sebastian Lackner"<sebastian@fds-team.de>; <wbr></div><div><b>Cc: </b> "wine-devel"<wine-devel@winehq.org>; <wbr></div><div><b>Subject: </b> Re: ole32:fix CoWaitForMultipleHandles cause RPC hang</div></div><div> </div><div><div>Hi,</div><div><span style="line-height: 1.5;">I got it. The CoWaitForMultipleHandles of Microsoft implement is this:</span></div><div>The message loop continue although has received WM_QUIT,</div><div>but just dispatch message who sent to the OleMainThreadWndClass Window.</div><div><br></div><div>I attached a latest patch and a verify function.</div><div>Run the test_CoWaitForMultipleHandlesDispatchMsg, We will only get the</div><div>message who send to cowait_test_class window .  </div><div><br></div><div>It also pass your PeekMessage test at:</div><div>https://github.com/wine-compholio/wine-staging/blob/master/patches/ole32-CoWaitForMultipleHandles/0001-ole32-tests-Add-additional-tests-for-CoWaitForMultip.patch</div><div><br></div><div>Please help me review it again when you are free.</div><div>Thank you.</div><div><br></div></div><div><br></div><div><div style="color:#909090;font-family:Arial Narrow;font-size:12px"><br><br><br><br>------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;"><div>Regards.</div>
</div></div><div> </div><div><tincludetail><div> </div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;"><br></div></div></tincludetail></div></div><!--<![endif]--></includetail></div>