windows-core
The windows-core crate provides COM and WinRT types, traits, and macros for the windows-* family of crates.
Start by adding the following to your Cargo.toml file:
[]
= "0.100"
Use the core types as needed:
use ;
// WinRT reference-counted strings.
let name: &HSTRING = h!;
assert_eq!;
// HRESULT-based results.
assert!;
assert!;