windows-permissions-rs
windows-permissions-rs copied to clipboard
Safe Rust bindings to Windows permissions APIs
`windows-sys` (and `windows`) are crates for bindings on Windows API officially supported by Microsoft. They are replacing `winapi` in many crates, and it would be nice to migrate this great...
This sit on top of https://github.com/danieldulaney/windows-permissions-rs/pull/19 Fix a `Sid` leak in `LookupAccountName()` due to the use of `Box` instead of `LocalBox`
Because Sid is an opaque type, it is impossible to `std::mem::replace` it. Example test: ``` /// Ensures that std::mem::replace works properly with Sid #[test] fn mem_replace() { let mut sid1...