private _GetWindowRect ( IntPtr hWnd, RECT &lpRect ) : bool | ||
hWnd | IntPtr | |
lpRect | RECT | |
return | bool |
public static RECT GetWindowRect(IntPtr hwnd) { RECT result; if (!NativeMethods._GetWindowRect(hwnd, out result)) { HRESULT.ThrowLastError(); } return(result); }