public static extern bool EndPaint(IntPtr hWnd, ref DllImportManeger.PAINTSTRUCT ps);
 public static extern IntPtr BeginPaint(IntPtr hWnd, ref DllImportManeger.PAINTSTRUCT ps);