public static extern IntPtr GetDCEx(IntPtr hWnd, IntPtr hRegion, uint flags); [DllImport("User32.dll", CharSet=CharSet.Auto)]