Exemplo n.º 1
0
 protected override IntPtr SetHookInternal(int hookId, NativeCallbacks.HookProc callback)
 {
     return NativeMethods.SetWindowsHookEx(
         hookId,
         callback,
         IntPtr.Zero,
         (uint)NativeMethods.GetCurrentThreadId());
 }
Exemplo n.º 2
0
 public static extern IntPtr SetWindowLong(IntPtr hWnd, int nIndex, NativeCallbacks.MessageProc newProc);
Exemplo n.º 3
0
 public static extern bool EnumWindows(NativeCallbacks.EnumWindowsProc lpEnumFunc, IntPtr lParam);
Exemplo n.º 4
0
 public static extern IntPtr SetWindowsHookEx(int idHook, NativeCallbacks.HookProc lpfn, IntPtr hMod, uint dwThreadId);
Exemplo n.º 5
0
 public static extern bool EnumChildWindows(IntPtr hWndParent, NativeCallbacks.EnumWindowsProc lpEnumFunc, IntPtr lParam);