On Mon Aug 25 16:07:27 2025 +0000, Vibhav Pant wrote:
`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.
I though that it would be simple to use a static header. Let's leave it as is if it's not.