Esempio n. 1
0
 internal static extern bool GetWindowInfo(IntPtr hwnd, ref WINDOWINFO pwi);
Esempio n. 2
0
        internal static Int64 GetWindowStyle(IntPtr hwnd)
        {
            var info = new WINDOWINFO();
            info.cbSize = (uint)Marshal.SizeOf(info);
            GetWindowInfo(hwnd, ref info);

            return Convert.ToInt64(info.dwStyle);
        }
 internal static extern bool GetWindowInfo(IntPtr hwnd, ref WINDOWINFO pwi);