public RECT(RECT r) { this.Left = r.Left; this.Top = r.Top; this.Right = r.Right; this.Bottom = r.Bottom; }
public static extern int DrawFocusRect(HDC hdc, ref RECT lpRect);
public static extern int UnionRect(ref RECT lpDestRect, ref RECT lpSrc1Rect, ref RECT lpSrc2Rect);
public static extern short TileWindows(HWND hwndParent, int wHow, ref RECT lpRect, int cKids, ref int lpKids);
public static extern int SetRectEmpty(ref RECT lpRect);
public static extern int ScrollWindowEx(HWND hwnd, int dx, int dy, ref RECT lprcScroll, ref RECT lprcClip, HANDLE hrgnUpdate, ref RECT lprcUpdate, int fuScroll);
public static extern int ScrollDC(HDC hdc, int dx, int dy, ref RECT lprcScroll, ref RECT lprcClip, HANDLE hrgnUpdate, ref RECT lprcUpdate);
public static extern int PtInRect(ref RECT lpRect, int ptX, int ptY);
public static extern int GetClipCursor(out RECT lprc);
public static extern int GetClientRect(HWND hwnd, ref RECT lpRect);
public static extern int FrameRect(HDC hdc, ref RECT lpRect, HANDLE hBrush);
public static extern int EqualRect(ref RECT lpRect1, ref RECT lpRect2);
public static extern int DrawTextEx(HWND hdc, string lpsz, int n, ref RECT lpRect, int un, ref DRAWTEXTPARAMS lpDrawTextParams);
public static extern int DrawText(HDC hdc, string lpStr, int nCount, ref RECT lpRect, int wFormat);
public static extern int DrawFrameControl(HWND hdc, ref RECT lpRect, int un1, int un2);
public static extern int MapDialogRect(HANDLE hDlg, ref RECT lpRect);
public static extern int OffsetRect(ref RECT lpRect, int x, int y);
public static extern int GetMenuItemRect(HWND hwnd, HANDLE hMenu, int uItem, ref RECT lprcItem);
public static extern int RedrawWindow(HWND hwnd, ref RECT lprcUpdate, HANDLE hrgnUpdate, int fuRedraw);
public static extern int GetUpdateRect(HWND hwnd, ref RECT lpRect, int bErase);
public static extern int ScrollWindow(HWND hwnd, int XAmount, int YAmount, ref RECT lpRect, ref RECT lpClipRect);
public static extern int GetWindowRect(HWND hwnd, ref RECT lpRect);
public static extern int SetRect(ref RECT lpRect, int X1, int Y1, int X2, int Y2);
public static extern int InflateRect(ref RECT lpRect, int x, int y);
public static extern int SubtractRect(ref RECT lprcDst, ref RECT lprcSrc1, ref RECT lprcSrc2);
public static extern int IntersectRect(ref RECT lpDestRect, ref RECT lpSrc1Rect, ref RECT lpSrc2Rect);
public static extern int TrackPopupMenu(HANDLE hMenu, int wFlags, int x, int y, int nReserved, HWND hwnd, ref RECT lprc);
public static extern int InvalidateRect(HWND hwnd, ref RECT lpRect, int bErase);
public static extern int ValidateRect(HWND hwnd, ref RECT lpRect);
public static extern int InvertRect(HDC hdc, ref RECT lpRect);