using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace WinAPI
{
///
///
///
public class GDI32
{
///
///
///
///
///
[DllImport("gdi32")]
public static extern bool DeleteObject(IntPtr hObject);
///
///
///
///
///
///
[DllImport("gdi32")]
public static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj);
///
///
///
///
///
[DllImport("gdi32", SetLastError = true)]
public static extern IntPtr CreateCompatibleDC(IntPtr hdc);
///
///
///
///
///
///
///
///
[DllImport("gdi32")]
public static extern IntPtr CreateDC(
String driverName,
String deviceName,
String output,
IntPtr lpInitData);
///
///
///
///
///
[DllImport("gdi32")]
public static extern bool DeleteDC(
IntPtr dc);
}
}