using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace SMAT_CE
{
    class WinBmpAPI
    {
        //[System.Runtime.InteropServices.DllImportAttribute("gdi32.dll")]
        [DllImport("gdi32.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)]
        public static extern bool BitBlt(
            IntPtr hdcDest, // handle to destination DC 
            int nXDest, // x-coord of destination upper-left corner 
            int nYDest, // y-coord of destination upper-left corner 
            int nWidth, // width of destination rectangle 
            int nHeight, // height of destination rectangle 
            IntPtr hdcSrc, // handle to source DC 
            int nXSrc, // x-coordinate of source upper-left corner 
            int nYSrc, // y-coordinate of source upper-left corner 
            System.Int32 dwRop // raster operation code 
        );
    }
}
