public WinRawMouse(IntPtr window) { Debug.WriteLine("Using WinRawMouse."); Debug.Indent(); if (window == IntPtr.Zero) throw new ArgumentNullException("window"); Window = window; RefreshDevices(); Debug.Unindent(); }