⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getversion.htm

📁 WinAPI函数打包下载.rar
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<style><!--
body,table {font-family:"宋体"; font-size: 9pt; line-height:11pt;}
a {text-decoration:none} a:hover {color:red;text-decoration:underline}
--></style>
<title>GetVersion</title>
</head>

<body link="#FF0000" vlink="#FF0000" alink="#FF0000" bgcolor="#FFC8C8">
<div align="center"><center>

<table border="0" width="100%" height="22" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%" height="16">GetVersion</td>
  </tr>
</table>
</center></div><div align="center"><center>

<table border="1" width="100%" bordercolorlight="#808080" cellspacing="0"
bordercolordark="#FFFFFF">
  <tr>
    <td width="102%">VB声明</td>
  </tr>
  <tr>
    <td width="102%">Declare Function GetVersion Lib &quot;kernel32&quot; Alias 
    &quot;GetVersion&quot; () As Long</td>
  </tr>
  <tr>
    <td width="102%">说明</td>
  </tr>
  <tr>
    <td width="102%">判断当前运行的Windows和DOS版本</td>
  </tr>
  <tr>
    <td width="102%">返回值</td>
  </tr>
  <tr>
    <td width="102%">Long,低16位包含了windows版本;低字节包含了主版本号(3代表windows 
    3.10,4代表nt 4.0);高字节包含了两个数位的辅助版本号(10代表windows 
    3.10,95代表windows 95)。高16位则包含了平台信息。针对windows NT,高位设为0;针对windows 
    for workgroups上运行的Win32s,则高位为1</td>
  </tr>
  <tr>
    <td width="102%">注解</td>
  </tr>
  <tr>
    <td width="102%"><p align="left">在win32下,最好换用<a href="GetVersionEx.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetVersionEx.htm">GetVersionEx</a>函数。在win32下,高字不会返回DOS版本</td>
  </tr>
</table>
</center></div><div align="center"><center>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%"><p align="right">Top</td>
  </tr>
</table>
</center></div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -