docs.rs failed to build win-drives-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Win drivers
A low-level wrapper around Windows NT APIs for opening and inspecting
physical drives and harddisk volumes with NtCreateFile, NtDeviceIoControlFile, and
NtReadFile.
⚠️ Administrator privileges required. Opening
\\.\PhysicalDriveNand\\.\HarddiskVolumeNrequires the process to run elevated. Without it,openreturnsDriverError::Permissionand every example below will fail.
Examples
Enumerate physical drives
use PhysicalDrive;
use PhysicalDrive;
Read a sector from a volume
use HarddiskVolume;