Group: System Information - Library: kernel32
The GetVersion function returns the current version number of Windows and information about the operating system platform
OS version and revision
Simple printer queue monitor: deletes, pauses, resumes print jobs for local printer
DWORD GetVersion(VOID)
DECLARE INTEGER GetVersion IN kernel32
This function has no parameters
If the function succeeds, the return value is the major and minor version numbers of Windows and a code specifying the operating system platform. The low-order word contains the version number of Windows. The high-order byte specifies the minor version (revision) number, in hexadecimal notation. The low-order byte specifies the major version number, in hexadecimal notation
The very basic information is returned. The extended version gives more, though more efforts needed to convert the result into FoxPro variables