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.53"
[]
= "0.59"
Generate Rust bindings in a build script as follows:
And then use the bindings as follows: