Linking for Windows
The windows-link crate provides the link macro that simplifies linking. The link macro is much the same as the one provided by windows-targets but uses raw-dylib and thus does not require import lib files.
Start by adding the following to your Cargo.toml file:
[]
= "0.1"
Use the link macro to define the external functions you wish to call:
link!;
link!;
unsafe