?? systemparametersinfo.htm
字號(hào):
<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>SystemParametersInfo</title>
</head>
<body link="#FF0000" vlink="#FF0000" alink="#FF0000" bgcolor=#E2DEE9>
<div align="center"><center>
<table border="0" width="100%" height="22" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="16"><a name="SystemParametersInfo, SystemParametersInfoByval">SystemParametersInfo,
SystemParametersInfoByval</a></td>
</tr>
</table>
</center></div><div align="center"><center>
<table border="1" width="100%" bordercolorlight="#808080" cellspacing="0"
bordercolordark="#FFFFFF">
<tr>
<td width="102%" colspan="3">VB聲明</td>
</tr>
<tr>
<td width="102%" colspan="3">Declare Function SystemParametersInfo& Lib
"user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal
uParam As Long, lpvParam As Any, ByVal fuWinIni As Long)<br>
Declare Function SystemParametersInfoByVal& Lib "user32" Alias
"SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal
lpvParam As Any, ByVal fuWinIni As Long)</td>
</tr>
<tr>
<td width="102%" colspan="3">說明</td>
</tr>
<tr>
<td width="102%" colspan="3">允許獲取和設(shè)置數(shù)量眾多的windows系統(tǒng)參數(shù)</td>
</tr>
<tr>
<td width="102%" colspan="3">返回值</td>
</tr>
<tr>
<td width="102%" colspan="3">Long,非零表示成功,零表示失敗。會(huì)設(shè)置<a
href="GetLastError.htm" tppabs="http://www.gxbcts.com/airfly/api/papi/GetLastError.htm">GetLastError</a></td>
</tr>
<tr>
<td width="102%" colspan="3">參數(shù)表</td>
</tr>
<tr>
<td width="25%">參數(shù)</td>
<td width="77%" colspan="2">類型及說明</td>
</tr>
<tr>
<td width="25%">uAction</td>
<td width="77%" colspan="2">Long,指定要設(shè)置的參數(shù)。參考<a href="javascript:if(confirm('http://www.gxbcts.com/airfly/api/papi/uAction.htm \n\nThis file was not retrieved by Teleport Pro, because it is linked too far away from its Starting Address. If you increase the in-domain depth setting for the Starting Address, this file will be queued for retrieval. \n\nDo you want to open it from the server?'))window.location='http://www.gxbcts.com/airfly/api/papi/uAction.htm'" tppabs="http://www.gxbcts.com/airfly/api/papi/uAction.htm">uAction常數(shù)表</a></td>
</tr>
<tr>
<td width="25%">uParam</td>
<td width="77%" colspan="2">Long,參考<a href="javascript:if(confirm('http://www.gxbcts.com/airfly/api/papi/uAction.htm \n\nThis file was not retrieved by Teleport Pro, because it is linked too far away from its Starting Address. If you increase the in-domain depth setting for the Starting Address, this file will be queued for retrieval. \n\nDo you want to open it from the server?'))window.location='http://www.gxbcts.com/airfly/api/papi/uAction.htm'" tppabs="http://www.gxbcts.com/airfly/api/papi/uAction.htm">uAction常數(shù)表</a></td>
</tr>
<tr>
<td width="25%">lpvParam</td>
<td width="77%" colspan="2">Any,按引用調(diào)用的Integer、Long和數(shù)據(jù)結(jié)構(gòu)。對(duì)于String數(shù)據(jù),請(qǐng)用SystemParametersInfoByval函數(shù)。具體用法參考<a
href="javascript:if(confirm('http://www.gxbcts.com/airfly/api/papi/uAction.htm \n\nThis file was not retrieved by Teleport Pro, because it is linked too far away from its Starting Address. If you increase the in-domain depth setting for the Starting Address, this file will be queued for retrieval. \n\nDo you want to open it from the server?'))window.location='http://www.gxbcts.com/airfly/api/papi/uAction.htm'" tppabs="http://www.gxbcts.com/airfly/api/papi/uAction.htm">uAction常數(shù)表</a></td>
</tr>
<tr>
<td width="25%" rowspan="3">fuWinIni</td>
<td width="77%" colspan="2">Long,取決于不同的參數(shù)及操作系統(tǒng),隨同這個(gè)函數(shù)設(shè)置的用戶配置參數(shù)保存在win.ini或注冊(cè)表里,或同時(shí)保存在這兩個(gè)地方。這個(gè)參數(shù)規(guī)定了在設(shè)置系統(tǒng)參數(shù)的時(shí)候,是否應(yīng)更新用戶設(shè)置參數(shù)。可以是零(禁止更新),或下述任何一個(gè)常數(shù):</td>
</tr>
<tr>
<td width="37%">SPIF_UPDATEINIFILE</td>
<td width="38%">更新win.ini和(或)注冊(cè)表中的用戶配置文件</td>
</tr>
<tr>
<td width="37%">SPIF_SENDWININICHANGE</td>
<td width="38%">倘若也設(shè)置了SPIF_UPDATEINIFILE,將一條WM_WININICHANGE消息發(fā)給所有應(yīng)用程序。否則沒有作用。這調(diào)消息告訴應(yīng)用程序已經(jīng)改變了用戶配置設(shè)置</td>
</tr>
<tr>
<td width="102%" colspan="3">注解</td>
</tr>
<tr>
<td width="102%" colspan="3">在調(diào)用這個(gè)函數(shù)之前,特別要注意將lpvParam參數(shù)定義成正確的數(shù)據(jù)類型</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"><a
href="#SystemParametersInfo, SystemParametersInfoByval">Top</a></td>
</tr>
</table>
</center></div>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -