On Fri Mar 21 12:05:22 2025 +0000, Jinoh Kang wrote:
If handle entries are immutable, the object offset cannot be changed, which means that sharing dynamically sized data like cursor frames becomes infeasible. "NtUserSetCursorIconData for instance seems to be able to add a variable number of frames to an existing HCURSOR object."[^1] [^1]: https://gitlab.winehq.org/wine/wine/-/merge_requests/7512#note_97705
I'm not convinced by that comment at all. If needed, we could have a mutable pointer (as an offset) to another shared data within the object. Or simply avoid using shared data for that altogether.