OS version info is hardcoded into the GetVersionEx function (it just places constants to OSVERSIONINFO structure). Is there another way to retrive OS version? (maybe from some system structure?).
I had been looking for a way to see if a device has a touchscreen or not and ran across this:
http://msdn.microsoft.com/library/defau ... sngbin.asp
Doesn't help me determine if the touchscreen exists, but it appears to be using a combination of GetVersionEx and SystemParametersInfo(SPI_GETPLATFORMTYPE, ... ) as a runtime check for the device type.