wininskit 0.1.1

Thin checked wrappers over the Win32 an installer needs: elevation, ACLs, services, the Restart Manager, the registry and shortcuts.
//! The Windows the installer has to talk to: the admin check, the ACL grant,
//! stopping the licensing service, finding out what is holding a file open, the
//! shortcuts, and the Add/Remove Programs entry. Each one is a thin, checked
//! wrapper over the API that actually does the job, rather than a shell-out to
//! `sc` or `taskkill`.

mod acl;
mod elevation;
mod error;
mod pending;
mod process;
mod registry;
mod restart;
mod service;
mod shortcut;
mod wide;
mod window;

pub use acl::grant_users_full_access;
pub use elevation::is_elevated;
pub use error::{Error, Result};
pub use pending::delete_after_restart;
pub use process::{Process, close, running_from};
pub use registry::{Root, delete_tree, read_string, write_dword, write_string};
pub use restart::locking_processes;
pub use service::{ServiceState, service_state, start_service, stop_service};
pub use shortcut::create_shortcut;
pub use window::round_corners;