# ntapi [![AppVeyor][appveyor_badge]][appveyor_link] [![Travis][travis_badge]][travis_link] [![Crates.io][crates_badge]][crates_link] [![Documentation][docs_badge]][docs_link] [![Lines of Code][loc_badge]][loc_link] [![Unsafe][unsafe_badge]][unsafe_link]

Rust FFI bindings for Native API. Mostly based on Process Hacker [phnt](https://github.com/processhacker/processhacker/tree/master/phnt) headers as the most complete source of bindings to be found. The comments there also contain useful information on how to use specific things.

### Minimum supported Rust
Always the latest stable. Some [features][docs_link] require a nightly compiler.

[travis_link]: https://travis-ci.org/MSxDOS/ntapi
[travis_badge]: https://travis-ci.org/MSxDOS/ntapi.svg?branch=master
[appveyor_link]: https://ci.appveyor.com/project/MSxDOS/ntapi
[appveyor_badge]: https://ci.appveyor.com/api/projects/status/i1fcmm0c5b7c6b6u/branch/master?svg=true
[crates_link]: https://crates.io/crates/ntapi
[crates_badge]: https://img.shields.io/crates/v/ntapi.svg
[docs_link]: https://docs.rs/ntapi/*/x86_64-pc-windows-msvc/ntapi/
[docs_badge]: https://docs.rs/ntapi/badge.svg
[loc_link]: https://github.com/Aaronepower/tokei
[loc_badge]: https://tokei.rs/b1/github/MSxDOS/ntapi
[unsafe_link]: https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html
[unsafe_badge]: https://img.shields.io/badge/unsafe-%E2%9C%94-C901DD.svg
