internal static extern bool SetViewportOrgEx(HandleRef hDC, int x, int y, PI.POINTC point);
internal static extern bool TrackMouseEvent(ref PI.TRACKMOUSEEVENTS tme);
internal static extern int MapWindowPoints(IntPtr hWndFrom, IntPtr hWndTo, PI.POINTC pt, int cPoints);
internal static extern bool RedrawWindow(IntPtr hWnd, ref PI.RECT rectUpdate, IntPtr hRgnUpdate, uint uFlags);
internal static extern bool GetWindowRect(IntPtr hWnd, ref PI.RECT rect);
internal static extern bool InflateRect(ref PI.RECT lprc, int dx, int dy);
internal static extern bool GetClientRect(IntPtr hWnd, out PI.RECT lpRect);
internal static extern IntPtr BeginPaint(IntPtr hwnd, ref PI.PAINTSTRUCT ps);
internal static extern int DwmExtendFrameIntoClientArea(IntPtr hWnd, ref PI.MARGINS pMarInset);
internal static extern bool EndPaint(IntPtr hwnd, ref PI.PAINTSTRUCT ps);
internal static extern int DrawThemeTextEx(IntPtr hTheme, IntPtr hDC, int iPartId, int iStateId, string text, int iCharCount, int dwFlags, ref PI.RECT pRect, ref PI.DTTOPTS pOptions);
internal static extern IntPtr CreateDIBSection(IntPtr hDC, PI.BITMAPINFO pBMI, uint iUsage, int ppvBits, IntPtr hSection, uint dwOffset);
internal static extern void CoCreateGuid(ref PI.GUIDSTRUCT guid);
internal static extern bool TranslateMessage(ref PI.MSG lpMsg);
internal static extern int GetRgnBox(HandleRef hRegion, ref PI.RECT clipRect);
internal static extern IntPtr WindowFromPoint(PI.POINT pt);
internal static extern void AdjustWindowRectEx(ref PI.RECT rect, int dwStyle, bool hasMenu, int dwExSytle);