Zitat:
In Windows 8.1 and Windows 10, the GetVersion and GetVersionEx functions have been deprecated. In Windows 10, the VerifyVersionInfo function has also been deprecated. While you can still call the deprecated functions, if your application does not specifically target Windows 8.1 or Windows 10, you will get Windows 8 version (6.2.0.0).
=>
https://msdn.microsoft.com/de-de/lib...(v=vs.85).aspx
You will have to include the manifest stuff from that page into your application. Then
GetVersionEx(..)
will return the true build number.