win-handles-sys 0.1.0

Memory-safe Rust over the Win32 handle and object API: duplicating a handle with a chosen access, with a typed access mask, and reading a handle's flags. Thin over Win32, adding no policy.
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Copyright (c) 2026 Mike Grier
#![doc = include_str!("../README.md")]
#![cfg(windows)]
#![deny(missing_docs)]
#![deny(unsafe_op_in_unsafe_fn)]

mod duplicate;
mod handle_information;

pub use duplicate::{Access, duplicate_handle_with_access};
pub use handle_information::{HandleFlags, get_handle_information};