コード例 #1
0
 private void Cleanup(IntPtr hwnd, IntPtr hBitmap, IntPtr hdcSrc, IntPtr hdcDest)
 {
     User32.ReleaseDC(hwnd, hdcSrc);
     GDI32.DeleteDC(hdcDest);
     GDI32.DeleteObject(hBitmap);
 }