Crate phnt

Source
Expand description

§phnt: Rust bindings to the System Informer’s phnt

phnt GitHub Actions phnt on crates.io phnt on docs.rs

This crate provides Rust bindings to the System Informer’s (formerly Process Hacker) native Windows headers (phnt). These headers provide type definitions, constants, macros, and function prototypes, including support for undocumented Windows functions and syscalls.

§Getting Started

Add phnt to your Cargo.toml

[dependencies]
phnt = "x.y.z"  # Replace x.y.z with the latest version

§Features

FeatureDescription
(default)Uses vendored bindings for faster builds.
regenerateAllows regeneration of bindings from phnt (nightly) source code.

§Architectures

The following architectures are fully supported using vendored (default) bindings

ArchitectureDescription
x86_64Standard modern architecture for desktops and servers
x86 (i386)Legacy 32-bit architecture
aarch64 (ARM64)Modern 64-bit ARM architecture used in mobile and some desktops

§Crate Overview

§ffi

Low-level bindings generated from the phnt (nightly) source using bindgen

§ext

Extensions to the bindings with additional utilities

Modules§

ext
Extensions to the bindings (useful functions, macros, etc.)
ffi
Bindings for phnt (nightly) generated by bindgen