protected override HookHandle Subscribe() { return(HookHandle.Create( HookType.GlobalMouse, HookProcedure, System.Diagnostics.Process.GetCurrentProcess().MainModule.BaseAddress, 0)); }
protected override HookHandle Subscribe() { return(HookHandle.Create( HookType.AppMouse, HookProcedure, IntPtr.Zero, ThreadNativeMethods.GetCurrentThreadId())); }