Retrieves the dimensions of the tightest bounding rectangle for the window region of a window.
#Include <WinAPIEx.au3>
_WinAPI_GetWindowRgnBox ( $hWnd, ByRef $tRECT )
| $hWnd | Handle to the window. |
| $tRECT | $tagRECT structure that is created by this function, and contains the rectangle dimensions, in device units relative to the upper-left corner of the window. |
| Success | The value that specifies the region's complexityit can be one of the following values. |
| $COMPLEXREGION | |
| $NULLREGION | |
| $SIMPLEREGION | |
| 失败: | 返回 0 并设置 @error 标志为非 0 值. |
在MSDN中搜索