public static extern BitmapSafeHandle CreateDIBSection(DeviceContextSafeHandle hdc, in BITMAPINFO pbmi, DIB usage, out IntPtr ppvBits, IntPtr hSection, uint offset);
private static extern int GetDeviceCaps(DeviceContextSafeHandle hdc, int index);
public static extern bool BitBlt(DeviceContextSafeHandle hdc, int x, int y, int cx, int cy, IntPtr hdcSrc, int x1, int y1, RasterOperation rop);