Ejemplo n.º 1
0
 private static bool SetHook_LL(IntPtr hwnd, uint message)
 {
     if (Is64Bit())
     {
         return(KeyboardHook64.SetHook_LL(hwnd, message));
     }
     else
     {
         return(KeyboardHook32.SetHook_LL(hwnd, message));
     }
 }
Ejemplo n.º 2
0
 private static bool ClearHook(IntPtr hwnd)
 {
     if (Is64Bit())
     {
         return(KeyboardHook64.ClearHook(hwnd));
     }
     else
     {
         return(KeyboardHook32.ClearHook(hwnd));
     }
 }