firehazard 0.0.0-2022-09-10

Unopinionated low level API bindings focused on soundness, safety, and stronger types over raw FFI.
Documentation
1
2
3
4
5
/// \[[docs.microsoft.com](https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleep)\] Sleep
pub fn sleep_ms(milliseconds: u32) { unsafe { winapi::um::synchapi::Sleep(milliseconds) } }

/// \[[docs.microsoft.com](https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleepex)\] SleepEx
pub fn sleep_ms_ex(milliseconds: u32, alertable: bool) -> u32 { unsafe { winapi::um::synchapi::SleepEx(milliseconds, alertable as _) } }