Hi,

I was trying to use the function SetCurrentConsoleFontEx in my
program. Now, the MSDN docs for this function are a little confusing.

http://msdn.microsoft.com/en-us/library/windows/desktop/ms686200(v=vs.85).aspx

The table seems to state the minimum required client is Windows Vista,
while the text above says to define _WIN32_WINNT as 0x0500 or
later(Vista is 0x0600 afaik). I've defined _WIN32_WINNT as 0x0503 in
my program.

This function is defined in wincon.h. In the version of the header
that comes with ming-w64 it is enclosed in an #if (_WIN32_WINNT) >=
0x0600). On my Windows 7 machine, in C:\Program Files (x86)\Microsoft
SDKs\Windows\v7.0A\Include\wincon.h it is under #if(_WIN32_WINNT >=
0x0500).

So while the docs are confusing, it seems that according to the code
the correct version is >= 0x0500?

Thanks to Mook for helping me figure this out on IRC.

-Tony

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to