Re: [PATCH 20/40] Windows: A rudimentary poll() emulation.
- From
- Brian Dessent <brian@dessent.net>
- Date
- Feb 29, 2008, 23:17 UTC
- Message-ID
- <47C89298.F6F8253D@dessent.net>
- In-Reply-To
- <5d46db230802291347u5f286dadw6b532abf82c0cff7@mail.gmail.com>
Govind Salinas wrote:
Show 5 quoted lines
> 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