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

Method LockInput

src/pkgDm/Dm2Java.java:543–545  ·  view source on GitHub ↗

禁止外部输入到指定窗口 @param lock 0关闭锁定 1 开启锁定(键盘鼠标都锁定) 2 只锁定鼠标 3 只锁定键盘 @return 0: 失败 1:成功

(int lock)

Source from the content-addressed store, hash-verified

541 * @return 0: 失败 1:成功
542 */
543 public int LockInput(int lock){
544 return Dispatch.call(dm,"LockInput",lock).getInt();
545 }
546
547 /**
548 * 设置前台鼠标在屏幕上的活动范围

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected