|
Previous Top Next |
This property is a windows version property and indicates version platform ID. This is either 1 (IT_VER_PLATFORM_WIN32_WINDOWS)
or 2 (IT_VER_PLATFORM_WIN32_NT), i.e. 1 indicates Windows 95/98/ME and 2 indicates Windows Vista, Windows Server "Longhorn", Windows Server 2003, Windows XP, Windows 2000, or Windows NT.
Example:
ITW ITWindowsClass
VS CString(101)
Code
!...
VS = ITW.GetWindowVersion()
Message('Version: ' & VS &|
'|Major Version: ' & ITW.MajorVersion &|
'|Minor Version: ' & ITW.MinorVersion &|
'|Build Number: ' & ITW.VersionBuildNr &|
'|Platform ID: ' & ITW.VersionPlatformID &|
'|Version Info: ' & ITW.VersionInformation, |
'Version Information',ICON:Information)
On Windows XP Home, service pack 1, the results can be seen in the screenshot below.
See also: