Exemplo n.º 1
0
 protected int keyboardHookProc(int nCode, int wParam, IntPtr lParam)
 {
     if (nCode == PInvoke.HC_ACTION && waiting)
     {
         waiting = false;
     }
     return(PInvoke.CallNextHookEx(hKeyboardHook, nCode, wParam, lParam));
 }