Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 private static extern IntPtr CallNextHookEx(IntPtr hhk, int nCode, IntPtr wParam, ref MouseHookInfo lParam);