private IntPtr HookCallback(int nCode, IntPtr wParam, ref MouseHookInfo lParam) { if (nCode >= 0) { m_MouseSignal(this, new CCMouseEventArgs(ConvertToMouseAction(wParam), lParam.pt)); // new Mo(lParam.pt.X, lParam.pt.Y))); } return(CallNextHookEx(m_HookId, nCode, wParam, ref lParam)); }
private static extern IntPtr CallNextHookEx(IntPtr hhk, int nCode, IntPtr wParam, ref MouseHookInfo lParam);