On Saturday, January 14, 2017 11:14:31 PM CET Nikolay Sivov wrote:
This is too much. If you only need to update object property while keeping same handle, you only need one additional call like __wine_set_gdi_object_color(), that should work for both brushes and pens, checking if it's a system object too, as an additional precaution.
Thanks, that makes sense.
This looks very dirty.
Since it's the first member it's fine as long as the structure doesn't change. I wanted to avoid pulling the struct into the header too, but maybe I can rework it.
Fabian