This commit is contained in:
12
GDI32.cs
12
GDI32.cs
@@ -2,12 +2,16 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace CyworldDownloader
|
||||
{
|
||||
class GDI32
|
||||
{
|
||||
public const int SRCCOPY = 0xCC0020;
|
||||
public enum TernaryRasterOperations
|
||||
{
|
||||
SRCCOPY = 0xCC0020
|
||||
}
|
||||
|
||||
[System.Runtime.InteropServices.DllImportAttribute("gdi32.dll")]
|
||||
public static extern int BitBlt(
|
||||
@@ -30,5 +34,11 @@ namespace CyworldDownloader
|
||||
|
||||
[System.Runtime.InteropServices.DllImportAttribute("gdi32.dll")]
|
||||
public static extern void DeleteObject(IntPtr obj);
|
||||
|
||||
[DllImport("gdi32.dll", EntryPoint="DeleteDC")]
|
||||
public static extern bool DeleteDC([In] IntPtr hdc);
|
||||
|
||||
[DllImport("gdi32.dll", EntryPoint="CreateCompatibleBitmap")]
|
||||
public static extern IntPtr CreateCompatibleBitmap([In] IntPtr hdc, int nWidth, int nHeight);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user