ws2_32: Use WSAWaitForMultipleEvents instead ofWaitForSingleObject
dmitry at codeweavers.com
Mon Apr 28 07:53:42 CDT 2008
"Kai Blin" <kai.blin at gmail.com> wrote:
> > > - HANDLE hEvent = INVALID_HANDLE_VALUE;
> > > + WSAEVENT event_array;
> > Is that change only to avoid passing &hEvent to WSAWaitForMultipleEvents?
> Nope. WSAWaitForMultipleEvents expects an array of WSAEVENTs. So this seemed
> like the cleaner approach to do this.
That's exactly what I pointed out above. In C both ways is an equivalent.
More information about the wine-devel