https://github.com/veykril/tlhelp32
A small idiomatic wrapper around the tlhelp32 windows API
https://github.com/veykril/tlhelp32
ffi process rust snapshot tlhelp32 winapi windows
Last synced: 12 months ago
JSON representation
A small idiomatic wrapper around the tlhelp32 windows API
- Host: GitHub
- URL: https://github.com/veykril/tlhelp32
- Owner: Veykril
- License: mit
- Created: 2018-12-18T14:07:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-24T19:34:28.000Z (about 7 years ago)
- Last Synced: 2025-03-19T02:38:06.918Z (over 1 year ago)
- Topics: ffi, process, rust, snapshot, tlhelp32, winapi, windows
- Language: Rust
- Homepage:
- Size: 5.86 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tlhelp32 [![][img_crates]][crates] [![][img_doc]][doc]
[img_crates]: https://img.shields.io/crates/v/tlhelp32.svg
[img_doc]: https://img.shields.io/badge/rust-documentation-blue.svg
[crates]: https://crates.io/crates/tlhelp32
[doc]: https://docs.rs/tlhelp32/*/x86_64-pc-windows-msvc/tlhelp32/
An abstraction over the windows tlhelp32 api.
It offers a generic Snapshot struct which acts as an iterator to easily iterate over the
returned entries.
## Example
```rust
fn main() -> std::io::Result<()> {
for entry in tlhelp32::Snapshot::new_process()? {
println!("{:?}", entry);
}
Ok(())
}
```