RE: Watcom's WINVER ?

new topic     » topic index » view thread      » older message » newer message

Wolf wrote:
> 
> Anyone know how Watcom's header files derive their strange decimal 
> WINVER id's.
> ... for example, I know that:
> #if (WINVER >= 1280 )
> ... means, at least, NT something or other.
> How do they get this number, ??
> ... using either GetVersion(), or GetVersionEx() ??
> 

I can't speak for Watcom but with MinGW it is defined in windef.h:

#ifndef WINVER
#define WINVER 0x0400
/*
 * If you need Win32 API features newer the Win95 and WinNT then you 
must
 * define WINVER before including windows.h or any other method of 
including
 * the windef.h header.
 */
#endif

-- Brian

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu