Huw Davies : gdi32: If possible use the GetImage driver entry to fill the colour table for GetDIBits .