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