https://bugs.winehq.org/show_bug.cgi?id=47165
--- Comment #40 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Hajo Krabbenhöft from comment #39)
Hi Nikolay,
Looking at this again now, I believe a test might even be much simpler:
- Initialize HDC with any kind of data
- BindDC(DCRenderTarget, hdc)
- BeginDraw(hdc)
- EndDraw
=> The HDC data is now lost.
I submitted https://gitlab.winehq.org/wine/wine/-/merge_requests/7443. Your name is mentioned in commit message. Since that's your fix, I think it's totally fair to have you as a commit author. Let me know if you're okay with that, and I'll push an update.