Re: Do not return true to all kind of Windows OSI calls

Thomas Renninger
2008-08-02T18:05:26Z

On Saturday 02 August 2008 07:31:46 pm Matthew Garrett wrote:
> On Sat, Aug 02, 2008 at 06:48:15PM +0200, Thomas Renninger wrote:
> > On Saturday 02 August 2008 06:59:52 pm Matthew Garrett wrote:
> > # Only process this on XP, not on Linux and Vista
> > If (LAnd (\WXPF, LNot (\WVIS)))
>
> The only way this statement makes sense is if both WXPF and WVIS can be
> true, which is only possible if Vista responds to all of the _OSI
> requests.
No.
The machines are Linux pre-loaded. They do support Linux!
There is no need to check for both variables for Windows specific code (
there are tons of \WVIS and \WXPF only checking).
The only way this statement makes sense is that they *do* check for Linux.

> > # Only process this on XP, not on Linux and Vista
> > If (LAnd (LNot (\WXPF), \WNTF))
>
> Actually, this is "Only execute on 2000, not on XP or higher".
Yes I mixed up XP and NT.

Thomas