示例#1
0
 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;
 }
示例#2
0
 public WindowWatcher(int eventMin, int eventMax, DLLInvoke.WinEventDelegate winEventDelegate)
     : this(eventMin, eventMax, IntPtr.Zero, 0, 0, 0)
 {
 }