Code generator for Windows metadata
The windows-bindgen crate automatically generates Rust bindings from Windows metadata.
Start by adding the following to your Cargo.toml file:
[]
= "0.1"
[]
= "0.60"
Generate Rust bindings in a build script as follows:
And then use the bindings as follows: