Huw Davies : gdi32: Where possible directly access the DC instead of using GetCurrentObject() .