// ReSharper disable once RedundantAssignment private void OnThreadFilterMessage(ref MSG msg, ref bool handled) { handled = KeyboardDriver.HandleMessage(msg.message, msg.wParam, msg.lParam); }
private IntPtr Hook(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { KeyboardDriver.HandleMessage(msg, wparam, lparam); return(IntPtr.Zero); }