2 releases
0.1.1 | May 25, 2024 |
---|---|
0.1.0 | May 24, 2024 |
#1212 in Command line utilities
282 downloads per month
60KB
133 lines
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:
![](https://img.gs/czjpqfbdkz/520/https://raw.githubusercontent.com/fxtack/wincodeman/dc3621b430d2ce5b328254063c321912e1b38c46/docs/wincodes.png)
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.
Dependencies
~130MB
~2M SLoC