Esempio n. 1
0
 public SessionTracker()
 {
     windowProcDelegate = WindowProc;
     newWindowProc      = Marshal.GetFunctionPointerForDelegate(windowProcDelegate);
     originalWindowProc = SetWindowLong(messageWindow, GWLP_WNDPROC, newWindowProc);
     dispatcher         = Dispatcher.CurrentDispatcher;
 }
Esempio n. 2
0
 public static extern IntPtr SubclassWindow(IntPtr hWnd, int nIndex, WindowProcDelegate dwNewLong);
 public static extern IntPtr SubclassWindow(IntPtr hWnd, int nIndex, WindowProcDelegate dwNewLong);