14 unstable releases (3 breaking)

0.4.2 Dec 26, 2023
0.4.1 Dec 25, 2023
0.3.1 Dec 12, 2023
0.2.2 Dec 11, 2023
0.1.5 Dec 9, 2023

#236 in FFI

29 downloads per month
Used in sem-reg

MIT/Apache

140KB
2.5K SLoC

crates.io

A library crate to make working with the windows crate a bit easier and more pleasant:

  • Among other things, it provides methods for conversion of return values into windows::core::Result, ResGuard to auto-free on drop, dual_call() to simplify two-step calls, and bit manipulation functions.
  • The win32_app module helps quickly getting a simple app off the ground to allow message receiving and tray icons, e.g.

Feature Requirements

If not instructed to activate more specific features, activate at least the feature that specifies the windows crate version you depend on - up until the first non-zero part. An example would be the feature name windows_v0_52. Not every version is already available (see Cargo.toml to get an idea of the feature name concept, although not every feature is for public consumption).

If more specific features are needed, their names are specifically specified or built from the previously described feature name, the infix f for "feature" and a windows crate feature. Example: windows_v0_52_f_Win32_Foundation. The windows crate features needed depend on the types used and their modules. Note that the windows crate may move types to other modules, while the online documentation only reflects the newest crate structure.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.1–38MB
~561K SLoC