public static bool DestroyDC(IntPtr deviceContext)
 {
     return(Api_Gdi32.DeleteDC(deviceContext));
 }
 public static bool StretchBlit(IntPtr hdcDestination, int xDst, int yDst, int wDst, int hDst, IntPtr hdcSource, int xSrc, int ySrc, int wSrc, int hSrc, TernaryRasterOperations rasterOp)
 {
     return(Api_Gdi32.StretchBlt(hdcDestination, xDst, yDst, wDst, hDst, hdcSource, xSrc, ySrc, wSrc, hSrc, (uint)rasterOp));
 }
 public static IntPtr CreateScreenDC(string deviceName)
 {
     return(Api_Gdi32.CreateDC(IntPtr.Zero, deviceName, IntPtr.Zero, IntPtr.Zero));
 }