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