windows-interface (0.100.0+paring.1)
Published 2026-10-14 03:21:29 +09:00 by paring
Installation
[registries.forgejo]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = truecargo add windows-interface@0.100.0+paring.1 --registry forgejoAbout this package
The interface macro for the Windows crates
windows-interface
The windows-interface crate provides the
#[interface] macro for declaring COM interfaces in Rust.
Start by adding the following to your Cargo.toml file:
[dependencies]
windows-core = "0.100"
windows-interface = "0.100"
use windows_core::IUnknown;
use windows_interface::interface;
#[interface("57f61c8b-b400-4035-a7c2-abbddf9e3559")]
unsafe trait IValue: IUnknown {
fn get(&self) -> u32;
}
Dependencies
| ID | Version |
|---|---|
| proc-macro2 | ^1.0 |
| quote | ^1.0 |
| syn | ^2.0 |
Details
2026-10-14 03:21:29 +09:00
2026-11-15 19:56:40 +09:00
Assets (1)
Versions (1)
View all
Cargo
21
MIT OR Apache-2.0
14 KiB
0.100.0+paring.1
2026-10-14