public GlobalMouse(IntPtr hw) { this.hw = hw; mp = new llmp(OnHook); hh = SetWindowsHookEx(WH_MOUSE_LL, mp, 0, 0); }
private static extern IntPtr SetWindowsHookEx(int id, llmp hp, IntPtr hi, int tid);
private static extern IntPtr SetWindowsHookEx(int id, llmp hp, int hi, int tid);