[Mingw-users] Re: WINVER constant value [WAS: GetConsoleWindow]

Danny Smith danny_r_smith_2001@yahoo.co.nz
Thu Sep 5 19:34:00 GMT 2002


 --- Earnie Boyd <earnie_boyd@yahoo.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@lists.sourceforge.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



More information about the Cygwin-developers mailing list