From: Brian Dessent Date: Fri, 29 Feb 2008 23:17:44 GMT Subject: Re: [PATCH 20/40] Windows: A rudimentary poll() emulation. Message-ID: <47C89298.F6F8253D@dessent.net> In-Reply-To: <5d46db230802291347u5f286dadw6b532abf82c0cff7@mail.gmail.com> Govind Salinas wrote: > http://msdn2.microsoft.com/en-us/library/aa365603(VS.85).aspx > > which suggests you can pass these handles to ReadFile and if you include an > OVERLAPPED struct in the call, it will return an event handle to wait on which > you can then use to wait. That only applies if the handle has been opened with FILE_FLAG_OVERLAPPED. Brian