public static extern int DrawThemeBackground(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId,
                                              ref APIRect rect, ref APIRect clipRect);
 public static extern int DrawThemeText(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, string pszText,
                                        int iCharCount, uint dwTextFlags, uint dwTextFlags2,
                                        [MarshalAs(UnmanagedType.Struct)] ref APIRect rect);
 public static extern int InvertRect(IntPtr hDC, ref APIRect rect);
 public static extern int FillRect(IntPtr hDC, ref APIRect rect, IntPtr hBrush);
 public static extern int DrawFocusRect(IntPtr hDC, ref APIRect rect);
 public static extern IntPtr GetWindowRect(IntPtr hWND, ref APIRect Rect);
 public static extern int DrawText(IntPtr hDC, string lpString, int nCount, ref APIRect Rect, int wFormat);