winrt-rust
winrt-rust copied to clipboard
Use and (eventually) make Windows Runtime APIs with Rust
Repeated calls to `QueryInterface` with the same parameters are guaranteed to return the same thing. The modern C++ projection uses a new compiler optimization to annotate the function as being...
Unfortunately all string literals passed to WinRT are stored in UTF8 and must first be converted to 16-bit. (wide string). This probably requires a Rust language feature (C++ has `L"xxx"`...
- Is COM/WinRT's reference counting enough to satisfy Rust's notion of memory safety? If so, how can we convince the compiler of this? - WinRT's "agile objects" and MTA-compatible objects...