On Fri Jul 7 20:46:54 2023 +0000, Nikolay Sivov wrote:
Shouldn't this duplicate the string?
That makes sense, it indeed duplicates the string on Windows based on the test I added. I'm not sure but there might be an issue with the way Wine handles HSTRING duplication as it's failing to create the right HSTRING.
https://testbot.winehq.org/JobDetails.pl?Key=134593
All I did was change it to `WindowsDuplicateString( name, &impl->rawname );` and add `WindowsDeleteString( impl->rawname );` under `IHostName::Release()`.