GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

Cedric Blancher cedric.blancher@gmail.com
Tue Mar 19 06:25:00 GMT 2024


Good morning!

How does cygwin uname -s work, i.e. how does it get the OS version,
revision and build number ('10.0-19045')?
I tried to replicate it via GetVersionEx(), but that is deprecated.

Ced
-- 
Cedric Blancher <cedric.blancher@gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur


More information about the Cygwin mailing list