delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/09/05/22:34:23

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Message-ID: <20020906023411.79167.qmail@web14507.mail.yahoo.com>
Date: Fri, 6 Sep 2002 12:34:11 +1000 (EST)
From: =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001 AT yahoo DOT co DOT nz>
Subject: Re: [Mingw-users] Re: WINVER constant value [WAS: GetConsoleWindow]
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>,
"Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net>
Cc: cygwin-developers AT cygwin DOT com, mingw-users AT lists DOT sourceforge DOT net
In-Reply-To: <3D780D71.F3F87271@yahoo.com>
MIME-Version: 1.0

 --- Earnie Boyd <earnie_boyd AT yahoo DOT com> wrote: > "Gary R. Van Sickle" wrote:
> > 

> 
> What do MinGW users think?  How does this affect WINE and ReactOS?
> 
> The discussion here is that WINVER is defaulted to 0x0400 and all newer
> API is guarded with the appropriate version of Win32 OS in which they
> appeared in the w32api, yet with MS they change the value of WINVER to
> the new OS value with the new releases of their compilers.  The
> beginning of the thread exists in the cygwin-developers list.
> 
> My opinion is stated it the first paragraph above.
> 
> Earnie.
> 


Actually there are  three macros (plus the IE one) to worry about:
(very incomplete, maybe some could fill in the gaps)

OS		WINVER	WIN32_WINDOWS	WIN32_WINNT
----------------------------------------------------
Win95		0x0400	

Win98		0x0500	0x0410			

WinME		0x0500

NT 4		0x0400	0x0410		0x0400

Win2k		0x0500			0x0500

XP


Danny

> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> MinGW-users mailing list
> MinGW-users AT lists DOT sourceforge DOT net
> 
> You may change your MinGW Account Options or unsubscribe at:
> https://lists.sourceforge.net/lists/listinfo/mingw-users 

http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
- Now send & receive IMs on your mobile via SMS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019