获取windows主版本号,次版本,build版本号
#include<Windows.h>------------------------------------------------------------------------- 函数: GetNtVer
2024-10-16710
#include<Windows.h>------------------------------------------------------------------------- 函数: GetNtVer
function GetOSMajorVersion: integer;获取操作系统主版本号varosVerInfo: TOSVersionInfo;beginResult : 5; 默认是xp的主版本号osVerInfo.
