示例#1
0
        public ProcStructs.WINDOWINFO GetWindowInfo1(IntPtr hWnd)
        {
            ProcStructs.WINDOWINFO wInfo = new ProcStructs.WINDOWINFO();
            wInfo.cbSize = (uint)Marshal.SizeOf(wInfo);

            WinAPIs.GetWindowInfo(hWnd, ref wInfo);
            return(wInfo);
        }
示例#2
0
 public static extern bool GetWindowInfo(IntPtr hwnd, ref ProcStructs.WINDOWINFO pwi);