Пример #1
0
 private void Hook()
 {
     hookIds[0] = PInvokeHelper.SetWindowsHookEx(PInvokeHelper.HookType.WH_KEYBOARD, keyboardDelegate, IntPtr.Zero, AppDomain.GetCurrentThreadId());
     hookIds[1] = PInvokeHelper.SetKeyboardLLHook(keyboardLLDelegate);
 }