On Tue Jun 4 08:04:42 2024 +0000, Huw Davies wrote:
You should free any existing `display_name`. I'd also use `wcsdup()` here and use `duplicate_wstr()` only in the getter.
Is wcsdup compatible with CoTaskMemFree? I thought that you have to need to use CoTaskMemAlloc when you later want CoTaskMemFree (like MSDN says).