25 Aug
2025
25 Aug
'25
3:57 p.m.
On Mon Aug 25 15:39:37 2025 +0000, Piotr Caban wrote:
Is there a reason for not using WindowsCreateStringReference here? `WindowsCreateStringReference` requires an additional `HSTRING_HEADER` pointer, to store the string data. The `HSTRING_HEADER` would need to outlive `struct platform_type`, so we can't keep it there. The only other way I can think of is to make it a global, protected with a `ONCE_INIT`, but that feels overkill.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8831#note_113773