Huw Davies : gdi32: Cache the device caps from the reference dc, since the dc may become invalid.