Suggestion
windows-bindgen should generate string types using windows-strings crate types, and windows-strings should work on linux.
After version 0.58, generated code has "windows_core::PCWSTR" but it is not defined on linux "
cannot find type PCWSTR
in crate windows_core
".
This is due to change: #3143
Previously I was able to use the generated code with PCWSTR on linux by implementing HeapAlloc etc as work around. And such workaround has been implemented in windows-rs directly: #3004
Please support PCWSTR for windows-bindgen (COM) and linux, or expose the previous behavior that we can use work around. For now, we stick with 0.57 version until this ask is completed in future versions.