示例#1
0
 private static extern bool GetWindowPlacement(IntPtr hwnd, WINDOWPLACEMENT lpwndpl);
示例#2
0
 public static WINDOWPLACEMENT GetWindowPlacement(IntPtr hwnd)
 {
     WINDOWPLACEMENT wndpl = new WINDOWPLACEMENT();
     if (GetWindowPlacement(hwnd, wndpl))
     {
         return wndpl;
     }
     throw new Win32Exception();
 }
示例#3
0
 private static extern bool GetWindowPlacement(IntPtr hwnd, WINDOWPLACEMENT lpwndpl);