- 新增 wyhkm.dll 硬件盒子 COM 接口封装,支持键盘鼠标控制 - 修复 game_state_config.json 中 scan_region_width 过小导致截图越界的问题 - 添加鼠标路径录制器、硬件测试脚本等工具 - 更新多项配置默认值 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
44 lines
2.1 KiB
HTML
44 lines
2.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
|
||
<title>VerifyUserData2</title>
|
||
<link rel="stylesheet" type="text/css" href="css/help.css">
|
||
</head>
|
||
<body>
|
||
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="ts">
|
||
<tr>
|
||
<th width="50">名称</th>
|
||
<td class="name">VerifyUserData2 验证用户数据2</td>
|
||
</tr>
|
||
<tr>
|
||
<th>功能</th>
|
||
<td>用于验证用户使用“无涯键鼠盒子修改器”写入的字符串和这里的字符串是否相同。<a href="VerifyUserData.html">VerifyUserData</a>函数的升级版,用户数据和验证数据分离,其他人无法通过验证数据获得用户数据。由于固件设计原因,VerifyUserData和VerifyUserData2不支持同时使用。无涯键鼠盒子基础版一代不支持此函数。使用<a href="Open.html">Open</a>打开设备后才可以使用它。</td>
|
||
</tr>
|
||
<tr>
|
||
<th>参数</th>
|
||
<td class="canshu">参数1 字符串:<a href="BSTR.html">BSTR</a>类型。要输出的字符串。<br />
|
||
参数2 是否鼠标:布尔值。取false时,自动验证用户数据,如果同时有键盘模式或者鼠标模式的设备,验证键盘模式的设备的用户数据。取true时,自动验证用户数据,如果同时有键盘模式或者鼠标模式的设备,验证鼠标模式的设备的用户数据。</td>
|
||
</tr>
|
||
<tr>
|
||
<th>返回值</th>
|
||
<td class="fanhui">布尔值。成功返回true,失败返回false。</td>
|
||
</tr>
|
||
<tr>
|
||
<th>vbs<br />例子</th>
|
||
<td class="lizi">Dim DevId<br />
|
||
DevId=wyhkm.SearchDevice(&h1234&,&hABCD&,0)<br />
|
||
If DevId=-1 Then<br />
|
||
MsgBox "未找到无涯键鼠盒子",4096<br />
|
||
wscript.quit<br />
|
||
End If<br />
|
||
If Not wyhkm.Open(DevId,0) Then<br />
|
||
MsgBox "打开无涯键鼠盒子失败",4096<br />
|
||
wscript.quit<br />
|
||
End If<br />
|
||
MsgBox "验证用户数据:" & CStr(wyhkm.VerifyUserData("1234567890ABCDEF1234567890ABCDEF",false)=wyhkm.GetSerialNumber(false)),4096<br />
|
||
wyhkm.Close</td>
|
||
</tr>
|
||
</table>
|
||
</body>
|
||
</html> |