private static bool SetHook_LL(IntPtr hwnd, uint message) { if (Is64Bit()) { return(KeyboardHook64.SetHook_LL(hwnd, message)); } else { return(KeyboardHook32.SetHook_LL(hwnd, message)); } }
private static bool ClearHook(IntPtr hwnd) { if (Is64Bit()) { return(KeyboardHook64.ClearHook(hwnd)); } else { return(KeyboardHook32.ClearHook(hwnd)); } }