Hello
Attached is my next view on solving of problem. I haven't create test for this problem yet, because current test application uses visual representation of problem (there is garbage in window in original version, and there is normal image in patched version). I hope I will create test in day or two.
Changelog: Cyril Margorin comargo@gmail.com Fix of CopyImage function for non-compatible to ScreenDC bitmaps. Handling of LR_CREATEDIBSECTION flag.