| 代码如下 | 复制代码 |
| function GetWinVer: string; var lpver:_OSVERSIONINFO; begin //###########获取Win系统版本################ lpver.dwOSVersionInfoSize:=SizeOf(_OSVERSIONINFO); //###########必须要分配内存################# if GetVersionExA(lpver) then begin case lpver.dwPlatformId of 0: Result:='Windows 32s'; 1:begin case lpver.dwMinorVersion of 0: Result:='Windows 95'; 10: Result:='Windows 98'; 90: Result:='Windows Me'; end; end; 2:begin case lpver.dwMajorVersion of 3: Result:='WindowsNT 3.51'; 4: Result:='WindowsNT 4.0'; 5:begin case lpver.dwMinorVersion of 0: Result:='Windows 2000'; 1: Result:='Windows XP'; 2: Result:='Windows 2003'; end; end; 6:begin case lpver.dwMinorVersion of 0: Result:='Windows Vista'; 1: Result:='Windows 7'; 2: Result:='Windows 8'; end; end; end; end; else Result:='Not Windows'; end; end; end; |
|
《比比脑瓜子》第180关翼如何过-第180关翼找出25个常用字通关图文攻略
《比比脑瓜子》第179关打工人怎么过-第179关打工人找到8个常用字图文通关攻略
《比比脑瓜子》第178关聘怎么过-第178关聘找出13个常用字通关图文攻略
《比比脑瓜子》第177关舟放如何过-第177关舟放找出10个常用字通关图文攻略
《比比脑瓜子》第176关藕怎么过-第176关藕字找出23个常用字通关图文攻略
《比比脑瓜子》第175关重击石怎么过-第175关重击石找出24个常用字通关图文攻略