Hi,
In GDI+, some of the DrawImage functions have a parameter for a callback function to abort drawing. In the MSDN doc, it is said that the callback function is called several times, but with my experience, it seems that the callback function is called only once at the beginning of the drawing...