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