This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


 --- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]