对指定地址写入整数数值,类型可以是8位,16位 或者 32位 @param hwnd 指定搜索的窗口句柄或者进程ID. 默认是窗口句柄. 如果要指定为进程ID,需要调用SetMemoryHwndAsProcessId. @param addr 用字符串来描述地址,类似于CE的地址描述,数值必须是16进制,里面可以用[ ] + -这些符号来描述一个地址。+表示地址加,-表示地址减;模块名必须用<>符号来圈起来 例如: 1. "4DA678" 最简单的方式,用绝对数值来表示地址 2. "<360SE.exe>+DA678" 相对简单的
(int hwnd,String addr,int type,int v)
| 1219 | * @return 0 : 失败 ;1 : 成功 |
| 1220 | */ |
| 1221 | public int WriteInt(int hwnd,String addr,int type,int v){ |
| 1222 | return Dispatch.call(dm, "WriteInt",hwnd,addr,type,v).getInt(); |
| 1223 | } |
| 1224 | |
| 1225 | /** |
| 1226 | * 对指定地址写入字符串,可以是Ascii字符串或者是Unicode字符串 |