Esempio n. 1
0
 public void UnHook()
 {
     Win32Api.UnhookWindowsHookEx(hHook);
 }
Esempio n. 2
0
 public int SetHook()
 {
     hProc = new Win32Api.HookProc(MouseHookProc);
     hHook = Win32Api.SetWindowsHookEx(WH_MOUSE_LL, hProc, IntPtr.Zero, 0);
     return(hHook);
 }