public WindowWatcher(int eventMin, int eventMax, IntPtr hmodeWinEventProc, int idProcess, int idThread, int dwFlags) { this.eventMin = eventMin; this.eventMax = eventMax; this.hmodeWinEventProc = hmodeWinEventProc; this.winEventDelegate += WindowBaseEvent; this.idProcess = idProcess; this.idThread = idThread; this.dwFlags = dwFlags; }
public WindowWatcher(int eventMin, int eventMax, DLLInvoke.WinEventDelegate winEventDelegate) : this(eventMin, eventMax, IntPtr.Zero, 0, 0, 0) { }