Rust shipped with a stable [`std::os::windows::io::OwnedHandle`](https://doc.rust-lang.org/std/os/windows/io/struct.OwnedHandle.html) ([RFC](https://internals.rust-lang.org/t/pre-rfc-i-o-safety/14585)) in 1.63. Let's consider using it as an improved `ProcessHandle`. References: - https://doc.rust-lang.org/std/os/windows/io/struct.OwnedHandle.html - https://internals.rust-lang.org/t/pre-rfc-i-o-safety/14585 - https://github.com/rbspy/read-process-memory/pull/16 - https://github.com/rbspy/read-process-memory/pull/17 - https://github.com/rbspy/read-process-memory/pull/21
Rust shipped with a stable
std::os::windows::io::OwnedHandle(RFC) in 1.63. Let's consider using it as an improvedProcessHandle.References:
windows-sys#21