On Fri Mar 21 11:44:06 2025 +0000, Jacek Caban wrote:
BTW, an advantage of not using this locator infrastructure is that it would allow direct access to shared data from user space, eliminating the need for some Wine-specific exports (that’s why I looked into it while evaluating the win32u migration).
If handle entries are immutable, the object offset cannot be changed, which means that sharing dynamically sized data like cursor frames become 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