[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] select/poll Wine bug workaround

From: Bruno Haible
Subject: Re: [PATCH] select/poll Wine bug workaround
Date: Wed, 5 Aug 2009 08:13:07 +0200
User-agent: KMail/1.9.9

Paolo Bonzini wrote:
> > Where have you seen a documentation of the bit patterns of handles?
> > This will not necessarily work in all implementations (Windows, Wine,
> > ReactOS).
> In Wine's source code and in http://www.winehq.org/docs/winedev-guide/x3500:
> Console handles, on the other hand, are not multiple of four, but have 
> the two lower bit set ...

That's not a Microsoft documentation. Thus, it may break in future versions
of Windows. And it may break in ReactOS already today. I'd prefer if you
could use the variant of IsHandleConsole that uses only Microsoft-documented


reply via email to

[Prev in Thread] Current Thread [Next in Thread]