TCC > Variables & Functions > Variables:
Comments (...)
_WINVER returns the current Windows version number. The current Decimal character is used to separate the major and minor version numbers.
Help URL: http://jpsoft.com/help/index.htm?_winver.htm