wincodeman

Crates.iowincodeman
lib.rswincodeman
version0.1.1
sourcesrc
created_at2024-05-24 15:51:53.409983
updated_at2024-05-25 03:05:17.9108
descriptionThe Windows error/status code manual.
homepage
repositoryhttps://github.com/fxtack/wincodeman
max_upload_size
id1251272
size149,879
Fxtack (fxtack)

documentation

README

wincodeman

Through this tool, you can quickly query the conversion values and error messages between NTSTATUS, Win32 Error and HRESULT.

Windows result/error code relationship:

Usage

wcm.exe --help
wcm v0.1.0.078500ff
tool for query the windows error code information

USAGE:
    wcm.exe <--ntstatus <NTSTATUS>|--win32err <Win32Error>|--hresult <HRESULT>>

OPTIONS:
    -N, --ntstatus <NTSTATUS>      NTSTATUS code
    -E, --win32err <Win32Error>    Win32 error code
    -H, --hresult <HRESULT>        HRESULT error code
    -h, --help                     Print help information
    -v, --version                  Prints version information

Example

Query NTSTATUS '0xc0000022'

PS C:\wincodeman> wcm.exe --ntstatus 0xc0000022
   NTSTATUS: 0xc0000022
Win32 Error: 5
    HRESULT: 0x80070005
    Message: {Access Denied}
A process has requested access to an object, but has not been granted those access rights.
Commit count: 18

cargo fmt