[Mingw-users] #define WINVER 0x0400
- Date: Tue, 13 May 2008 05:58:55 +0000
- From: "Yunior Peralta González" <yperaltag@xxxxxxxxx>
- Subject: [Mingw-users] #define WINVER 0x0400
I was looking for the file windef.h and I found that WINVER was
defined with the value 0x0400 and in borland and visual studio WINVER
is defined with the value 0x0500.
When I tried to use the function EnumDisplaySettingsEx which is
defined in winuser.h, I received an error because the function
EnumDisplaySettingsExA was not defined and that is because before the
definition of the function there is the following line:
#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
and _WIN32_WINNT is defined with the value of WINVER which in MinGW is 0x0400
and _WIN32_WINDOWS is not defined
is this a bug?
thanks in advance.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users