开发工具:
文件大小: 28kb
下载次数: 0
上传时间: 2012-01-17
详细说明: CheckSystemVersion 用于检测系统版本 ============================== //--------------- O.S string defines --------------------------------------------------------------------------------------- #define OS_UNKNOWN 0 #define OS_WIN95 1 #define OS_WIN98 2 #define OS_WINME 3 #define OS_WINNT4 4 #define OS_WIN2K 5 #define OS_WINXP 6 #define OS_WIN_VISTA 7 #define OS_WIN_7 8 #define OS_WIN_SERVER_2003 9 #define OS_WIN_SERVER_2003_R2 10 #define OS_WIN_SERVER_2008 11 #define OS_WIN_SERVER_2008_R2 12 #defi ne OS_WIN_STORAGE_SERVER_2003 13 //64 bit OS #define OS_WINXP_x64 101 #define OS_WIN_VISTA_x64 102 #define OS_WIN_7_x64 103 #define OS_WIN_SERVER_2003_x64 104 #define OS_WIN_SERVER_2003_R2_x64 105 #define OS_WIN_SERVER_2008_x64 106 #define OS_WIN_SERVER_2008_R2_x64 107 #define WIN_SERVER_2008 10001 #define WIN_VISTA 10002 #define WIN_SERVER_2003_R2 10003 #define WIN_SERVER_2003 10004 #define WIN_XP 10005 #define WIN_XP_X64 10006 #define WIN_2000 10007 #define WIN_ME 10008 #define WIN_98 10009 #define WIN_NT 10010 #define WIN_95 10011 #define WIN_VISTA_x64 10012 #define WIN_STORAGE_SERVER_2003 10013 #define WIN_7 10014 #define WIN_7_x64 10015 #define WIN_SERVER_2003_x64 10016 #define WIN_SERVER_2003_R2_x64 10017 #define WIN_SERVER_2008_x64 10018 #define WIN_SERVER_2008_R2 10019 #define WIN_SERVER_2008_R2_x64 10020 =========================================== LaunchAppAndWait(SUPPORTDIR ^ "CheckSystemVersion.exe", "", WAIT); nvReturnOS = LAAW_PARAMETERS.nLaunchResult; // SprintfBox(MB_OK,"Information","%d", nvReturnOS); switch (nvReturnOS) case WIN_95: return OS_WIN95; case WIN_98: return OS_WIN98; case WIN_ME: return OS_WINME; case WIN_NT: return OS_WINNT4; case WIN_2000: return OS_WIN2K; case WIN_XP: return OS_WINXP; case WIN_XP_X64: return OS_WINXP_x64; case WIN_VISTA: return OS_WIN_VISTA; case WIN_VISTA_x64: return OS_WIN_VISTA_x64; case WIN_SERVER_2003: return OS_WIN_SERVER_2003; case WIN_SERVER_2003_R2: return OS_WIN_SERVER_2003_R2; case WIN_7: return OS_WIN_7; case WIN_7_x64: return OS_WIN_7_x64; case WIN_STORAGE_SERVER_2003: return OS_WIN_STORAGE_SERVER_2003; case WIN_SERVER_2003_x64: return OS_WIN_SERVER_2003_x64; case WIN_SERVER_2003_R2_x64: return OS_WIN_SERVER_2003_R2_x64; case WIN_SERVER_2008: return OS_WIN_SERVER_2008; case WIN_SERVER_2008_R2: return OS_WIN_SERVER_2008_R2; case WIN_SERVER_2008_x64: return OS_WIN_SERVER_2008_x64; case WIN_SERVER_2008_R2_x64: return OS_WIN_SERVER_2008_R2_x64; default: return OS_UNKNOWN; endswitch; ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.