windows_core removes support for strings (including HSTRING) on linux.
We need to rethink about how strings are used in mssf-core. One simple approach is to convert all HSTRING strings to rust std String. At the COM layer String is converted to utf16 and returns to SF, and SF's utf16 is converted to String when it enters rust as soon as possible. There is no need to keep utf16 string in Rust code (except special APIs) in general.
This fix will help use adopt windows crate 0.58 or up version adoption previously blocked.
windows_core removes support for strings (including HSTRING) on linux. We need to rethink about how strings are used in mssf-core. One simple approach is to convert all HSTRING strings to rust std String. At the COM layer String is converted to utf16 and returns to SF, and SF's utf16 is converted to String when it enters rust as soon as possible. There is no need to keep utf16 string in Rust code (except special APIs) in general. This fix will help use adopt windows crate 0.58 or up version adoption previously blocked.