MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / WriteString

Method WriteString

src/pkgDm/Dm2Java.java:1240–1242  ·  view source on GitHub ↗

对指定地址写入字符串,可以是Ascii字符串或者是Unicode字符串 @param hwnd 指定搜索的窗口句柄或者进程ID. 默认是窗口句柄. 如果要指定为进程ID,需要调用SetMemoryHwndAsProcessId. @param addr 用字符串来描述地址,类似于CE的地址描述,数值必须是16进制,里面可以用[ ] + -这些符号来描述一个地址。+表示地址加,-表示地址减;模块名必须用<>符号来圈起来 例如: 1. "4DA678" 最简单的方式,用绝对数值来表示地址 2. "<360SE.exe>+DA678"

(int hwnd,String addr,int type,String v)

Source from the content-addressed store, hash-verified

1238 * @return 0 : 失败 ;1 : 成功
1239 */
1240 public int WriteString(int hwnd,String addr,int type,String v){
1241 return Dispatch.call(dm, "WriteString",hwnd,addr,type,v).getInt();
1242 }
1243
1244/////////////////////////////算法////////////////////////////////////
1245 /**

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected