Exemple #1
0
 private void Cleanup(int hBitmap, int hdcSrc, int hdcDest)
 {
     User32.ReleaseDC(User32.GetDesktopWindow(), hdcSrc);
     GDI32.DeleteDC(hdcDest);
     GDI32.DeleteObject(hBitmap);
 }