什么是sirius.classes.Window,我在哪里可以得到它?
问题描述:
我重建反编译的Java程序,目前我fixind依赖。最后一次失踪是sirius.classes.Window
。我无法在任何地方找到它。什么是sirius.classes.Window,我在哪里可以得到它?
我试图search it (with quotes)导致一个结果:
这是非常文件我已经反编译的分析。
那是什么?它似乎提供了一些Windows API。示例用法:
//In property definition
Window window = new Window();
User32 user32 = window.getUser32();
Kernel32 kernel = window.getKernel32();
//More methods:
window.FindWindow("string");
window.isRunning("process name.exe");
window.getRect(hwndId); //hwndId is also used in winapi, only as a handle instead of integer
//I'm not sure what the cid is
window.pixelCheck(cid, rgb, (int)x, (int)y, tolerance);
//The WinDef.RECT comes from com.sun.jna.platform.win32.WinDef (https://github.com/twall/jna)
WinDef.RECT cRec = this.window.getRect(cid);
这个类实际上提供了最重要的功能,所以我不能省略它。