Re: WaitForMultipleObjects loops forever if passed an array of size zero

2003-06-26 Thread Troy Rollo
On Thu, 26 Jun 2003 15:59, Troy Rollo wrote: > With the condition as (count > MAXIMUM_WAIT_OBJECTS || (count <= 0 && > !timeout)), wine's behaviour mirrors that of Win2k, at least for the > WaitForMultipleObjectsEx(0, 0, INFINITE, QS_ALLEVENTS, 0) case. While I somehow got MsgWaitForMultipleObject

Re: WaitForMultipleObjects loops forever if passed an array of size zero

2003-06-26 Thread Troy Rollo
On Thu, 26 Jun 2003 10:16, Alexandre Julliard wrote: > Troy Rollo <[EMAIL PROTECTED]> writes: > > @@ -412,7 +412,7 @@ > > { > > int ret, cookie; > > > > -if (count > MAXIMUM_WAIT_OBJECTS) return STATUS_INVALID_PARAMETER_1; > > +if (count > MAXIMUM_WAIT_OBJECTS || count <= 0) return >