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.