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