docs.rs failed to build win_event_hook-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
win_event_hook-0.4.1
win_event_hook
A safe Rust API for using SetWinEventHook, powered by the windows crate.
Usage
To use win_event_hook, add the following to your Cargo.toml:
[]
= "0.1"
Then create a configuration and install a hook, for example:
// create our hook config
let config = builder
.skip_own_process
.with_dedicated_thread
.with_events
.finish;
// and our handler
let handler = ;
// install the hook
let hook = install?;
When hook is dropped, an uninstall is attempted automatically. Uninstallation may fail - to handle failures, instead call uninstall yourself, for example:
// building on the above example
// uninstall the hook
hook.uninstall?;
For more information, see the generated documentation.
LICENSE
This project is licensed under the MIT license.