As it happens, another update to the `windows` family of crates is available: https://github.com/microsoft/windows-rs/releases/tag/0.57.0 In particular, this one includes a new feature to support freeing handles automatically: https://github.com/microsoft/windows-rs/pull/3013 This avoids the need for the `OwnedHandle` helper type in Sudo.
Minor change for sudo in that `#[must_use]` is now applied to `RPC_STATUS`. This helps to catch cases in which the error code is accidentally ignored. In this particular case, it can safely be ignored.
Initial release of the sudo source --------- Co-authored-by: Mike Griese <zadjii@gmail.com>