using System;
using System.Runtime.InteropServices;
namespace Apewer.Internals.Interop
{
[System.Security.SecuritySafeCritical]
internal class Gdi32
{
///
///
///
///
///
[DllImport("gdi32.dll", ExactSpelling = true, SetLastError = true)]
public static extern IntPtr CreateCompatibleDC(IntPtr hdc);
///
///
///
///
///
///
///
///
///
///
[DllImport("gdi32.dll")]
public static extern int CreateRoundRectRgn(int x1, int y1, int x2, int y2, int x3, int y3);
///
///
///
///
///
[DllImport("gdi32.dll", ExactSpelling = true, SetLastError = true)]
public static extern int DeleteDC(IntPtr hdc);
///
///
///
///
///
[DllImport("gdi32.dll", ExactSpelling = true, SetLastError = true)]
public static extern int DeleteObject(IntPtr hobj);
///
///
///
///
///
///
///
[DllImport("gdi32.dll", ExactSpelling = true, SetLastError = true)]
public static extern IntPtr ExtCreateRegion(IntPtr lpxform, uint ncount, IntPtr rgndata);
///
///
///
///
///
///
[DllImport("gdi32.dll", ExactSpelling = true)]
public static extern IntPtr SelectObject(IntPtr hdc, IntPtr hobj);
}
}