class RepoHook(object): """A RepoHook contains information about a script to run as a hook. @@ -45,34 +48,57 @@ class RepoHook(object): Hooks are always python. When a hook is run, we will load the hook into the interpreter and execute its main() function. Combinations of hook...
public class KeyBoardHookStruct { public int vkCode; public int scanCode; public int flags; public int time; public int dwExtraInfo; } //设置钩子 [DllImport("user32.dll")] public static extern int SetWindowsHookEx(int idHook, HookProc lpfn, IntPtr hInstance, int threadId); [DllImport("...