ntprocesses 0.1.5

Rust library that makes it easy to manipulate Windows' processes.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use nt::NtIteratorError;

pub mod nt;
pub mod snapshot;

/// Returns an iterator from a snapshot of all the processes.
pub fn get_from_snapshot() -> snapshot::SnapshotState {
    snapshot::SnapshotState::iter()
}

/// Returns an iterator from querying the system.
pub fn get_from_nt() -> Result<nt::NtProcessState, NtIteratorError> {
    nt::NtProcessState::iter()
}