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

Method GetWindowProcessId

src/pkgDm/Dm2Java.java:266–268  ·  view source on GitHub ↗

获取指定窗口所在的进程ID. @param hwnd 窗口句柄 @return 返回整型表示的是进程ID

(int hwnd)

Source from the content-addressed store, hash-verified

264 * @return 返回整型表示的是进程ID
265 */
266 public int GetWindowProcessId(int hwnd){
267 return Dispatch.call(dm, "GetWindowProcessId",hwnd).getInt();
268 }
269
270 /**
271 * 获取指定窗口所在的进程的exe文件全路径.

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected