Beispiel #1
0
 public static extern bool GetWindowInfo(IntPtr hwnd, ref WINDOWINFO pwi);
Beispiel #2
0
        internal WINDOWINFO GetWindowInfo()
        {
            WINDOWINFO info = new WINDOWINFO();
            info.cbSize = (uint)Marshal.SizeOf(info);

            Win32.NativeMethods.GetWindowInfo(base.Handle, ref info);
            return info;
        }