Пример #1
0
 internal HookBase(NativeHookManager m, Func <IntPtr, bool> activate, Func <IntPtr> getTarget)
 {
     Manager        = m;
     _activateFunc  = activate;
     _getTargetFunc = getTarget;
 }
Пример #2
0
 public KeyboardHookImpl(NativeHookManager m)
     : base(m, _native.ActivateKeyboardHook, _native.GetKeyboardHookTarget)
 {
 }
Пример #3
0
 public ShellHookImpl(NativeHookManager m)
     : base(m, _native.ActivateShellHook, _native.GetShellHookTarget)
 {
 }
Пример #4
0
 public MouseHookImpl(NativeHookManager m)
     : base(m, _native.ActivateMouseHook, _native.GetMouseHookTarget)
 {
 }